-
Sheng-Hao Tsao authored
VAAPI JEA generates incorrect encoded image when the APP1 segment in the header has a thumbnail image. This CL works around the problem by providing an all-zero APP1 buffer with the same size and fill in the real APP1 buffer data after the encode is done. BUG=b:79840013 TEST=Verified on nautilus that GCA can take photos. Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: Ic8dd17487a03af7a881a6d2804baee73bbbd13a1 Reviewed-on: https://chromium-review.googlesource.com/1061277Reviewed-by:
Ricky Liang <jcliang@chromium.org> Commit-Queue: Sheng-hao Tsao <shenghao@google.com> Cr-Commit-Position: refs/heads/master@{#559436}
62e06800