Searched refs:riff_size (Results 1 – 9 of 9) sorted by relevance
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | syntax_enc.c | 38 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 …]
|
D | vp8l_enc.c | 1357 size_t riff_size, size_t vp8l_size) { in WriteRiffHeader() argument 1362 PutLE32(riff + TAG_SIZE, (uint32_t)riff_size); in WriteRiffHeader() 1395 const size_t riff_size = TAG_SIZE + CHUNK_HEADER_SIZE + vp8l_size + pad; in WriteImage() local 1397 err = WriteRiffHeader(pic, riff_size, vp8l_size); in WriteImage() 1412 *coded_size = CHUNK_HEADER_SIZE + riff_size; in WriteImage()
|
/third_party/skia/third_party/externals/libwebp/src/mux/ |
D | muxread.c | 55 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 214 riff_size = GetLE32(data + TAG_SIZE); in WebPMuxCreateInternal() 215 if (riff_size > MAX_CHUNK_PAYLOAD) goto Err; in WebPMuxCreateInternal() 219 riff_size = SizeWithPadding(riff_size); in WebPMuxCreateInternal() 220 if (riff_size < CHUNK_HEADER_SIZE) goto Err; in WebPMuxCreateInternal() 221 if (riff_size > size) goto Err; in WebPMuxCreateInternal() 223 if (size > riff_size + CHUNK_HEADER_SIZE) { in WebPMuxCreateInternal() 224 size = riff_size + CHUNK_HEADER_SIZE; in WebPMuxCreateInternal() [all …]
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
D | webp_dec.c | 56 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 …]
|
D | webpi_dec.h | 65 size_t riff_size; // size of the riff payload (or 0 if absent) member
|
/third_party/skia/third_party/externals/libwebp/examples/ |
D | webpinfo.c | 586 size_t riff_size; in ParseRIFFHeader() local 597 riff_size = GetLE32(GetBuffer(mem) + TAG_SIZE); in ParseRIFFHeader() 598 if (riff_size < CHUNK_HEADER_SIZE) { in ParseRIFFHeader() 602 if (riff_size > MAX_CHUNK_PAYLOAD) { in ParseRIFFHeader() 606 riff_size += CHUNK_HEADER_SIZE; in ParseRIFFHeader() 609 printf(" File size: %6d\n", (int)riff_size); in ParseRIFFHeader() 611 if (riff_size < mem->end_) { in ParseRIFFHeader() 613 mem->end_ = riff_size; in ParseRIFFHeader() 614 } else if (riff_size > mem->end_) { in ParseRIFFHeader()
|
D | cwebp.c | 456 const uint32_t riff_size = (uint32_t)(webp_size - kChunkHeaderSize + in WriteWebPWithMetadata() local 462 ok = ok && WriteLE32(out, riff_size); in WriteWebPWithMetadata()
|
/third_party/libsnd/src/ |
D | rf64.c | 182 sf_count_t riff_size = 0, frame_count = 0, ds64_datalength = 0 ; in rf64_read_header() local 223 bytesread = psf_binheader_readf (psf, "888", &riff_size, &ds64_datalength, &frame_count) ; in rf64_read_header() 245 if (psf->filelength != riff_size + 8) in rf64_read_header() 246 psf_log_printf (psf, " Riff size : %D (should be %D)\n", riff_size, psf->filelength - 8) ; in rf64_read_header() 248 psf_log_printf (psf, " Riff size : %D\n", riff_size) ; in rf64_read_header() 322 { if (chunk_size == 0 && riff_size == 8 && psf->filelength > 44) in rf64_read_header()
|
/third_party/skia/third_party/externals/libwebp/src/demux/ |
D | demux.c | 378 uint32_t riff_size; in ReadHeader() local 387 riff_size = GetLE32(GetBuffer(mem) + TAG_SIZE); in ReadHeader() 388 if (riff_size < CHUNK_HEADER_SIZE) return PARSE_ERROR; in ReadHeader() 389 if (riff_size > MAX_CHUNK_PAYLOAD) return PARSE_ERROR; in ReadHeader() 392 mem->riff_end_ = riff_size + CHUNK_HEADER_SIZE; in ReadHeader()
|