mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 17:18:15 +00:00
codecparsers: Don't use gst_ as prefix for private symbols
Otherwise they get exposed/accessible in the resulting .so And make check-exports will complain
This commit is contained in:
parent
44a87d2109
commit
274387e8e9
3 changed files with 20 additions and 20 deletions
|
@ -888,13 +888,13 @@ gst_h264_parser_parse_sei_message (GstH264NalParser * nalparser,
|
|||
/* When SEI message doesn't end at byte boundary,
|
||||
* check remaining bits fit the specification.
|
||||
*/
|
||||
if (!gst_nal_reader_is_byte_aligned (nr)) {
|
||||
if (!nal_reader_is_byte_aligned (nr)) {
|
||||
guint8 bit_equal_to_one;
|
||||
READ_UINT8 (nr, bit_equal_to_one, 1);
|
||||
if (!bit_equal_to_one)
|
||||
GST_WARNING ("Bit non equal to one.");
|
||||
|
||||
while (!gst_nal_reader_is_byte_aligned (nr)) {
|
||||
while (!nal_reader_is_byte_aligned (nr)) {
|
||||
guint8 bit_equal_to_zero;
|
||||
READ_UINT8 (nr, bit_equal_to_zero, 1);
|
||||
if (bit_equal_to_zero)
|
||||
|
@ -1458,7 +1458,7 @@ gst_h264_parse_pps (GstH264NalParser * nalparser, GstH264NalUnit * nalu,
|
|||
READ_UINT8 (&nr, pps->constrained_intra_pred_flag, 1);
|
||||
READ_UINT8 (&nr, pps->redundant_pic_cnt_present_flag, 1);
|
||||
|
||||
if (!gst_nal_reader_has_more_data (&nr))
|
||||
if (!nal_reader_has_more_data (&nr))
|
||||
goto done;
|
||||
|
||||
READ_UINT8 (&nr, pps->transform_8x8_mode_flag, 1);
|
||||
|
@ -1730,7 +1730,7 @@ gst_h264_parser_parse_sei (GstH264NalParser * nalparser, GstH264NalUnit * nalu,
|
|||
g_array_append_val (*messages, sei);
|
||||
else
|
||||
break;
|
||||
} while (gst_nal_reader_has_more_data (&nr));
|
||||
} while (nal_reader_has_more_data (&nr));
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
|
@ -157,7 +157,7 @@ nal_reader_get_epb_count (const NalReader * nr)
|
|||
return nr->n_epb;
|
||||
}
|
||||
|
||||
#define GST_NAL_READER_READ_BITS(bits) \
|
||||
#define NAL_READER_READ_BITS(bits) \
|
||||
gboolean \
|
||||
nal_reader_get_bits_uint##bits (NalReader *nr, guint##bits *val, guint nbits) \
|
||||
{ \
|
||||
|
@ -180,11 +180,11 @@ nal_reader_get_bits_uint##bits (NalReader *nr, guint##bits *val, guint nbits) \
|
|||
return TRUE; \
|
||||
} \
|
||||
|
||||
GST_NAL_READER_READ_BITS (8);
|
||||
GST_NAL_READER_READ_BITS (16);
|
||||
GST_NAL_READER_READ_BITS (32);
|
||||
NAL_READER_READ_BITS (8);
|
||||
NAL_READER_READ_BITS (16);
|
||||
NAL_READER_READ_BITS (32);
|
||||
|
||||
#define GST_NAL_READER_PEEK_BITS(bits) \
|
||||
#define NAL_READER_PEEK_BITS(bits) \
|
||||
gboolean \
|
||||
nal_reader_peek_bits_uint##bits (const NalReader *nr, guint##bits *val, guint nbits) \
|
||||
{ \
|
||||
|
@ -194,7 +194,7 @@ nal_reader_peek_bits_uint##bits (const NalReader *nr, guint##bits *val, guint nb
|
|||
return nal_reader_get_bits_uint##bits (&tmp, val, nbits); \
|
||||
}
|
||||
|
||||
GST_NAL_READER_PEEK_BITS (8);
|
||||
NAL_READER_PEEK_BITS (8);
|
||||
|
||||
gboolean
|
||||
nal_reader_get_ue (NalReader * nr, guint32 * val)
|
||||
|
@ -243,7 +243,7 @@ nal_reader_get_se (NalReader * nr, gint32 * val)
|
|||
}
|
||||
|
||||
gboolean
|
||||
gst_nal_reader_is_byte_aligned (NalReader * nr)
|
||||
nal_reader_is_byte_aligned (NalReader * nr)
|
||||
{
|
||||
if (nr->bits_in_cache != 0)
|
||||
return FALSE;
|
||||
|
@ -251,7 +251,7 @@ gst_nal_reader_is_byte_aligned (NalReader * nr)
|
|||
}
|
||||
|
||||
gboolean
|
||||
gst_nal_reader_has_more_data (NalReader * nr)
|
||||
nal_reader_has_more_data (NalReader * nr)
|
||||
{
|
||||
guint remaining;
|
||||
|
||||
|
|
|
@ -62,20 +62,20 @@ guint nal_reader_get_pos (const NalReader * nr);
|
|||
guint nal_reader_get_remaining (const NalReader * nr);
|
||||
guint nal_reader_get_epb_count (const NalReader * nr);
|
||||
|
||||
gboolean gst_nal_reader_is_byte_aligned (NalReader * nr);
|
||||
gboolean gst_nal_reader_has_more_data (NalReader * nr);
|
||||
gboolean nal_reader_is_byte_aligned (NalReader * nr);
|
||||
gboolean nal_reader_has_more_data (NalReader * nr);
|
||||
|
||||
#define GST_NAL_READER_READ_BITS_H(bits) \
|
||||
#define NAL_READER_READ_BITS_H(bits) \
|
||||
gboolean nal_reader_get_bits_uint##bits (NalReader *nr, guint##bits *val, guint nbits)
|
||||
|
||||
GST_NAL_READER_READ_BITS_H (8);
|
||||
GST_NAL_READER_READ_BITS_H (16);
|
||||
GST_NAL_READER_READ_BITS_H (32);
|
||||
NAL_READER_READ_BITS_H (8);
|
||||
NAL_READER_READ_BITS_H (16);
|
||||
NAL_READER_READ_BITS_H (32);
|
||||
|
||||
#define GST_NAL_READER_PEEK_BITS_H(bits) \
|
||||
#define NAL_READER_PEEK_BITS_H(bits) \
|
||||
gboolean nal_reader_peek_bits_uint##bits (const NalReader *nr, guint##bits *val, guint nbits)
|
||||
|
||||
GST_NAL_READER_PEEK_BITS_H (8);
|
||||
NAL_READER_PEEK_BITS_H (8);
|
||||
|
||||
gboolean nal_reader_get_ue (NalReader * nr, guint32 * val);
|
||||
gboolean nal_reader_get_se (NalReader * nr, gint32 * val);
|
||||
|
|
Loading…
Reference in a new issue