mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +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/gstvaapivideopool.xml"/>
|
||||||
<xi:include href="xml/gstvaapisurfacepool.xml"/>
|
<xi:include href="xml/gstvaapisurfacepool.xml"/>
|
||||||
<xi:include href="xml/gstvaapiimagepool.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.xml"/>
|
||||||
<xi:include href="xml/gstvaapidecoder_jpeg.xml"/>
|
<xi:include href="xml/gstvaapidecoder_jpeg.xml"/>
|
||||||
<xi:include href="xml/gstvaapidecoder_mpeg2.xml"/>
|
<xi:include href="xml/gstvaapidecoder_mpeg2.xml"/>
|
||||||
|
|
|
@ -304,24 +304,6 @@ gst_vaapi_texture_get_size
|
||||||
gst_vaapi_texture_put_surface
|
gst_vaapi_texture_put_surface
|
||||||
</SECTION>
|
</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>
|
<SECTION>
|
||||||
<FILE>gstvaapidecoder</FILE>
|
<FILE>gstvaapidecoder</FILE>
|
||||||
GstVaapiDecoderStatus
|
GstVaapiDecoderStatus
|
||||||
|
|
|
@ -74,14 +74,13 @@ libgstvaapi_source_c = \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
libgstvaapi_source_h = \
|
libgstvaapi_source_h = \
|
||||||
gstvaapicontext.h \
|
|
||||||
gstvaapidecoder.h \
|
gstvaapidecoder.h \
|
||||||
gstvaapidecoder_h264.h \
|
gstvaapidecoder_h264.h \
|
||||||
gstvaapidecoder_mpeg2.h \
|
gstvaapidecoder_mpeg2.h \
|
||||||
gstvaapidecoder_mpeg4.h \
|
gstvaapidecoder_mpeg4.h \
|
||||||
gstvaapidecoder_vc1.h \
|
gstvaapidecoder_vc1.h \
|
||||||
gstvaapidisplay.h \
|
gstvaapidisplay.h \
|
||||||
gstvaapidisplaycache.h \
|
gstvaapifilter.h \
|
||||||
gstvaapiimage.h \
|
gstvaapiimage.h \
|
||||||
gstvaapiimagepool.h \
|
gstvaapiimagepool.h \
|
||||||
gstvaapiobject.h \
|
gstvaapiobject.h \
|
||||||
|
@ -103,12 +102,14 @@ libgstvaapi_source_priv_h = \
|
||||||
gstcompat.h \
|
gstcompat.h \
|
||||||
gstvaapicodec_objects.h \
|
gstvaapicodec_objects.h \
|
||||||
gstvaapicompat.h \
|
gstvaapicompat.h \
|
||||||
|
gstvaapicontext.h \
|
||||||
gstvaapidebug.h \
|
gstvaapidebug.h \
|
||||||
gstvaapidecoder_dpb.h \
|
gstvaapidecoder_dpb.h \
|
||||||
gstvaapidecoder_objects.h \
|
gstvaapidecoder_objects.h \
|
||||||
gstvaapidecoder_priv.h \
|
gstvaapidecoder_priv.h \
|
||||||
gstvaapidecoder_unit.h \
|
gstvaapidecoder_unit.h \
|
||||||
gstvaapidisplay_priv.h \
|
gstvaapidisplay_priv.h \
|
||||||
|
gstvaapidisplaycache.h \
|
||||||
gstvaapiimage_priv.h \
|
gstvaapiimage_priv.h \
|
||||||
gstvaapiminiobject.h \
|
gstvaapiminiobject.h \
|
||||||
gstvaapiobject_priv.h \
|
gstvaapiobject_priv.h \
|
||||||
|
|
|
@ -52,6 +52,7 @@ struct _GstVaapiContextInfo {
|
||||||
guint ref_frames;
|
guint ref_frames;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
GstVaapiContext *
|
GstVaapiContext *
|
||||||
gst_vaapi_context_new(
|
gst_vaapi_context_new(
|
||||||
GstVaapiDisplay *display,
|
GstVaapiDisplay *display,
|
||||||
|
@ -61,10 +62,12 @@ gst_vaapi_context_new(
|
||||||
guint height
|
guint height
|
||||||
);
|
);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
GstVaapiContext *
|
GstVaapiContext *
|
||||||
gst_vaapi_context_new_full(GstVaapiDisplay *display,
|
gst_vaapi_context_new_full(GstVaapiDisplay *display,
|
||||||
const GstVaapiContextInfo *cip);
|
const GstVaapiContextInfo *cip);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
gboolean
|
gboolean
|
||||||
gst_vaapi_context_reset(
|
gst_vaapi_context_reset(
|
||||||
GstVaapiContext *context,
|
GstVaapiContext *context,
|
||||||
|
@ -74,22 +77,28 @@ gst_vaapi_context_reset(
|
||||||
guint height
|
guint height
|
||||||
);
|
);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
gboolean
|
gboolean
|
||||||
gst_vaapi_context_reset_full(GstVaapiContext *context,
|
gst_vaapi_context_reset_full(GstVaapiContext *context,
|
||||||
const GstVaapiContextInfo *new_cip);
|
const GstVaapiContextInfo *new_cip);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
GstVaapiID
|
GstVaapiID
|
||||||
gst_vaapi_context_get_id(GstVaapiContext *context);
|
gst_vaapi_context_get_id(GstVaapiContext *context);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
GstVaapiProfile
|
GstVaapiProfile
|
||||||
gst_vaapi_context_get_profile(GstVaapiContext *context);
|
gst_vaapi_context_get_profile(GstVaapiContext *context);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
gboolean
|
gboolean
|
||||||
gst_vaapi_context_set_profile(GstVaapiContext *context, GstVaapiProfile profile);
|
gst_vaapi_context_set_profile(GstVaapiContext *context, GstVaapiProfile profile);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
GstVaapiEntrypoint
|
GstVaapiEntrypoint
|
||||||
gst_vaapi_context_get_entrypoint(GstVaapiContext *context);
|
gst_vaapi_context_get_entrypoint(GstVaapiContext *context);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
void
|
void
|
||||||
gst_vaapi_context_get_size(
|
gst_vaapi_context_get_size(
|
||||||
GstVaapiContext *context,
|
GstVaapiContext *context,
|
||||||
|
@ -97,12 +106,15 @@ gst_vaapi_context_get_size(
|
||||||
guint *pheight
|
guint *pheight
|
||||||
);
|
);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
GstVaapiSurfaceProxy *
|
GstVaapiSurfaceProxy *
|
||||||
gst_vaapi_context_get_surface_proxy(GstVaapiContext *context);
|
gst_vaapi_context_get_surface_proxy(GstVaapiContext *context);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
guint
|
guint
|
||||||
gst_vaapi_context_get_surface_count(GstVaapiContext *context);
|
gst_vaapi_context_get_surface_count(GstVaapiContext *context);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
gboolean
|
gboolean
|
||||||
gst_vaapi_context_apply_composition(
|
gst_vaapi_context_apply_composition(
|
||||||
GstVaapiContext *context,
|
GstVaapiContext *context,
|
||||||
|
|
|
@ -26,21 +26,26 @@
|
||||||
|
|
||||||
typedef struct _GstVaapiDisplayCache GstVaapiDisplayCache;
|
typedef struct _GstVaapiDisplayCache GstVaapiDisplayCache;
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
GstVaapiDisplayCache *
|
GstVaapiDisplayCache *
|
||||||
gst_vaapi_display_cache_new(void);
|
gst_vaapi_display_cache_new(void);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
void
|
void
|
||||||
gst_vaapi_display_cache_free(GstVaapiDisplayCache *cache);
|
gst_vaapi_display_cache_free(GstVaapiDisplayCache *cache);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
guint
|
guint
|
||||||
gst_vaapi_display_cache_get_size(GstVaapiDisplayCache *cache);
|
gst_vaapi_display_cache_get_size(GstVaapiDisplayCache *cache);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
gboolean
|
gboolean
|
||||||
gst_vaapi_display_cache_add(
|
gst_vaapi_display_cache_add(
|
||||||
GstVaapiDisplayCache *cache,
|
GstVaapiDisplayCache *cache,
|
||||||
GstVaapiDisplayInfo *info
|
GstVaapiDisplayInfo *info
|
||||||
);
|
);
|
||||||
|
|
||||||
|
G_GNUC_INTERNAL
|
||||||
void
|
void
|
||||||
gst_vaapi_display_cache_remove(
|
gst_vaapi_display_cache_remove(
|
||||||
GstVaapiDisplayCache *cache,
|
GstVaapiDisplayCache *cache,
|
||||||
|
|
Loading…
Reference in a new issue