Lines Matching refs:mb_x
1737 const int mb_x = s->mb_x;
1750 const int mb_xy = mb_x + mb_y * s->mb_stride;
1781 (mb_y * 16 * wrap_y) + mb_x * 16;
1783 (mb_y * mb_block_height * wrap_c) + mb_x * 8;
1785 (mb_y * mb_block_height * wrap_c) + mb_x * 8;
1787 if (mb_x * 16 + 16 > s->width || mb_y * 16 + 16 > s->height) {
1789 s->dsp.emulated_edge_mc(ebuf, ptr_y, wrap_y, 16, 16, mb_x * 16,
1793 mb_block_height, mb_x * 8, mb_y * 8,
1797 mb_block_height, mb_x * 8, mb_y * 8,
1928 if (s->current_picture.mc_mb_var[s->mb_stride * mb_y + mb_x] <
2241 if(s->mb_x*16 + 16 > s->width ) w= s->width - s->mb_x*16;
2246 return s->dsp.nsse[0](s, s->new_picture.f.data[0] + s->mb_x*16 + s->mb_y*s->linesize*16, s->dest[0], s->linesize, 16)
2247 +s->dsp.nsse[1](s, s->new_picture.f.data[1] + s->mb_x*8 + s->mb_y*s->uvlinesize*8,s->dest[1], s->uvlinesize, 8)
2248 +s->dsp.nsse[1](s, s->new_picture.f.data[2] + s->mb_x*8 + s->mb_y*s->uvlinesize*8,s->dest[2], s->uvlinesize, 8);
2250 return s->dsp.sse[0](NULL, s->new_picture.f.data[0] + s->mb_x*16 + s->mb_y*s->linesize*16, s->dest[0], s->linesize, 16)
2251 +s->dsp.sse[1](NULL, s->new_picture.f.data[1] + s->mb_x*8 + s->mb_y*s->uvlinesize*8,s->dest[1], s->uvlinesize, 8)
2252 +s->dsp.sse[1](NULL, s->new_picture.f.data[2] + s->mb_x*8 + s->mb_y*s->uvlinesize*8,s->dest[2], s->uvlinesize, 8);
2255 return sse(s, s->new_picture.f.data[0] + s->mb_x*16 + s->mb_y*s->linesize*16, s->dest[0], w, h, s->linesize)
2256 +sse(s, s->new_picture.f.data[1] + s->mb_x*8 + s->mb_y*s->uvlinesize*8,s->dest[1], w>>1, h>>1, s->uvlinesize)
2257 +sse(s, s->new_picture.f.data[2] + s->mb_x*8 + s->mb_y*s->uvlinesize*8,s->dest[2], w>>1, h>>1, s->uvlinesize);
2268 for(s->mb_x=s->mb_width-1; s->mb_x >=0 ;s->mb_x--) {
2269 ff_pre_estimate_p_frame_motion(s, s->mb_x, s->mb_y);
2287 s->mb_x=0; //for block init below
2289 for(s->mb_x=0; s->mb_x < s->mb_width; s->mb_x++) {
2297 ff_estimate_b_frame_motion(s, s->mb_x, s->mb_y);
2299 ff_estimate_p_frame_motion(s, s->mb_x, s->mb_y);
2308 int mb_x, mb_y;
2313 for(mb_x=0; mb_x < s->mb_width; mb_x++) {
2314 int xx = mb_x * 16;
2322 s->current_picture.mb_var [s->mb_stride * mb_y + mb_x] = varc;
2323 s->current_picture.mb_mean[s->mb_stride * mb_y + mb_x] = (sum+128)>>8;
2350 int mb_x, mb_y, pdif = 0;
2409 s->mb_x=0;
2415 for(mb_x=0; mb_x < s->mb_width; mb_x++) {
2416 int xy= mb_y*s->mb_stride + mb_x; // removed const, H261 needs to adjust this
2434 s->mb_x = mb_x;
2440 xy= s->mb_y*s->mb_stride + s->mb_x;
2450 is_gob_start= s->avctx->rtp_payload_size && current_packet_size >= s->avctx->rtp_payload_size && mb_y + mb_x>0;
2452 if(s->start_mb_y == mb_y && mb_y > 0 && mb_x==0) is_gob_start=1;
2458 if(s->mb_x || s->mb_y%s->gob_index) is_gob_start=0;
2461 if(s->mb_x==0 && s->mb_y!=0) is_gob_start=1;
2468 if(s->start_mb_y != mb_y || mb_x!=0){
2480 int r= put_bits_count(&s->pb)/8 + s->picture_number + 16 + s->mb_x + s->mb_y;
2490 int number_mb = (mb_y - s->resync_mb_y)*s->mb_width + mb_x - s->resync_mb_x;
2523 s->resync_mb_x=mb_x;
2528 if( (s->resync_mb_x == s->mb_x)
2667 s->mbintra_table[mb_x + mb_y*s->mb_stride]=1;
2937 if(s->mb_x*16 + 16 > s->width ) w= s->width - s->mb_x*16;
2941 s, s->new_picture.f.data[0] + s->mb_x*16 + s->mb_y*s->linesize*16,
2944 s, s->new_picture.f.data[1] + s->mb_x*8 + s->mb_y*s->uvlinesize*chr_h,
2947 s, s->new_picture.f.data[2] + s->mb_x*8 + s->mb_y*s->uvlinesize*chr_h,
2954 //printf("MB %d %d bits\n", s->mb_x+s->mb_y*s->mb_stride, put_bits_count(&s->pb));
3969 printf("after_last:%d to_zero:%d from_zero:%d raise:%d lower:%d sign:%d xyp:%d/%d/%d\n", after_last, to_zero, from_zero, raise, lower, messed_sign, s->mb_x, s->mb_y, s->picture_number);