]> granicus.if.org Git - libvpx/commit
Fix pulsing issue with scaling
authorJohn Koleszar <jkoleszar@google.com>
Thu, 14 Mar 2013 00:09:05 +0000 (17:09 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Thu, 14 Mar 2013 02:10:10 +0000 (19:10 -0700)
commit9b7be888839c884451646905bd54b5861aac592b
treee89260e1a8dc81f15c27f68a8d9368aecf4a3b7c
parentb3c350a1a99ac89e81cff77d82a9a11c0a762600
Fix pulsing issue with scaling

Updates the YV12_BUFFER_CONFIG structure to be crop-aware. The
exiting width/height parameters are left unchanged, storing the
width and height algined to a 16 byte boundary. The cropped
dimensions are added as new fields.

This fixes a nasty visual pulse when switching between scaled and
unscaled frame dimensions due to a mismatch between the scaling
ratio and the 16-byte aligned sizes.

Change-Id: Id4a3f6aea6b9b9ae38bdfa1b87b7eb2cfcdd57b6
15 files changed:
vp9/common/vp9_alloccommon.c
vp9/common/vp9_reconinter.c
vp9/decoder/vp9_decodframe.c
vp9/encoder/vp9_lookahead.c
vp9/encoder/vp9_onyx_if.c
vp9/encoder/vp9_onyx_int.h
vp9/encoder/vp9_picklpf.c
vp9/encoder/vp9_rdopt.c
vp9/encoder/vp9_temporal_filter.c
vp9/vp9_cx_iface.c
vp9/vp9_dx_iface.c
vpx_scale/generic/yv12config.c
vpx_scale/generic/yv12extend.c
vpx_scale/yv12config.h
vpxdec.c