Searched refs:iccp (Results 1 – 10 of 10) sorted by relevance
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/ |
A D | wicdec.c | 131 MetadataPayload* const iccp) { in ExtractICCP() argument 159 iccp->bytes = (uint8_t*)malloc(size); in ExtractICCP() 160 if (iccp->bytes == NULL) { in ExtractICCP() 164 iccp->size = size; in ExtractICCP() 166 (UINT)iccp->size, iccp->bytes, in ExtractICCP() 168 if (SUCCEEDED(hr) && size != iccp->size) { in ExtractICCP() 170 size, (uint32_t)iccp->size); in ExtractICCP() 171 iccp->size = size; in ExtractICCP() 189 const HRESULT hr = ExtractICCP(factory, frame, &metadata->iccp); in ExtractMetadata()
|
A D | jpegdec.c | 62 static int StoreICCP(j_decompress_ptr dinfo, MetadataPayload* const iccp) { in StoreICCP() argument 132 iccp->bytes = (uint8_t*)malloc(total_size); in StoreICCP() 133 if (iccp->bytes == NULL) return 0; in StoreICCP() 134 iccp->size = total_size; in StoreICCP() 140 memcpy(iccp->bytes + offset, in StoreICCP() 167 if (!StoreICCP(dinfo, &metadata->iccp)) return 0; in ExtractMetadataFromJPEG()
|
A D | metadata.h | 29 MetadataPayload iccp; member
|
A D | metadata.c | 35 MetadataPayloadDelete(&metadata->iccp); in MetadataFree()
|
A D | tiffdec.c | 33 { TIFFTAG_ICCPROFILE, METADATA_OFFSET(iccp) },
|
A D | webpdec.c | 125 &metadata->iccp); in ExtractMetadata()
|
A D | pngdec.c | 208 if (!MetadataCopy((const char*)profile, len, &metadata->iccp)) return 0; in ExtractMetadataFromPNG()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/ |
A D | vwebp.c | 73 WebPChunkIterator iccp; member 87 WebPDemuxReleaseChunkIterator(&kParams.iccp); in ClearParams() 181 ok = ApplyColorProfile(&kParams.iccp.chunk, output_buffer); in Decode() 563 memset(&kParams.iccp, 0, sizeof(kParams.iccp)); in main() 568 if (!WebPDemuxGetChunk(kParams.dmux, "ICCP", 1, &kParams.iccp)) goto Error; in main()
|
A D | cwebp.c | 357 fprintf(stderr, " * ICC profile: %6d bytes\n", (int)metadata->iccp.size); in PrintMetadataInfo() 432 const int write_iccp = UpdateFlagsAndSize(&metadata->iccp, in WriteWebPWithMetadata() 484 ok = ok && WriteMetadataChunk(out, "ICCP", &metadata->iccp); in WriteWebPWithMetadata() 1120 { &metadata.iccp, METADATA_ICC }, in main()
|
A D | webpinfo.c | 997 const int iccp = !!(webp_info->feature_flags_ & ICCP_FLAG); in Validate() local 1009 if (iccp && !webp_info->chunk_counts_[CHUNK_ICCP]) { in Validate() 1021 if (!iccp && webp_info->chunk_counts_[CHUNK_ICCP]) { in Validate()
|
Completed in 15 milliseconds