intel / media-driver

Intel Graphics Media Driver to support hardware decode, encode and video processing.
https://github.com/intel/media-driver/wiki
Other
983 stars 345 forks source link

Regression: image corruption since commit 1478047 when decoding a 4:4:4 JPEG file and VP9 10bit clips #916

Closed xhaihao closed 4 years ago

xhaihao commented 4 years ago

Reproduce steps:

  1. $> gst-launch-1.0 filesrc location=input.444P.jpeg ! jpegparse ! vaapijpegdec ! filesink location=output.yuv
  2. View output.yuv in a yuv viewer, the format is 444P.

I see this issue on ICL and TGL

FurongZhang commented 4 years ago

@XinfengZhang

Jister commented 4 years ago

@xhaihao could you provide the test file? Thanks

xhaihao commented 4 years ago

@Jister I have sent the clip to you by email

Jister commented 4 years ago

Please try #920

xhaihao commented 4 years ago

@Jister your patch works for me, thanks!

FocusLuo commented 4 years ago

This patch also caused almost all of ffmpeg-vaapi and gst-vaapi vp9 10bit decode test cases failed, which dropped down big pass rate on us can you help to fix it ASAP?

FocusLuo commented 4 years ago

gst-launch-1.0 -vf filesrc location=./vp9_10bit_fastfood_64x64.ivf ! ivfparse ! vaapivp9dec ! videoconvert dither=0 ! video/x-raw,format=P010_10LE ! checksumsink2 file-checksum=false qos=false frame-checksum=false plane-checksum=false dump-output=true dump-location=test.yuv

Jister commented 4 years ago

@FocusLuo could you share the test file './vp9_10bit_fastfood_64x64.ivf' , thanks

Jister commented 4 years ago

@xhaihao Can we close the issue since the issue has been fixed? Thanks