]> granicus.if.org Git - libvpx/commit
Add a hardware compatibility feature
authorhui su <huisu@google.com>
Wed, 15 Jun 2016 18:39:41 +0000 (11:39 -0700)
committerhui su <huisu@google.com>
Tue, 21 Jun 2016 17:33:57 +0000 (10:33 -0700)
commita5af392aaec8f91d62ab68812f090697b06cce33
tree3936f70311d494f6a7c92f7f51546469ea042c3d
parentb4aa5c9408595e6d618a6bd2718435ee40eeffb7
Add a hardware compatibility feature

This commit adds an encoder workaround to support better
compatibility with a non-compliant hardware vp9 profile 2 decoder.

The known issue with this decoder is:
The decoder assumes a wrong value, 127 instead of the correct
value of 511 and 2047, for any assumed top-left corner pixel in
UV planes for 10 and 12 bit, respectively. Such assumed
top-left corner pixel is used for INTRA prediction when a real
decoded/reconstructed pixel is not avalable, e.g. when it is
located inside the row above the top row or inside the column
left to the leftest column of a video image.

Change-Id: Ic15a938a3107e1b85e96cb7903a5c4220986b99d
vp9/common/vp9_common_data.c
vp9/common/vp9_common_data.h
vp9/decoder/vp9_decodemv.c
vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_rdopt.c