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

Commit 4ad34652 authored by Vignesh Venkatasubramanian's avatar Vignesh Venkatasubramanian
Browse files

gav1: Increase max supported resolution to 4096x4096

This brings the AV1 decoder in line with other modern codecs. It
also helps the software decoder to decode most practical AVIF
images.

Bug: 141654151
Test: Media CTS tests still pass
Change-Id: Iedbd41f2336585a5d769b1d9c94e40d6e0d155ed
parent 07f14e30
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -51,8 +51,8 @@ class C2SoftGav1Dec::IntfImpl : public SimpleInterface<void>::BaseParams {
        DefineParam(mSize, C2_PARAMKEY_PICTURE_SIZE)
            .withDefault(new C2StreamPictureSizeInfo::output(0u, 320, 240))
            .withFields({
                C2F(mSize, width).inRange(2, 2048, 2),
                C2F(mSize, height).inRange(2, 2048, 2),
                C2F(mSize, width).inRange(2, 4096, 2),
                C2F(mSize, height).inRange(2, 4096, 2),
            })
            .withSetter(SizeSetter)
            .build());