Home
last modified time | relevance | path

Searched refs:riff_size (Results 1 – 6 of 6) sorted by relevance

/external/webp/src/enc/
Dsyntax_enc.c38 size_t riff_size) { in PutRIFFHeader() argument
43 assert(riff_size == (uint32_t)riff_size); in PutRIFFHeader()
44 PutLE32(riff + TAG_SIZE, (uint32_t)riff_size); in PutRIFFHeader()
150 size_t vp8_size, size_t riff_size) { in PutWebPHeaders() argument
155 err = PutRIFFHeader(enc, riff_size); in PutWebPHeaders()
324 size_t vp8_size, pad, riff_size; in VP8EncWrite() local
343 riff_size = TAG_SIZE + CHUNK_HEADER_SIZE + vp8_size; in VP8EncWrite()
345 riff_size += CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE; in VP8EncWrite()
350 riff_size += CHUNK_HEADER_SIZE + padded_alpha_size; in VP8EncWrite()
353 if (riff_size > 0xfffffffeU) { in VP8EncWrite()
[all …]
Dvp8l_enc.c1138 size_t riff_size, size_t vp8l_size) { in WriteRiffHeader() argument
1143 PutLE32(riff + TAG_SIZE, (uint32_t)riff_size); in WriteRiffHeader()
1176 const size_t riff_size = TAG_SIZE + CHUNK_HEADER_SIZE + vp8l_size + pad; in WriteImage() local
1178 err = WriteRiffHeader(pic, riff_size, vp8l_size); in WriteImage()
1193 *coded_size = CHUNK_HEADER_SIZE + riff_size; in WriteImage()
/external/webp/src/mux/
Dmuxread.c55 size_t riff_size, int copy_data) { in ChunkVerifyAndAssign() argument
66 if (chunk_disk_size > riff_size) return WEBP_MUX_BAD_DATA; in ChunkVerifyAndAssign()
176 size_t riff_size; in WebPMuxCreateInternal() local
215 riff_size = GetLE32(data + TAG_SIZE); in WebPMuxCreateInternal()
216 if (riff_size > MAX_CHUNK_PAYLOAD) goto Err; in WebPMuxCreateInternal()
220 riff_size = SizeWithPadding(riff_size); in WebPMuxCreateInternal()
221 if (riff_size < CHUNK_HEADER_SIZE) goto Err; in WebPMuxCreateInternal()
222 if (riff_size > size) goto Err; in WebPMuxCreateInternal()
224 if (size > riff_size + CHUNK_HEADER_SIZE) { in WebPMuxCreateInternal()
225 size = riff_size + CHUNK_HEADER_SIZE; in WebPMuxCreateInternal()
[all …]
/external/webp/src/dec/
Dwebp_dec.c56 size_t* const riff_size) { in ParseRIFF() argument
59 assert(riff_size != NULL); in ParseRIFF()
61 *riff_size = 0; // Default: no RIFF present. in ParseRIFF()
78 *riff_size = size; in ParseRIFF()
148 size_t const riff_size, in ParseOptionalChunks() argument
186 if (riff_size > 0 && (total_size > riff_size)) { in ParseOptionalChunks()
224 size_t riff_size, size_t* const chunk_size, in ParseVP8Header() argument
244 if ((riff_size >= minimal_size) && (size > riff_size - minimal_size)) { in ParseVP8Header()
305 status = ParseRIFF(&data, &data_size, have_all_data, &hdrs.riff_size); in ParseHeadersInternal()
309 found_riff = (hdrs.riff_size > 0); in ParseHeadersInternal()
[all …]
Dwebpi_dec.h65 size_t riff_size; // size of the riff payload (or 0 if absent) member
/external/webp/src/demux/
Ddemux.c374 uint32_t riff_size; in ReadHeader() local
383 riff_size = GetLE32(GetBuffer(mem) + TAG_SIZE); in ReadHeader()
384 if (riff_size < CHUNK_HEADER_SIZE) return PARSE_ERROR; in ReadHeader()
385 if (riff_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ReadHeader()
388 mem->riff_end_ = riff_size + CHUNK_HEADER_SIZE; in ReadHeader()