Searched refs:blocks_per_mb (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | mpegvideo_xvmc.c | 175 int i, cbp, blocks_per_mb; in ff_xvmc_decode_mb() local 288 blocks_per_mb = 6; in ff_xvmc_decode_mb() 290 blocks_per_mb = 4 + (1 << s->chroma_format); in ff_xvmc_decode_mb() 295 for (i = 0; i < blocks_per_mb; i++) { in ff_xvmc_decode_mb() 303 for (i = 4; i < blocks_per_mb; i++) { in ff_xvmc_decode_mb() 309 cbp &= 0xf << (blocks_per_mb - 4); in ff_xvmc_decode_mb() 310 blocks_per_mb = 4; // luminance blocks only in ff_xvmc_decode_mb() 317 for (i = 0; i < blocks_per_mb; i++) { in ff_xvmc_decode_mb()
|
D | mjpegenc.c | 234 int blocks_per_mb; in alloc_huffman() local 241 case CHROMA_420: blocks_per_mb = 6; break; in alloc_huffman() 242 case CHROMA_422: blocks_per_mb = 8; break; in alloc_huffman() 243 case CHROMA_444: blocks_per_mb = 12; break; in alloc_huffman() 249 num_blocks = num_mbs * blocks_per_mb; in alloc_huffman()
|
D | proresenc_kostya.c | 276 int mbs_per_slice, int blocks_per_mb, int is_chroma) in get_slice_data() argument 279 const int mb_width = 4 * blocks_per_mb; in get_slice_data() 285 memset(blocks, 0, 64 * (mbs_per_slice - i) * blocks_per_mb in get_slice_data() 317 if (blocks_per_mb > 2) { in get_slice_data() 323 if (blocks_per_mb > 2) { in get_slice_data() 332 if (blocks_per_mb > 2) { in get_slice_data() 470 int blocks_per_mb, int plane_size_factor, in encode_slice_plane() argument 476 blocks_per_slice = mbs_per_slice * blocks_per_mb; in encode_slice_plane() 733 int blocks_per_mb, int plane_size_factor, in estimate_slice_plane() argument 739 blocks_per_slice = mbs_per_slice * blocks_per_mb; in estimate_slice_plane()
|