mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gdp: fix header files
Ensure correct indentation and retab Make sure all structure have padding
This commit is contained in:
parent
3bd55502a1
commit
d67bdd8375
1 changed files with 32 additions and 32 deletions
|
@ -98,19 +98,19 @@ typedef enum {
|
||||||
} GstDPPayloadType;
|
} GstDPPayloadType;
|
||||||
|
|
||||||
typedef gboolean (*GstDPHeaderFromBufferFunction) (const GstBuffer * buffer,
|
typedef gboolean (*GstDPHeaderFromBufferFunction) (const GstBuffer * buffer,
|
||||||
GstDPHeaderFlag flags,
|
GstDPHeaderFlag flags,
|
||||||
guint * length,
|
guint * length,
|
||||||
guint8 ** header);
|
guint8 ** header);
|
||||||
typedef gboolean (*GstDPPacketFromCapsFunction) (const GstCaps * caps,
|
typedef gboolean (*GstDPPacketFromCapsFunction) (const GstCaps * caps,
|
||||||
GstDPHeaderFlag flags,
|
GstDPHeaderFlag flags,
|
||||||
guint * length,
|
guint * length,
|
||||||
guint8 ** header,
|
guint8 ** header,
|
||||||
guint8 ** payload);
|
guint8 ** payload);
|
||||||
typedef gboolean (*GstDPPacketFromEventFunction) (const GstEvent * event,
|
typedef gboolean (*GstDPPacketFromEventFunction) (const GstEvent * event,
|
||||||
GstDPHeaderFlag flags,
|
GstDPHeaderFlag flags,
|
||||||
guint * length,
|
guint * length,
|
||||||
guint8 ** header,
|
guint8 ** header,
|
||||||
guint8 ** payload);
|
guint8 ** payload);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstDPPacketizer:
|
* GstDPPacketizer:
|
||||||
|
@ -133,7 +133,7 @@ typedef struct {
|
||||||
} GstDPPacketizer;
|
} GstDPPacketizer;
|
||||||
|
|
||||||
|
|
||||||
void gst_dp_init (void);
|
void gst_dp_init (void);
|
||||||
|
|
||||||
/* packetizer */
|
/* packetizer */
|
||||||
GstDPPacketizer *
|
GstDPPacketizer *
|
||||||
|
@ -145,29 +145,29 @@ guint16 gst_dp_crc (const guint8 * buffer,
|
||||||
guint length);
|
guint length);
|
||||||
|
|
||||||
/* payload information from header */
|
/* payload information from header */
|
||||||
guint32 gst_dp_header_payload_length (const guint8 * header);
|
guint32 gst_dp_header_payload_length (const guint8 * header);
|
||||||
GstDPPayloadType
|
GstDPPayloadType
|
||||||
gst_dp_header_payload_type (const guint8 * header);
|
gst_dp_header_payload_type (const guint8 * header);
|
||||||
|
|
||||||
/* converting to GstBuffer/GstEvent/GstCaps */
|
/* converting to GstBuffer/GstEvent/GstCaps */
|
||||||
GstBuffer * gst_dp_buffer_from_header (guint header_length,
|
GstBuffer * gst_dp_buffer_from_header (guint header_length,
|
||||||
const guint8 * header);
|
const guint8 * header);
|
||||||
GstCaps * gst_dp_caps_from_packet (guint header_length,
|
GstCaps * gst_dp_caps_from_packet (guint header_length,
|
||||||
const guint8 * header,
|
const guint8 * header,
|
||||||
const guint8 * payload);
|
const guint8 * payload);
|
||||||
GstEvent * gst_dp_event_from_packet (guint header_length,
|
GstEvent * gst_dp_event_from_packet (guint header_length,
|
||||||
const guint8 * header,
|
const guint8 * header,
|
||||||
const guint8 * payload);
|
const guint8 * payload);
|
||||||
|
|
||||||
/* validation */
|
/* validation */
|
||||||
gboolean gst_dp_validate_header (guint header_length,
|
gboolean gst_dp_validate_header (guint header_length,
|
||||||
const guint8 * header);
|
const guint8 * header);
|
||||||
gboolean gst_dp_validate_payload (guint header_length,
|
gboolean gst_dp_validate_payload (guint header_length,
|
||||||
const guint8 * header,
|
const guint8 * header,
|
||||||
const guint8 * payload);
|
const guint8 * payload);
|
||||||
gboolean gst_dp_validate_packet (guint header_length,
|
gboolean gst_dp_validate_packet (guint header_length,
|
||||||
const guint8 * header,
|
const guint8 * header,
|
||||||
const guint8 * payload);
|
const guint8 * payload);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue