Home
last modified time | relevance | path

Searched refs:WEBP_VP8_HEADER_SIZE (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/codec/
DSkWebpCodec.cpp35 unsigned char buffer[WEBP_VP8_HEADER_SIZE]; in webp_parse_header()
36 SkASSERT(WEBP_VP8_HEADER_SIZE <= SkCodec::MinBufferedBytesNeeded()); in webp_parse_header()
38 const size_t bytesPeeked = stream->peek(buffer, WEBP_VP8_HEADER_SIZE); in webp_parse_header()
39 if (bytesPeeked != WEBP_VP8_HEADER_SIZE) { in webp_parse_header()
41 if (stream->read(buffer, WEBP_VP8_HEADER_SIZE) != WEBP_VP8_HEADER_SIZE in webp_parse_header()
47 VP8StatusCode status = WebPGetFeatures(buffer, WEBP_VP8_HEADER_SIZE, &features); in webp_parse_header()
DSkWebpCodec.h18 static const size_t WEBP_VP8_HEADER_SIZE = 30; variable
DSkCodec.cpp46 return WEBP_VP8_HEADER_SIZE; in MinBufferedBytesNeeded()
/external/skia/src/images/
DSkImageDecoder_libwebp.cpp50 static const size_t WEBP_VP8_HEADER_SIZE = 64; variable
55 unsigned char buffer[WEBP_VP8_HEADER_SIZE]; in webp_parse_header()
56 size_t bytesToRead = WEBP_VP8_HEADER_SIZE; in webp_parse_header()
67 SkASSERT(bytesToRead + totalBytesRead == WEBP_VP8_HEADER_SIZE); in webp_parse_header()