/third_party/skia/third_party/externals/libwebp/imageio/ |
D | image_enc.c | 290 static void PutLE32(uint8_t* const dst, uint32_t value) { in PutLE32() function 313 PutLE32(bmp_header + 2, total_size); // size including header in WebPWriteBMP() 314 PutLE32(bmp_header + 6, 0); // reserved in WebPWriteBMP() 315 PutLE32(bmp_header + 10, BMP_HEADER_SIZE); // offset to pixel array in WebPWriteBMP() 317 PutLE32(bmp_header + 14, 40); // DIB header size in WebPWriteBMP() 318 PutLE32(bmp_header + 18, width); // dimensions in WebPWriteBMP() 319 PutLE32(bmp_header + 22, -(int)height); // vertical flip! in WebPWriteBMP() 322 PutLE32(bmp_header + 30, 0); // no compression (BI_RGB) in WebPWriteBMP() 323 PutLE32(bmp_header + 34, 0); // image size (placeholder) in WebPWriteBMP() 324 PutLE32(bmp_header + 38, 2400); // x pixels/meter in WebPWriteBMP() [all …]
|
/third_party/flutter/skia/third_party/externals/libwebp/imageio/ |
D | image_enc.c | 290 static void PutLE32(uint8_t* const dst, uint32_t value) { in PutLE32() function 313 PutLE32(bmp_header + 2, total_size); // size including header in WebPWriteBMP() 314 PutLE32(bmp_header + 6, 0); // reserved in WebPWriteBMP() 315 PutLE32(bmp_header + 10, BMP_HEADER_SIZE); // offset to pixel array in WebPWriteBMP() 317 PutLE32(bmp_header + 14, 40); // DIB header size in WebPWriteBMP() 318 PutLE32(bmp_header + 18, width); // dimensions in WebPWriteBMP() 319 PutLE32(bmp_header + 22, -(int)height); // vertical flip! in WebPWriteBMP() 322 PutLE32(bmp_header + 30, 0); // no compression (BI_RGB) in WebPWriteBMP() 323 PutLE32(bmp_header + 34, 0); // image size (dummy) in WebPWriteBMP() 324 PutLE32(bmp_header + 38, 2400); // x pixels/meter in WebPWriteBMP() [all …]
|
/third_party/skia/third_party/externals/libwebp/src/mux/ |
D | muxinternal.c | 193 PutLE32(dst + 0, chunk->tag_); in ChunkEmit() 194 PutLE32(dst + TAG_SIZE, (uint32_t)chunk_size); in ChunkEmit() 376 PutLE32(dst + 0, header->tag_); in ChunkEmitSpecial() 377 PutLE32(dst + TAG_SIZE, (uint32_t)offset_to_next); in ChunkEmitSpecial() 413 PutLE32(data + 0, MKFOURCC('R', 'I', 'F', 'F')); in MuxEmitRiffHeader() 414 PutLE32(data + TAG_SIZE, (uint32_t)size - CHUNK_HEADER_SIZE); in MuxEmitRiffHeader() 416 PutLE32(data + TAG_SIZE + CHUNK_SIZE_BYTES, MKFOURCC('W', 'E', 'B', 'P')); in MuxEmitRiffHeader()
|
D | muxread.c | 377 PutLE32(dst, MKFOURCC('V', 'P', '8', 'X')); in EmitVP8XChunk() 378 PutLE32(dst + TAG_SIZE, VP8X_CHUNK_SIZE); in EmitVP8XChunk() 379 PutLE32(dst + CHUNK_HEADER_SIZE, flags); in EmitVP8XChunk()
|
D | muxedit.c | 341 PutLE32(data, params->bgcolor); in WebPMuxSetAnimationParams() 537 PutLE32(data + 0, flags); // VP8X chunk flags. in CreateVP8XChunk()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/mux/ |
D | muxinternal.c | 193 PutLE32(dst + 0, chunk->tag_); in ChunkEmit() 194 PutLE32(dst + TAG_SIZE, (uint32_t)chunk_size); in ChunkEmit() 376 PutLE32(dst + 0, header->tag_); in ChunkEmitSpecial() 377 PutLE32(dst + TAG_SIZE, (uint32_t)offset_to_next); in ChunkEmitSpecial() 413 PutLE32(data + 0, MKFOURCC('R', 'I', 'F', 'F')); in MuxEmitRiffHeader() 414 PutLE32(data + TAG_SIZE, (uint32_t)size - CHUNK_HEADER_SIZE); in MuxEmitRiffHeader() 416 PutLE32(data + TAG_SIZE + CHUNK_SIZE_BYTES, MKFOURCC('W', 'E', 'B', 'P')); in MuxEmitRiffHeader()
|
D | muxread.c | 380 PutLE32(dst, MKFOURCC('V', 'P', '8', 'X')); in EmitVP8XChunk() 381 PutLE32(dst + TAG_SIZE, VP8X_CHUNK_SIZE); in EmitVP8XChunk() 382 PutLE32(dst + CHUNK_HEADER_SIZE, flags); in EmitVP8XChunk()
|
D | muxedit.c | 343 PutLE32(data, params->bgcolor); in WebPMuxSetAnimationParams() 539 PutLE32(data + 0, flags); // VP8X chunk flags. in CreateVP8XChunk()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | syntax_enc.c | 44 PutLE32(riff + TAG_SIZE, (uint32_t)riff_size); in PutRIFFHeader() 66 PutLE32(vp8x + TAG_SIZE, VP8X_CHUNK_SIZE); in PutVP8XHeader() 67 PutLE32(vp8x + CHUNK_HEADER_SIZE, flags); in PutVP8XHeader() 85 PutLE32(alpha_chunk_hdr + TAG_SIZE, enc->alpha_data_size_); in PutAlphaChunk() 108 PutLE32(vp8_chunk_hdr + TAG_SIZE, (uint32_t)vp8_size); in PutVP8Header()
|
D | vp8l_enc.c | 1362 PutLE32(riff + TAG_SIZE, (uint32_t)riff_size); in WriteRiffHeader() 1363 PutLE32(riff + RIFF_HEADER_SIZE + TAG_SIZE, (uint32_t)vp8l_size); in WriteRiffHeader()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | syntax_enc.c | 44 PutLE32(riff + TAG_SIZE, (uint32_t)riff_size); in PutRIFFHeader() 66 PutLE32(vp8x + TAG_SIZE, VP8X_CHUNK_SIZE); in PutVP8XHeader() 67 PutLE32(vp8x + CHUNK_HEADER_SIZE, flags); in PutVP8XHeader() 85 PutLE32(alpha_chunk_hdr + TAG_SIZE, enc->alpha_data_size_); in PutAlphaChunk() 108 PutLE32(vp8_chunk_hdr + TAG_SIZE, (uint32_t)vp8_size); in PutVP8Header()
|
D | vp8l_enc.c | 1132 PutLE32(riff + TAG_SIZE, (uint32_t)riff_size); in WriteRiffHeader() 1133 PutLE32(riff + RIFF_HEADER_SIZE + TAG_SIZE, (uint32_t)vp8l_size); in WriteRiffHeader()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/ |
D | utils.h | 105 static WEBP_INLINE void PutLE32(uint8_t* const data, uint32_t val) { in PutLE32() function
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
D | utils.h | 109 static WEBP_INLINE void PutLE32(uint8_t* const data, uint32_t val) { in PutLE32() function
|