Home
last modified time | relevance | path

Searched refs:profileSize (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/gpu/effects/
DGrRectBlurEffect.fp40 uniform half profileSize;
46 unsigned int profileSize = SkScalarCeilToInt(6 * sigma);
51 builder[0] = profileSize;
57 SkImageInfo ii = SkImageInfo::MakeA8(profileSize, 1);
64 SkBlurMask::ComputeBlurProfile(bitmap.getAddr8(0, 0), profileSize, sigma);
124 float2 smallDims = float2(width - profileSize, height - profileSize);
125 float center = 2 * floor(profileSize / 2 + 0.25) - 1;
127 half hcoord = half(((abs(translatedPos.x - 0.5 * width) - 0.5 * wh.x)) / profileSize);
129 half vcoord = half(((abs(translatedPos.y - 0.5 * height) - 0.5 * wh.y)) / profileSize);
136 half2 smallDims = half2(width - profileSize, height - profileSize);
[all …]
DGrRectBlurEffect.h25 unsigned int profileSize = SkScalarCeilToInt(6 * sigma); in CreateBlurProfileTexture() local
30 builder[0] = profileSize; in CreateBlurProfileTexture()
36 SkImageInfo ii = SkImageInfo::MakeA8(profileSize, 1); in CreateBlurProfileTexture()
43 SkBlurMask::ComputeBlurProfile(bitmap.getAddr8(0, 0), profileSize, sigma); in CreateBlurProfileTexture()
DGrRectBlurEffect.cpp115 UniformHandle& profileSize = fProfileSizeVar; in onSetData() local
116 (void)profileSize; in onSetData()
118 pdman.set1f(profileSize, SkScalarCeilToScalar(6 * sigma)); in onSetData()
/external/skqp/src/gpu/effects/
DGrRectBlurEffect.fp39 uniform half profileSize;
45 unsigned int profileSize = SkScalarCeilToInt(6 * sigma);
50 builder[0] = profileSize;
56 SkImageInfo ii = SkImageInfo::MakeA8(profileSize, 1);
63 SkBlurMask::ComputeBlurProfile(bitmap.getAddr8(0, 0), profileSize, sigma);
123 float2 smallDims = float2(width - profileSize, height - profileSize);
124 float center = 2 * floor(profileSize / 2 + 0.25) - 1;
126 half hcoord = ((abs(translatedPos.x - 0.5 * width) - 0.5 * wh.x)) / profileSize;
128 half vcoord = ((abs(translatedPos.y - 0.5 * height) - 0.5 * wh.y)) / profileSize;
135 half2 smallDims = half2(width - profileSize, height - profileSize);
[all …]
DGrRectBlurEffect.h24 unsigned int profileSize = SkScalarCeilToInt(6 * sigma); in CreateBlurProfileTexture() local
29 builder[0] = profileSize; in CreateBlurProfileTexture()
35 SkImageInfo ii = SkImageInfo::MakeA8(profileSize, 1); in CreateBlurProfileTexture()
42 SkBlurMask::ComputeBlurProfile(bitmap.getAddr8(0, 0), profileSize, sigma); in CreateBlurProfileTexture()
DGrRectBlurEffect.cpp119 UniformHandle& profileSize = fProfileSizeVar; in onSetData() local
120 (void)profileSize; in onSetData()
122 pdman.set1f(profileSize, SkScalarCeilToScalar(6 * sigma)); in onSetData()
/external/skqp/src/core/
DSkBlurMask.cpp397 int profileSize = SkScalarCeilToInt(6*sigma); in BlurRect() local
398 if (profileSize <= 0) { in BlurRect()
402 int pad = profileSize/2; in BlurRect()
430 SkAutoTMalloc<uint8_t> profile(profileSize); in BlurRect()
432 ComputeBlurProfile(profile, profileSize, sigma); in BlurRect()
/external/skia/src/core/
DSkBlurMask.cpp397 int profileSize = SkScalarCeilToInt(6*sigma); in BlurRect() local
398 if (profileSize <= 0) { in BlurRect()
402 int pad = profileSize/2; in BlurRect()
430 SkAutoTMalloc<uint8_t> profile(profileSize); in BlurRect()
432 ComputeBlurProfile(profile, profileSize, sigma); in BlurRect()
/external/dng_sdk/source/
Ddng_image_writer.h495 tag_icc_profile (const void *profileData, uint32 profileSize);
1144 uint32 profileSize = 0,
1157 uint32 profileSize = 0,
Ddng_image_writer.cpp439 uint32 profileSize) in tag_icc_profile() argument
448 if (profileData && profileSize) in tag_icc_profile()
451 SetCount (profileSize); in tag_icc_profile()
5299 uint32 profileSize = 0; in WriteTIFF() local
5308 profileSize = size; in WriteTIFF()
5319 profileSize, in WriteTIFF()
5336 uint32 profileSize, in WriteTIFFWithProfile() argument
5350 profileSize, in WriteTIFFWithProfile()
5367 uint32 profileSize, in WriteTIFFWithProfile() argument
5487 tag_icc_profile iccProfileTag (profileData, profileSize); in WriteTIFFWithProfile()