aboutsummaryrefslogtreecommitdiff
path: root/src/enc/vp8li.h
diff options
context:
space:
mode:
authorVikas Arora <vikasa@google.com>2014-07-25 13:53:32 -0700
committerVikas Arora <vikasa@google.com>2014-07-25 13:53:32 -0700
commit33f74dabbc7920a65ed435d7417987589febdc16 (patch)
treeb4a6d3345d23e0c12ea82ab354b75c83c7309516 /src/enc/vp8li.h
parent40d327484446eb6adea41a817b2fb218d00a7649 (diff)
downloadwebp-33f74dabbc7920a65ed435d7417987589febdc16.tar.gz
Sync-patch with libwebp ver 0.4.1-rc1.
Sync-patch with libwebp ver 0.4.1-rc1 (change#I5346984d2). - NEON assembly optimizations: - ~25% faster lossy decode / encode (-m 4) - ~10% faster lossless decode - ~5-10% faster lossless encode (-m 3/4) - Arch64 (arm64) & MIPS support/optimizations. Change-Id: I855b65cec8fad5ec567c276b698e7714dc4bffd2
Diffstat (limited to 'src/enc/vp8li.h')
-rw-r--r--src/enc/vp8li.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/enc/vp8li.h b/src/enc/vp8li.h
index 236acb8a..4543c3b2 100644
--- a/src/enc/vp8li.h
+++ b/src/enc/vp8li.h
@@ -14,6 +14,7 @@
#ifndef WEBP_ENC_VP8LI_H_
#define WEBP_ENC_VP8LI_H_
+#include "./backward_references.h"
#include "./histogram.h"
#include "../utils/bit_writer.h"
#include "webp/encode.h"
@@ -45,6 +46,12 @@ typedef struct {
int use_palette_;
int palette_size_;
uint32_t palette_[MAX_PALETTE_SIZE];
+
+ // Some 'scratch' (potentially large) objects.
+ struct VP8LBackwardRefs refs_[2]; // Backward Refs array corresponding to
+ // LZ77 & RLE coding.
+ VP8LHashChain hash_chain_; // HashChain data for constructing
+ // backward references.
} VP8LEncoder;
//------------------------------------------------------------------------------