/external/ImageMagick/MagickCore/ |
D | cache-view.c | 74 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 …]
|
D | random-private.h | 61 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()
|
D | resample-private.h | 52 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()
|
D | thread.c | 52 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()
|
D | cache.c | 184 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 …]
|
D | quantum.c | 165 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()
|
D | profile.c | 363 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()
|
D | attribute.c | 288 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()
|
D | paint.c | 671 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()
|
D | cache-private.h | 177 number_threads; member
|
D | statistic.c | 161 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()
|
D | quantum-private.h | 67 number_threads; member
|
D | resize.c | 2371 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()
|
D | quantize.c | 1449 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()
|
D | fx.c | 3046 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()
|
D | draw.c | 3757 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()
|
D | stream.c | 237 cache_info->number_threads); in DestroyPixelStream()
|
/external/ImageMagick/MagickWand/ |
D | wand-view.c | 726 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()
|
D | mogrify.c | 142 number_threads; in MagickCommandGenesis() local 199 number_threads=GetOpenMPMaximumThreads(); in MagickCommandGenesis() 201 for (n=1; n <= (ssize_t) number_threads; n++) in MagickCommandGenesis()
|