Commit 13f54c0a authored by François Cartegnie's avatar François Cartegnie 🤞

packetizer: h264: prefix poc_context_t

parent 9973c5ef
......@@ -159,7 +159,7 @@ struct decoder_sys_t
int i_forced_cvpx_format;
poc_context_t pocctx;
h264_poc_context_t pocctx;
date_t pts;
};
......
......@@ -114,7 +114,7 @@ struct decoder_sys_t
unsigned i_recoveryfnum;
/* POC */
poc_context_t pocctx;
h264_poc_context_t pocctx;
struct
{
mtime_t pts;
......
......@@ -215,7 +215,7 @@ bool h264_decode_slice( const uint8_t *p_buffer, size_t i_buffer,
void h264_compute_poc( const h264_sequence_parameter_set_t *p_sps,
const h264_slice_t *p_slice, poc_context_t *p_ctx,
const h264_slice_t *p_slice, h264_poc_context_t *p_ctx,
int *p_PictureOrderCount, int *p_tFOC, int *p_bFOC )
{
*p_tFOC = *p_bFOC = 0;
......
......@@ -90,9 +90,9 @@ typedef struct
int prevRefPictureTFOC;
bool prevRefPictureIsBottomField;
bool prevRefPictureHasMMCO5;
} poc_context_t;
} h264_poc_context_t;
static inline void h264_poc_context_init( poc_context_t *p_ctx )
static inline void h264_poc_context_init( h264_poc_context_t *p_ctx )
{
p_ctx->prevPicOrderCnt.lsb = 0;
p_ctx->prevPicOrderCnt.msb = 0;
......@@ -103,7 +103,7 @@ static inline void h264_poc_context_init( poc_context_t *p_ctx )
}
void h264_compute_poc( const h264_sequence_parameter_set_t *p_sps,
const h264_slice_t *p_slice, poc_context_t *p_ctx,
const h264_slice_t *p_slice, h264_poc_context_t *p_ctx,
int *p_PictureOrderCount, int *p_tFOC, int *p_bFOC );
uint8_t h264_get_num_ts( const h264_sequence_parameter_set_t *p_sps,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment