Commit graph

14 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
wenchangliu
6a062f176d Update same maximum resolution capability for hevc
Bug: 275024348
Test: atest android.videocodec.cts.VideoEncoderMinMaxTest
Change-Id: Ic3a1a31ebced2ede8e377494f3fc64e721a9a864
2023-04-14 02:37:11 +00:00
wenchangliu
73b675de85 update bitrate modes capability for video encoder
Bug: 236896946
Test: check support bitrate modes from getEncoderCapabilities()
Change-Id: I07f824df9f47d3476438604a7fb4e5ab4ee55870
2022-08-05 04:07:48 +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
Wen Chang Liu
b4dd3ff90f Merge changes from topic "presubmit-am-836e4405ee234d149e41027dcbd9bc29" into sc-v2-dev-plus-aosp am: a718bbd1b9
Original change: undetermined

Change-Id: I5740193201a0c0f61da48c61bb3c5a46cfb7ab0b
2022-03-09 11:00:32 +00:00
wenchangliu
1012636603 Update correct max block counts
Fix incorrcet video resolution capability report from
media_codecs_aosp_c2.xml.

Bug: 222095724
Test: demo-transformer HEVC 2160p transcoding
Change-Id: Ie0bb25c88440f7806b01bcaa49b23980d7f4e45f
2022-03-07 09:35:56 +00:00
Taehwan Kim
5cb4f1d58e update media_codecs_aosp_c2.xml
Bug: 206057011
Test: CtsMediaV2TestCases
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I2274ff54431dd6d14a65bb2ce84eba16c685dc4b
2022-01-18 11:47:36 +00:00
Taehwan Kim
78c5e4b8b3 add "vq-minimum-quality" for video codec
Bug: 182956090
Test: minimum quality test
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Iae5108eb86ef1100d1e542d1cc1c154ce2396934
2021-07-19 06:43:36 +00:00
Taehwan Kim
2fadf61e9f add "can-swap-width-height" for video codec
Bug: 182956090
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Ib71a4eb7cc36682e2bfdd10cd4fdee2665f11c58
2021-07-19 06:43:36 +00:00
byunggwan kang
676f94117f update performance-point at media_codecs_aosp_c2.xml
Bug: 187191316
Test: android.mediapc.cts.MultiTranscoderPairPerfTest

Signed-off-by: byunggwan kang <bk0917.kang@samsung.com>
Change-Id: I69d1244770c118d5e37234b9d1ab85a288d09505
2021-07-06 09:23:00 +00:00
wenchangliu
6a3dcb978f Align video codec max resolution capabilities with block size
Since application(Ex: Youtube) would limit supported quality
list from codec capabilities. We need to align max support resolution
with block size to provide proper codec capabilities.

Bug: 186374258
Test: Playing 2160p video in youtube
Change-Id: I2f26371eb9f22ef7c1f79e2eb193077963cbfc80
2021-04-28 03:23:00 +00:00
Taehwan Kim
a27563b2f4 update media_codecs_aosp_c2.xml
Bug: 184144529
Test: Video call in Snapchat app
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Ib7ab4d3ed4cd9aa49633612ade2b333eff6b99bb
2021-04-14 04:53:00 +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