Skip to content

Commit d3c30f6

Browse files
walter-baiintel-mediadev
authored andcommitted
[Decode] Fix a decode coding style issue
Fix decode HAL referencing MI names from derived class in base class.
1 parent 0ad3a4d commit d3c30f6

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

media_softlet/agnostic/common/hw/mhw_mi_cmdpar.h

+12-2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,16 @@ namespace mi
4747
MHW_MI_SAD_NOT_EQUAL_SDD = 5,
4848
};
4949

50+
enum MI_CONDITIONAL_BATCH_BUFFER_END_COMPARE_OPERATION
51+
{
52+
COMPARE_OPERATION_MADGREATERTHANIDD = 0, //!< If Indirect fetched data is greater than inline data then continue.
53+
COMPARE_OPERATION_MADGREATERTHANOREQUALIDD = 1, //!< If Indirect fetched data is greater than or equal to inline data then continue.
54+
COMPARE_OPERATION_MADLESSTHANIDD = 2, //!< If Indirect fetched data is less than inline data then continue.
55+
COMPARE_OPERATION_MADLESSTHANOREQUALIDD = 3, //!< If Indirect fetched data is less than or equal to inline data then continue.
56+
COMPARE_OPERATION_MADEQUALIDD = 4, //!< If Indirect fetched data is equal to inline data then continue.
57+
COMPARE_OPERATION_MADNOTEQUALIDD = 5, //!< If Indirect fetched data is not equal to inline data then continue.
58+
};
59+
5060
enum MHW_COMMON_MI_ATOMIC_OPCODE
5161
{
5262
MHW_MI_ATOMIC_NONE = 0,
@@ -153,8 +163,8 @@ namespace mi
153163

154164
struct MHW_MI_ENHANCED_CONDITIONAL_BATCH_BUFFER_END_PARAMS : public MHW_MI_CONDITIONAL_BATCH_BUFFER_END_PARAMS
155165
{
156-
bool enableEndCurrentBatchBuffLevel = false;
157-
uint32_t compareOperation = 0;
166+
bool enableEndCurrentBatchBuffLevel = false;
167+
MI_CONDITIONAL_BATCH_BUFFER_END_COMPARE_OPERATION compareOperation = COMPARE_OPERATION_MADGREATERTHANIDD;
158168
enum PARAMS_TYPE
159169
{
160170
ENHANCED_PARAMS = 1

0 commit comments

Comments
 (0)