Lines Matching defs:new_h
214 int f, new_w, new_h;
226 new_h = 4 * ((uint8_t *) s->avctx->extradata)[7 + 2 * f];
229 new_h = rv->orig_height;
231 if (new_w != s->width || new_h != s->height || !s->context_initialized) {
234 "attempting to change resolution to %dx%d\n", new_w, new_h);
235 if (av_image_check_size(new_w, new_h, 0, s->avctx) < 0)
238 if (whole_size < (new_w + 15)/16 * ((new_h + 15)/16) / 8)
246 if (2 * (int64_t)new_w * s->height == (int64_t)new_h * s->width)
248 if ((int64_t)new_w * s->height == 2 * (int64_t)new_h * s->width)
251 ret = ff_set_dimensions(s->avctx, new_w, new_h);
256 s->height = new_h;