From da4eb5e611f389cf1b9777da3adf313a9cd039c4 Mon Sep 17 00:00:00 2001 From: wenchangliu Date: Mon, 1 Apr 2024 04:05:05 +0000 Subject: [PATCH] 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 --- media_codecs_aosp_c2.xml | 10 +++++----- media_codecs_bo_c2.xml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/media_codecs_aosp_c2.xml b/media_codecs_aosp_c2.xml index c1d4a891..ab61ca92 100644 --- a/media_codecs_aosp_c2.xml +++ b/media_codecs_aosp_c2.xml @@ -108,7 +108,7 @@ - + @@ -122,7 +122,7 @@ - + @@ -137,7 +137,7 @@ - + @@ -222,7 +222,7 @@ - + @@ -238,7 +238,7 @@ - + diff --git a/media_codecs_bo_c2.xml b/media_codecs_bo_c2.xml index 443c27e4..ebafe959 100644 --- a/media_codecs_bo_c2.xml +++ b/media_codecs_bo_c2.xml @@ -19,7 +19,7 @@ - + @@ -34,7 +34,7 @@ - + @@ -52,7 +52,7 @@ - +