Home
last modified time | relevance | path

Searched refs:profile_size (Results 1 – 7 of 7) sorted by relevance

/external/ImageMagick/coders/
Dbmp.c524 profile_size, in ReadBMPImage() local
629 profile_size=0; in ReadBMPImage()
834 profile_size=(MagickOffsetType)ReadBlobLSBLong(image); in ReadBMPImage()
1461 (profile_size > 0)) in ReadBMPImage()
1472 (blob_size < (MagickSizeType) (offset+profile_size))) in ReadBMPImage()
1474 profile=AcquireStringInfo((size_t) profile_size); in ReadBMPImage()
1478 if (ReadBlob(image,(size_t) profile_size,datum) == (ssize_t) profile_size) in ReadBMPImage()
1490 if (profile_size_orig < profile_size) in ReadBMPImage()
1691 profile_size, in WriteBMPImage() local
2259 profile_size=0; in WriteBMPImage()
[all …]
Djxl.c328 profile_size; in ReadJXLImage() local
334 JXL_COLOR_PROFILE_TARGET_ORIGINAL,&profile_size); in ReadJXLImage()
337 profile=AcquireStringInfo(profile_size); in ReadJXLImage()
340 profile_size); in ReadJXLImage()
/external/skia/src/core/
DSkICC.cpp624 size_t profile_size = kICCHeaderSize + tag_table_size + tag_data_size; in SkWriteICCProfile() local
629 header.size = SkEndian_SwapBE32(profile_size); in SkWriteICCProfile()
632 SkAutoMalloc profile_data(profile_size); in SkWriteICCProfile()
663 SkASSERT(profile_size == static_cast<size_t>(ptr - (uint8_t*)profile_data.get())); in SkWriteICCProfile()
664 return SkData::MakeFromMalloc(profile_data.release(), profile_size); in SkWriteICCProfile()
DSkBlurMask.cpp376 unsigned int profile_size = SkScalarCeilToInt(6*sigma); in ComputeBlurredScanline() local
379 unsigned int sw = width - profile_size; in ComputeBlurredScanline()
382 int center = ( profile_size & ~1 ) - 1; in ComputeBlurredScanline()
387 if (profile_size <= sw) { in ComputeBlurredScanline()
/external/cronet/testing/libfuzzer/proto/
Dskia_image_filter_proto_converter.cc1504 const uint32_t profile_size = sizeof(float) * 33 + tags_size; in Visit() local
1505 const uint32_t size = profile_size + sizeof(profile_size) + header_size; in Visit()
1514 WriteNum(profile_size); in Visit()
1515 WriteBigEndian(profile_size); in Visit()
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.h617 …_set_icc(LodePNGInfo* info, const char* name, const unsigned char* profile, unsigned profile_size);
Dlodepng.cpp3002 …ign_icc(LodePNGInfo* info, const char* name, const unsigned char* profile, unsigned profile_size) { in lodepng_assign_icc() argument
3003 if(profile_size == 0) return 100; /*invalid ICC profile size*/ in lodepng_assign_icc()
3006 info->iccp_profile = (unsigned char*)lodepng_malloc(profile_size); in lodepng_assign_icc()
3010 lodepng_memcpy(info->iccp_profile, profile, profile_size); in lodepng_assign_icc()
3011 info->iccp_profile_size = profile_size; in lodepng_assign_icc()
3016 …set_icc(LodePNGInfo* info, const char* name, const unsigned char* profile, unsigned profile_size) { in lodepng_set_icc() argument
3020 return lodepng_assign_icc(info, name, profile, profile_size); in lodepng_set_icc()