Lines Matching refs:mb_x
341 int mb_x, int mb_y, int mb_intra, int mb_skipped)
349 s->mb_x = mb_x;
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);
2214 int mb_x;
2215 for (mb_x = 0; mb_x < mb_width; mb_x++) {
2216 const int mb_index = mb_x + mb_y * mb_stride;
2247 int sx = mb_x * 16 + 4 + 8 * (i & 1);
2249 int xy = (mb_x * 2 + (i & 1) +
2259 int sx = mb_x * 16 + 8;
2261 int xy = (mb_x * 2 + (mb_y * 2 + i) * mv_stride) << (mv_sample_log2 - 1);
2274 int sx = mb_x * 16 + 4 + 8 * i;
2276 int xy = (mb_x * 2 + i + mb_y * 2 * mv_stride) << (mv_sample_log2 - 1);
2287 int sx= mb_x * 16 + 8;
2289 int xy= (mb_x + mb_y * mv_stride) << mv_sample_log2;
2301 *(uint64_t *)(pict->data[1] + 8 * mb_x +
2304 *(uint64_t *)(pict->data[2] + 8 * mb_x +
2349 *(uint64_t *)(pict->data[1] + 8 * mb_x +
2351 *(uint64_t *)(pict->data[2] + 8 * mb_x +
2357 *(uint64_t *)(pict->data[0] + 16 * mb_x + 0 +
2359 *(uint64_t *)(pict->data[0] + 16 * mb_x + 8 +
2364 pict->data[0][16 * mb_x + 8 + (16 * mb_y + y) *
2370 int sx = mb_x * 16 + 8 * (i & 1);
2372 int xy = (mb_x * 2 + (i & 1) +
2499 src_x = s->mb_x * 2 * block_s + (motion_x >> lowres + 1);
2513 uvsrc_x = s->mb_x * block_s + (mx >> lowres);
2521 uvsrc_x = s->mb_x * block_s + (mx >> lowres + 1);
2530 uvsrc_x = s->mb_x*block_s + (mx >> (lowres+1));
2628 src_x = s->mb_x * block_s + (mx >> lowres + 1);
2675 int mb_x, mb_y, i;
2679 mb_x = s->mb_x;
2697 (2 * mb_x + (i & 1)) * block_s,
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;
3185 s->dest[0] = s->current_picture.f->data[0] + ((s->mb_x - 1) << mb_size);
3186 s->dest[1] = s->current_picture.f->data[1] + ((s->mb_x - 1) << (mb_size - s->chroma_x_shift));
3187 s->dest[2] = s->current_picture.f->data[2] + ((s->mb_x - 1) << (mb_size - s->chroma_x_shift));
3248 s->mb_x= s->mb_y= 0;