[Libva] VAProfileH264Baseline missing from i965_QueryConfigEntrypoints in i965_drv_video.c
Xiang, Haihao
haihao.xiang at intel.com
Wed Jan 6 00:35:08 PST 2016
This is by design. H.264 Baseline Profile isn't supported by the driver.
Thanks
Haihao
Hi All,
I am running into an issue here which I don't know if anybody else has faced or not. When I use the test application h264encode in libva/tests/encode and use the command line option --profile to set the h264 profile to "BP" (baseline), I get the following error:
Can't find VAEntrypointEncSlice for H264 profiles
Upon further investigation, it seems that the function i965_QueryConfigEntrypoints inside i965_drv_video.c does not handle VAProfileH264Baseline and returns VA_STATUS_ERROR_UNSUPPORTED_PROFILE. The following code snippet shows the unhandled enumeration :
case VAProfileH264ConstrainedBaseline:
case VAProfileH264Main:
case VAProfileH264High:
if (HAS_H264_DECODING(i965))
entrypoint_list[n++] = VAEntrypointVLD;
if (HAS_H264_ENCODING(i965))
entrypoint_list[n++] = VAEntrypointEncSlice;
break;
Is this by design or did someone forget to handle this case in the switch statement ?
Regards
Hamza Shahid
_______________________________________________
Libva mailing list
Libva at lists.freedesktop.org<mailto:Libva at lists.freedesktop.org>
http://lists.freedesktop.org/mailman/listinfo/libva
More information about the Libva
mailing list