MCPcopy Create free account
hub / github.com/Tencent/libpag / VP8CheckSignature

Function VP8CheckSignature

src/codec/utils/WebpDecoder.cpp:238–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238int VP8CheckSignature(const uint8_t* const data, size_t data_size) {
239 return (data_size >= 3 && data[0] == 0x9d && data[1] == 0x01 && data[2] == 0x2a);
240}
241
242int VP8GetInfo(const uint8_t* data, size_t data_size, size_t chunk_size, int* const width,
243 int* const height) {

Callers 1

VP8GetInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected