]> granicus.if.org Git - libvpx/commit
vp9-svc: Fix to setting frame size for dynamic resize
authorMarco Paniconi <marpan@google.com>
Fri, 26 Jun 2020 22:34:35 +0000 (15:34 -0700)
committerMarco Paniconi <marpan@google.com>
Sat, 27 Jun 2020 00:08:54 +0000 (17:08 -0700)
commitde4aedaec33c6c29f882f99a740713596713a1f9
tree8285f1fc79a6041a2709e0f682c4ac850ebdfe1c
parent3f18b08397674e4fe5b327c735f4945cb1892c41
vp9-svc: Fix to setting frame size for dynamic resize

For svc with dynamic resize (only for single_layer_svc mode),
add flag to indicate resized width/height has already been set,
otherwise on the resized/trigger frame (resize_pending=1), the
wrong resolution may be set if oxcf->width/height is different
than layer width/height in single_layer_svc mode.

Change-Id: I24403ee93fc96b830a9bf7c66d763a48762cdcb4
vp9/encoder/vp9_encoder.c
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_svc_layercontext.c
vp9/encoder/vp9_svc_layercontext.h