Lines Matching refs:mb_x
2013 const int mb_x = s->mb_x;
2027 const int mb_xy = mb_x + mb_y * s->mb_stride;
2058 (mb_y * 16 * wrap_y) + mb_x * 16;
2060 (mb_y * mb_block_height * wrap_c) + mb_x * mb_block_width;
2062 (mb_y * mb_block_height * wrap_c) + mb_x * mb_block_width;
2064 if((mb_x * 16 + 16 > s->width || mb_y * 16 + 16 > s->height) && s->codec_id != AV_CODEC_ID_AMV){
2070 16, 16, mb_x * 16, mb_y * 16,
2076 mb_x * mb_block_width, mb_y * mb_block_height,
2082 mb_x * mb_block_width, mb_y * mb_block_height,
2223 if (s->current_picture.mc_mb_var[s->mb_stride * mb_y + mb_x] <
2544 if(s->mb_x*16 + 16 > s->width ) w= s->width - s->mb_x*16;
2549 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)
2550 +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)
2551 +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);
2553 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)
2554 +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)
2555 +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);
2558 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)
2559 +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)
2560 +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);
2571 for(s->mb_x=s->mb_width-1; s->mb_x >=0 ;s->mb_x--) {
2572 ff_pre_estimate_p_frame_motion(s, s->mb_x, s->mb_y);
2590 s->mb_x=0; //for block init below
2592 for(s->mb_x=0; s->mb_x < s->mb_width; s->mb_x++) {
2600 ff_estimate_b_frame_motion(s, s->mb_x, s->mb_y);
2602 ff_estimate_p_frame_motion(s, s->mb_x, s->mb_y);
2611 int mb_x, mb_y;
2616 for(mb_x=0; mb_x < s->mb_width; mb_x++) {
2617 int xx = mb_x * 16;
2626 s->current_picture.mb_var [s->mb_stride * mb_y + mb_x] = varc;
2627 s->current_picture.mb_mean[s->mb_stride * mb_y + mb_x] = (sum+128)>>8;
2656 int mba = s->mb_x + s->mb_width * (s->mb_y % s->gob_index);
2697 int mb_x, mb_y, pdif = 0;
2759 s->mb_x=0;
2765 for(mb_x=0; mb_x < s->mb_width; mb_x++) {
2766 int xy= mb_y*s->mb_stride + mb_x; // removed const, H261 needs to adjust this
2784 s->mb_x = mb_x;
2790 xy= s->mb_y*s->mb_stride + s->mb_x;
2800 is_gob_start= s->avctx->rtp_payload_size && current_packet_size >= s->avctx->rtp_payload_size && mb_y + mb_x>0;
2802 if(s->start_mb_y == mb_y && mb_y > 0 && mb_x==0) is_gob_start=1;
2808 if(s->mb_x || s->mb_y%s->gob_index) is_gob_start=0;
2811 if(s->mb_x==0 && s->mb_y!=0) is_gob_start=1;
2816 if(s->mb_x==0 && s->mb_y!=0) is_gob_start=1;
2821 if(s->start_mb_y != mb_y || mb_x!=0){
2833 int r= put_bits_count(&s->pb)/8 + s->picture_number + 16 + s->mb_x + s->mb_y;
2843 int number_mb = (mb_y - s->resync_mb_y)*s->mb_width + mb_x - s->resync_mb_x;
2877 s->resync_mb_x=mb_x;
2882 if( (s->resync_mb_x == s->mb_x)
3023 s->mbintra_table[mb_x + mb_y*s->mb_stride]=1;
3293 if(s->mb_x*16 + 16 > s->width ) w= s->width - s->mb_x*16;
3297 s, s->new_picture.f->data[0] + s->mb_x*16 + s->mb_y*s->linesize*16,
3300 s, s->new_picture.f->data[1] + s->mb_x*8 + s->mb_y*s->uvlinesize*chr_h,
3303 s, s->new_picture.f->data[2] + s->mb_x*8 + s->mb_y*s->uvlinesize*chr_h,
3311 s->mb_x + s->mb_y * s->mb_stride, put_bits_count(&s->pb));
3638 s->mb_x = s->mb_y = 0;
4368 av_log(s->avctx, AV_LOG_DEBUG, "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);