Lines Matching refs:MB_SIZE
54 #define MB_SIZE 4 //4x4 MBs macro
55 #define MB_AREA (MB_SIZE * MB_SIZE)
529 for (y = 0; y < MB_SIZE; y++) in copy_mb()
531 MB_SIZE); in copy_mb()
535 for (y = 0; y < MB_SIZE / 2; y++) in copy_mb()
538 MB_SIZE / 2); in copy_mb()
566 for (z = y = 0; y < h; y += MB_SIZE) in encode_mode()
567 for (x = 0; x < s->w; x += MB_SIZE, z++) { in encode_mode()
694 for (y = 0; y < MB_SIZE; y++) in compute_mb_distortion()
695 for (x = 0; x < MB_SIZE; x++) { in compute_mb_distortion()
702 for (y = 0; y < MB_SIZE / 2; y++) in compute_mb_distortion()
703 for (x = 0; x < MB_SIZE / 2; x++) { in compute_mb_distortion()
728 for (mbn = i = y = 0; y < h; y += MB_SIZE) { in quantize()
729 for (x = 0; x < s->w; x += MB_SIZE, ++mbn) { in quantize()
754 for (j = y2 = 0; y2 < MB_SIZE; y2 += 2) { in quantize()
755 for (x2 = 0; x2 < MB_SIZE; x2 += 2) in quantize()
785 vq_linesize[0] = MB_SIZE; in quantize()
789 vq_linesize[2] = MB_SIZE >> 1; in quantize()
792 for (i = j = y = 0; y < h; y += MB_SIZE) in quantize()
793 for (x = 0; x < s->w; x += MB_SIZE, j++) { in quantize()
839 for (i = y = 0; y < h; y += MB_SIZE) in calculate_skip_errors()
840 for (x = 0; x < s->w; x += MB_SIZE, i++) { in calculate_skip_errors()
1068 …for (num_strips = s->min_strips; num_strips <= s->max_strips && num_strips <= s->h / MB_SIZE; num_… in rd_frame()