mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
nvcodec: nvdecoder: Get rid of G_GNUC_INTERNAL
default is visibility=hidden. Don't need to use G_GNUC_INTERNAL for new code therefore. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1738>
This commit is contained in:
parent
36ed24ac05
commit
2a04fe5403
1 changed files with 0 additions and 12 deletions
|
@ -52,23 +52,18 @@ typedef enum
|
||||||
/* FIXME: add support D3D11 memory */
|
/* FIXME: add support D3D11 memory */
|
||||||
} GstNvDecoderOutputType;
|
} GstNvDecoderOutputType;
|
||||||
|
|
||||||
G_GNUC_INTERNAL
|
|
||||||
GstNvDecoder * gst_nv_decoder_new (GstCudaContext * context,
|
GstNvDecoder * gst_nv_decoder_new (GstCudaContext * context,
|
||||||
cudaVideoCodec codec,
|
cudaVideoCodec codec,
|
||||||
GstVideoInfo * info,
|
GstVideoInfo * info,
|
||||||
guint pool_size);
|
guint pool_size);
|
||||||
|
|
||||||
G_GNUC_INTERNAL
|
|
||||||
GstNvDecoderFrame * gst_nv_decoder_new_frame (GstNvDecoder * decoder);
|
GstNvDecoderFrame * gst_nv_decoder_new_frame (GstNvDecoder * decoder);
|
||||||
|
|
||||||
G_GNUC_INTERNAL
|
|
||||||
void gst_nv_decoder_frame_free (GstNvDecoderFrame * frame);
|
void gst_nv_decoder_frame_free (GstNvDecoderFrame * frame);
|
||||||
|
|
||||||
G_GNUC_INTERNAL
|
|
||||||
gboolean gst_nv_decoder_decode_picture (GstNvDecoder * decoder,
|
gboolean gst_nv_decoder_decode_picture (GstNvDecoder * decoder,
|
||||||
CUVIDPICPARAMS * params);
|
CUVIDPICPARAMS * params);
|
||||||
|
|
||||||
G_GNUC_INTERNAL
|
|
||||||
gboolean gst_nv_decoder_finish_frame (GstNvDecoder * decoder,
|
gboolean gst_nv_decoder_finish_frame (GstNvDecoder * decoder,
|
||||||
GstNvDecoderOutputType output_type,
|
GstNvDecoderOutputType output_type,
|
||||||
GstObject * graphics_context,
|
GstObject * graphics_context,
|
||||||
|
@ -76,17 +71,14 @@ gboolean gst_nv_decoder_finish_frame (GstNvDecoder * decoder,
|
||||||
GstBuffer *buffer);
|
GstBuffer *buffer);
|
||||||
|
|
||||||
/* utils for class registration */
|
/* utils for class registration */
|
||||||
G_GNUC_INTERNAL
|
|
||||||
gboolean gst_nv_decoder_check_device_caps (CUcontext cuda_ctx,
|
gboolean gst_nv_decoder_check_device_caps (CUcontext cuda_ctx,
|
||||||
cudaVideoCodec codec,
|
cudaVideoCodec codec,
|
||||||
GstCaps **sink_template,
|
GstCaps **sink_template,
|
||||||
GstCaps **src_template);
|
GstCaps **src_template);
|
||||||
|
|
||||||
G_GNUC_INTERNAL
|
|
||||||
const gchar * gst_cuda_video_codec_to_string (cudaVideoCodec codec);
|
const gchar * gst_cuda_video_codec_to_string (cudaVideoCodec codec);
|
||||||
|
|
||||||
/* helper methods */
|
/* helper methods */
|
||||||
G_GNUC_INTERNAL
|
|
||||||
gboolean gst_nv_decoder_ensure_element_data (GstElement * decoder,
|
gboolean gst_nv_decoder_ensure_element_data (GstElement * decoder,
|
||||||
guint cuda_device_id,
|
guint cuda_device_id,
|
||||||
GstCudaContext ** cuda_context,
|
GstCudaContext ** cuda_context,
|
||||||
|
@ -94,7 +86,6 @@ gboolean gst_nv_decoder_ensure_element_data (GstElement * decoder,
|
||||||
GstObject ** gl_display,
|
GstObject ** gl_display,
|
||||||
GstObject ** other_gl_context);
|
GstObject ** other_gl_context);
|
||||||
|
|
||||||
G_GNUC_INTERNAL
|
|
||||||
void gst_nv_decoder_set_context (GstElement * decoder,
|
void gst_nv_decoder_set_context (GstElement * decoder,
|
||||||
GstContext * context,
|
GstContext * context,
|
||||||
guint cuda_device_id,
|
guint cuda_device_id,
|
||||||
|
@ -102,7 +93,6 @@ void gst_nv_decoder_set_context (GstElement * decoder,
|
||||||
GstObject ** gl_display,
|
GstObject ** gl_display,
|
||||||
GstObject ** other_gl_context);
|
GstObject ** other_gl_context);
|
||||||
|
|
||||||
G_GNUC_INTERNAL
|
|
||||||
gboolean gst_nv_decoder_handle_context_query (GstElement * decoder,
|
gboolean gst_nv_decoder_handle_context_query (GstElement * decoder,
|
||||||
GstQuery * query,
|
GstQuery * query,
|
||||||
GstCudaContext * cuda_context,
|
GstCudaContext * cuda_context,
|
||||||
|
@ -110,7 +100,6 @@ gboolean gst_nv_decoder_handle_context_query (GstElement * decoder,
|
||||||
GstObject * gl_context,
|
GstObject * gl_context,
|
||||||
GstObject * other_gl_context);
|
GstObject * other_gl_context);
|
||||||
|
|
||||||
G_GNUC_INTERNAL
|
|
||||||
gboolean gst_nv_decoder_negotiate (GstVideoDecoder * decoder,
|
gboolean gst_nv_decoder_negotiate (GstVideoDecoder * decoder,
|
||||||
GstVideoCodecState * input_state,
|
GstVideoCodecState * input_state,
|
||||||
GstVideoFormat format,
|
GstVideoFormat format,
|
||||||
|
@ -122,7 +111,6 @@ gboolean gst_nv_decoder_negotiate (GstVideoDecoder * decoder,
|
||||||
GstVideoCodecState ** output_state,
|
GstVideoCodecState ** output_state,
|
||||||
GstNvDecoderOutputType * output_type);
|
GstNvDecoderOutputType * output_type);
|
||||||
|
|
||||||
G_GNUC_INTERNAL
|
|
||||||
gboolean gst_nv_decoder_decide_allocation (GstNvDecoder * nvdec,
|
gboolean gst_nv_decoder_decide_allocation (GstNvDecoder * nvdec,
|
||||||
GstVideoDecoder * decocer,
|
GstVideoDecoder * decocer,
|
||||||
GstQuery * query,
|
GstQuery * query,
|
||||||
|
|
Loading…
Reference in a new issue