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

Commit c125c69c authored by Harish Mahendrakar's avatar Harish Mahendrakar Committed by Presubmit Automerger Backend
Browse files

[automerge] C2SoftHEVCEnc: Change default dimensions and frame rate 2p: 74ff7dde

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/17269181

Bug: 151429828
Change-Id: Ie6ac5282ae23ac76f623d58129d86e996dcf716c
Merged-In: I35b7a0703333a9268dcea578328016604d7c1f54
parents 65d975f3 74ff7dde
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -123,7 +123,7 @@ class C2SoftHevcEnc::IntfImpl : public SimpleInterface<void>::BaseParams {
        // matches size limits in codec library
        addParameter(
            DefineParam(mSize, C2_PARAMKEY_PICTURE_SIZE)
                .withDefault(new C2StreamPictureSizeInfo::input(0u, 320, 240))
                .withDefault(new C2StreamPictureSizeInfo::input(0u, 64, 64))
                .withFields({
                    C2F(mSize, width).inRange(2, 1920, 2),
                    C2F(mSize, height).inRange(2, 1088, 2),
@@ -133,7 +133,7 @@ class C2SoftHevcEnc::IntfImpl : public SimpleInterface<void>::BaseParams {

        addParameter(
            DefineParam(mFrameRate, C2_PARAMKEY_FRAME_RATE)
                .withDefault(new C2StreamFrameRateInfo::output(0u, 30.))
                .withDefault(new C2StreamFrameRateInfo::output(0u, 1.))
                .withFields({C2F(mFrameRate, value).greaterThan(0.)})
                .withSetter(
                    Setter<decltype(*mFrameRate)>::StrictValueWithNoDeps)