mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
make VP8LPredictor[01]_C() static
Only predictors 2-13 are reused in lossless_enc.c. Change-Id: Ia3a7342fccfb44b9ad5297f48d6be2d96af68ec8
This commit is contained in:
parent
f9a480f7c3
commit
1a29fd2fc3
@ -107,14 +107,14 @@ static WEBP_INLINE uint32_t Select(uint32_t a, uint32_t b, uint32_t c) {
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// Predictors
|
// Predictors
|
||||||
|
|
||||||
uint32_t VP8LPredictor0_C(const uint32_t* const left,
|
static uint32_t VP8LPredictor0_C(const uint32_t* const left,
|
||||||
const uint32_t* const top) {
|
const uint32_t* const top) {
|
||||||
(void)top;
|
(void)top;
|
||||||
(void)left;
|
(void)left;
|
||||||
return ARGB_BLACK;
|
return ARGB_BLACK;
|
||||||
}
|
}
|
||||||
uint32_t VP8LPredictor1_C(const uint32_t* const left,
|
static uint32_t VP8LPredictor1_C(const uint32_t* const left,
|
||||||
const uint32_t* const top) {
|
const uint32_t* const top) {
|
||||||
(void)top;
|
(void)top;
|
||||||
return *left;
|
return *left;
|
||||||
}
|
}
|
||||||
|
@ -32,10 +32,6 @@ typedef uint32_t (*VP8LPredictorFunc)(const uint32_t* const left,
|
|||||||
const uint32_t* const top);
|
const uint32_t* const top);
|
||||||
extern VP8LPredictorFunc VP8LPredictors[16];
|
extern VP8LPredictorFunc VP8LPredictors[16];
|
||||||
|
|
||||||
uint32_t VP8LPredictor0_C(const uint32_t* const left,
|
|
||||||
const uint32_t* const top);
|
|
||||||
uint32_t VP8LPredictor1_C(const uint32_t* const left,
|
|
||||||
const uint32_t* const top);
|
|
||||||
uint32_t VP8LPredictor2_C(const uint32_t* const left,
|
uint32_t VP8LPredictor2_C(const uint32_t* const left,
|
||||||
const uint32_t* const top);
|
const uint32_t* const top);
|
||||||
uint32_t VP8LPredictor3_C(const uint32_t* const left,
|
uint32_t VP8LPredictor3_C(const uint32_t* const left,
|
||||||
|
Loading…
Reference in New Issue
Block a user