mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 12:28:26 +01:00
Always reinit VP8TransformWHT instead of hard-coding
Change-Id: I2012749ed29bd166d2a96555372f0d9baa784385
This commit is contained in:
parent
399b916d27
commit
0d346e418d
@ -153,7 +153,7 @@ static void TransformWHT(const int16_t* in, int16_t* out) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void (*VP8TransformWHT)(const int16_t* in, int16_t* out) = TransformWHT;
|
void (*VP8TransformWHT)(const int16_t* in, int16_t* out);
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// Intra predictions
|
// Intra predictions
|
||||||
@ -696,6 +696,7 @@ extern void VP8DspInitMIPS32(void);
|
|||||||
void VP8DspInit(void) {
|
void VP8DspInit(void) {
|
||||||
VP8InitClipTables();
|
VP8InitClipTables();
|
||||||
|
|
||||||
|
VP8TransformWHT = TransformWHT;
|
||||||
VP8Transform = TransformTwo;
|
VP8Transform = TransformTwo;
|
||||||
VP8TransformUV = TransformUV;
|
VP8TransformUV = TransformUV;
|
||||||
VP8TransformDC = TransformDC;
|
VP8TransformDC = TransformDC;
|
||||||
|
Loading…
Reference in New Issue
Block a user