32 for (i = 0; i < 32; i++)
49 for (i = 0; i < max_num_sub_layers - 1; i++) {
54 if (max_num_sub_layers > 1)
55 for (i = max_num_sub_layers - 1; i < 8; i++)
58 for (i = 0; i < max_num_sub_layers - 1; i++) {
84 i < vps->vps_max_sub_layers; i++) {
PTLCommon sub_layer_ptl[HEVC_MAX_SUB_LAYERS]
static void av_unused put_bits32(PutBitContext *s, uint32_t value)
Write exactly 32 bits into a bitstream.
static void put_bits(Jpeg2000EncoderContext *s, int val, int n)
put n times val bit
static void set_ue_golomb(PutBitContext *pb, int i)
write unsigned exp golomb code.
int vps_num_ticks_poc_diff_one
vps_num_ticks_poc_diff_one_minus1 + 1
unsigned int vps_max_latency_increase[HEVC_MAX_SUB_LAYERS]
void avpriv_align_put_bits(PutBitContext *s)
Pad the bitstream with zeros up to the next byte boundary.
unsigned int vps_max_dec_pic_buffering[HEVC_MAX_SUB_LAYERS]
static void write_ptl(PutBitContext *pb, PTL *ptl, int max_num_sub_layers)
uint8_t profile_compatibility_flag[32]
uint8_t vps_timing_info_present_flag
int vps_max_sub_layers
vps_max_temporal_layers_minus1 + 1
uint8_t frame_only_constraint_flag
uint8_t vps_temporal_id_nesting_flag
static int put_bits_count(PutBitContext *s)
uint32_t vps_num_units_in_tick
uint8_t sub_layer_level_present_flag[HEVC_MAX_SUB_LAYERS]
int vps_num_layer_sets
vps_num_layer_sets_minus1 + 1
uint8_t vps_poc_proportional_to_timing_flag
unsigned int vps_num_reorder_pics[HEVC_MAX_SUB_LAYERS]
static void write_ptl_layer(PutBitContext *pb, PTLCommon *ptl)
uint8_t sub_layer_profile_present_flag[HEVC_MAX_SUB_LAYERS]
#define AVERROR_PATCHWELCOME
Not yet implemented in FFmpeg, patches welcome.
int vps_num_hrd_parameters
void avpriv_report_missing_feature(void *avc, const char *msg,...) av_printf_format(2
Log a generic warning message about a missing feature.
static void init_put_bits(PutBitContext *s, uint8_t *buffer, int buffer_size)
Initialize the PutBitContext s.
int ff_hevc_encode_nal_vps(HEVCVPS *vps, unsigned int id, uint8_t *buf, int buf_size)
uint8_t progressive_source_flag
uint8_t non_packed_constraint_flag
uint8_t interlaced_source_flag
int vps_sub_layer_ordering_info_present_flag