Searched refs:vp8x_size (Results 1 – 5 of 5) sorted by relevance
468 uint32_t vp8x_size; in ParseVP8X() local475 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()
529 uint32_t vp8x_size; in ParseVP8X() local535 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()
296 const size_t vp8x_size = CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE; in EmitVP8XChunk() local305 return dst + vp8x_size; in EmitVP8XChunk()315 const size_t vp8x_size = need_vp8x ? CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE : 0; in SynthesizeBitstream() local318 const size_t size = RIFF_HEADER_SIZE + vp8x_size + alpha_size + in SynthesizeBitstream()
98 const uint32_t vp8x_size = CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE; in ParseVP8X() local118 if (*data_size < vp8x_size) { in ParseVP8X()132 *data += vp8x_size; in ParseVP8X()133 *data_size -= vp8x_size; in ParseVP8X()
105 const uint32_t vp8x_size = CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE; in ParseVP8X() local125 if (*data_size < vp8x_size) { in ParseVP8X()139 *data += vp8x_size; in ParseVP8X()140 *data_size -= vp8x_size; in ParseVP8X()