remove the dependency to stop_watch.[ch] in imageio

Passing the 'verbose' flag to DecodeWebP() wasn't mandated,
and was creating a forced dependency between imageio/ and examples/

Change-Id: Ib3d3f381a7b699df369a97cfb44360580422df11
This commit is contained in:
Pascal Massimino
2016-12-12 22:01:36 +01:00
parent fbba5bc2c1
commit cb215aed5c
3 changed files with 20 additions and 34 deletions

View File

@ -38,17 +38,16 @@ int LoadWebP(const char* const in_file,
// Decodes the WebP contained in 'data'.
// 'config' is a structure previously initialized by WebPInitDecoderConfig().
// 'config->output' should have the desired colorspace selected. 'verbose' will
// cause decode timing to be reported.
// 'config->output' should have the desired colorspace selected.
// Returns the decoder status. On success 'config->output' will contain the
// decoded picture.
VP8StatusCode DecodeWebP(const uint8_t* const data, size_t data_size,
int verbose, WebPDecoderConfig* const config);
WebPDecoderConfig* const config);
// Same as DecodeWebP(), but using the incremental decoder.
VP8StatusCode DecodeWebPIncremental(
const uint8_t* const data, size_t data_size,
int verbose, WebPDecoderConfig* const config);
WebPDecoderConfig* const config);
//------------------------------------------------------------------------------