Home
last modified time | relevance | path

Searched refs:number_channels (Results 1 – 25 of 25) sorted by relevance

/external/ImageMagick/MagickCore/
Daccelerate-kernels-private.h360 static inline unsigned int getPixelIndex(const unsigned int number_channels,
363 return (x * number_channels) + (y * columns * number_channels);
369 …ha(const __global CLQuantum *p,const unsigned int number_channels) { return (float)*(p+number_chan…
374 …lpha(__global CLQuantum *p,const unsigned int number_channels,const CLQuantum value) { *(p+number_…
396 static inline void ReadChannels(const __global CLQuantum *p, const unsigned int number_channels,
402 if (number_channels > 2)
411 if (((number_channels == 4) || (number_channels == 2)) &&
413 *alpha=getPixelAlpha(p,number_channels);
416 … inline float4 ReadAllChannels(const __global CLQuantum *image, const unsigned int number_channels,
419 const __global CLQuantum *p = image + getPixelIndex(number_channels, columns, x, y);
[all …]
Daccelerate.c136 if (image->number_channels > 4) in checkAccelerateCondition()
143 if (image->number_channels == 1) in checkAccelerateCondition()
147 if ((image->number_channels == 2) && in checkAccelerateCondition()
151 if (image->number_channels == 2) in checkAccelerateCondition()
159 if (image->number_channels == 3) in checkAccelerateCondition()
175 if (image->number_channels != 4) in checkAccelerateConditionRGBA()
423 number_channels, in ComputeAddNoiseImage() local
464 if (filteredImage->number_channels != image->number_channels) in ComputeAddNoiseImage()
523 number_channels=(cl_uint) image->number_channels; in ComputeAddNoiseImage()
524 bufferLength=(cl_uint) (image->columns*image->rows*image->number_channels); in ComputeAddNoiseImage()
[all …]
Dcache.c461 for (i=0; i < (ssize_t) image->number_channels; i++) in ClipPixelCacheNexus()
673 length=cache_info->number_channels*sizeof(*cache_info->channel_map); in ClonePixelCacheRepository()
680 (cache_info->number_channels == clone_info->number_channels) && in ClonePixelCacheRepository()
692 cache_info->number_channels*cache_info->columns*cache_info->rows* in ClonePixelCacheRepository()
709 length=cache_info->number_channels*sizeof(*cache_info->channel_map); in ClonePixelCacheRepository()
710 optimize=(cache_info->number_channels == clone_info->number_channels) && in ClonePixelCacheRepository()
713 length=(size_t) MagickMin(cache_info->number_channels*cache_info->columns, in ClonePixelCacheRepository()
714 clone_info->number_channels*clone_info->columns); in ClonePixelCacheRepository()
770 for (i=0; i < (ssize_t) clone_info->number_channels; i++) in ClonePixelCacheRepository()
784 p+=cache_info->number_channels; in ClonePixelCacheRepository()
[all …]
Dfourier.c168 number_channels; in ComplexImages() local
222 number_channels=MagickMin(MagickMin(MagickMin( in ComplexImages()
223 Ar_image->number_channels,Ai_image->number_channels),MagickMin( in ComplexImages()
224 Br_image->number_channels,Bi_image->number_channels)),MagickMin( in ComplexImages()
225 Cr_image->number_channels,Ci_image->number_channels)); in ComplexImages()
273 for (i=0; i < (ssize_t) number_channels; i++) in ComplexImages()
Ddistribute-cache.c501 sizeof(image->rows)+sizeof(image->number_channels)+MaxPixelChannels* in OpenDistributeCache()
524 (void) memcpy(&image->number_channels,p,sizeof(image->number_channels)); in OpenDistributeCache()
525 p+=sizeof(image->number_channels); in OpenDistributeCache()
1169 (void) memcpy(p,&image->number_channels,sizeof(image->number_channels)); in OpenDistributePixelCache()
1170 p+=sizeof(image->number_channels); in OpenDistributePixelCache()
Dstatistic.h81 number_channels; member
Dcache-private.h152 number_channels; member
Dpixel-accessor.h139 return(image->number_channels); in GetPixelChannels()
732 static inline void SetPixelChannels(Image *image,const size_t number_channels) in SetPixelChannels() argument
734 image->number_channels=number_channels; in SetPixelChannels()
Dimage.h283 number_channels, member
Dstream.c775 length=(size_t) number_pixels*cache_info->number_channels*sizeof(Quantum); in GetVirtualPixelStream()
776 if (cache_info->number_channels == 0) in GetVirtualPixelStream()
805 cache_info->number_channels); in GetVirtualPixelStream()
940 length=(size_t) number_pixels*cache_info->number_channels*sizeof(Quantum); in QueueAuthenticPixelsStream()
941 if (cache_info->number_channels == 0) in QueueAuthenticPixelsStream()
970 cache_info->number_channels); in QueueAuthenticPixelsStream()
Dstatistic.c457 if (p->number_channels > q->number_channels) in AcquireImageCanvas()
1730 perceptual_hash[0].number_channels=0; in GetImagePerceptualHash()
1763 perceptual_hash[0].number_channels+=GetImageChannels(hash_image); in GetImagePerceptualHash()
Deffect.c1804 p+=image->number_channels; in LocalContrastImage()
1924 p+=image->number_channels; in LocalContrastImage()
1925 q+=contrast_image->number_channels; in LocalContrastImage()
Dimage.c827 clone_image->number_channels=image->number_channels; in CloneImage()
Dcompare.c1320 channel_phash[0].number_channels); in GetPerceptualHashDistortion()
Dpixel.c4382 image->number_channels=(size_t) n; in InitializePixelChannelMap()
6181 for (i=0; i < (ssize_t) image->number_channels; i++) in LogPixelChannels()
/external/ImageMagick/coders/
Drla.c110 number_channels, in ReadRLAImage() member
218 rla_info.number_channels=(short) ReadBlobMSBShort(image); in ReadRLAImage()
219 if (rla_info.number_channels < 0) in ReadRLAImage()
224 if ((rla_info.number_channels > 3) || (rla_info.number_matte_channels > 3)) in ReadRLAImage()
226 if (rla_info.number_channels == 0) in ReadRLAImage()
227 rla_info.number_channels=3; in ReadRLAImage()
228 rla_info.number_channels+=rla_info.number_matte_channels; in ReadRLAImage()
305 for (channel=0; channel < (int) rla_info.number_channels; channel++) in ReadRLAImage()
399 if ((x/(ssize_t) rla_info.number_channels) > (ssize_t) image->columns) in ReadRLAImage()
Dcin.c161 number_channels, member
503 cin.image.number_channels=(unsigned char) ReadBlobByte(image); in ReadCINImage()
757 if (cin.image.number_channels == 1) in ReadCINImage()
1012 cin.image.number_channels=3; in WriteCINImage()
1013 offset+=WriteBlobByte(image,cin.image.number_channels); in WriteCINImage()
Dmpc.c568 image->number_channels=StringToUnsignedLong(options); in ReadMPCImage()
790 (image->number_channels > MaxPixelChannels) || in ReadMPCImage()
792 ((image->number_channels+image->number_meta_channels) >= MaxPixelChannels) || in ReadMPCImage()
1192 (double) image->number_channels,(double) image->number_meta_channels); in WriteMPCImage()
Dtiff.c307 info->channels=(unsigned short) image->number_channels; in InitPSDInfo()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_unittest.cc1041 size_t number_channels = 0; in CheckBgn() local
1052 number_channels = 0; in CheckBgn()
1061 &number_channels, in CheckBgn()
1063 ASSERT_EQ(1u, number_channels); in CheckBgn()
1073 number_channels = 0; in CheckBgn()
1083 &number_channels, in CheckBgn()
1085 ASSERT_EQ(1u, number_channels); in CheckBgn()
1097 number_channels = 0; in CheckBgn()
1104 &number_channels, in CheckBgn()
1106 ASSERT_EQ(1u, number_channels); in CheckBgn()
[all …]
/external/ImageMagick/Magick++/lib/
DImage.cpp492 return(constImage()->number_channels); in channels()
/external/ImageMagick/MagickWand/
Doperation.c3863 if (_images->number_channels < GetImageListLength(_images)) in CLIListOperatorImages()
Dmogrify.c7891 if ((*images)->number_channels < GetImageListLength(*images)) in MogrifyImageList()
/external/ImageMagick/PerlMagick/
DMagick.xs14542 q+=image->number_channels; in SetPixels()
/external/ImageMagick/PerlMagick/quantum/
Dquantum.xs.in14659 q+=image->number_channels;