Home
last modified time | relevance | path

Searched refs:number_threads (Results 1 – 19 of 19) sorted by relevance

/external/ImageMagick/MagickCore/
Dcache-view.c74 number_threads; member
169 cache_view->number_threads=GetOpenMPMaximumThreads(); in AcquireVirtualCacheView()
170 if (GetMagickResourceLimit(ThreadResource) > cache_view->number_threads) in AcquireVirtualCacheView()
171 cache_view->number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireVirtualCacheView()
172 if (cache_view->number_threads == 0) in AcquireVirtualCacheView()
173 cache_view->number_threads=1; in AcquireVirtualCacheView()
174 cache_view->nexus_info=AcquirePixelCacheNexus(cache_view->number_threads); in AcquireVirtualCacheView()
221 clone_view->number_threads=cache_view->number_threads; in CloneCacheView()
222 clone_view->nexus_info=AcquirePixelCacheNexus(cache_view->number_threads); in CloneCacheView()
261 cache_view->number_threads); in DestroyCacheView()
[all …]
Drandom-private.h61 number_threads; in AcquireRandomInfoThreadSet() local
63 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireRandomInfoThreadSet()
64 random_info=(RandomInfo **) AcquireQuantumMemory(number_threads, in AcquireRandomInfoThreadSet()
68 (void) ResetMagickMemory(random_info,0,number_threads*sizeof(*random_info)); in AcquireRandomInfoThreadSet()
69 for (i=0; i < (ssize_t) number_threads; i++) in AcquireRandomInfoThreadSet()
Dresample-private.h52 number_threads; in AcquireResampleFilterThreadSet() local
54 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireResampleFilterThreadSet()
55 filter=(ResampleFilter **) AcquireQuantumMemory(number_threads, in AcquireResampleFilterThreadSet()
59 (void) ResetMagickMemory(filter,0,number_threads*sizeof(*filter)); in AcquireResampleFilterThreadSet()
60 for (i=0; i < (ssize_t) number_threads; i++) in AcquireResampleFilterThreadSet()
Dthread.c52 number_threads; member
102 (*keys)->number_threads=GetOpenMPMaximumThreads(); in CreateMagickThreadKey()
103 (*keys)->values=AcquireQuantumMemory((*keys)->number_threads, in CreateMagickThreadKey()
108 (void) memset((*keys)->values,0,(*keys)->number_threads* in CreateMagickThreadKey()
154 for (i=0; i < (ssize_t) keys->number_threads; i++) in DeleteMagickThreadKey()
Dcache.c184 MagickPrivate Cache AcquirePixelCache(const size_t number_threads) in AcquirePixelCache() argument
201 cache_info->number_threads=number_threads; in AcquirePixelCache()
202 if (GetOpenMPMaximumThreads() > cache_info->number_threads) in AcquirePixelCache()
203 cache_info->number_threads=GetOpenMPMaximumThreads(); in AcquirePixelCache()
204 if (GetMagickResourceLimit(ThreadResource) > cache_info->number_threads) in AcquirePixelCache()
205 cache_info->number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquirePixelCache()
206 if (cache_info->number_threads == 0) in AcquirePixelCache()
207 cache_info->number_threads=1; in AcquirePixelCache()
208 cache_info->nexus_info=AcquirePixelCacheNexus(cache_info->number_threads); in AcquirePixelCache()
247 MagickPrivate NexusInfo **AcquirePixelCacheNexus(const size_t number_threads) in AcquirePixelCacheNexus() argument
[all …]
Dquantum.c165 quantum_info->number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireQuantumPixels()
167 quantum_info->number_threads,sizeof(*quantum_info->pixels)); in AcquireQuantumPixels()
171 (void) ResetMagickMemory(quantum_info->pixels,0,quantum_info->number_threads* in AcquireQuantumPixels()
173 for (i=0; i < (ssize_t) quantum_info->number_threads; i++) in AcquireQuantumPixels()
261 for (i=0; i < (ssize_t) quantum_info->number_threads; i++) in DestroyQuantumPixels()
Dprofile.c363 number_threads; in AcquirePixelThreadSet() local
365 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquirePixelThreadSet()
366 pixels=(unsigned short **) AcquireQuantumMemory(number_threads, in AcquirePixelThreadSet()
370 (void) ResetMagickMemory(pixels,0,number_threads*sizeof(*pixels)); in AcquirePixelThreadSet()
371 for (i=0; i < (ssize_t) number_threads; i++) in AcquirePixelThreadSet()
406 number_threads; in AcquireTransformThreadSet() local
408 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireTransformThreadSet()
409 transform=(cmsHTRANSFORM *) AcquireQuantumMemory(number_threads, in AcquireTransformThreadSet()
413 (void) ResetMagickMemory(transform,0,number_threads*sizeof(*transform)); in AcquireTransformThreadSet()
414 for (i=0; i < (ssize_t) number_threads; i++) in AcquireTransformThreadSet()
Dattribute.c288 number_threads; in GetImageDepth() local
300 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in GetImageDepth()
301 current_depth=(size_t *) AcquireQuantumMemory(number_threads, in GetImageDepth()
306 for (i=0; i < (ssize_t) number_threads; i++) in GetImageDepth()
349 for (i=1; i < (ssize_t) number_threads; i++) in GetImageDepth()
434 for (i=1; i < (ssize_t) number_threads; i++) in GetImageDepth()
503 for (i=1; i < (ssize_t) number_threads; i++) in GetImageDepth()
Dpaint.c671 number_threads; in AcquireHistogramThreadSet() local
673 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireHistogramThreadSet()
674 histogram=(size_t **) AcquireQuantumMemory(number_threads,sizeof(*histogram)); in AcquireHistogramThreadSet()
677 (void) ResetMagickMemory(histogram,0,number_threads*sizeof(*histogram)); in AcquireHistogramThreadSet()
678 for (i=0; i < (ssize_t) number_threads; i++) in AcquireHistogramThreadSet()
Dcache-private.h177 number_threads; member
Dstatistic.c161 number_threads; in AcquirePixelThreadSet() local
163 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquirePixelThreadSet()
164 pixels=(PixelChannels **) AcquireQuantumMemory(number_threads, in AcquirePixelThreadSet()
168 (void) ResetMagickMemory(pixels,0,number_threads*sizeof(*pixels)); in AcquirePixelThreadSet()
169 for (i=0; i < (ssize_t) number_threads; i++) in AcquirePixelThreadSet()
2583 number_threads; in AcquirePixelListThreadSet() local
2585 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquirePixelListThreadSet()
2586 pixel_list=(PixelList **) AcquireQuantumMemory(number_threads, in AcquirePixelListThreadSet()
2590 (void) ResetMagickMemory(pixel_list,0,number_threads*sizeof(*pixel_list)); in AcquirePixelListThreadSet()
2591 for (i=0; i < (ssize_t) number_threads; i++) in AcquirePixelListThreadSet()
Dquantum-private.h67 number_threads; member
Dresize.c2371 number_threads; in AcquireContributionThreadSet() local
2373 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireContributionThreadSet()
2374 contribution=(ContributionInfo **) AcquireQuantumMemory(number_threads, in AcquireContributionThreadSet()
2378 (void) ResetMagickMemory(contribution,0,number_threads*sizeof(*contribution)); in AcquireContributionThreadSet()
2379 for (i=0; i < (ssize_t) number_threads; i++) in AcquireContributionThreadSet()
Dquantize.c1449 number_threads; in AcquirePixelThreadSet() local
1451 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquirePixelThreadSet()
1452 pixels=(DoublePixelInfo **) AcquireQuantumMemory(number_threads, in AcquirePixelThreadSet()
1456 (void) ResetMagickMemory(pixels,0,number_threads*sizeof(*pixels)); in AcquirePixelThreadSet()
1457 for (i=0; i < (ssize_t) number_threads; i++) in AcquirePixelThreadSet()
Dfx.c3046 number_threads; in AcquireFxThreadSet() local
3048 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquireFxThreadSet()
3049 fx_info=(FxInfo **) AcquireQuantumMemory(number_threads,sizeof(*fx_info)); in AcquireFxThreadSet()
3056 (void) ResetMagickMemory(fx_info,0,number_threads*sizeof(*fx_info)); in AcquireFxThreadSet()
3061 for (i=0; i < (ssize_t) number_threads; i++) in AcquireFxThreadSet()
3074 if (i < (ssize_t) number_threads) in AcquireFxThreadSet()
Ddraw.c3757 number_threads; in AcquirePolygonThreadSet() local
3759 number_threads=(size_t) GetMagickResourceLimit(ThreadResource); in AcquirePolygonThreadSet()
3760 polygon_info=(PolygonInfo **) AcquireQuantumMemory(number_threads, in AcquirePolygonThreadSet()
3764 (void) ResetMagickMemory(polygon_info,0,number_threads*sizeof(*polygon_info)); in AcquirePolygonThreadSet()
3768 for (i=0; i < (ssize_t) number_threads; i++) in AcquirePolygonThreadSet()
Dstream.c237 cache_info->number_threads); in DestroyPixelStream()
/external/ImageMagick/MagickWand/
Dwand-view.c726 number_threads; in AcquirePixelsThreadSet() local
728 number_threads=GetOpenMPMaximumThreads(); in AcquirePixelsThreadSet()
729 pixel_wands=(PixelWand ***) AcquireQuantumMemory(number_threads, in AcquirePixelsThreadSet()
733 (void) ResetMagickMemory(pixel_wands,0,number_threads*sizeof(*pixel_wands)); in AcquirePixelsThreadSet()
734 for (i=0; i < (ssize_t) number_threads; i++) in AcquirePixelsThreadSet()
Dmogrify.c142 number_threads; in MagickCommandGenesis() local
199 number_threads=GetOpenMPMaximumThreads(); in MagickCommandGenesis()
201 for (n=1; n <= (ssize_t) number_threads; n++) in MagickCommandGenesis()