mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 12:28:26 +01:00
lossless: Inlining add literal
this is a simple speedup of about 1-2 % Change-Id: I0c7b01c0a69f4aeaf363ffda05a28871f1def696
This commit is contained in:
parent
8e9c94dedb
commit
c4855ca249
@ -320,7 +320,7 @@ static int HashChainFindCopy(const VP8LHashChain* const p,
|
||||
return (best_length >= MIN_LENGTH);
|
||||
}
|
||||
|
||||
static void AddSingleLiteral(uint32_t pixel, int use_color_cache,
|
||||
static WEBP_INLINE void AddSingleLiteral(uint32_t pixel, int use_color_cache,
|
||||
VP8LColorCache* const hashers,
|
||||
VP8LBackwardRefs* const refs) {
|
||||
PixOrCopy v;
|
||||
|
Loading…
Reference in New Issue
Block a user