summaryrefslogtreecommitdiff
path: root/modules/brotli/enc/backward_references.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/brotli/enc/backward_references.h')
-rw-r--r--modules/brotli/enc/backward_references.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/brotli/enc/backward_references.h b/modules/brotli/enc/backward_references.h
index 3a4146647c..9589cc1541 100644
--- a/modules/brotli/enc/backward_references.h
+++ b/modules/brotli/enc/backward_references.h
@@ -10,6 +10,7 @@
#define BROTLI_ENC_BACKWARD_REFERENCES_H_
#include "../common/constants.h"
+#include "../common/context.h"
#include "../common/dictionary.h"
#include "../common/platform.h"
#include <brotli/types.h>
@@ -25,10 +26,10 @@ extern "C" {
initially the total amount of commands output by previous
CreateBackwardReferences calls, and must be incremented by the amount written
by this call. */
-BROTLI_INTERNAL void BrotliCreateBackwardReferences(
- size_t num_bytes, size_t position, const uint8_t* ringbuffer,
- size_t ringbuffer_mask, const BrotliEncoderParams* params,
- HasherHandle hasher, int* dist_cache, size_t* last_insert_len,
+BROTLI_INTERNAL void BrotliCreateBackwardReferences(size_t num_bytes,
+ size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask,
+ ContextLut literal_context_lut, const BrotliEncoderParams* params,
+ Hasher* hasher, int* dist_cache, size_t* last_insert_len,
Command* commands, size_t* num_commands, size_t* num_literals);
#if defined(__cplusplus) || defined(c_plusplus)