Lines Matching refs:new_h
212 int f, new_w, new_h; in rv20_decode_picture_header() local
224 new_h = 4 * ((uint8_t *) s->avctx->extradata)[7 + 2 * f]; in rv20_decode_picture_header()
227 new_h = rv->orig_height; in rv20_decode_picture_header()
229 if (new_w != s->width || new_h != s->height || !s->context_initialized) { in rv20_decode_picture_header()
232 "attempting to change resolution to %dx%d\n", new_w, new_h); in rv20_decode_picture_header()
233 if (av_image_check_size(new_w, new_h, 0, s->avctx) < 0) in rv20_decode_picture_header()
236 if (whole_size < (new_w + 15)/16 * ((new_h + 15)/16) / 8) in rv20_decode_picture_header()
244 if (2 * (int64_t)new_w * s->height == (int64_t)new_h * s->width) in rv20_decode_picture_header()
246 if ((int64_t)new_w * s->height == 2 * (int64_t)new_h * s->width) in rv20_decode_picture_header()
249 ret = ff_set_dimensions(s->avctx, new_w, new_h); in rv20_decode_picture_header()
254 s->height = new_h; in rv20_decode_picture_header()