28 {
"1", 10, 0, 1485, 99, 396, 64, 175, 64, 2, 0 },
29 {
"1b", 11, 1, 1485, 99, 396, 128, 350, 64, 2, 0 },
30 {
"1b", 9, 0, 1485, 99, 396, 128, 350, 64, 2, 0 },
31 {
"1.1", 11, 0, 3000, 396, 900, 192, 500, 128, 2, 0 },
32 {
"1.2", 12, 0, 6000, 396, 2376, 384, 1000, 128, 2, 0 },
33 {
"1.3", 13, 0, 11880, 396, 2376, 768, 2000, 128, 2, 0 },
34 {
"2", 20, 0, 11880, 396, 2376, 2000, 2000, 128, 2, 0 },
35 {
"2.1", 21, 0, 19800, 792, 4752, 4000, 4000, 256, 2, 0 },
36 {
"2.2", 22, 0, 20250, 1620, 8100, 4000, 4000, 256, 2, 0 },
37 {
"3", 30, 0, 40500, 1620, 8100, 10000, 10000, 256, 2, 32 },
38 {
"3.1", 31, 0, 108000, 3600, 18000, 14000, 14000, 512, 4, 16 },
39 {
"3.2", 32, 0, 216000, 5120, 20480, 20000, 20000, 512, 4, 16 },
40 {
"4", 40, 0, 245760, 8192, 32768, 20000, 25000, 512, 4, 16 },
41 {
"4.1", 41, 0, 245760, 8192, 32768, 50000, 62500, 512, 2, 16 },
42 {
"4.2", 42, 0, 522240, 8704, 34816, 50000, 62500, 512, 2, 16 },
43 {
"5", 50, 0, 589824, 22080, 110400, 135000, 135000, 512, 2, 16 },
44 {
"5.1", 51, 0, 983040, 36864, 184320, 240000, 240000, 512, 2, 16 },
45 {
"5.2", 52, 0, 2073600, 36864, 184320, 240000, 240000, 512, 2, 16 },
46 {
"6", 60, 0, 4177920, 139264, 696320, 240000, 240000, 8192, 2, 16 },
47 {
"6.1", 61, 0, 8355840, 139264, 696320, 480000, 480000, 8192, 2, 16 },
48 {
"6.2", 62, 0, 16711680, 139264, 696320, 800000, 800000, 8192, 2, 16 },
83 int max_dec_frame_buffering)
85 int width_mbs = (
width + 15) / 16;
86 int height_mbs = (
height + 15) / 16;
95 if (
level->constraint_set3_flag && no_cs3f)
101 if (width_mbs * height_mbs >
level->max_fs)
103 if (width_mbs * width_mbs > 8 *
level->max_fs)
105 if (height_mbs * height_mbs > 8 *
level->max_fs)
108 if (width_mbs && height_mbs) {
110 FFMIN(
level->max_dpb_mbs / (width_mbs * height_mbs), 16);
111 if (max_dec_frame_buffering > max_dpb_frames)