Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a809232d authored by Fyodor Kyslov's avatar Fyodor Kyslov
Browse files

AV1 Encoder - Fix supporting levels

Fix supporting level info.

Bug: 249145879
Test: atest EncoderProfileLevelTest
Change-Id: I452bf46a0623c9a96754db9f216f270ca361ab54
parent 7c6efb12
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -95,7 +95,11 @@ C2SoftAomEnc::IntfImpl::IntfImpl(const std::shared_ptr<C2ReflectorHelper>& helpe
                                                                           LEVEL_AV1_4_1))
                         .withFields({
                                 C2F(mProfileLevel, profile).equalTo(PROFILE_AV1_0),
                                 C2F(mProfileLevel, level).equalTo(LEVEL_AV1_4_1),
                                 C2F(mProfileLevel, level)
                                    .oneOf({LEVEL_AV1_2, LEVEL_AV1_2_1, LEVEL_AV1_2_2,
                                            LEVEL_AV1_2_3, LEVEL_AV1_3, LEVEL_AV1_3_1,
                                            LEVEL_AV1_3_2, LEVEL_AV1_3_3, LEVEL_AV1_4,
                                            LEVEL_AV1_4_1}),
                         })
                         .withSetter(ProfileLevelSetter)
                         .build());