lossless: Inlining add literal

this is a simple speedup of about 1-2 %

Change-Id: I0c7b01c0a69f4aeaf363ffda05a28871f1def696
This commit is contained in:
Jyrki Alakuijala 2015-06-26 14:24:59 +00:00 committed by James Zern
parent 8e9c94dedb
commit c4855ca249

View File

@ -320,7 +320,7 @@ static int HashChainFindCopy(const VP8LHashChain* const p,
return (best_length >= MIN_LENGTH); 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, VP8LColorCache* const hashers,
VP8LBackwardRefs* const refs) { VP8LBackwardRefs* const refs) {
PixOrCopy v; PixOrCopy v;