Lines Matching defs:mb_count
284 static int encode_slice_plane(AVCodecContext *avctx, int mb_count,
295 for (i = 0; i < mb_count; i++) {
307 blocks_per_slice = mb_count << (2 - chroma);
319 int chroma_stride, unsigned mb_count, uint8_t *buf, unsigned data_size,
325 *y_data_size = encode_slice_plane(avctx, mb_count, dest_y, luma_stride,
329 *u_data_size = encode_slice_plane(avctx, mb_count, dest_u,
333 *v_data_size = encode_slice_plane(avctx, mb_count, dest_v,
373 int mb_y, unsigned mb_count, uint8_t *buf, unsigned data_size,
381 int tgt_bits = (mb_count * bitrate_table[avctx->profile]) >> 2;
396 (uint16_t *) ctx->fill_y, mb_count << 4, 16);
399 (uint16_t *) ctx->fill_u, mb_count << 3, 16);
402 (uint16_t *) ctx->fill_v, mb_count << 3, 16);
405 mb_count << 5, mb_count << 4, mb_count, buf + hdr_size,
410 luma_stride, chroma_stride, mb_count, buf + hdr_size,
418 luma_stride, chroma_stride, mb_count, buf + hdr_size,
427 luma_stride, chroma_stride, mb_count, buf + hdr_size,