Skip to content

Commit ce5407b

Browse files
chenhao5-IntelgfxVPLsdm
authored andcommitted
[Encode] Update LA_STATS_SIZE to fixed value
Changed LA_STATS_SIZE from calculated value (32 * 2) to hardcoded 480. This removes the comment about enlarging size for VdencHevcLaStats future usage and replaces the expression with its evaluated result. The change maintains the same buffer size (480 bytes) but makes the constant more explicit and removes dependency on the previous calculation rationale.
1 parent 6fb7220 commit ce5407b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_studio/shared/enctools/include/mfxenctools-int.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ extern "C"
4141
#endif /* __cplusplus */
4242

4343
#define LA_DATA_ENTRY_NUM 128
44-
#define LA_STATS_SIZE 32 * 2 //enlarge the size to 2 * sizeof(VdencHevcLaStats) for further usage
44+
#define LA_STATS_SIZE 480
4545
#define LA_DATA_BUFFER_SIZE LA_DATA_ENTRY_NUM * LA_STATS_SIZE
4646

4747
/* Extended Buffer Ids */

0 commit comments

Comments
 (0)