Lines Matching refs:mb_y
341 int mb_x, int mb_y, int mb_intra, int mb_skipped)
350 s->mb_y = mb_y;
358 s->dest[0] = s->current_picture.f->data[0] + (s->mb_y * 16 * s->linesize) + s->mb_x * 16;
359 s->dest[1] = s->current_picture.f->data[1] + (s->mb_y * (16 >> s->chroma_y_shift) * s->uvlinesize) + s->mb_x * (16 >> s->chroma_x_shift);
360 s->dest[2] = s->current_picture.f->data[2] + (s->mb_y * (16 >> s->chroma_y_shift) * s->uvlinesize) + s->mb_x * (16 >> s->chroma_x_shift);
2193 int mb_y;
2213 for (mb_y = 0; mb_y < mb_height; mb_y++) {
2216 const int mb_index = mb_x + mb_y * mb_stride;
2248 int sy = mb_y * 16 + 4 + 8 * (i >> 1);
2250 (mb_y * 2 + (i >> 1)) * mv_stride) << (mv_sample_log2 - 1);
2260 int sy = mb_y * 16 + 4 + 8 * i;
2261 int xy = (mb_x * 2 + (mb_y * 2 + i) * mv_stride) << (mv_sample_log2 - 1);
2275 int sy = mb_y * 16 + 8;
2276 int xy = (mb_x * 2 + i + mb_y * 2 * mv_stride) << (mv_sample_log2 - 1);
2288 int sy= mb_y * 16 + 8;
2289 int xy= (mb_x + mb_y * mv_stride) << mv_sample_log2;
2302 (block_height * mb_y + y) *
2305 (block_height * mb_y + y) *
2350 (block_height * mb_y + y) * pict->linesize[1]) = u;
2352 (block_height * mb_y + y) * pict->linesize[2]) = v;
2358 (16 * mb_y + 8) * pict->linesize[0]) ^= 0x8080808080808080ULL;
2360 (16 * mb_y + 8) * pict->linesize[0]) ^= 0x8080808080808080ULL;
2364 pict->data[0][16 * mb_x + 8 + (16 * mb_y + y) *
2371 int sy = mb_y * 16 + 8 * (i >> 1);
2373 (mb_y * 2 + (i >> 1)) * mv_stride) << (mv_sample_log2 - 1);
2473 int h, int mb_y)
2500 src_y = (mb_y * 2 * block_s >> field_based) + (motion_y >> lowres + 1);
2514 uvsrc_y = mb_y * block_s + (my >> lowres);
2522 uvsrc_y = (mb_y * block_s >> field_based) + (my >> lowres + 1);
2629 src_y = s->mb_y * block_s + (my >> lowres + 1);
2675 int mb_x, mb_y, i;
2680 mb_y = s->mb_y;
2688 2 * block_s, mb_y);
2698 (2 * mb_y + (i >> 1)) * block_s,
2719 block_s, mb_y);
2725 block_s, mb_y);
2736 s->mv[dir][0][1], 2 * block_s, mb_y >> 1);
2754 2 * block_s * i, block_s, mb_y >> 1);
2771 block_s, mb_y);
2781 2 * block_s, mb_y >> 1);
2832 return FFMIN(FFMAX(s->mb_y + off, 0), s->mb_height-1);
2887 xy = s->mb_x + s->mb_y * wrap;
2911 const int mb_xy = s->mb_y * s->mb_stride + s->mb_x;
2922 av_log(s->avctx, AV_LOG_DEBUG, "DCT coeffs of MB at %dx%d:\n", s->mb_x, s->mb_y);
3177 s->block_index[0]= s->b8_stride*(s->mb_y*2 ) - 2 + s->mb_x*2;
3178 s->block_index[1]= s->b8_stride*(s->mb_y*2 ) - 1 + s->mb_x*2;
3179 s->block_index[2]= s->b8_stride*(s->mb_y*2 + 1) - 2 + s->mb_x*2;
3180 s->block_index[3]= s->b8_stride*(s->mb_y*2 + 1) - 1 + s->mb_x*2;
3181 s->block_index[4]= s->mb_stride*(s->mb_y + 1) + s->b8_stride*s->mb_height*2 + s->mb_x - 1;
3182 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;
3192 s->dest[0] += s->mb_y * linesize << mb_size;
3193 s->dest[1] += s->mb_y * uvlinesize << (mb_size - s->chroma_y_shift);
3194 s->dest[2] += s->mb_y * uvlinesize << (mb_size - s->chroma_y_shift);
3196 s->dest[0] += (s->mb_y>>1) * linesize << mb_size;
3197 s->dest[1] += (s->mb_y>>1) * uvlinesize << (mb_size - s->chroma_y_shift);
3198 s->dest[2] += (s->mb_y>>1) * uvlinesize << (mb_size - s->chroma_y_shift);
3199 av_assert1((s->mb_y&1) == (s->picture_structure == PICT_BOTTOM_FIELD));
3248 s->mb_x= s->mb_y= 0;
3281 ff_thread_report_progress(&s->current_picture_ptr->tf, s->mb_y, 0);