65 for (cIdx = 0; cIdx < 3; cIdx++) {
68 for (i = 0; i < 16; i++)
70 }
else if (hash_type == 1) {
73 }
else if (hash_type == 2) {
136 if (pic_struct == 2) {
139 }
else if (pic_struct == 1) {
152 int num_sps_ids_minus1;
154 unsigned active_seq_parameter_set_id;
161 if (num_sps_ids_minus1 < 0 || num_sps_ids_minus1 > 15) {
173 for (i = 1; i <= num_sps_ids_minus1; i++)
226 int payload_type = 0;
227 int payload_size = 0;
231 while (byte == 0xFF) {
233 payload_type +=
byte;
236 while (byte == 0xFF) {
238 payload_size +=
byte;
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 void skip_bits_long(GetBitContext *s, int n)
static int more_rbsp_data(GetBitContext *gb)
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.
static int decode_nal_sei_decoded_picture_hash(HEVCContext *s)
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
static int decode_nal_sei_prefix(HEVCContext *s, int type, int size)
static unsigned int show_bits(GetBitContext *s, int n)
Show 1-25 bits.
static int decode_nal_sei_suffix(HEVCContext *s, int type, int size)
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 int decode_nal_sei_display_orientation(HEVCContext *s)
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 decode_nal_sei_frame_packing_arrangement(HEVCContext *s)
static int active_parameter_sets(HEVCContext *s)
static int decode_nal_sei_message(HEVCContext *s)
static int decode_pic_timing(HEVCContext *s)
AVBufferRef * sps_list[MAX_SPS_COUNT]