Searched refs:vp8x_size (Results 1 – 2 of 2) sorted by relevance
459 uint32_t vp8x_size; in ParseVP8X() local466 vp8x_size = ReadLE32(mem); in ParseVP8X()467 if (vp8x_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ParseVP8X()468 if (vp8x_size < VP8X_CHUNK_SIZE) return PARSE_ERROR; in ParseVP8X()469 vp8x_size += vp8x_size & 1; in ParseVP8X()470 if (SizeIsInvalid(mem, vp8x_size)) return PARSE_ERROR; in ParseVP8X()471 if (MemDataSize(mem) < vp8x_size) return PARSE_NEED_MORE_DATA; in ParseVP8X()480 Skip(mem, vp8x_size - VP8X_CHUNK_SIZE); // skip any trailing data. in ParseVP8X()
103 const uint32_t vp8x_size = CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE; in ParseVP8X() local123 if (*data_size < vp8x_size) { in ParseVP8X()137 *data += vp8x_size; in ParseVP8X()138 *data_size -= vp8x_size; in ParseVP8X()