Lines Matching defs:mb_count
159 int x, mb_count, strip_buf_size, frame_buf_size;
193 mb_count = avctx->width * avctx->height / MB_AREA;
199 strip_buf_size = STRIP_HEADER_SIZE + 3 * CHUNK_HEADER_SIZE + 2 * VECTOR_MAX * CODEBOOK_MAX + 4 * (mb_count + (mb_count + 15) / 16) + (2 * CODEBOOK_MAX) / 8;
209 if (!(s->mb = av_malloc_array(mb_count, sizeof(mb_info))))
266 int mb_count = s->w * h / MB_AREA;
276 ret += s->lambda * 8 * mb_count;
279 for (x = 0; x < mb_count; x++) {
293 for (x = 0; x < mb_count; x++) {
303 for (x = 0; x < mb_count; x++) {
323 for (x = 0; x < mb_count; x++) {
351 for (x = 0; x < mb_count; x++) {
531 int x, y, z, bits, temp_size, header_ofs, ret = 0, mb_count = s->w * h / MB_AREA;
572 ret += write_chunk_header(buf + ret, 0x32, mb_count);
574 for (x = 0; x < mb_count; x++)
583 for (x = 0; x < mb_count; x += 32) {
585 for (y = x; y < FFMIN(x + 32, mb_count); y++)
592 for (y = x; y < FFMIN(x + 32, mb_count); y++) {
612 for (x = 0; x < mb_count; x++) {