move static initialization of WebPYUV444Converters[] to the Init function.

Split initialization of YUV444Converters[] out of Upsamplers init.

update test for NULL function pointers

Change-Id: I9603f54250f90c85a12ffbecfd6c59e9b06c47e0
This commit is contained in:
skal
2014-08-27 07:55:34 -07:00
parent 49911d4df2
commit e6c4b52f28
4 changed files with 55 additions and 34 deletions

View File

@ -243,6 +243,8 @@ extern WebPYUV444Converter WebPYUV444Converters[/* MODE_LAST */];
void WebPInitUpsamplers(void);
// Must be called before using WebPSamplers[]
void WebPInitSamplers(void);
// Must be called before using WebPYUV444Converters[]
void WebPInitYUV444Converters(void);
//------------------------------------------------------------------------------
// Utilities for processing transparent channel.