91 { 1280, 720, 12, 120 },
92 { 1280, 720, 16, 150 },
96 { 3840, 2160, 6, 150 },
97 { 3840, 2160, 7, 180 },
98 { 3840, 2160, 16, 180 },
104 .general_profile_idc = 1,
105 .general_tier_flag = 0,
106 .general_profile_compatibility_flag[1] = 1,
112 .general_profile_idc = 4,
113 .general_tier_flag = 0,
114 .general_profile_compatibility_flag[4] = 1,
115 .general_max_12bit_constraint_flag = 1,
116 .general_max_10bit_constraint_flag = 0,
117 .general_max_8bit_constraint_flag = 0,
118 .general_max_422chroma_constraint_flag = 1,
119 .general_max_420chroma_constraint_flag = 1,
120 .general_max_monochrome_constraint_flag = 0,
121 .general_intra_constraint_flag = 0,
122 .general_one_picture_only_constraint_flag = 0,
123 .general_lower_bit_rate_constraint_flag = 1,
129 .general_profile_idc = 4,
130 .general_tier_flag = 0,
131 .general_profile_compatibility_flag[4] = 1,
132 .general_max_12bit_constraint_flag = 1,
133 .general_max_10bit_constraint_flag = 0,
134 .general_max_8bit_constraint_flag = 0,
135 .general_max_422chroma_constraint_flag = 1,
136 .general_max_420chroma_constraint_flag = 0,
137 .general_max_monochrome_constraint_flag = 0,
138 .general_intra_constraint_flag = 1,
139 .general_one_picture_only_constraint_flag = 0,
145 .general_profile_idc = 5,
146 .general_tier_flag = 0,
147 .general_profile_compatibility_flag[5] = 1,
148 .general_max_14bit_constraint_flag = 1,
149 .general_max_12bit_constraint_flag = 0,
150 .general_max_10bit_constraint_flag = 0,
151 .general_max_8bit_constraint_flag = 0,
152 .general_max_422chroma_constraint_flag = 0,
153 .general_max_420chroma_constraint_flag = 0,
154 .general_max_monochrome_constraint_flag = 0,
155 .general_intra_constraint_flag = 0,
156 .general_one_picture_only_constraint_flag = 0,
157 .general_lower_bit_rate_constraint_flag = 1,
163 .general_profile_idc = 1,
164 .general_tier_flag = 1,
165 .general_profile_compatibility_flag[1] = 1,
168 static const struct {
215 static const struct {
248 #define CHECK(expected, format, ...) do { \ 249 if (expected ? (!level || level->level_idc != expected) \ 251 av_log(NULL, AV_LOG_ERROR, "Incorrect level for " \ 252 format ": expected %d, got %d.\n", __VA_ARGS__, \ 253 expected, level ? level->level_idc : -1); \
static const struct @142 test_dpb[]
#define FF_ARRAY_ELEMS(a)
const H265RawProfileTierLevel * ptl
static const H265RawProfileTierLevel profile_main_high_tier
static const H265RawProfileTierLevel profile_ht_444_14
static const H265RawProfileTierLevel profile_main_12
static const struct @141 test_sizes[]
static const H265RawProfileTierLevel profile_main
const H265LevelDescriptor * ff_h265_guess_level(const H265RawProfileTierLevel *ptl, int64_t bitrate, int width, int height, int slice_segments, int tile_rows, int tile_cols, int max_dec_pic_buffering)
Guess the level of a stream from some parameters.
static const struct @144 test_fragments[]
static const struct @143 test_bitrate[]
static const H265RawProfileTierLevel profile_main_422_12_intra
common internal and external API header
#define CHECK(expected, format,...)
uint8_t general_profile_space
const H265ProfileDescriptor * ff_h265_get_profile(const H265RawProfileTierLevel *ptl)