Skip to content

Commit

Permalink
[VP] corect clearview colorspace for Ocl FC
Browse files Browse the repository at this point in the history
corect clearview colorspace for Ocl  FC.
  • Loading branch information
Alex1Zhang authored and intel-mediadev committed Oct 17, 2024
1 parent 0adaeff commit 6db4a03
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions media_softlet/agnostic/common/vp/hal/pipeline/vp_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@ class VpBase

VpExtIntfBase *extIntf = nullptr;

virtual bool IsOclFCEnabled()
{
return false;
}

protected:
virtual bool IsApoEnabled()
{
Expand Down
5 changes: 5 additions & 0 deletions media_softlet/agnostic/common/vp/hal/pipeline/vp_pipeline.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ class VpPipeline : public MediaPipeline
return m_allocator;
}

virtual bool IsOclFCEnabled()
{
return m_vpMhwInterface.m_userFeatureControl->EnableOclFC();
}

// for debug purpose
#if (_DEBUG || _RELEASE_INTERNAL)
//!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ class VpPipelineAdapter : public VpPipelineAdapterBase
virtual MOS_STATUS Execute(PVP_PIPELINE_PARAMS params) = 0;

virtual void Destroy();
virtual bool IsOclFCEnabled()
{
return m_vpPipeline->IsOclFCEnabled();
}

protected:
//!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include "vp_debug.h"
#include "vp_user_setting.h"
#include "renderhal_platform_interface.h"
#include "vp_user_feature_control.h"

VpPipelineAdapterBase::VpPipelineAdapterBase(
vp::VpPlatformInterface &vpPlatformInterface,
Expand Down

0 comments on commit 6db4a03

Please sign in to comment.