VAAPI jpeg encoder generates corrupted result when APP1 segment contains a thumbnail |
|||
Issue descriptionChrome OS Version: R68-10654.0.0 Repro steps: 1. Use VAAPI to encode JPEG image. 2. Provide a VAEncPackedHeaderDataBufferType with a header containing APP1 segment which has a thumbnail. 3. The resulted JPEG is extremely small, containing only the APP1 segment until end-of-image marker (0xFFD9) of the thumbnail. My guess is that the end-of-image marker of the thumbnail confuses the VAAPI encoder. If I provide an all-zero APP1 segment with the same size and fill in the real APP1 segment after obtaining the result image from VAAPI, the image looks good.
,
May 16 2018
,
May 16 2018
Wu-Cheng suggested that vendor bugs should be filed in buganizer. I created https://b.corp.google.com/issues/79840013 for it.
,
May 16 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by shenghao@chromium.org
, May 16 2018Owner: jcliang@chromium.org