Skip to content

Commit c6ab0c9

Browse files
pingliwaintel-mediadev
authored andcommitted
[Encode][PDVT-SH] av1 tu7 perf const setting
perf const setting update for av1 tu7
1 parent 99c1b60 commit c6ab0c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/enc/av1/features/encode_av1_vdenc_const_settings_xe3_lpm_base.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const uint8_t Av1VdencTUConstSettingsXe3_Lpm_Base::vdencCmd2Par151[NUM_TARGET_U
6868
const uint8_t Av1VdencTUConstSettingsXe3_Lpm_Base::vdencCmd2Par100[NUM_TARGET_USAGE_MODES] = {0, 0, 0, 0, 0, 0, 3, 3};
6969
const bool Av1VdencTUConstSettingsXe3_Lpm_Base::vdencCmd2Par94[NUM_TARGET_USAGE_MODES] = {false, false, false, true, true, true, true, true};
7070
const bool Av1VdencTUConstSettingsXe3_Lpm_Base::vdencCmd2Par95[NUM_TARGET_USAGE_MODES] = {false, false, false, false, false, false, true, true};
71-
const uint8_t Av1VdencTUConstSettingsXe3_Lpm_Base::vdencCmd2Par96[NUM_TARGET_USAGE_MODES] = {2, 2, 2, 0, 0, 0, 1, 1};
71+
const uint8_t Av1VdencTUConstSettingsXe3_Lpm_Base::vdencCmd2Par96[NUM_TARGET_USAGE_MODES] = {2, 2, 2, 0, 0, 0, 1, 3};
7272
const bool Av1VdencTUConstSettingsXe3_Lpm_Base::vdencCmd2Par97[NUM_TARGET_USAGE_MODES] = {false, false, false, false, false, false, false, false};
7373
const uint8_t Av1VdencTUConstSettingsXe3_Lpm_Base::vdencCmd2Par98[NUM_TARGET_USAGE_MODES] = {0, 0, 0, 1, 1, 1, 1, 1}; // { 0->leftLCU, 1->lcu32x32};
7474
const uint16_t Av1VdencTUConstSettingsXe3_Lpm_Base::vdencCmd2Par12[NUM_TARGET_USAGE_MODES] = {0x200, 0x200, 0x200, 0x200, 0x200, 0x200, 0x200, 0x200};

media_softlet/agnostic/Xe3_M_plus/Xe3_LPM_base/codec/hal/enc/av1/features/encode_av1_vdenc_const_settings_xe3_lpm_base_open.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ setting->vdencCmd2Settings.emplace_back(
155155
static const uint32_t dw53Lut[8] = { 0xffff, 0xffff, 0xffff, 0xff000000, 0xff000000, 0xff000000, 0, 0,};
156156
data[53] |= dw53Lut[TargetUsage];
157157

158-
static const uint32_t dw54Lut[8][4] = { { 0x200004c0, 0x200004c0, 0x200004c0, 0x200004c0,}, { 0x200004c0, 0x200004c0, 0x200004c0, 0x200004c0,}, { 0x200004c0, 0x20000400, 0x200004c0, 0x20000400,}, { 0x84000480, 0x84000480, 0x84000480, 0x84000480,}, { 0x84000480, 0x84000400, 0x84000480, 0x84000400,}, { 0x84000480, 0x84000480, 0x84000480, 0x84000480,}, { 0x9c00040c, 0x9c00040c, 0x9c00040c, 0x9c00040c,}, { 0x9c00040c, 0x9c00040c, 0x9c00040c, 0x9c00040c,},};
158+
static const uint32_t dw54Lut[8][4] = { { 0x200004c0, 0x200004c0, 0x200004c0, 0x200004c0,}, { 0x200004c0, 0x200004c0, 0x200004c0, 0x200004c0,}, { 0x200004c0, 0x20000400, 0x200004c0, 0x20000400,}, { 0x84000480, 0x84000480, 0x84000480, 0x84000480,}, { 0x84000480, 0x84000400, 0x84000480, 0x84000400,}, { 0x84000480, 0x84000480, 0x84000480, 0x84000480,}, { 0x9c00040c, 0x9c00040c, 0x9c00040c, 0x9c00040c,}, { 0xbc00040c, 0xbc00040c, 0xbc00040c, 0xbc00040c,},};
159159
data[54] |= dw54Lut[TargetUsage][frameType];
160160

161161
static const uint32_t dw56Lut[2][4][4] = { { { 0, 0, 0, 0,}, { 0, 0, 0, 0,}, { 0, 0x300, 0, 0,}, { 0x300, 0, 0, 0,},}, { { 0, 0, 0, 0,}, { 0, 0, 0, 0,}, { 0, 0x300, 0, 0,}, { 0x300, 0, 0, 0x300,},},};

0 commit comments

Comments
 (0)