New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 843462 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

VAAPI jpeg encoder generates corrupted result when APP1 segment contains a thumbnail

Project Member Reported by shenghao@chromium.org, May 16 2018

Issue description

Chrome 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.

 
Cc: shenghao@chromium.org wuchengli@chromium.org posciak@chromium.org
Owner: jcliang@chromium.org
Ricky, could you route this to intel people?
Status: Assigned (was: Untriaged)
Wu-Cheng suggested that vendor bugs should be filed in buganizer.
I created https://b.corp.google.com/issues/79840013 for it.
Status: WontFix (was: Assigned)

Sign in to add a comment