mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 22:09:57 +02:00
VP8GetInfo() + WebPResetDecParams()
- add an internal VP8GetInfo() to parse header - add WebPResetDecParams() for proper initialization Change-Id: Ic39ea634d1d8016d25bdcfef2cb0d00b6dad83e9
This commit is contained in:
@ -263,6 +263,11 @@ struct VP8Decoder {
|
||||
// in vp8.c
|
||||
int VP8SetError(VP8Decoder* const dec,
|
||||
VP8StatusCode error, const char * const msg);
|
||||
// Validates the VP8 data-header and retrieve basic header information viz width
|
||||
// and height. Returns 0 in case of formatting error. *width/*height can be
|
||||
// passed NULL.
|
||||
int VP8GetInfo(const uint8_t* data, uint32_t data_size,
|
||||
int *width, int *height);
|
||||
|
||||
// in tree.c
|
||||
void VP8ResetProba(VP8Proba* const proba);
|
||||
|
Reference in New Issue
Block a user