Home
last modified time | relevance | path

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

12

/external/skia/gm/
Ddisplacement.cpp68 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 …]
Dimagefiltersclipped.cpp109 SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, in onDraw()
Dimagefiltersscaled.cpp101 SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, 12, in onDraw()
Dimagefilterscropexpand.cpp91 SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, 12,
Dimagefilterstransformed.cpp84 SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, 12, in onDraw()
Dimagemakewithfilter.cpp91 return SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kG, 40.f, in displacement_factory()
/external/skia/src/effects/imagefilters/
DSkDisplacementMapImageFilter.cpp36 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/
DSkYUVAInfo.cpp144 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()
DSkYUVAInfoLocation.h22 SkColorChannel fChannel = SkColorChannel::kA;
/external/skia/bench/
DDisplacementBench.cpp101 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()
DImageFilterDAGBench.cpp123 paint.setImageFilter(SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, in onDraw()
/external/skqp/gm/
Dyuvtorgbeffect.cpp116 { 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()
Dwacky_yuv_formats.cpp361 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/
DSkImage_Gpu.cpp280 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 …]
DSkImage_GpuBase.cpp318 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/
DSkCodecImageGenerator.cpp74 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/
DGrYUVATextureProxies.cpp108 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/
DImageGeneratorTest.cpp85 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()
DYUVCacheTest.cpp43 yuvInfo.fYUVAIndices[i].fChannel = SkColorChannel::kR; in DEF_TEST()
/external/skia/include/core/
DSkColor.h226 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/
DSkYUVAIndex.h16 enum class SkColorChannel { enum
58 SkColorChannel fChannel;
/external/skia/modules/svg/include/
DSkSVGFeDisplacementMap.h16 using ChannelSelector = SkColorChannel;
/external/skia/include/effects/
DSkImageFilters.h146 static sk_sp<SkImageFilter> DisplacementMap(SkColorChannel xChannelSelector,
147 SkColorChannel yChannelSelector,
/external/skia/tools/gpu/
DYUVUtils.cpp36 static uint8_t look_up(SkPoint normPt, const SkPixmap& pmap, SkColorChannel channel) { in look_up()
/external/skia/fuzz/
DFuzzCanvas.cpp591 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()

12