Skip to content

Commit

Permalink
React to new padding in mainline v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
juliobbv committed Mar 14, 2024
1 parent 20391f1 commit fe919d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/API/EbSvtAv1Enc.h
Original file line number Diff line number Diff line change
Expand Up @@ -937,10 +937,6 @@ typedef struct EbSvtAv1EncConfiguration {

/* New parameters can go in under this line. Also deduct the size of the parameter */
/* from the padding array */

/*Add 128 Byte Padding to Struct to avoid changing the size of the public configuration struct*/
uint8_t padding[128];

/* @brief Boost low variance regions according to a fast-growing formula
0: no boost
1: mild boost
Expand Down Expand Up @@ -972,6 +968,10 @@ typedef struct EbSvtAv1EncConfiguration {
* Default is 0 (off).
*/
int8_t sharpness;

/*Add 128 Byte Padding to Struct to avoid changing the size of the public configuration struct*/
uint8_t padding[128 - 3 * sizeof(uint8_t) - sizeof(int8_t)];

} EbSvtAv1EncConfiguration;

/**
Expand Down

0 comments on commit fe919d9

Please sign in to comment.