Lines Matching refs:mb_y
1611 int mb_y;
1634 for (mb_y = 0; mb_y < s->mb_height; mb_y++) {
1637 const int mb_index = mb_x + mb_y * s->mb_stride;
1669 int sy = mb_y * 16 + 4 + 8 * (i >> 1);
1671 (mb_y * 2 + (i >> 1)) * mv_stride) << (mv_sample_log2 - 1);
1681 int sy = mb_y * 16 + 4 + 8 * i;
1682 int xy = (mb_x * 2 + (mb_y * 2 + i) * mv_stride) << (mv_sample_log2 - 1);
1696 int sy = mb_y * 16 + 8;
1697 int xy = (mb_x * 2 + i + mb_y * 2 * mv_stride) << (mv_sample_log2 - 1);
1709 int sy = mb_y * 16 + 8;
1710 int xy = (mb_x + mb_y * mv_stride) << mv_sample_log2;
1723 (block_height * mb_y + y) *
1726 (block_height * mb_y + y) *
1771 (block_height * mb_y + y) * pict->linesize[1]) = u;
1773 (block_height * mb_y + y) * pict->linesize[2]) = v;
1779 (16 * mb_y + 8) * pict->linesize[0]) ^= 0x8080808080808080ULL;
1781 (16 * mb_y + 8) * pict->linesize[0]) ^= 0x8080808080808080ULL;
1785 pict->data[0][16 * mb_x + 8 + (16 * mb_y + y) *
1792 int sy = mb_y * 16 + 8 * (i >> 1);
1794 (mb_y * 2 + (i >> 1)) * mv_stride) << (mv_sample_log2 - 1);
1875 int h, int mb_y)
1902 src_y = (mb_y * 2 * block_s >> field_based) + (motion_y >> lowres + 1);
1916 uvsrc_y = mb_y * block_s + (my >> lowres);
1923 uvsrc_y = (mb_y * block_s >> field_based) + (my >> lowres + 1);
2008 src_y = s->mb_y * block_s + (my >> lowres + 1);
2052 int mb_x, mb_y, i;
2057 mb_y = s->mb_y;
2065 2 * block_s, mb_y);
2075 (2 * mb_y + (i >> 1)) * block_s,
2096 block_s, mb_y);
2102 block_s, mb_y);
2113 s->mv[dir][0][1], 2 * block_s, mb_y >> 1);
2131 2 * block_s * i, block_s, mb_y >> 1);
2148 block_s, mb_y);
2158 2 * block_s, mb_y >> 1);
2208 return FFMIN(FFMAX(s->mb_y + off, 0), s->mb_height-1);
2263 xy = s->mb_x + s->mb_y * wrap;
2287 const int mb_xy = s->mb_y * s->mb_stride + s->mb_x;
2297 av_log(s->avctx, AV_LOG_DEBUG, "DCT coeffs of MB at %dx%d:\n", s->mb_x, s->mb_y);
2608 s->block_index[0]= s->b8_stride*(s->mb_y*2 ) - 2 + s->mb_x*2;
2609 s->block_index[1]= s->b8_stride*(s->mb_y*2 ) - 1 + s->mb_x*2;
2610 s->block_index[2]= s->b8_stride*(s->mb_y*2 + 1) - 2 + s->mb_x*2;
2611 s->block_index[3]= s->b8_stride*(s->mb_y*2 + 1) - 1 + s->mb_x*2;
2612 s->block_index[4]= s->mb_stride*(s->mb_y + 1) + s->b8_stride*s->mb_height*2 + s->mb_x - 1;
2613 s->block_index[5]= s->mb_stride*(s->mb_y + s->mb_height + 2) + s->b8_stride*s->mb_height*2 + s->mb_x - 1;
2623 s->dest[0] += s->mb_y * linesize << mb_size;
2624 s->dest[1] += s->mb_y * uvlinesize << (mb_size - s->chroma_y_shift);
2625 s->dest[2] += s->mb_y * uvlinesize << (mb_size - s->chroma_y_shift);
2627 s->dest[0] += (s->mb_y>>1) * linesize << mb_size;
2628 s->dest[1] += (s->mb_y>>1) * uvlinesize << (mb_size - s->chroma_y_shift);
2629 s->dest[2] += (s->mb_y>>1) * uvlinesize << (mb_size - s->chroma_y_shift);
2630 assert((s->mb_y&1) == (s->picture_structure == PICT_BOTTOM_FIELD));
2650 s->mb_x= s->mb_y= 0;
2900 ff_thread_report_progress((AVFrame*)s->current_picture_ptr, s->mb_y, 0);