Define MAX_TRANSFORM_BITS according to the specification.

Change-Id: I0d575aa84e143bea56b55deb8f42b44e13dd5f1e
This commit is contained in:
Vincent Rabaud
2024-05-07 09:16:02 +02:00
parent 64d1ec23ac
commit 1e462ca80e
2 changed files with 4 additions and 3 deletions

View File

@ -34,7 +34,7 @@ extern "C" {
#endif
// maximum value of transform_bits_ in VP8LEncoder.
#define MAX_TRANSFORM_BITS 6
#define MAX_TRANSFORM_BITS (MIN_TRANSFORM_BITS + (1 << NUM_TRANSFORM_BITS) - 1)
typedef enum {
kEncoderNone = 0,