Skip to content

Commit 2e55cae

Browse files
lixin5xintel-mediadev
authored andcommitted
[CP] Add SetDecodeFormat interface Xe3
Add SetDecodeFormat interface for Xe3 to support AVC FS.
1 parent 75b23e8 commit 2e55cae

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/avc/pipeline/decode_avc_pipeline_adapter_xe3_lpm_base.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,11 @@ GPU_CONTEXT_HANDLE DecodeAvcPipelineAdapterXe3_Lpm_Base::GetDecodeContextHandle(
141141
DECODE_FUNC_CALL();
142142

143143
return m_decoder->GetDecodeContextHandle();
144+
}
145+
146+
MOS_STATUS DecodeAvcPipelineAdapterXe3_Lpm_Base::SetDecodeFormat(bool isShortFormat)
147+
{
148+
DECODE_FUNC_CALL();
149+
150+
return m_decoder->SetDecodeFormat(isShortFormat);
144151
}

media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/dec/avc/pipeline/decode_avc_pipeline_adapter_xe3_lpm_base.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ class DecodeAvcPipelineAdapterXe3_Lpm_Base : public DecodePipelineAdapter
7474
virtual MOS_GPU_CONTEXT GetDecodeContext() override;
7575
virtual GPU_CONTEXT_HANDLE GetDecodeContextHandle() override;
7676

77+
virtual MOS_STATUS SetDecodeFormat(bool isShortFormat) override;
78+
7779
protected:
7880
std::shared_ptr<decode::AvcPipelineXe3_Lpm_Base> m_decoder;
7981

0 commit comments

Comments
 (0)