[client] h264: use parameters from nal (incomplete)

This commit is contained in:
Geoffrey McRae
2018-01-06 00:11:38 +11:00
parent 5a84d3bef7
commit 5e84cfb3f1
3 changed files with 68 additions and 27 deletions

View File

@@ -263,6 +263,7 @@ NAL_RP_MARKING;
typedef struct NAL_SLICE
{
uint8_t nal_ref_idc;
uint32_t first_mb_in_slice;
uint32_t slice_type;
uint32_t pic_parameter_set_id;
@@ -296,7 +297,7 @@ typedef struct NAL * NAL;
bool nal_initialize (NAL * ptr);
void nal_deinitialize(NAL this );
bool nal_parse (NAL this, const uint8_t * src, size_t size);
bool nal_parse (NAL this, const uint8_t * src, size_t size, size_t * seek);
bool nal_get_primary_picture_type(NAL this, uint8_t * pic_type);
bool nal_get_sps (NAL this, const NAL_SPS ** sps );