From efadcbbe3c3a49e6463355d06f3817b630ddc9a1 Mon Sep 17 00:00:00 2001 From: Christa03 Date: Mon, 18 Nov 2024 12:04:37 +0800 Subject: [PATCH] [Encode] Fix AV1e linux A2RGB10 issue * [Encode] Fix AV1e linux A2RGB10 issue Change B10G10A10A2 format depth as 10 --- .../codec/hal/enc/av1/features/encode_av1_basic_feature.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/media_softlet/agnostic/common/codec/hal/enc/av1/features/encode_av1_basic_feature.cpp b/media_softlet/agnostic/common/codec/hal/enc/av1/features/encode_av1_basic_feature.cpp index 80ffd93dbd1..3c46d95797c 100644 --- a/media_softlet/agnostic/common/codec/hal/enc/av1/features/encode_av1_basic_feature.cpp +++ b/media_softlet/agnostic/common/codec/hal/enc/av1/features/encode_av1_basic_feature.cpp @@ -362,6 +362,7 @@ MOS_STATUS Av1BasicFeature::UpdateFormat(void *params) { case Format_P010: case Format_R10G10B10A2: + case Format_B10G10R10A2: m_is10Bit = true; m_bitDepth = 10; break;