Home
last modified time | relevance | path

Searched refs:vp8x_size (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/3rdparty/libwebp/demux/
Ddemux.c468 uint32_t vp8x_size; in ParseVP8X() local
475 vp8x_size = ReadLE32(mem); in ParseVP8X()
476 if (vp8x_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ParseVP8X()
477 if (vp8x_size < VP8X_CHUNK_SIZE) return PARSE_ERROR; in ParseVP8X()
478 vp8x_size += vp8x_size & 1; in ParseVP8X()
479 if (SizeIsInvalid(mem, vp8x_size)) return PARSE_ERROR; in ParseVP8X()
480 if (MemDataSize(mem) < vp8x_size) return PARSE_NEED_MORE_DATA; in ParseVP8X()
489 Skip(mem, vp8x_size - VP8X_CHUNK_SIZE); // skip any trailing data. in ParseVP8X()
/external/webp/src/demux/
Ddemux.c529 uint32_t vp8x_size; in ParseVP8X() local
535 vp8x_size = ReadLE32(mem); in ParseVP8X()
536 if (vp8x_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ParseVP8X()
537 if (vp8x_size < VP8X_CHUNK_SIZE) return PARSE_ERROR; in ParseVP8X()
538 vp8x_size += vp8x_size & 1; in ParseVP8X()
539 if (SizeIsInvalid(mem, vp8x_size)) return PARSE_ERROR; in ParseVP8X()
540 if (MemDataSize(mem) < vp8x_size) return PARSE_NEED_MORE_DATA; in ParseVP8X()
549 Skip(mem, vp8x_size - VP8X_CHUNK_SIZE); // skip any trailing data. in ParseVP8X()
/external/opencv3/3rdparty/libwebp/mux/
Dmuxread.c296 const size_t vp8x_size = CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE; in EmitVP8XChunk() local
305 return dst + vp8x_size; in EmitVP8XChunk()
315 const size_t vp8x_size = need_vp8x ? CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE : 0; in SynthesizeBitstream() local
318 const size_t size = RIFF_HEADER_SIZE + vp8x_size + alpha_size + in SynthesizeBitstream()
/external/webp/src/dec/
Dwebp.c98 const uint32_t vp8x_size = CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE; in ParseVP8X() local
118 if (*data_size < vp8x_size) { in ParseVP8X()
132 *data += vp8x_size; in ParseVP8X()
133 *data_size -= vp8x_size; in ParseVP8X()
/external/opencv3/3rdparty/libwebp/dec/
Dwebp.c105 const uint32_t vp8x_size = CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE; in ParseVP8X() local
125 if (*data_size < vp8x_size) { in ParseVP8X()
139 *data += vp8x_size; in ParseVP8X()
140 *data_size -= vp8x_size; in ParseVP8X()