Searched refs:WEBP_VP8_HEADER_SIZE (Results 1 – 4 of 4) sorted by relevance
35 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()
18 static const size_t WEBP_VP8_HEADER_SIZE = 30; variable
46 return WEBP_VP8_HEADER_SIZE; in MinBufferedBytesNeeded()
50 static const size_t WEBP_VP8_HEADER_SIZE = 64; variable55 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()