Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libwebp/enc/
Dsyntax.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()
318 size_t vp8_size, pad, riff_size; in VP8EncWrite() local
337 riff_size = TAG_SIZE + CHUNK_HEADER_SIZE + vp8_size; in VP8EncWrite()
339 riff_size += CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE; in VP8EncWrite()
344 riff_size += CHUNK_HEADER_SIZE + padded_alpha_size; in VP8EncWrite()
347 if (riff_size > 0xfffffffeU) { in VP8EncWrite()
[all …]
Dvp8l.c783 size_t riff_size, size_t vp8l_size) { in WriteRiffHeader() argument
788 PutLE32(riff + TAG_SIZE, (uint32_t)riff_size); in WriteRiffHeader()
821 const size_t riff_size = TAG_SIZE + CHUNK_HEADER_SIZE + vp8l_size + pad; in WriteImage() local
823 err = WriteRiffHeader(pic, riff_size, vp8l_size); in WriteImage()
838 *coded_size = CHUNK_HEADER_SIZE + riff_size; in WriteImage()
/external/webp/src/enc/
Dsyntax.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()
318 size_t vp8_size, pad, riff_size; in VP8EncWrite() local
337 riff_size = TAG_SIZE + CHUNK_HEADER_SIZE + vp8_size; in VP8EncWrite()
339 riff_size += CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE; in VP8EncWrite()
344 riff_size += CHUNK_HEADER_SIZE + padded_alpha_size; in VP8EncWrite()
347 if (riff_size > 0xfffffffeU) { in VP8EncWrite()
[all …]
Dvp8l.c783 size_t riff_size, size_t vp8l_size) { in WriteRiffHeader() argument
788 PutLE32(riff + TAG_SIZE, (uint32_t)riff_size); in WriteRiffHeader()
821 const size_t riff_size = TAG_SIZE + CHUNK_HEADER_SIZE + vp8l_size + pad; in WriteImage() local
823 err = WriteRiffHeader(pic, riff_size, vp8l_size); in WriteImage()
838 *coded_size = CHUNK_HEADER_SIZE + riff_size; in WriteImage()
/external/webp/src/dec/
Dwebp.c63 size_t* const riff_size) { in ParseRIFF() argument
66 assert(riff_size != NULL); in ParseRIFF()
68 *riff_size = 0; // Default: no RIFF present. in ParseRIFF()
85 *riff_size = size; in ParseRIFF()
155 size_t const riff_size, in ParseOptionalChunks() argument
193 if (riff_size > 0 && (total_size > riff_size)) { in ParseOptionalChunks()
231 size_t riff_size, size_t* const chunk_size, in ParseVP8Header() argument
251 if ((riff_size >= minimal_size) && (size > riff_size - minimal_size)) { in ParseVP8Header()
313 status = ParseRIFF(&data, &data_size, have_all_data, &hdrs.riff_size); in ParseHeadersInternal()
317 found_riff = (hdrs.riff_size > 0); in ParseHeadersInternal()
[all …]
Dwebpi.h62 size_t riff_size; // size of the riff payload (or 0 if absent) member
/external/chromium_org/third_party/libwebp/dec/
Dwebp.c63 size_t* const riff_size) { in ParseRIFF() argument
66 assert(riff_size != NULL); in ParseRIFF()
68 *riff_size = 0; // Default: no RIFF present. in ParseRIFF()
85 *riff_size = size; in ParseRIFF()
155 size_t const riff_size, in ParseOptionalChunks() argument
193 if (riff_size > 0 && (total_size > riff_size)) { in ParseOptionalChunks()
231 size_t riff_size, size_t* const chunk_size, in ParseVP8Header() argument
251 if ((riff_size >= minimal_size) && (size > riff_size - minimal_size)) { in ParseVP8Header()
313 status = ParseRIFF(&data, &data_size, have_all_data, &hdrs.riff_size); in ParseHeadersInternal()
317 found_riff = (hdrs.riff_size > 0); in ParseHeadersInternal()
[all …]
Dwebpi.h62 size_t riff_size; // size of the riff payload (or 0 if absent) member
/external/chromium_org/third_party/libwebp/demux/
Ddemux.c396 uint32_t riff_size; in ReadHeader() local
405 riff_size = GetLE32(GetBuffer(mem) + TAG_SIZE); in ReadHeader()
406 if (riff_size < CHUNK_HEADER_SIZE) return PARSE_ERROR; in ReadHeader()
407 if (riff_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ReadHeader()
410 mem->riff_end_ = riff_size + CHUNK_HEADER_SIZE; in ReadHeader()
/external/webp/src/demux/
Ddemux.c396 uint32_t riff_size; in ReadHeader() local
405 riff_size = GetLE32(GetBuffer(mem) + TAG_SIZE); in ReadHeader()
406 if (riff_size < CHUNK_HEADER_SIZE) return PARSE_ERROR; in ReadHeader()
407 if (riff_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ReadHeader()
410 mem->riff_end_ = riff_size + CHUNK_HEADER_SIZE; in ReadHeader()