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

Commit 0a4b6fec authored by Vignesh Venkatasubramanian's avatar Vignesh Venkatasubramanian
Browse files

stagefright: Use libgav1 for AV1 decoding

Use the c2.android.gav1.decoder component instead of
c2.android.av1.decoder component.

All the AV1 related CTS tests still pass.

Bug: 131989882
Test: cts-tradefed run commandAndExit cts-dev --include-filter CtsMediaTestCases --module-arg "CtsMediaTestCases:include-filter:android.media.cts.DecoderTest#testAV1*" --module-arg "CtsMediaTestCases:include-filter:android.media.cts.AdaptivePlaybackTest#testAV1*"
Change-Id: I519040c7a7974058d1d2a4f210bb93f1c8f50ea1
parent dee634ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@
            <Limit name="bitrate" range="1-40000000" />
            <Feature name="adaptive-playback" />
        </MediaCodec>
        <MediaCodec name="c2.android.av1.decoder" type="video/av01">
        <MediaCodec name="c2.android.gav1.decoder" type="video/av01">
            <Limit name="size" min="96x96" max="1920x1080" />
            <Limit name="alignment" value="2x2" />
            <Limit name="block-size" value="16x16" />
+1 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@
            </Variant>
            <Feature name="adaptive-playback" />
        </MediaCodec>
        <MediaCodec name="c2.android.av1.decoder" type="video/av01" variant="!slow-cpu">
        <MediaCodec name="c2.android.gav1.decoder" type="video/av01" variant="!slow-cpu">
            <Limit name="size" min="2x2" max="1920x1080" />
            <Limit name="alignment" value="2x2" />
            <Limit name="block-size" value="16x16" />