|
37 | 37 | #include "encode_av1_vdenc_lpla_enc.h" |
38 | 38 | #include "encode_av1_pipeline.h" |
39 | 39 | #include "encode_av1_tile_xe2_hpm.h" |
40 | | -#if _MEDIA_RESERVED |
41 | | -#include "encode_av1_feature_ext.h" |
42 | | -#endif // !(_MEDIA_RESERVED) |
| 40 | +#include "encode_av1_rounding_table.h" |
43 | 41 |
|
44 | 42 | namespace encode |
45 | 43 | { |
@@ -77,10 +75,9 @@ MOS_STATUS EncodeAv1VdencFeatureManagerXe2_Hpm::CreateFeatures(void *constSettin |
77 | 75 | Av1EncodeAqm *encAqm = MOS_New(Av1EncodeAqm, this, m_allocator, m_hwInterface, constSettings); |
78 | 76 | ENCODE_CHK_STATUS_RETURN(RegisterFeatures(Av1FeatureIDs::av1Aqm, encAqm, { Av1Pipeline::encodePreEncPacket })); |
79 | 77 |
|
80 | | -#if _MEDIA_RESERVED |
81 | | - Av1ReservedFeature1* av1ReservedFeature1 = MOS_New(Av1ReservedFeature1, this, m_hwInterface, constSettings); |
82 | | - ENCODE_CHK_STATUS_RETURN(RegisterFeatures(Av1FeatureIDs::av1ReservedFeatureID2, av1ReservedFeature1, {Av1Pipeline::encodePreEncPacket})); |
83 | | -#endif // _MEDIA_RESERVED |
| 78 | + Av1EncodeRoundingTable *encRoundingTable = MOS_New(Av1EncodeRoundingTable, this, m_hwInterface, constSettings); |
| 79 | + MEDIA_CHK_NULL_RETURN(encRoundingTable); |
| 80 | + ENCODE_CHK_STATUS_RETURN(RegisterFeatures(Av1FeatureIDs::av1LookupTableRounding, encRoundingTable, { Av1Pipeline::encodePreEncPacket })); |
84 | 81 |
|
85 | 82 | Av1VdencPreEnc* av1Preenc = MOS_New(Av1VdencPreEnc, this, m_allocator, m_hwInterface, m_trackedBuf, m_recycleResource, constSettings); |
86 | 83 | ENCODE_CHK_STATUS_RETURN(RegisterFeatures(FeatureIDs::preEncFeature, av1Preenc, { Av1Pipeline::encodePreEncPacket }, LIST_TYPE::ALLOW_LIST)); |
|
0 commit comments