Skip to content

Commit

Permalink
[CP] Add SetDecodeFormat interface Xe3
Browse files Browse the repository at this point in the history
Add SetDecodeFormat interface for Xe3 to support AVC FS.
  • Loading branch information
lixin5x authored and intel-mediadev committed Dec 19, 2024
1 parent 75b23e8 commit 2e55cae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,11 @@ GPU_CONTEXT_HANDLE DecodeAvcPipelineAdapterXe3_Lpm_Base::GetDecodeContextHandle(
DECODE_FUNC_CALL();

return m_decoder->GetDecodeContextHandle();
}

MOS_STATUS DecodeAvcPipelineAdapterXe3_Lpm_Base::SetDecodeFormat(bool isShortFormat)
{
DECODE_FUNC_CALL();

return m_decoder->SetDecodeFormat(isShortFormat);
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ class DecodeAvcPipelineAdapterXe3_Lpm_Base : public DecodePipelineAdapter
virtual MOS_GPU_CONTEXT GetDecodeContext() override;
virtual GPU_CONTEXT_HANDLE GetDecodeContextHandle() override;

virtual MOS_STATUS SetDecodeFormat(bool isShortFormat) override;

protected:
std::shared_ptr<decode::AvcPipelineXe3_Lpm_Base> m_decoder;

Expand Down

0 comments on commit 2e55cae

Please sign in to comment.