CHUNK_HEADER_SIZE 78 3rdparty/libwebp/dec/webp.c if (size < TAG_SIZE + CHUNK_HEADER_SIZE) { CHUNK_HEADER_SIZE 105 3rdparty/libwebp/dec/webp.c const uint32_t vp8x_size = CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE; CHUNK_HEADER_SIZE 112 3rdparty/libwebp/dec/webp.c if (*data_size < CHUNK_HEADER_SIZE) { CHUNK_HEADER_SIZE 161 3rdparty/libwebp/dec/webp.c CHUNK_HEADER_SIZE + // "VP8Xnnnn". CHUNK_HEADER_SIZE 180 3rdparty/libwebp/dec/webp.c if (buf_size < CHUNK_HEADER_SIZE) { // Insufficient data. CHUNK_HEADER_SIZE 189 3rdparty/libwebp/dec/webp.c disk_chunk_size = (CHUNK_HEADER_SIZE + chunk_size + 1) & ~1; CHUNK_HEADER_SIZE 211 3rdparty/libwebp/dec/webp.c *alpha_data = buf + CHUNK_HEADER_SIZE; CHUNK_HEADER_SIZE 238 3rdparty/libwebp/dec/webp.c TAG_SIZE + CHUNK_HEADER_SIZE; // "WEBP" + "VP8 nnnn" OR CHUNK_HEADER_SIZE 245 3rdparty/libwebp/dec/webp.c if (*data_size < CHUNK_HEADER_SIZE) { CHUNK_HEADER_SIZE 257 3rdparty/libwebp/dec/webp.c *data_ptr += CHUNK_HEADER_SIZE; CHUNK_HEADER_SIZE 258 3rdparty/libwebp/dec/webp.c *data_size -= CHUNK_HEADER_SIZE; CHUNK_HEADER_SIZE 220 3rdparty/libwebp/demux/demux.c const size_t chunk_size = CHUNK_HEADER_SIZE + payload_available; CHUNK_HEADER_SIZE 272 3rdparty/libwebp/demux/demux.c Rewind(mem, CHUNK_HEADER_SIZE); CHUNK_HEADER_SIZE 279 3rdparty/libwebp/demux/demux.c } else if (MemDataSize(mem) < CHUNK_HEADER_SIZE) { CHUNK_HEADER_SIZE 398 3rdparty/libwebp/demux/demux.c const size_t min_size = RIFF_HEADER_SIZE + CHUNK_HEADER_SIZE; CHUNK_HEADER_SIZE 404 3rdparty/libwebp/demux/demux.c memcmp(GetBuffer(mem) + CHUNK_HEADER_SIZE, "WEBP", CHUNK_SIZE_BYTES)) { CHUNK_HEADER_SIZE 409 3rdparty/libwebp/demux/demux.c if (riff_size < CHUNK_HEADER_SIZE) return 0; CHUNK_HEADER_SIZE 413 3rdparty/libwebp/demux/demux.c mem->riff_end_ = riff_size + CHUNK_HEADER_SIZE; CHUNK_HEADER_SIZE 423 3rdparty/libwebp/demux/demux.c const size_t min_size = CHUNK_HEADER_SIZE; CHUNK_HEADER_SIZE 438 3rdparty/libwebp/demux/demux.c status = StoreFrame(1, CHUNK_HEADER_SIZE, &dmux->mem_, frame, CHUNK_HEADER_SIZE 471 3rdparty/libwebp/demux/demux.c if (MemDataSize(mem) < CHUNK_HEADER_SIZE) return PARSE_NEED_MORE_DATA; CHUNK_HEADER_SIZE 492 3rdparty/libwebp/demux/demux.c if (SizeIsInvalid(mem, CHUNK_HEADER_SIZE)) return PARSE_ERROR; CHUNK_HEADER_SIZE 493 3rdparty/libwebp/demux/demux.c if (MemDataSize(mem) < CHUNK_HEADER_SIZE) return PARSE_NEED_MORE_DATA; CHUNK_HEADER_SIZE 515 3rdparty/libwebp/demux/demux.c Rewind(mem, CHUNK_HEADER_SIZE); CHUNK_HEADER_SIZE 565 3rdparty/libwebp/demux/demux.c CHUNK_HEADER_SIZE + chunk_size)) { CHUNK_HEADER_SIZE 578 3rdparty/libwebp/demux/demux.c } else if (MemDataSize(mem) < CHUNK_HEADER_SIZE) { CHUNK_HEADER_SIZE 911 3rdparty/libwebp/demux/demux.c iter->chunk.bytes = mem_buf + chunk->data_.offset_ + CHUNK_HEADER_SIZE; CHUNK_HEADER_SIZE 912 3rdparty/libwebp/demux/demux.c iter->chunk.size = chunk->data_.size_ - CHUNK_HEADER_SIZE; CHUNK_HEADER_SIZE 933 3rdparty/libwebp/demux/demux.c (const char*)iter->chunk.bytes - CHUNK_HEADER_SIZE; CHUNK_HEADER_SIZE 942 3rdparty/libwebp/demux/demux.c (const char*)iter->chunk.bytes - CHUNK_HEADER_SIZE; CHUNK_HEADER_SIZE 57 3rdparty/libwebp/enc/syntax.c uint8_t vp8x[CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE] = { CHUNK_HEADER_SIZE 71 3rdparty/libwebp/enc/syntax.c PutLE32(vp8x + CHUNK_HEADER_SIZE, flags); CHUNK_HEADER_SIZE 72 3rdparty/libwebp/enc/syntax.c PutLE24(vp8x + CHUNK_HEADER_SIZE + 4, pic->width - 1); CHUNK_HEADER_SIZE 73 3rdparty/libwebp/enc/syntax.c PutLE24(vp8x + CHUNK_HEADER_SIZE + 7, pic->height - 1); CHUNK_HEADER_SIZE 82 3rdparty/libwebp/enc/syntax.c uint8_t alpha_chunk_hdr[CHUNK_HEADER_SIZE] = { CHUNK_HEADER_SIZE 108 3rdparty/libwebp/enc/syntax.c uint8_t vp8_chunk_hdr[CHUNK_HEADER_SIZE] = { CHUNK_HEADER_SIZE 381 3rdparty/libwebp/enc/syntax.c riff_size = TAG_SIZE + CHUNK_HEADER_SIZE + vp8_size; CHUNK_HEADER_SIZE 383 3rdparty/libwebp/enc/syntax.c riff_size += CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE; CHUNK_HEADER_SIZE 388 3rdparty/libwebp/enc/syntax.c riff_size += CHUNK_HEADER_SIZE + padded_alpha_size; CHUNK_HEADER_SIZE 421 3rdparty/libwebp/enc/syntax.c enc->coded_size_ = (int)(CHUNK_HEADER_SIZE + riff_size); CHUNK_HEADER_SIZE 724 3rdparty/libwebp/enc/vp8l.c uint8_t riff[RIFF_HEADER_SIZE + CHUNK_HEADER_SIZE + VP8L_SIGNATURE_SIZE] = { CHUNK_HEADER_SIZE 761 3rdparty/libwebp/enc/vp8l.c const size_t riff_size = TAG_SIZE + CHUNK_HEADER_SIZE + vp8l_size + pad; CHUNK_HEADER_SIZE 778 3rdparty/libwebp/enc/vp8l.c *coded_size = CHUNK_HEADER_SIZE + riff_size; CHUNK_HEADER_SIZE 138 3rdparty/libwebp/mux/muxi.h return CHUNK_HEADER_SIZE + ((chunk_size + 1) & ~1U); CHUNK_HEADER_SIZE 210 3rdparty/libwebp/mux/muxinternal.c memcpy(dst + CHUNK_HEADER_SIZE, chunk->data_.bytes, chunk_size); CHUNK_HEADER_SIZE 212 3rdparty/libwebp/mux/muxinternal.c dst[CHUNK_HEADER_SIZE + chunk_size] = 0; // Add padding. CHUNK_HEADER_SIZE 378 3rdparty/libwebp/mux/muxinternal.c const size_t offset_to_next = total_size - CHUNK_HEADER_SIZE; CHUNK_HEADER_SIZE 384 3rdparty/libwebp/mux/muxinternal.c memcpy(dst + CHUNK_HEADER_SIZE, header->data_.bytes, header_size); CHUNK_HEADER_SIZE 386 3rdparty/libwebp/mux/muxinternal.c dst[CHUNK_HEADER_SIZE + header_size] = 0; // Add padding. CHUNK_HEADER_SIZE 429 3rdparty/libwebp/mux/muxinternal.c PutLE32(data + TAG_SIZE, (uint32_t)size - CHUNK_HEADER_SIZE); CHUNK_HEADER_SIZE 74 3rdparty/libwebp/mux/muxread.c chunk_data.bytes = data + CHUNK_HEADER_SIZE; CHUNK_HEADER_SIZE 106 3rdparty/libwebp/mux/muxread.c subchunk_size = ChunkDiskSize(&subchunk) - CHUNK_HEADER_SIZE; CHUNK_HEADER_SIZE 169 3rdparty/libwebp/mux/muxread.c GetLE32(data + CHUNK_HEADER_SIZE) != MKFOURCC('W', 'E', 'B', 'P')) { CHUNK_HEADER_SIZE 296 3rdparty/libwebp/mux/muxread.c const size_t vp8x_size = CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE; CHUNK_HEADER_SIZE 302 3rdparty/libwebp/mux/muxread.c PutLE32(dst + CHUNK_HEADER_SIZE, flags); CHUNK_HEADER_SIZE 303 3rdparty/libwebp/mux/muxread.c PutLE24(dst + CHUNK_HEADER_SIZE + 4, width - 1); CHUNK_HEADER_SIZE 304 3rdparty/libwebp/mux/muxread.c PutLE24(dst + CHUNK_HEADER_SIZE + 7, height - 1); CHUNK_HEADER_SIZE 315 3rdparty/libwebp/mux/muxread.c const size_t vp8x_size = need_vp8x ? CHUNK_HEADER_SIZE + VP8X_CHUNK_SIZE : 0; CHUNK_HEADER_SIZE 86 3rdparty/libwebp/webp/format_constants.h #define MAX_CHUNK_PAYLOAD (~0U - CHUNK_HEADER_SIZE - 1)