Skip to content

Commit c26d0f2

Browse files
fenhuintel-mediadev
authored andcommitted
[VP] Remove dupliatcated defines on composition.
Remove duplicated defines and revert part codes from change https://gerrit-gfx.intel.com/#/c/516498 Change-Id: Iccc0d3a3aaed09e3498dc03fb340dbf35b62ce1c
1 parent 5cbdd57 commit c26d0f2

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

media_driver/agnostic/common/vp/hal/vphal_render_composite.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@
5555
//!
5656
//! \brief Sampler State Indices
5757
//!
58-
#define VPHAL_SAMPLER_Y 1
59-
#define VPHAL_SAMPLER_U 2
60-
#define VPHAL_SAMPLER_V 3
6158
#define VPHAL_SAMPLER_8x8_AVS_Y 4
6259
#define VPHAL_SAMPLER_8x8_AVS_U 8
6360
#define VPHAL_SAMPLER_8x8_AVS_V 12
@@ -1635,12 +1632,6 @@ bool CompositeState::AddCompLayer(
16351632

16361633
scalingMode = pSource->ScalingMode;
16371634

1638-
// set default Scaling Model as Bilinear if AVS was not supported.
1639-
if (m_need3DSampler && pSource->ScalingMode == VPHAL_SCALING_AVS)
1640-
{
1641-
pSource->ScalingMode = VPHAL_SCALING_BILINEAR;
1642-
}
1643-
16441635
// On Gen9+, Rotation is done in sampler. Multiple phases are not required.
16451636
if (!m_bSamplerSupportRotation)
16461637
{

0 commit comments

Comments
 (0)