[vlc-commits] packetizer: hevc: move declarations
Francois Cartegnie
git at videolan.org
Tue Feb 26 18:57:18 CET 2019
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb 25 17:48:43 2019 +0100| [c8f2b1440f01b25888fdea8e2bf84ff5abb81b9c] | committer: Francois Cartegnie
packetizer: hevc: move declarations
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c8f2b1440f01b25888fdea8e2bf84ff5abb81b9c
---
modules/packetizer/hevc.c | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/modules/packetizer/hevc.c b/modules/packetizer/hevc.c
index 5c985f1ea6..927ca7efcf 100644
--- a/modules/packetizer/hevc.c
+++ b/modules/packetizer/hevc.c
@@ -62,15 +62,6 @@ vlc_module_end ()
/****************************************************************************
* Local prototypes
****************************************************************************/
-static block_t *PacketizeAnnexB(decoder_t *, block_t **);
-static block_t *PacketizeHVC1(decoder_t *, block_t **);
-static void PacketizeFlush( decoder_t * );
-static void PacketizeReset(void *p_private, bool b_broken);
-static block_t *PacketizeParse(void *p_private, bool *pb_ts_used, block_t *);
-static block_t *ParseNALBlock(decoder_t *, bool *pb_ts_used, block_t *);
-static int PacketizeValidate(void *p_private, block_t *);
-static bool ParseSEICallback( const hxxx_sei_data_t *, void * );
-static block_t *GetCc( decoder_t *, decoder_cc_desc_t * );
typedef struct
{
@@ -107,6 +98,16 @@ typedef struct
cc_storage_t *p_ccs;
} decoder_sys_t;
+static block_t *PacketizeAnnexB(decoder_t *, block_t **);
+static block_t *PacketizeHVC1(decoder_t *, block_t **);
+static void PacketizeFlush( decoder_t * );
+static void PacketizeReset(void *p_private, bool b_broken);
+static block_t *PacketizeParse(void *p_private, bool *pb_ts_used, block_t *);
+static block_t *ParseNALBlock(decoder_t *, bool *pb_ts_used, block_t *);
+static int PacketizeValidate(void *p_private, block_t *);
+static bool ParseSEICallback( const hxxx_sei_data_t *, void * );
+static block_t *GetCc( decoder_t *, decoder_cc_desc_t * );
+
#define BLOCK_FLAG_DROP (1 << BLOCK_FLAG_PRIVATE_SHIFT)
static const uint8_t p_hevc_startcode[3] = {0x00, 0x00, 0x01};
More information about the vlc-commits
mailing list