<div dir="ltr"><div><div>If that's the case then the h264encode test application should be updated to reflect this change because it accepts baseline profile for encoding and then gives an error.<br><br></div>Thanks<br></div>Hamza<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 6, 2016 at 1:35 PM, Xiang, Haihao <span dir="ltr"><<a href="mailto:haihao.xiang@intel.com" target="_blank">haihao.xiang@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
This is by design. H.264 Baseline Profile isn't supported by the driver.<br>
<br>
Thanks<br>
Haihao<br>
<div><div class="h5"><br>
Hi All,<br>
<br>
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:<br>
<br>
Can't find VAEntrypointEncSlice for H264 profiles<br>
<br>
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 :<br>
<br>
case VAProfileH264ConstrainedBaseline:<br>
case VAProfileH264Main:<br>
case VAProfileH264High:<br>
if (HAS_H264_DECODING(i965))<br>
entrypoint_list[n++] = VAEntrypointVLD;<br>
<br>
if (HAS_H264_ENCODING(i965))<br>
entrypoint_list[n++] = VAEntrypointEncSlice;<br>
<br>
break;<br>
<br>
Is this by design or did someone forget to handle this case in the switch statement ?<br>
<br>
Regards<br>
Hamza Shahid<br>
<br>
</div></div>_______________________________________________<br>
Libva mailing list<br>
<a href="mailto:Libva@lists.freedesktop.org">Libva@lists.freedesktop.org</a><mailto:<a href="mailto:Libva@lists.freedesktop.org">Libva@lists.freedesktop.org</a>><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libva" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libva</a><br>
<br>
</blockquote></div><br></div>