summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-11-26 16:07:13 +0000
committerTim-Philipp Müller <tim@centricular.com>2017-11-26 16:23:16 +0000
commit0ba57d0b8c88bc595732c97091f50422c89e6ac1 (patch)
treed177685fca1e6275a6201972828c31fcfb3fd100 /gst-libs
parent9c866da3369be003dc5f3bea3b488c86b825c5e2 (diff)
codecparsers: mpegvideoparser: remove API that was deprecated 5 years ago
Libraries in -bad are not covered by our API/ABI stability guarantees, and to the best of our knowledge everyone using this API has moved to the replacement APIs ages ago.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/codecparsers/gstmpegvideoparser.c225
-rw-r--r--gst-libs/gst/codecparsers/gstmpegvideoparser.h30
2 files changed, 0 insertions, 255 deletions
diff --git a/gst-libs/gst/codecparsers/gstmpegvideoparser.c b/gst-libs/gst/codecparsers/gstmpegvideoparser.c
index a9d575ff2..5d0e6a791 100644
--- a/gst-libs/gst/codecparsers/gstmpegvideoparser.c
+++ b/gst-libs/gst/codecparsers/gstmpegvideoparser.c
@@ -1060,228 +1060,3 @@ gst_mpeg_video_quant_matrix_get_zigzag_from_raster (guint8 out_quant[64],
for (i = 0; i < 64; i++)
out_quant[i] = quant[mpeg_zigzag_8x8[i]];
}
-
-/****** Deprecated API *******/
-
-/**
- * gst_mpeg_video_parse_sequence_header:
- * @seqhdr: (out): The #GstMpegVideoSequenceHdr structure to fill
- * @data: The data from which to parse the sequence header
- * @size: The size of @data
- * @offset: The offset in byte from which to start parsing @data
- *
- * Parses the @seqhdr Mpeg Video Sequence Header structure members from @data
- *
- * Returns: %TRUE if the seqhdr could be parsed correctly, %FALSE otherwise.
- *
- * Deprecated: Use gst_mpeg_video_packet_parse_sequence_header() instead.
- */
-#ifndef GST_REMOVE_DEPRECATED
-#ifdef GST_DISABLE_DEPRECATED
-gboolean
-gst_mpeg_video_parse_sequence_header (GstMpegVideoSequenceHdr * seqhdr,
- const guint8 * data, gsize size, guint offset);
-#endif
-gboolean
-gst_mpeg_video_parse_sequence_header (GstMpegVideoSequenceHdr * seqhdr,
- const guint8 * data, gsize size, guint offset)
-{
- GstMpegVideoPacket packet;
-
- packet.data = data;
- packet.type = GST_MPEG_VIDEO_PACKET_SEQUENCE;
- packet.offset = offset;
- packet.size = size - offset;
- return gst_mpeg_video_packet_parse_sequence_header (&packet, seqhdr);
-}
-#endif
-
-/**
- * gst_mpeg_video_parse_sequence_extension:
- * @seqext: (out): The #GstMpegVideoSequenceExt structure to fill
- * @data: The data from which to parse the sequence extension
- * @size: The size of @data
- * @offset: The offset in byte from which to start parsing @data
- *
- * Parses the @seqext Mpeg Video Sequence Extension structure members from @data
- *
- * Returns: %TRUE if the seqext could be parsed correctly, %FALSE otherwise.
- *
- * Deprecated: Use gst_mpeg_video_packet_parse_sequence_extension() instead.
- */
-#ifndef GST_REMOVE_DEPRECATED
-#ifdef GST_DISABLE_DEPRECATED
-gboolean
-gst_mpeg_video_parse_sequence_extension (GstMpegVideoSequenceExt * seqext,
- const guint8 * data, gsize size, guint offset);
-#endif
-gboolean
-gst_mpeg_video_parse_sequence_extension (GstMpegVideoSequenceExt * seqext,
- const guint8 * data, gsize size, guint offset)
-{
- GstMpegVideoPacket packet;
-
- packet.data = data;
- packet.type = GST_MPEG_VIDEO_PACKET_EXTENSION;
- packet.offset = offset;
- packet.size = size - offset;
- return gst_mpeg_video_packet_parse_sequence_extension (&packet, seqext);
-}
-#endif
-
-#ifndef GST_REMOVE_DEPRECATED
-#ifdef GST_DISABLE_DEPRECATED
-gboolean
-gst_mpeg_video_parse_sequence_display_extension (GstMpegVideoSequenceDisplayExt
- * seqdisplayext, const guint8 * data, gsize size, guint offset);
-#endif
-gboolean
-gst_mpeg_video_parse_sequence_display_extension (GstMpegVideoSequenceDisplayExt
- * seqdisplayext, const guint8 * data, gsize size, guint offset)
-{
- GstMpegVideoPacket packet;
-
- packet.data = data;
- packet.type = GST_MPEG_VIDEO_PACKET_EXTENSION;
- packet.offset = offset;
- packet.size = size - offset;
- return gst_mpeg_video_packet_parse_sequence_display_extension (&packet,
- seqdisplayext);
-}
-#endif
-
-/**
- * gst_mpeg_video_parse_quant_matrix_extension:
- * @quant: (out): The #GstMpegVideoQuantMatrixExt structure to fill
- * @data: The data from which to parse the Quantization Matrix extension
- * @size: The size of @data
- * @offset: The offset in byte from which to start the parsing
- *
- * Parses the @quant Mpeg Video Quant Matrix Extension structure members from
- * @data
- *
- * Returns: %TRUE if the quant matrix extension could be parsed correctly,
- * %FALSE otherwise.
- *
- * Deprecated: Use gst_mpeg_video_packet_parse_quant_matrix_extension() instead.
- */
-#ifndef GST_REMOVE_DEPRECATED
-#ifdef GST_DISABLE_DEPRECATED
-gboolean
-gst_mpeg_video_parse_quant_matrix_extension (GstMpegVideoQuantMatrixExt * quant,
- const guint8 * data, gsize size, guint offset);
-#endif
-gboolean
-gst_mpeg_video_parse_quant_matrix_extension (GstMpegVideoQuantMatrixExt * quant,
- const guint8 * data, gsize size, guint offset)
-{
- GstMpegVideoPacket packet;
-
- packet.data = data;
- packet.type = GST_MPEG_VIDEO_PACKET_EXTENSION;
- packet.offset = offset;
- packet.size = size - offset;
- return gst_mpeg_video_packet_parse_quant_matrix_extension (&packet, quant);
-}
-#endif
-
-/**
- * gst_mpeg_video_parse_picture_header:
- * @hdr: (out): The #GstMpegVideoPictureHdr structure to fill
- * @data: The data from which to parse the picture header
- * @size: The size of @data
- * @offset: The offset in byte from which to start the parsing
- *
- * Parsers the @hdr Mpeg Video Picture Header structure members from @data
- *
- * Returns: %TRUE if the picture sequence could be parsed correctly, %FALSE
- * otherwise.
- *
- * Deprecated: Use gst_mpeg_video_packet_parse_picture_header() instead.
- */
-#ifndef GST_REMOVE_DEPRECATED
-#ifdef GST_DISABLE_DEPRECATED
-gboolean
-gst_mpeg_video_parse_picture_header (GstMpegVideoPictureHdr * hdr,
- const guint8 * data, gsize size, guint offset);
-#endif
-gboolean
-gst_mpeg_video_parse_picture_header (GstMpegVideoPictureHdr * hdr,
- const guint8 * data, gsize size, guint offset)
-{
- GstMpegVideoPacket packet;
-
- packet.data = data;
- packet.type = GST_MPEG_VIDEO_PACKET_PICTURE;
- packet.offset = offset;
- packet.size = size - offset;
- return gst_mpeg_video_packet_parse_picture_header (&packet, hdr);
-}
-#endif
-
-/**
- * gst_mpeg_video_parse_picture_extension:
- * @ext: (out): The #GstMpegVideoPictureExt structure to fill
- * @data: The data from which to parse the picture extension
- * @size: The size of @data
- * @offset: The offset in byte from which to start the parsing
- *
- * Parse the @ext Mpeg Video Picture Extension structure members from @data
- *
- * Returns: %TRUE if the picture extension could be parsed correctly,
- * %FALSE otherwise.
- *
- * Deprecated: Use gst_mpeg_video_packet_parse_picture_extension() instead.
- */
-#ifndef GST_REMOVE_DEPRECATED
-#ifdef GST_DISABLE_DEPRECATED
-gboolean
-gst_mpeg_video_parse_picture_extension (GstMpegVideoPictureExt * ext,
- const guint8 * data, gsize size, guint offset);
-#endif
-gboolean
-gst_mpeg_video_parse_picture_extension (GstMpegVideoPictureExt * ext,
- const guint8 * data, gsize size, guint offset)
-{
- GstMpegVideoPacket packet;
-
- packet.data = data;
- packet.type = GST_MPEG_VIDEO_PACKET_EXTENSION;
- packet.offset = offset;
- packet.size = size - offset;
- return gst_mpeg_video_packet_parse_picture_extension (&packet, ext);
-}
-#endif
-
-/**
- * gst_mpeg_video_parse_gop:
- * @gop: (out): The #GstMpegVideoGop structure to fill
- * @data: The data from which to parse the gop
- * @size: The size of @data
- * @offset: The offset in byte from which to start the parsing
- *
- * Parses the @gop Mpeg Video Group of Picture structure members from @data
- *
- * Returns: %TRUE if the gop could be parsed correctly, %FALSE otherwise.
- *
- * Deprecated: Use gst_mpeg_video_packet_parse_gop() instead.
- */
-#ifndef GST_REMOVE_DEPRECATED
-#ifdef GST_DISABLE_DEPRECATED
-gboolean
-gst_mpeg_video_parse_gop (GstMpegVideoGop * gop, const guint8 * data,
- gsize size, guint offset);
-#endif
-gboolean
-gst_mpeg_video_parse_gop (GstMpegVideoGop * gop, const guint8 * data,
- gsize size, guint offset)
-{
- GstMpegVideoPacket packet;
-
- packet.data = data;
- packet.type = GST_MPEG_VIDEO_PACKET_GOP;
- packet.offset = offset;
- packet.size = size - offset;
- return gst_mpeg_video_packet_parse_gop (&packet, gop);
-}
-#endif
diff --git a/gst-libs/gst/codecparsers/gstmpegvideoparser.h b/gst-libs/gst/codecparsers/gstmpegvideoparser.h
index d44497c08..6a6c56a7c 100644
--- a/gst-libs/gst/codecparsers/gstmpegvideoparser.h
+++ b/gst-libs/gst/codecparsers/gstmpegvideoparser.h
@@ -549,36 +549,6 @@ GST_EXPORT
gboolean gst_mpeg_video_finalise_mpeg2_sequence_header (GstMpegVideoSequenceHdr *hdr,
GstMpegVideoSequenceExt *seqext, GstMpegVideoSequenceDisplayExt *displayext);
-#ifndef GST_DISABLE_DEPRECATED
-GST_EXPORT
-gboolean gst_mpeg_video_parse_picture_header (GstMpegVideoPictureHdr* hdr,
- const guint8 * data, gsize size, guint offset);
-
-GST_EXPORT
-gboolean gst_mpeg_video_parse_picture_extension (GstMpegVideoPictureExt *ext,
- const guint8 * data, gsize size, guint offset);
-
-GST_EXPORT
-gboolean gst_mpeg_video_parse_gop (GstMpegVideoGop * gop,
- const guint8 * data, gsize size, guint offset);
-
-GST_EXPORT
-gboolean gst_mpeg_video_parse_sequence_header (GstMpegVideoSequenceHdr * seqhdr,
- const guint8 * data, gsize size, guint offset);
-
-GST_EXPORT
-gboolean gst_mpeg_video_parse_sequence_extension (GstMpegVideoSequenceExt * seqext,
- const guint8 * data, gsize size, guint offset);
-
-GST_EXPORT
-gboolean gst_mpeg_video_parse_sequence_display_extension (GstMpegVideoSequenceDisplayExt * seqdisplayext,
- const guint8 * data, gsize size, guint offset);
-
-GST_EXPORT
-gboolean gst_mpeg_video_parse_quant_matrix_extension (GstMpegVideoQuantMatrixExt * quant,
- const guint8 * data, gsize size, guint offset);
-#endif
-
GST_EXPORT
void gst_mpeg_video_quant_matrix_get_raster_from_zigzag (guint8 out_quant[64],
const guint8 quant[64]);