Commit graph

6 commits

Author SHA1 Message Date
Wen Chang Liu
e0e5b17335 Add dynamic color aspects support for vp8 decoder
All decoders for compression technologies that were introduced
after 2002 must support dynamic color aspects feature on CHIPSETs
that set ro.board.first_api_level to V or higher.

Bug: 376412691
Flag: EXEMPT resource only update
Test: run cts -m CtsMediaV2TestCases -t android.mediav2.cts.CodecInfoTest
Change-Id: I0edc9eb80ac0478499e5d50c982f9893131c184d
2024-11-04 14:30:11 +00:00
Wen Chang Liu
7c7154dd1c Support FEATURE_HlgEditing for MPC15
[5.1/H-1-20] MUST support the Feature_HdrEditing feature for all
hardware AV1 and HEVC encoders present on the device at 4K
resolution or the largest Camera-supported resolution,
whichever is less.

Bug: 343146210
Bug: 343864145
Flag: EXEMPT resource only update
Test: run cts -m CtsMediaPerformanceClassTestCases -- --module-arg \
      CtsMediaPerformanceClassTestCases:instrumentation-arg:media-performance-class:=35
Change-Id: I362b9b8cc349f58869aa51322d35930e29a8d2b8
2024-09-18 06:55:18 +00:00
Wen Chang Liu
5fcf705434 Support FEATURE_DynamicColorAspect for MPC15
[5.1/H-1-21] MUST support FEATURE_DynamicColorAspect for all
hardware video decoders (AVC, HEVC, VP9, AV1, or later).

Bug: 343864145
Flag: EXEMPT resource only update
Test: run cts -m CtsMediaPerformanceClassTestCases -- --module-arg \
      CtsMediaPerformanceClassTestCases:instrumentation-arg:media-performance-class:=35
Test: run cts -m CtsMediaV2TestCases -t android.mediav2.cts.DecoderDynamicColorAspectTest
Test: run cts -m CtsMediaV2TestCases -t android.mediav2.cts.AdaptivePlaybackTest
Change-Id: I97c2e683f2290a91e40be77f595b1043c548db6d
2024-09-18 06:50:16 +00:00
wenchangliu
6afae0f816 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-01 04:12:02 +00:00
wenchangliu
b2fd1cd5a9 sync media_codecs_[bo_c2|aosp_c2|performance_c2].xml from zuma
Bug: 301897167
Test: run cts -m CtsVideoTestCases -t android.video.cts.VideoEncoderDecoderTest
Test: run cts -m CtsMediaDecoderTestCases -t android.media.decoder.cts.VideoDecoderPerfTest
Change-Id: Iae546e1e759f1e11555979b6d722ee39aa0cbc9f
2023-09-25 11:20:22 +00:00
Robin Peng
dec234f475 init zumapro from zuma sha 4daedb8feb4d4
Bug: 272725898
Change-Id: I1e1ab5d15e7f4b2b59e28f2e52e07cd7e12f25b3
2023-03-31 15:10:16 +00:00