Commit graph

9 commits

Author SHA1 Message Date
wenchangliu
a71e7d1dcc update odd resolution support in vpx and av1 codecs
[VSR-4.2.004.001] MUST support the smallest width/height alignment allowed
by the video standard. For AVC/HEVC/VCC, this requires 2x2 pixel alignment
for YUV 4:2:0 profiles, and 2x1 pixel alignment for YUV 4:2:2 profiles.
For VP8/VP9/AV1, this requires 1x1 pixel alignment for any profiles.
Note: This is usually stored as the crop rectangle in the bitstream.

Bug: 329378524
Test: CtsMediaV2TestCases
Change-Id: I0e84a342bf1093c74c712d2c811b37eca9c7908c
2024-04-10 11:20:32 +00:00
Jean-Michel Trivi
a431ade8d9 Include Dolby codecs
Include Dolby codecs for non-AOSP builds.

Bug: 248402995
Test: verify DD+ codec selected in select VoD apps
Change-Id: I1545b67bea525dc3d28c1da124caa774df5c6ed6
2022-09-29 21:07:44 +00:00
Ruofei Ma
079810e65b Revert "update performance-point for media performance class 13"
This reverts commit 53eef4db82.

Reason for revert: We do not need to support media performance class 13 for P21 devices and this change is causing regression in P21 so we have to revert it.

Bug: 235027936

Change-Id: I51099b94ac635e001cd56dd6cd250b1b8e0bd9f4
2022-06-16 17:26:14 +00:00
wenchangliu
53eef4db82 update performance-point for media performance class 13
Support 6 instances of hardware video encoder/decoder
sessions (AVC, HEVC, VP9 or AV1) in any codec combination
running concurrently at 1080p resolution@30fps.

Bug: 233775011
Test: CtsMediaPerformanceClassTestCases
Test: CtsMediaEncoderTestCases
Test: android.media.misc.cts.MediaCodecListTest#testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints
Change-Id: I0f260d83164cb8b4944a4a603408400c0c3a7184
2022-05-27 02:01:57 +00:00
Vinay Kalia
4f62d6b733 Support height/width swap
Enable support for height/width swap so that vertical videos
with supported resolution can be played with HW AV1 decoder.

bug: 195409679
Test: AV1 video playback in vertical as well as horizontal orientation.

Signed-off-by: Vinay Kalia <vinaykalia@google.com>
Change-Id: I939f6a0dc432f6b1c92a1e818647afb66c20d856
2021-08-03 17:15:51 +00:00
Ruofei Ma
d2e0f9f79b Publish performance points for 720p video
Publish performance points for 720p video. This fixes
a CTS testcase.

Bug: 195356114
Change-Id: Iddd8e3ed5edbdf35735fa679ab516a5f84bbdb0e
2021-08-03 15:36:09 +00:00
Vinay Kalia
dc873081f9 Enable adaptive playback feature for AV1
bug: 188121584
Test: Secure AV1 playback

Signed-off-by: Vinay Kalia <vinaykalia@google.com>
Change-Id: I32961ea6e21103a4dfd9adb201f3ceccd2b31995
2021-05-19 20:05:04 +00:00
Ruofei Ma
ccd044049a Publish performance points for AV1 codec
Publish performance points and fix capabilities.

BUG: 184694421

Signed-off-by: Ruofei Ma <ruofeim@google.com>
Change-Id: I9ca128c0055249967035bf0052a857a043939b43
2021-04-16 06:06:30 +00:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00