Skip to content

Commit

Permalink
[VP] Remove dupliatcated defines on composition.
Browse files Browse the repository at this point in the history
Remove duplicated defines and revert part codes from change https://gerrit-gfx.intel.com/#/c/516498

Change-Id: Iccc0d3a3aaed09e3498dc03fb340dbf35b62ce1c
  • Loading branch information
fenhu authored and intel-mediadev committed May 16, 2019
1 parent 5cbdd57 commit c26d0f2
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@
//!
//! \brief Sampler State Indices
//!
#define VPHAL_SAMPLER_Y 1
#define VPHAL_SAMPLER_U 2
#define VPHAL_SAMPLER_V 3
#define VPHAL_SAMPLER_8x8_AVS_Y 4
#define VPHAL_SAMPLER_8x8_AVS_U 8
#define VPHAL_SAMPLER_8x8_AVS_V 12
Expand Down Expand Up @@ -1635,12 +1632,6 @@ bool CompositeState::AddCompLayer(

scalingMode = pSource->ScalingMode;

// set default Scaling Model as Bilinear if AVS was not supported.
if (m_need3DSampler && pSource->ScalingMode == VPHAL_SCALING_AVS)
{
pSource->ScalingMode = VPHAL_SCALING_BILINEAR;
}

// On Gen9+, Rotation is done in sampler. Multiple phases are not required.
if (!m_bSamplerSupportRotation)
{
Expand Down

0 comments on commit c26d0f2

Please sign in to comment.