37 for (cIdx = 0; cIdx < 3; cIdx++) {
40 for (i = 0; i < 16; i++)
42 }
else if (hash_type == 1) {
45 }
else if (hash_type == 2) {
104 if (pic_struct == 2) {
107 }
else if (pic_struct == 1) {
120 int num_sps_ids_minus1;
122 unsigned active_seq_parameter_set_id;
129 if (num_sps_ids_minus1 < 0 || num_sps_ids_minus1 > 15) {
141 for (i = 1; i <= num_sps_ids_minus1; i++)
151 int payload_type = 0;
152 int payload_size = 0;
156 while (byte == 0xFF) {
158 payload_type +=
byte;
161 while (byte == 0xFF) {
163 payload_size +=
byte;
166 if (payload_type == 256 ) {
168 }
else if (payload_type == 45) {
170 }
else if (payload_type == 47) {
172 }
else if (payload_type == 1){
177 }
else if (payload_type == 129){
185 if (payload_type == 132 )
static void decode_nal_sei_decoded_picture_hash(HEVCContext *s)
int frame_packing_arrangement_type
int sei_frame_packing_present
frame packing arrangement variables
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
int active_seq_parameter_set_id
static unsigned int get_bits(GetBitContext *s, int n)
Read 1-25 bits.
int content_interpretation_type
static int more_rbsp_data(GetBitContext *gb)
static void decode_nal_sei_display_orientation(HEVCContext *s)
int frame_field_info_present_flag
int sei_anticlockwise_rotation
static int get_bits_left(GetBitContext *gb)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
static int get_ue_golomb(GetBitContext *gb)
read unsigned exp golomb code.
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
AVBufferRef * sps_list[MAX_SPS_COUNT]
static unsigned int show_bits(GetBitContext *s, int n)
Show 1-25 bits.
static unsigned get_ue_golomb_long(GetBitContext *gb)
Read an unsigned Exp-Golomb code in the range 0 to UINT32_MAX-1.
int sei_display_orientation_present
display orientation
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_WB32 unsigned int_TMPL AV_WB24 unsigned int_TMPL AV_WB16 unsigned int_TMPL byte
int ff_hevc_decode_nal_sei(HEVCContext *s)
uint8_t * data
The data buffer.
static unsigned int get_bits1(GetBitContext *s)
static void skip_bits1(GetBitContext *s)
static void skip_bits(GetBitContext *s, int n)
enum NALUnitType nal_unit_type
HEVCLocalContext * HEVClc
static int active_parameter_sets(HEVCContext *s)
static int decode_nal_sei_message(HEVCContext *s)
static int decode_pic_timing(HEVCContext *s)
static void decode_nal_sei_frame_packing_arrangement(HEVCContext *s)