[regression] vaapijpegdec: decoding 444 jpeg with explicit down-sampled format produces spurious errors
!163 (merged) restores most vaapijpegdec + i965 functionality that regressed in !123 (merged). However, decoding 444 jpeg's with an explicit src caps filter that defines a supported down-sampled format succeeds but produces spurious errors.
gst-launch-1.0 -vf videotestsrc num-buffers=10 \
! video/x-raw,format=Y444 \
! jpegenc ! jpegparse \
! vaapijpegdec ! video/x-raw,format=NV12 \
! checksumsink2
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'vaapidecode_jpeg0': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
Got context from element 'vaapidecode_jpeg0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayGLX\)\ vaapidisplayglx0";
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, format=(string)Y444, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)Y444, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstJpegEnc:jpegenc0.GstPad:sink: caps = video/x-raw, format=(string)Y444, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)Y444, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstJpegEnc:jpegenc0.GstPad:src: caps = image/jpeg, sof-marker=(int)0, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, chroma-site=(string)jpeg, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono
/GstPipeline:pipeline0/GstJpegParse:jpegparse0.GstPad:sink: caps = image/jpeg, sof-marker=(int)0, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, chroma-site=(string)jpeg, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono
/GstPipeline:pipeline0/GstJpegParse:jpegparse0.GstPad:src: caps = image/jpeg, parsed=(boolean)true, format=(string)YV12, width=(int)320, height=(int)240, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstVaapiDecode_jpeg:vaapidecode_jpeg0.GstPad:sink: caps = image/jpeg, parsed=(boolean)true, format=(string)YV12, width=(int)320, height=(int)240, framerate=(fraction)30/1
0:00:00.055308007 17293 0x202ca80 ERROR vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.055333538 17293 0x202ca80 ERROR vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.055338378 17293 0x202ca80 ERROR vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.055342664 17293 0x202ca80 ERROR vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.055346217 17293 0x202ca80 ERROR vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.055349974 17293 0x202ca80 ERROR vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.055353489 17293 0x202ca80 ERROR vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
0:00:00.055357198 17293 0x202ca80 ERROR vaapi gstvaapisurface.c:217:gst_vaapi_surface_create_full: unsupported format AYUV
Redistribute latency...
/GstPipeline:pipeline0/GstVaapiDecode_jpeg:vaapidecode_jpeg0.GstPad:src: caps = video/x-raw, format=(string)I420, width=(int)320, height=(int)240, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)jpeg, colorimetry=(string)bt601, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps = video/x-raw, format=(string)I420, width=(int)320, height=(int)240, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)jpeg, colorimetry=(string)bt601, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCksumImageSink:cksumimagesink0.GstPad:sink: caps = video/x-raw, format=(string)I420, width=(int)320, height=(int)240, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)jpeg, colorimetry=(string)bt601, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = video/x-raw, format=(string)I420, width=(int)320, height=(int)240, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)jpeg, colorimetry=(string)bt601, framerate=(fraction)30/1
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
FrameChecksum bb39f49d92086c5f19d0c99dc819e424
FrameChecksum d66ec90264b59e184ecff7aa62397879
FrameChecksum b5b05d9bfafaf29823cfebd95b9d92be
FrameChecksum 828ffc7772ada895d299c11d60b42444
FrameChecksum 257ebb080d597e7dbf9d11a262bdb7c6
FrameChecksum beefbe777f128cb153bf3cfdda5820de
FrameChecksum 280f3dc5c8f5f02d442e06d63319220e
FrameChecksum fd85f041b299d62f642810117da5103f
FrameChecksum 16edf43d39469d4cfc16dd50c75e9360
FrameChecksum c65970c534cddd8a923e6f5f21d360c7
Got EOS from element "pipeline0".
Execution ended after 0:00:00.013360410
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
See related #189 (closed)
Edited by U. Artie Eoff