Home
last modified time | relevance | path

Searched refs:seq_level_idx (Results 1 – 10 of 10) sorted by relevance

/external/libaom/libaom/av1/common/
Dtiming.c41 int64_t max_level_bitrate(BITSTREAM_PROFILE seq_profile, int seq_level_idx, in max_level_bitrate() argument
46 bitrate = high_kbps[seq_level_idx] * bitrate_profile_factor[seq_profile]; in max_level_bitrate()
48 bitrate = main_kbps[seq_level_idx] * bitrate_profile_factor[seq_profile]; in max_level_bitrate()
Dtiming.h56 int64_t max_level_bitrate(BITSTREAM_PROFILE seq_profile, int seq_level_idx,
Donyxc_int.h266 AV1_LEVEL seq_level_idx[MAX_NUM_OPERATING_POINTS]; member
1375 static INLINE int is_valid_seq_level_idx(AV1_LEVEL seq_level_idx) { in is_valid_seq_level_idx() argument
1376 return seq_level_idx < SEQ_LEVELS || seq_level_idx == SEQ_LEVEL_MAX; in is_valid_seq_level_idx()
/external/libaom/libaom/av1/decoder/
Dobu.c101 static int read_bitstream_level(AV1_LEVEL *seq_level_idx, in read_bitstream_level() argument
103 *seq_level_idx = aom_rb_read_literal(rb, LEVEL_BITS); in read_bitstream_level()
104 if (!is_valid_seq_level_idx(*seq_level_idx)) return 0; in read_bitstream_level()
152 if (!read_bitstream_level(&seq_params->seq_level_idx[0], rb)) { in read_sequence_header_obu()
176 if (!read_bitstream_level(&seq_params->seq_level_idx[i], rb)) { in read_sequence_header_obu()
182 if (seq_params->seq_level_idx[i] >= SEQ_LEVEL_4_0) in read_sequence_header_obu()
197 max_level_bitrate(seq_params->profile, seq_params->seq_level_idx[i], in read_sequence_header_obu()
/external/libaom/libaom/common/
Dav1_config.c279 AV1C_READ_BITS_OR_RETURN_ERROR(seq_level_idx, 5); in parse_sequence_header()
282 if (seq_level_idx > 7) { in parse_sequence_header()
310 config->seq_level_idx_0 = seq_level_idx; in parse_sequence_header()
/external/libaom/libaom/av1/encoder/
Dlevel.c619 aom_codec_err_t av1_get_seq_level_idx(const AV1_COMP *cpi, int *seq_level_idx) { in av1_get_seq_level_idx() argument
623 seq_level_idx[op] = (int)SEQ_LEVEL_MAX; in av1_get_seq_level_idx()
630 seq_level_idx[op] = (int)SEQ_LEVEL_MAX; in av1_get_seq_level_idx()
640 seq_level_idx[op] = level; in av1_get_seq_level_idx()
Dlevel.h79 int *seq_level_idx);
Dbitstream.c3294 static void write_bitstream_level(AV1_LEVEL seq_level_idx, in write_bitstream_level() argument
3296 assert(is_valid_seq_level_idx(seq_level_idx)); in write_bitstream_level()
3297 aom_wb_write_literal(wb, seq_level_idx, LEVEL_BITS); in write_bitstream_level()
3318 write_bitstream_level(cm->seq_params.seq_level_idx[0], &wb); in write_sequence_header_obu()
3337 write_bitstream_level(cm->seq_params.seq_level_idx[i], &wb); in write_sequence_header_obu()
3338 if (cm->seq_params.seq_level_idx[i] >= SEQ_LEVEL_4_0) in write_sequence_header_obu()
Dencoder.c1014 seq->seq_level_idx[i] = level; in set_bitstream_level_tier()
1018 cm->seq_params.profile, seq->seq_level_idx[i], seq->tier[i]); in set_bitstream_level_tier()
/external/libaom/libaom/av1/
Dav1_dx_iface.c230 int seq_level_idx = aom_rb_read_literal(rb, LEVEL_BITS); // level in parse_operating_points() local
231 if (seq_level_idx > 7) aom_rb_read_bit(rb); // tier in parse_operating_points()