mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
libs: drop some public APIs.
Don't expose GstVaapiContext APIs and make them totally private to libgstvaapi core library. That API would also tend to disappear in a future revision. Likewise, don't expose GstVaapiDisplayCache API but keep symbols visible so that the various render backends could share a common display cache implementation in libgstvaapi. Try to clean-up the documentation from any stale entry too.
This commit is contained in:
parent
b1085b57d5
commit
d8ffc2c150
5 changed files with 20 additions and 23 deletions
|
@ -27,9 +27,6 @@
|
|||
<xi:include href="xml/gstvaapivideopool.xml"/>
|
||||
<xi:include href="xml/gstvaapisurfacepool.xml"/>
|
||||
<xi:include href="xml/gstvaapiimagepool.xml"/>
|
||||
<xi:include href="xml/gstvaapivideobuffer.xml"/>
|
||||
<xi:include href="xml/gstvaapivideometa.xml"/>
|
||||
<xi:include href="xml/gstvaapicontext.xml"/>
|
||||
<xi:include href="xml/gstvaapidecoder.xml"/>
|
||||
<xi:include href="xml/gstvaapidecoder_jpeg.xml"/>
|
||||
<xi:include href="xml/gstvaapidecoder_mpeg2.xml"/>
|
||||
|
|
|
@ -304,24 +304,6 @@ gst_vaapi_texture_get_size
|
|||
gst_vaapi_texture_put_surface
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gstvaapicontext</FILE>
|
||||
<TITLE>GstVaapiContext</TITLE>
|
||||
GstVaapiContext
|
||||
gst_vaapi_context_new
|
||||
gst_vaapi_context_reset
|
||||
gst_vaapi_context_get_id
|
||||
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_count
|
||||
gst_vaapi_context_apply_composition
|
||||
<SUBSECTION Standard>
|
||||
GST_VAAPI_CONTEXT
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>gstvaapidecoder</FILE>
|
||||
GstVaapiDecoderStatus
|
||||
|
|
|
@ -74,14 +74,13 @@ libgstvaapi_source_c = \
|
|||
$(NULL)
|
||||
|
||||
libgstvaapi_source_h = \
|
||||
gstvaapicontext.h \
|
||||
gstvaapidecoder.h \
|
||||
gstvaapidecoder_h264.h \
|
||||
gstvaapidecoder_mpeg2.h \
|
||||
gstvaapidecoder_mpeg4.h \
|
||||
gstvaapidecoder_vc1.h \
|
||||
gstvaapidisplay.h \
|
||||
gstvaapidisplaycache.h \
|
||||
gstvaapifilter.h \
|
||||
gstvaapiimage.h \
|
||||
gstvaapiimagepool.h \
|
||||
gstvaapiobject.h \
|
||||
|
@ -103,12 +102,14 @@ libgstvaapi_source_priv_h = \
|
|||
gstcompat.h \
|
||||
gstvaapicodec_objects.h \
|
||||
gstvaapicompat.h \
|
||||
gstvaapicontext.h \
|
||||
gstvaapidebug.h \
|
||||
gstvaapidecoder_dpb.h \
|
||||
gstvaapidecoder_objects.h \
|
||||
gstvaapidecoder_priv.h \
|
||||
gstvaapidecoder_unit.h \
|
||||
gstvaapidisplay_priv.h \
|
||||
gstvaapidisplaycache.h \
|
||||
gstvaapiimage_priv.h \
|
||||
gstvaapiminiobject.h \
|
||||
gstvaapiobject_priv.h \
|
||||
|
|
|
@ -52,6 +52,7 @@ struct _GstVaapiContextInfo {
|
|||
guint ref_frames;
|
||||
};
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
GstVaapiContext *
|
||||
gst_vaapi_context_new(
|
||||
GstVaapiDisplay *display,
|
||||
|
@ -61,10 +62,12 @@ gst_vaapi_context_new(
|
|||
guint height
|
||||
);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
GstVaapiContext *
|
||||
gst_vaapi_context_new_full(GstVaapiDisplay *display,
|
||||
const GstVaapiContextInfo *cip);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
gboolean
|
||||
gst_vaapi_context_reset(
|
||||
GstVaapiContext *context,
|
||||
|
@ -74,22 +77,28 @@ gst_vaapi_context_reset(
|
|||
guint height
|
||||
);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
gboolean
|
||||
gst_vaapi_context_reset_full(GstVaapiContext *context,
|
||||
const GstVaapiContextInfo *new_cip);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
GstVaapiID
|
||||
gst_vaapi_context_get_id(GstVaapiContext *context);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
GstVaapiProfile
|
||||
gst_vaapi_context_get_profile(GstVaapiContext *context);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
gboolean
|
||||
gst_vaapi_context_set_profile(GstVaapiContext *context, GstVaapiProfile profile);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
GstVaapiEntrypoint
|
||||
gst_vaapi_context_get_entrypoint(GstVaapiContext *context);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
void
|
||||
gst_vaapi_context_get_size(
|
||||
GstVaapiContext *context,
|
||||
|
@ -97,12 +106,15 @@ gst_vaapi_context_get_size(
|
|||
guint *pheight
|
||||
);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
GstVaapiSurfaceProxy *
|
||||
gst_vaapi_context_get_surface_proxy(GstVaapiContext *context);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
guint
|
||||
gst_vaapi_context_get_surface_count(GstVaapiContext *context);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
gboolean
|
||||
gst_vaapi_context_apply_composition(
|
||||
GstVaapiContext *context,
|
||||
|
|
|
@ -26,21 +26,26 @@
|
|||
|
||||
typedef struct _GstVaapiDisplayCache GstVaapiDisplayCache;
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
GstVaapiDisplayCache *
|
||||
gst_vaapi_display_cache_new(void);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
void
|
||||
gst_vaapi_display_cache_free(GstVaapiDisplayCache *cache);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
guint
|
||||
gst_vaapi_display_cache_get_size(GstVaapiDisplayCache *cache);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
gboolean
|
||||
gst_vaapi_display_cache_add(
|
||||
GstVaapiDisplayCache *cache,
|
||||
GstVaapiDisplayInfo *info
|
||||
);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
void
|
||||
gst_vaapi_display_cache_remove(
|
||||
GstVaapiDisplayCache *cache,
|
||||
|
|
Loading…
Reference in a new issue