diff options
Diffstat (limited to 'videodecoder/securevideo/moorefield/VideoFrameInfo.h')
-rwxr-xr-x | videodecoder/securevideo/moorefield/VideoFrameInfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/videodecoder/securevideo/moorefield/VideoFrameInfo.h b/videodecoder/securevideo/moorefield/VideoFrameInfo.h index 485b0da..d7584f8 100755 --- a/videodecoder/securevideo/moorefield/VideoFrameInfo.h +++ b/videodecoder/securevideo/moorefield/VideoFrameInfo.h @@ -23,11 +23,13 @@ typedef struct { uint8_t type; // nalu type + nal_ref_idc uint32_t offset; // offset to the pointer of the encrypted data uint8_t* data; // if the nalu is encrypted, this field is useless; if current NALU is SPS/PPS, data is the pointer to clear SPS/PPS data + uint32_t data_offset_from_frameinfo; // offset from frame_info to data. this will be used instead of data for inter-process uint32_t length; // nalu length } nalu_info_t; typedef struct { uint8_t* data; // pointer to the encrypted data + uint32_t data_offset_from_frameinfo; // offset from frame_info to data. this will be used instead of data for inter-process uint32_t size; // encrypted data size uint32_t num_nalus; // number of NALU nalu_info_t nalus[MAX_NUM_NALUS]; |