mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
decoder: drop unused functions.
This commit is contained in:
parent
da1e4e3918
commit
d7fccc351a
2 changed files with 0 additions and 38 deletions
|
@ -73,17 +73,6 @@ push_buffer(GstVaapiDecoder *decoder, GstBuffer *buffer)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
push_back_buffer(GstVaapiDecoder *decoder, GstBuffer *buffer)
|
||||
{
|
||||
GstVaapiDecoderPrivate * const priv = decoder->priv;
|
||||
|
||||
GST_DEBUG("requeue encoded data buffer %p (%d bytes)",
|
||||
buffer, GST_BUFFER_SIZE(buffer));
|
||||
|
||||
g_queue_push_head(priv->buffers, buffer);
|
||||
}
|
||||
|
||||
static GstBuffer *
|
||||
pop_buffer(GstVaapiDecoder *decoder)
|
||||
{
|
||||
|
@ -572,24 +561,6 @@ gst_vaapi_decoder_ensure_context(
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
gst_vaapi_decoder_push_buffer_sub(
|
||||
GstVaapiDecoder *decoder,
|
||||
GstBuffer *buffer,
|
||||
guint offset,
|
||||
guint size
|
||||
)
|
||||
{
|
||||
GstBuffer *subbuffer;
|
||||
|
||||
subbuffer = gst_buffer_create_sub(buffer, offset, size);
|
||||
if (!subbuffer)
|
||||
return FALSE;
|
||||
|
||||
push_back_buffer(decoder, subbuffer);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
gst_vaapi_decoder_push_surface_proxy(
|
||||
GstVaapiDecoder *decoder,
|
||||
|
|
|
@ -163,15 +163,6 @@ gst_vaapi_decoder_ensure_context(
|
|||
GstVaapiContextInfo *cip
|
||||
);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
gboolean
|
||||
gst_vaapi_decoder_push_buffer_sub(
|
||||
GstVaapiDecoder *decoder,
|
||||
GstBuffer *buffer,
|
||||
guint offset,
|
||||
guint size
|
||||
);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
void
|
||||
gst_vaapi_decoder_push_surface_proxy(
|
||||
|
|
Loading…
Reference in a new issue