Lines Matching refs:mb_width
56 } else if (!(f->ref_index[0] = av_mallocz(s->mb_width * s->mb_height))) {
121 s->mb_width = (s->avctx->coded_width +15) / 16;
124 s->macroblocks_base = av_mallocz((s->mb_width+s->mb_height*2+1)*sizeof(*s->macroblocks));
125 s->filter_strength = av_mallocz(s->mb_width*sizeof(*s->filter_strength));
126 s->intra4x4_pred_mode_top = av_mallocz(s->mb_width*4);
127 s->top_nnz = av_mallocz(s->mb_width*sizeof(*s->top_nnz));
128 s->top_border = av_mallocz((s->mb_width+1)*sizeof(*s->top_border));
849 int linesize, int uvlinesize, int mb_x, int mb_y, int mb_width,
865 if (mb_x < mb_width-1)
980 s->linesize, s->uvlinesize, mb_x, mb_y, s->mb_width,
1002 mb_x == s->mb_width-1) {
1086 s->linesize, s->uvlinesize, mb_x, mb_y, s->mb_width,
1265 int width = 16*s->mb_width, height = 16*s->mb_height;
1534 for (mb_x = 0; mb_x < s->mb_width; mb_x++) {
1549 for (mb_x = 0; mb_x < s->mb_width; mb_x++) {
1660 memset(s->top_nnz, 0, s->mb_width*sizeof(*s->top_nnz));
1663 memset(s->macroblocks + s->mb_height*2 - 1, 0, (s->mb_width+1)*sizeof(*s->macroblocks));
1668 memset(s->top_border[1]-1, 127, s->mb_width*sizeof(*s->top_border)+1);
1672 memset(s->intra4x4_pred_mode_top, DC_PRED, s->mb_width*4);
1681 int mb_xy = mb_y*s->mb_width;
1702 s->mv_max.x = ((s->mb_width - 1) << 6) + MARGIN;
1706 for (mb_x = 0; mb_x < s->mb_width; mb_x++, mb_xy++, mb++) {
1817 (s_src->mb_width != s->mb_width || s_src->mb_height != s->mb_height)) {