diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2013-04-03 11:37:44 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2013-04-03 13:34:59 +0200 |
commit | e22a863084eff8a6ceaeb2c5a327da17eccbd62f (patch) | |
tree | 7852ce2b2b2d95e2f29ea2531cfc75e3b64ab494 /docs | |
parent | e76089f98b139aa46e6eb009d4c5a37114f67786 (diff) |
decoder: simplify acquisition/release of spare surface.
Introduce gst_vaapi_surface_proxy_new_from_pool() to allocate a new surface
proxy from the context surface pool. This change also makes sure to retain
the parent surface pool in the proxy.
Besides, it was also totally useless to attach/detach parent context to
VA surface each time we acquire/release it. Since the whole context owns
all associated VA surfaces, we can mark this as such only once and for all.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/libs/libs-sections.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/reference/libs/libs-sections.txt b/docs/reference/libs/libs-sections.txt index 14023236..fcb701ec 100644 --- a/docs/reference/libs/libs-sections.txt +++ b/docs/reference/libs/libs-sections.txt @@ -401,6 +401,7 @@ gst_vaapi_context_get_profile gst_vaapi_context_set_profile gst_vaapi_context_get_entrypoint gst_vaapi_context_get_size +gst_vaapi_context_get_surface_proxy gst_vaapi_context_get_surface gst_vaapi_context_get_surface_count gst_vaapi_context_put_surface @@ -528,6 +529,7 @@ gst_vaapi_surface_proxy_get_surface gst_vaapi_surface_proxy_get_surface_id gst_vaapi_surface_proxy_get_user_data gst_vaapi_surface_proxy_new +gst_vaapi_surface_proxy_new_from_pool gst_vaapi_surface_proxy_ref gst_vaapi_surface_proxy_replace gst_vaapi_surface_proxy_set_context |