<div dir="ltr">Hi All,<div><br></div><div>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:</div><div><br></div><div>Can't find VAEntrypointEncSlice for H264 profiles<br></div><div><br></div><div>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 :</div><div><br></div><div><div>    <font color="#0000ff">case VAProfileH264ConstrainedBaseline:</font></div><div><font color="#0000ff">    case VAProfileH264Main:</font></div><div><font color="#0000ff">    case VAProfileH264High:</font></div><div><font color="#0000ff">        if (HAS_H264_DECODING(i965))</font></div><div><font color="#0000ff">            entrypoint_list[n++] = VAEntrypointVLD;</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">        if (HAS_H264_ENCODING(i965))</font></div><div><font color="#0000ff">            entrypoint_list[n++] = VAEntrypointEncSlice;</font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff">        break;</font></div></div><div><br></div><div>Is this by design or did someone forget to handle this case in the switch statement ?</div><div><br></div><div>Regards</div><div>Hamza Shahid</div></div>