]> granicus.if.org Git - libvpx/commit
Fixed 8K two pass encoder crash.
authorpaulwilkins <paulwilkins@google.com>
Thu, 5 May 2016 10:37:04 +0000 (11:37 +0100)
committerpaulwilkins <paulwilkins@google.com>
Wed, 11 May 2016 13:45:50 +0000 (14:45 +0100)
commit65732c36a8c8f60907b62d24c097782a0a0d7e1c
tree823bdc77ed939e9734a7889d2f70735520adcd35
parent015c43f0c1b0325632283f371a42974968b5655a
Fixed 8K two pass encoder crash.

Bug found by Yunqing relating to the correction for size at 8K and
above in get_twopass_worst_quality().

The basis for the correction was changed to the linear size relative to
1080P as a baseline and the adjustment has been clamped to prevent
problems at extreme images sizes.

For 1080P the results on our test sets were neutral but the low res and
mid res sets saw a small gain (0.1%-0.2% average).

I would also expect some gains on 4k and larger content where the
previous correction was overly aggressive.

Change-Id: I30b026b5f4535e9601e3178d738066459d19c8fb
vp10/encoder/firstpass.c
vp9/encoder/vp9_firstpass.c