libva icon indicating copy to clipboard operation
libva copied to clipboard

vaQueryImageFormats missing packed RGB24 format in postproc

Open HeJunyan opened this issue 6 years ago • 3 comments

Gstreamer

gst-launch-1.0 videotestsrc ! capsfilter caps=video/x-raw,format=RGB,width=800,height=600 ! vaapipostproc ! video/x-raw,format=NV12 ! filesink location=ppp.yuv

can not work, because the FOURCC of VA_FOURCC_R8G8B8 can not be found in current driver.

While, I checked, at least the version:

commit d17f3fcf7e5238ae82b50c54c9591cde919ae3fe Author: Huang_LiH [email protected] Date: Wed May 22 08:34:58 2019 +0800

[CM] surface dump enhance

Enhance surface dump

Change-Id: I18fa07fd2714efe30518cf75e287245382ca49aa

still have this support

HeJunyan avatar Jul 11 '19 11:07 HeJunyan

Since driver cannot output R8G8B8, currently, we cannot separate the image capability for input and output, and we remove it in image capability immediately, but you still can use it as input.

Jister avatar Jul 12 '19 02:07 Jister

Jister, please help to follow up this issue, thanks a lot in advance!

FurongZhang avatar Jul 12 '19 02:07 FurongZhang

it is a limitation of caps reporting, could we close it or move it to libva @HeJunyan

XinfengZhang avatar Mar 19 '20 05:03 XinfengZhang