vl: add entry point

Graphics / Mesa 3D Graphics Library / Mesa - Boyuan Zhang [amd.com] - 19 July 2016 05:36 UTC

Add entrypoint to distinguish H.264 decode and encode. For example, in patch 5/11 when is calling "VaCreateContext", "pps" and "sps" shouldn't be allocated for H.264 encoding. So we need to use the entry_point to determine this is H.264 decode or H.264 encode. We can use config to determine the entrypoint since config_id is passed to us for VaCreateContext call. However, for
VaDestoyContext call, only context_id is passed to us. So we need to know the entrypoint in order to not free the pps/sps for encoding case.

60c7450 vl: add entry point
src/gallium/include/pipe/p_video_state.h | 1 +
1 file changed, 1 insertion(+)

Upstream: cgit.freedesktop.org


  • Share