intel / intel-vaapi-driver

VA-API user mode driver for Intel GEN Graphics family
https://01.org/linuxmedia
Other
303 stars 126 forks source link

Green artefacts in WVC1 decoding with sandy bridge (gen6) #474

Closed J-Bu closed 5 years ago

J-Bu commented 5 years ago

Since commit 1591f6c1be689c5265cb5beab18c97771d056cb9 WVC1 videos are decoded with a green color on sandy bridge platforms. This is because of a wrong ptype before this commit ptype was set to GEN6_VC1_BI_PICTURE if picture_type is GEN6_VC1_I_PICTURE and profile is advanced. With this commit the ptype is correctly set to GEN6_VC1_BI_PICTURE for advanced profiles.

Maybe this is also needed for the other platforms affected by commit 1591f6c1be689c5265cb5beab18c97771d056cb9 but I have no hardware to test it.

xhaihao commented 5 years ago

Thanks for the patch. If possible, could you share your test clip?

J-Bu commented 5 years ago

I uploaded two videos where the error occurs please use following link to download: https://cloud.unicon-software.com/d/e5eb570bf70843049200/

xhaihao commented 5 years ago

I don't see green color with commit https://github.com/intel/intel-vaapi-driver/commit/1591f6c1be689c5265cb5beab18c97771d056cb9 on other platforms.