Home
last modified time | relevance | path

Searched refs:level_spec (Results 1 – 6 of 6) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dlevel.c263 static double get_min_cr(const AV1LevelSpec *const level_spec, int tier, in get_min_cr() argument
266 const double min_cr_basis = tier ? level_spec->high_cr : level_spec->main_cr; in get_min_cr()
268 (double)decoded_sample_rate / level_spec->max_display_rate; in get_min_cr()
274 const AV1LevelSpec *const level_spec, in check_level_constraints() argument
277 level_spec->max_decode_rate); in check_level_constraints()
281 if (level_spec->max_picture_size > target_level_spec->max_picture_size) { in check_level_constraints()
286 if (level_spec->max_h_size > target_level_spec->max_h_size) { in check_level_constraints()
291 if (level_spec->max_v_size > target_level_spec->max_v_size) { in check_level_constraints()
296 if (level_spec->max_tile_cols > target_level_spec->max_tile_cols) { in check_level_constraints()
301 if (level_spec->max_tiles > target_level_spec->max_tiles) { in check_level_constraints()
[all …]
Dlevel.h71 AV1LevelSpec level_spec; member
Dencoder.c2554 AV1LevelSpec *const level_spec = &level_info[i].level_spec; in init_level_info() local
2555 level_spec->level = SEQ_LEVEL_MAX; in init_level_info()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c627 Vp9LevelSpec *const level_spec = &level_info->level_spec; in init_level_info() local
630 memset(level_spec, 0, sizeof(*level_spec)); in init_level_info()
631 level_spec->level = LEVEL_UNKNOWN; in init_level_info()
632 level_spec->min_altref_distance = INT_MAX; in init_level_info()
642 VP9_LEVEL vp9_get_level(const Vp9LevelSpec *const level_spec) { in vp9_get_level() argument
650 if ((double)level_spec->max_luma_sample_rate > in vp9_get_level()
653 level_spec->max_luma_picture_size > this_level->max_luma_picture_size || in vp9_get_level()
654 level_spec->max_luma_picture_breadth > in vp9_get_level()
656 level_spec->average_bitrate > this_level->average_bitrate || in vp9_get_level()
657 level_spec->max_cpb_size > this_level->max_cpb_size || in vp9_get_level()
[all …]
Dvp9_encoder.h515 Vp9LevelSpec level_spec; member
1083 VP9_LEVEL vp9_get_level(const Vp9LevelSpec *const level_spec);
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c887 *arg = (int)vp9_get_level(&ctx->cpi->level_info.level_spec); in ctrl_get_level()