/external/skia/gm/ |
D | displacement.cpp | 68 SkColorChannel::kR, SkColorChannel::kG, 0.0f, displ, nullptr)); in onDraw() 71 SkColorChannel::kB, SkColorChannel::kA, 16.0f, displ, nullptr)); in onDraw() 74 SkColorChannel::kR, SkColorChannel::kB, 32.0f, displ, nullptr)); in onDraw() 77 SkColorChannel::kG, SkColorChannel::kA, 48.0f, displ, nullptr)); in onDraw() 80 SkColorChannel::kR, SkColorChannel::kA, 64.0f, displ, nullptr)); in onDraw() 84 SkColorChannel::kR, SkColorChannel::kG, 40.0f, displ, nullptr)); in onDraw() 87 SkColorChannel::kB, SkColorChannel::kA, 40.0f, displ, nullptr)); in onDraw() 90 SkColorChannel::kR, SkColorChannel::kB, 40.0f, displ, nullptr)); in onDraw() 93 SkColorChannel::kG, SkColorChannel::kA, 40.0f, displ, nullptr)); in onDraw() 96 SkColorChannel::kR, SkColorChannel::kA, 40.0f, displ, nullptr)); in onDraw() [all …]
|
D | imagefiltersclipped.cpp | 109 SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, in onDraw()
|
D | imagefiltersscaled.cpp | 101 SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, 12, in onDraw()
|
D | imagefilterscropexpand.cpp | 91 SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, 12,
|
D | imagefilterstransformed.cpp | 84 SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, 12, in onDraw()
|
D | imagemakewithfilter.cpp | 91 return SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kG, 40.f, in displacement_factory()
|
/external/skia/src/effects/imagefilters/ |
D | SkDisplacementMapImageFilter.cpp | 36 SkDisplacementMapImageFilter(SkColorChannel xChannelSelector, SkColorChannel yChannelSelector, in SkDisplacementMapImageFilter() 60 SkColorChannel fXChannelSelector; 61 SkColorChannel fYChannelSelector; 78 Extractor(SkColorChannel typeX, in Extractor() 79 SkColorChannel typeY) in Extractor() 90 static bool channel_selector_type_is_valid(SkColorChannel cst) { in channel_selector_type_is_valid() 92 case SkColorChannel::kR: in channel_selector_type_is_valid() 93 case SkColorChannel::kG: in channel_selector_type_is_valid() 94 case SkColorChannel::kB: in channel_selector_type_is_valid() 95 case SkColorChannel::kA: in channel_selector_type_is_valid() [all …]
|
/external/skia/src/core/ |
D | SkYUVAInfo.cpp | 144 SkColorChannel* channel) { in channel_index_to_channel() 149 *channel = SkColorChannel::kR; in channel_index_to_channel() 155 case 0: *channel = SkColorChannel::kR; return true; in channel_index_to_channel() 156 case 1: *channel = SkColorChannel::kA; return true; in channel_index_to_channel() 162 *channel = SkColorChannel::kA; in channel_index_to_channel() 168 *channel = static_cast<SkColorChannel>(channelIdx); in channel_index_to_channel() 174 *channel = static_cast<SkColorChannel>(channelIdx); in channel_index_to_channel() 180 *channel = static_cast<SkColorChannel>(channelIdx); in channel_index_to_channel() 265 SkColorChannel channel; in GetYUVALocations() 273 yuvaLocations[i] = {-1, SkColorChannel::kR}; in GetYUVALocations()
|
D | SkYUVAInfoLocation.h | 22 SkColorChannel fChannel = SkColorChannel::kA;
|
/external/skia/bench/ |
D | DisplacementBench.cpp | 101 paint.setImageFilter(SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kG, in onDraw() 126 paint.setImageFilter(SkImageFilters::DisplacementMap(SkColorChannel::kB, SkColorChannel::kA, in onDraw() 150 paint.setImageFilter(SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kB, in onDraw()
|
D | ImageFilterDAGBench.cpp | 123 paint.setImageFilter(SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, in onDraw()
|
/external/skqp/gm/ |
D | yuvtorgbeffect.cpp | 116 { indices[i][0], SkColorChannel::kR }, in onDraw() 117 { indices[i][1], SkColorChannel::kR }, in onDraw() 118 { indices[i][2], SkColorChannel::kR }, in onDraw() 119 { -1, SkColorChannel::kA } in onDraw() 227 { 0, SkColorChannel::kR }, in onDraw() 228 { 1, SkColorChannel::kR }, in onDraw() 229 { 1, SkColorChannel::kG }, in onDraw() 230 { -1, SkColorChannel::kA } in onDraw()
|
D | wacky_yuv_formats.cpp | 361 yuvaIndices[0].fChannel = SkColorChannel::kR; in create_YUV() 363 yuvaIndices[1].fChannel = SkColorChannel::kG; in create_YUV() 365 yuvaIndices[2].fChannel = SkColorChannel::kB; in create_YUV() 367 yuvaIndices[3].fChannel = SkColorChannel::kA; in create_YUV() 394 yuvaIndices[0].fChannel = SkColorChannel::kA; in create_YUV() 396 yuvaIndices[1].fChannel = SkColorChannel::kR; in create_YUV() 398 yuvaIndices[2].fChannel = SkColorChannel::kG; in create_YUV() 425 yuvaIndices[0].fChannel = SkColorChannel::kA; in create_YUV() 427 yuvaIndices[1].fChannel = SkColorChannel::kG; in create_YUV() 429 yuvaIndices[2].fChannel = SkColorChannel::kR; in create_YUV() [all …]
|
/external/skqp/src/image/ |
D | SkImage_Gpu.cpp | 280 SkYUVAIndex{0, SkColorChannel::kR}, in MakeFromYUVTexturesCopy() 281 SkYUVAIndex{1, SkColorChannel::kR}, in MakeFromYUVTexturesCopy() 282 SkYUVAIndex{2, SkColorChannel::kR}, in MakeFromYUVTexturesCopy() 283 SkYUVAIndex{-1, SkColorChannel::kA}}; in MakeFromYUVTexturesCopy() 294 SkYUVAIndex{0, SkColorChannel::kR}, in MakeFromYUVTexturesCopyWithExternalBackend() 295 SkYUVAIndex{1, SkColorChannel::kR}, in MakeFromYUVTexturesCopyWithExternalBackend() 296 SkYUVAIndex{2, SkColorChannel::kR}, in MakeFromYUVTexturesCopyWithExternalBackend() 297 SkYUVAIndex{-1, SkColorChannel::kA}}; in MakeFromYUVTexturesCopyWithExternalBackend() 310 SkYUVAIndex{0, SkColorChannel::kR}, in MakeFromNV12TexturesCopy() 311 SkYUVAIndex{1, SkColorChannel::kR}, in MakeFromNV12TexturesCopy() [all …]
|
D | SkImage_GpuBase.cpp | 318 case SkColorChannel::kR: in MakeTempTextureProxies() 323 case SkColorChannel::kG: in MakeTempTextureProxies() 324 case SkColorChannel::kB: in MakeTempTextureProxies() 330 case SkColorChannel::kA: in MakeTempTextureProxies()
|
/external/skqp/src/codec/ |
D | SkCodecImageGenerator.cpp | 74 yuvaIndices[SkYUVAIndex::kY_Index].fChannel = SkColorChannel::kR; in onQueryYUVA8() 76 yuvaIndices[SkYUVAIndex::kU_Index].fChannel = SkColorChannel::kR; in onQueryYUVA8() 78 yuvaIndices[SkYUVAIndex::kV_Index].fChannel = SkColorChannel::kR; in onQueryYUVA8() 80 yuvaIndices[SkYUVAIndex::kA_Index].fChannel = SkColorChannel::kR; in onQueryYUVA8()
|
/external/skia/src/gpu/ |
D | GrYUVATextureProxies.cpp | 108 case 'r': fYUVALocations[i].fChannel = SkColorChannel::kR; break; in GrYUVATextureProxies() 109 case 'g': fYUVALocations[i].fChannel = SkColorChannel::kG; break; in GrYUVATextureProxies() 110 case 'b': fYUVALocations[i].fChannel = SkColorChannel::kB; break; in GrYUVATextureProxies() 111 case 'a': fYUVALocations[i].fChannel = SkColorChannel::kA; break; in GrYUVATextureProxies()
|
/external/skqp/tests/ |
D | ImageGeneratorTest.cpp | 85 yuvaIndices[0] = { 0, SkColorChannel::kR }; in DEF_TEST() 86 yuvaIndices[1] = { 1, SkColorChannel::kR }; in DEF_TEST() 87 yuvaIndices[2] = { 2, SkColorChannel::kR }; in DEF_TEST() 88 yuvaIndices[3] = { 3, SkColorChannel::kR }; in DEF_TEST()
|
D | YUVCacheTest.cpp | 43 yuvInfo.fYUVAIndices[i].fChannel = SkColorChannel::kR; in DEF_TEST()
|
/external/skia/include/core/ |
D | SkColor.h | 226 enum class SkColorChannel { enum 237 kRed_SkColorChannelFlag = 1 << static_cast<uint32_t>(SkColorChannel::kR), 238 kGreen_SkColorChannelFlag = 1 << static_cast<uint32_t>(SkColorChannel::kG), 239 kBlue_SkColorChannelFlag = 1 << static_cast<uint32_t>(SkColorChannel::kB), 240 kAlpha_SkColorChannelFlag = 1 << static_cast<uint32_t>(SkColorChannel::kA),
|
/external/skqp/include/core/ |
D | SkYUVAIndex.h | 16 enum class SkColorChannel { enum 58 SkColorChannel fChannel;
|
/external/skia/modules/svg/include/ |
D | SkSVGFeDisplacementMap.h | 16 using ChannelSelector = SkColorChannel;
|
/external/skia/include/effects/ |
D | SkImageFilters.h | 146 static sk_sp<SkImageFilter> DisplacementMap(SkColorChannel xChannelSelector, 147 SkColorChannel yChannelSelector,
|
/external/skia/tools/gpu/ |
D | YUVUtils.cpp | 36 static uint8_t look_up(SkPoint normPt, const SkPixmap& pmap, SkColorChannel channel) { in look_up()
|
/external/skia/fuzz/ |
D | FuzzCanvas.cpp | 591 SkColorChannel xChannelSelector, yChannelSelector; in make_fuzz_imageFilter() 592 fuzz->nextEnum(&xChannelSelector, SkColorChannel::kLastEnum); in make_fuzz_imageFilter() 593 fuzz->nextEnum(&yChannelSelector, SkColorChannel::kLastEnum); in make_fuzz_imageFilter()
|