Home
last modified time | relevance | path

Searched refs:chunk_size_padded (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/3rdparty/libwebp/demux/
Ddemux.c500 const uint32_t chunk_size_padded = chunk_size + (chunk_size & 1); in ParseVP8X() local
503 if (SizeIsInvalid(mem, chunk_size_padded)) return PARSE_ERROR; in ParseVP8X()
520 if (chunk_size_padded < ANIM_CHUNK_SIZE) return PARSE_ERROR; in ParseVP8X()
522 if (MemDataSize(mem) < chunk_size_padded) { in ParseVP8X()
528 Skip(mem, chunk_size_padded - ANIM_CHUNK_SIZE); in ParseVP8X()
537 status = ParseAnimationFrame(dmux, chunk_size_padded); in ParseVP8X()
542 status = ParseFragment(dmux, chunk_size_padded); in ParseVP8X()
560 if (chunk_size_padded <= MemDataSize(mem)) { in ParseVP8X()
569 Skip(mem, chunk_size_padded); in ParseVP8X()
/external/webp/src/demux/
Ddemux.c447 const uint32_t chunk_size_padded = chunk_size + (chunk_size & 1); in ParseVP8XChunks() local
450 if (SizeIsInvalid(mem, chunk_size_padded)) return PARSE_ERROR; in ParseVP8XChunks()
467 if (chunk_size_padded < ANIM_CHUNK_SIZE) return PARSE_ERROR; in ParseVP8XChunks()
469 if (MemDataSize(mem) < chunk_size_padded) { in ParseVP8XChunks()
475 Skip(mem, chunk_size_padded - ANIM_CHUNK_SIZE); in ParseVP8XChunks()
484 status = ParseAnimationFrame(dmux, chunk_size_padded); in ParseVP8XChunks()
501 if (chunk_size_padded <= MemDataSize(mem)) { in ParseVP8XChunks()
510 Skip(mem, chunk_size_padded); in ParseVP8XChunks()