Commit graph

16 commits

Author SHA1 Message Date
wenchangliu
fd583d1d11 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
bad22b4210 Update same maximum resolution capability for hevc
Bug: 275024348
Test: atest android.videocodec.cts.VideoEncoderMinMaxTest
Change-Id: Ic3a1a31ebced2ede8e377494f3fc64e721a9a864
2023-04-14 02:36:26 +00:00
wenchangliu
856edb8471 update bitrate modes capability for video encoder
Bug: 236896946
Test: check support bitrate modes from getEncoderCapabilities()
Change-Id: I07f824df9f47d3476438604a7fb4e5ab4ee55870
2022-08-09 09:48:44 +00:00
wenchangliu
0da7092027 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: 235188037
Test: CtsMediaPerformanceClassTestCases
Test: CtsMediaEncoderTestCases
Change-Id: Ie2f4cd437f57c4a011cfd3f332193eb3276c39a7
2022-07-14 15:46:42 +00:00
Ruofei Ma
267f8c4fdf Revert "update performance-point for media performance class 13" am: ac51c392a7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/18608486

Change-Id: Ib7ae86e5e6c0170d8cfc6d6221cad1eadc681f43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-26 16:15:51 +00:00
Ruofei Ma
ac51c392a7 Revert "update performance-point for media performance class 13"
This reverts commit aafcfa6c85.

Reason for revert: This is actually not needed in tm-dev. It is no harm but revert it to be safe.

Change-Id: I7d0740af4615d7fcf8db7349f0f3f31e207fe274
2022-05-26 01:18:04 +00:00
wenchangliu
aafcfa6c85 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: 229938655
Test: CtsMediaPerformanceClassTestCases
Test: CtsMediaEncoderTestCases
Test: android.media.misc.cts.MediaCodecListTest#testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints
Change-Id: I0f260d83164cb8b4944a4a603408400c0c3a7184
(cherry picked from commit 7e3c3434c5)
2022-05-25 23:59:39 +00:00
wenchangliu
3d27a888f1 Add HDR Editing feature support for HEVC encoder
Bug: 211519296
Test: check isFeatureSupported() from MediaCodecInfo API
Change-Id: Ie1cb08798f086627cdff866cd10f7398f70f968a
2022-05-23 10:02:36 +00:00
Taehwan Kim
72d9775cae update media_codecs_aosp_c2.xml
- add "encoding-statistics" for video encoder

Bug: 222205463
Test: android.media.codec.cts.VideoEncodingStatisticsTest

Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Ie8bb83d472484949432dec65f15841b49d0c5f54
2022-05-11 05:01:26 +00:00
Taehwan Kim
81071702b2 update media_codecs_aosp_c2.xml for decoder
Bug: 231283341
Test: CtsMediaDecoderTestCases
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Ibb11d86d247b9535cea25427982b8b7f16eac9d8
2022-05-11 00:22:06 +00:00
wenchangliu
7e3c3434c5 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: 229938655
Test: CtsMediaPerformanceClassTestCases
Test: CtsMediaEncoderTestCases
Test: android.media.misc.cts.MediaCodecListTest#testAllHardwareAcceleratedVideoCodecsPublishPerformancePoints
Change-Id: I0f260d83164cb8b4944a4a603408400c0c3a7184
2022-05-11 00:22:06 +00:00
wenchangliu
dced35e5c5 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-09 08:29:01 +00:00
wenchangliu
4c25179eca update media_codecs_aosp_c2.xml
- add performance-point for media performance class
 - add "vq-minimum-quality" for video codec

Bug: 220249926
Test: atest android.mediapc.cts.MultiTranscoderPerfTest
Test: minimum quality test
Change-Id: I6b1db8fd918fa032678b44faf5f87ff093daab2d
2022-02-25 13:40:01 +00:00
Taehwan Kim
4f6385ae81 update media_codecs_aosp_c2.xml
Bug: 206057011
Test: CtsMediaV2TestCases
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Ib2724d03aee1deb35822491855168523a044ec12
2022-01-18 11:47:36 +00:00
Taehwan Kim
cb898663cb add "can-swap-width-height" for video codec
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: Icf149b2ea817785888f2605862d17a925fcac9b5
2021-06-16 23:08:42 +00:00
Aaron Ding
bb4beafe47 Create gs201 device folder baseline
clone from gs101 sha 9d1c97c2

Bug: 183183095
Change-Id: Ie7112bdf0aceb33c9e1956aa52e961b670582733
2021-05-19 13:35:26 +08:00