Skip to content

Commit

Permalink
[Encode] Modify features sensitive name
Browse files Browse the repository at this point in the history
* [Encode] Modify features name

Modify features name, including lut modify and scc/aqm/fastpass name open
  • Loading branch information
Bossonor authored and intel-mediadev committed Aug 16, 2024
1 parent 43d94f2 commit c121252
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 - 2023, Intel Corporation
* Copyright (c) 2021 - 2024, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -31,11 +31,8 @@
#include "encode_av1_vdenc_const_settings_xe_lpm_plus_base.h"
#include "encode_av1_pipeline.h"
#include "encode_av1_vdenc_lpla_enc.h"

#if _MEDIA_RESERVED
#define ENCODE_AV1_RESERVED_FRATURE1
#include "encode_av1_feature_ext.h"
#undef ENCODE_AV1_RESERVED_FRATURE1
#include "encode_av1_aqm.h"
#endif // !(_MEDIA_RESERVED)

namespace encode
Expand Down Expand Up @@ -83,8 +80,8 @@ MOS_STATUS EncodeAv1VdencFeatureManagerXe_Lpm_Plus_Base::CreateFeatures(void *co
ENCODE_CHK_STATUS_RETURN(RegisterFeatures(Av1FeatureIDs::av1LplaEncFeature, lplaEnc, {Av1Pipeline::encodePreEncPacket}));

#if _MEDIA_RESERVED
Av1ReservedFeature1* av1ReservedFeature1 = MOS_New(Av1ReservedFeature1, this, m_allocator, m_hwInterface, constSettings);
ENCODE_CHK_STATUS_RETURN(RegisterFeatures(Av1FeatureIDs::av1ReservedFeatureID3, av1ReservedFeature1, {Av1Pipeline::encodePreEncPacket}));
Av1EncodeAqm *encAqm = MOS_New(Av1EncodeAqm, this, m_allocator, m_hwInterface, constSettings);
ENCODE_CHK_STATUS_RETURN(RegisterFeatures(Av1FeatureIDs::av1Aqm, encAqm, { Av1Pipeline::encodePreEncPacket }));
#endif // !(_MEDIA_RESERVED)
return MOS_STATUS_SUCCESS;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020 - 2023, Intel Corporation
* Copyright (c) 2020 - 2024, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -41,6 +41,9 @@ struct Av1FeatureIDs : public FeatureIDs
av1BrcFeature,
av1LplaEncFeature,
av1FullEncFeature,
av1Scc,
av1Aqm,
av1FastPass,
#if _MEDIA_RESERVED
#define AV1_FEATURE_IDS_EXT
#include "encode_av1_vdenc_feature_defs_ext.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ struct _MHW_PAR_T(VDENC_PIPE_MODE_SELECT)
uint8_t VdencPipeModeSelectPar6 = 0;
uint8_t VdencPipeModeSelectPar7 = 0;
uint8_t VdencPipeModeSelectPar8 = 0;
bool VdencPipeModeSelectPar9 = false;
uint8_t VdencPipeModeSelectPar10 = 0;
uint8_t VdencPipeModeSelectPar11 = 0;
bool fastPassEn = false;
uint8_t fastPassScale = 0;
uint8_t DownScaleType = 0;
uint8_t VdencPipeModeSelectPar12 = 0;
uint8_t VdencPipeModeSelectPar13 = 0;
};
Expand Down

0 comments on commit c121252

Please sign in to comment.