/third_party/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 | 108 SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, in onDraw()
|
D | imagefiltersscaled.cpp | 100 SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, 12, in onDraw()
|
/third_party/flutter/skia/gm/ |
D | displacement.cpp | 69 SkColorChannel::kR, SkColorChannel::kG, 0.0f, displ, nullptr)); in onDraw() 72 SkColorChannel::kB, SkColorChannel::kA, 16.0f, displ, nullptr)); in onDraw() 75 SkColorChannel::kR, SkColorChannel::kB, 32.0f, displ, nullptr)); in onDraw() 78 SkColorChannel::kG, SkColorChannel::kA, 48.0f, displ, nullptr)); in onDraw() 81 SkColorChannel::kR, SkColorChannel::kA, 64.0f, displ, nullptr)); in onDraw() 85 SkColorChannel::kR, SkColorChannel::kG, 40.0f, displ, nullptr)); in onDraw() 88 SkColorChannel::kB, SkColorChannel::kA, 40.0f, displ, nullptr)); in onDraw() 91 SkColorChannel::kR, SkColorChannel::kB, 40.0f, displ, nullptr)); in onDraw() 94 SkColorChannel::kG, SkColorChannel::kA, 40.0f, displ, nullptr)); in onDraw() 97 SkColorChannel::kR, SkColorChannel::kA, 40.0f, displ, nullptr)); in onDraw() [all …]
|
D | wacky_yuv_formats.cpp | 119 yuvaIndices[0].fChannel = SkColorChannel::kR; // bc 16bit is stored in R16 format in setup_yuv_indices() 121 yuvaIndices[1].fChannel = SkColorChannel::kR; in setup_yuv_indices() 123 yuvaIndices[2].fChannel = SkColorChannel::kG; in setup_yuv_indices() 126 yuvaIndices[3].fChannel = SkColorChannel::kR; // bc 16bit is stored in R16 format in setup_yuv_indices() 134 yuvaIndices[0].fChannel = SkColorChannel::kG; in setup_yuv_indices() 136 yuvaIndices[1].fChannel = SkColorChannel::kB; in setup_yuv_indices() 138 yuvaIndices[2].fChannel = SkColorChannel::kR; in setup_yuv_indices() 140 yuvaIndices[3].fChannel = SkColorChannel::kA; in setup_yuv_indices() 145 yuvaIndices[0].fChannel = SkColorChannel::kR; in setup_yuv_indices() 147 yuvaIndices[1].fChannel = SkColorChannel::kG; in setup_yuv_indices() [all …]
|
D | yuvtorgbeffect.cpp | 124 { indices[i][0], SkColorChannel::kR }, in onDraw() 125 { indices[i][1], SkColorChannel::kR }, in onDraw() 126 { indices[i][2], SkColorChannel::kR }, in onDraw() 127 { -1, SkColorChannel::kA } in onDraw() 231 { 0, SkColorChannel::kR }, in onDraw() 232 { 1, SkColorChannel::kR }, in onDraw() 233 { 1, SkColorChannel::kG }, in onDraw() 234 { -1, SkColorChannel::kA } in onDraw() 334 { SkYUVAIndex::kY_Index, SkColorChannel::kR }, in onDraw() 335 { SkYUVAIndex::kU_Index, SkColorChannel::kR }, in onDraw() [all …]
|
D | asyncrescaleandread.cpp | 117 { 0, SkColorChannel::kR}, in do_read_and_scale_yuv() 118 { 1, SkColorChannel::kR}, in do_read_and_scale_yuv() 119 { 2, SkColorChannel::kR}, in do_read_and_scale_yuv() 120 {-1, SkColorChannel::kR} in do_read_and_scale_yuv()
|
D | imagefilterstransformed.cpp | 82 SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, 12, in onDraw()
|
D | imagefiltersclipped.cpp | 109 SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, in onDraw()
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkDisplacementMapEffect.cpp | 39 SkDisplacementMapEffectImpl(SkColorChannel xChannelSelector, SkColorChannel yChannelSelector, in SkDisplacementMapEffectImpl() 63 SkColorChannel fXChannelSelector; 64 SkColorChannel fYChannelSelector; 81 Extractor(SkColorChannel typeX, in Extractor() 82 SkColorChannel typeY) in Extractor() 93 static bool channel_selector_type_is_valid(SkColorChannel cst) { in channel_selector_type_is_valid() 95 case SkColorChannel::kR: in channel_selector_type_is_valid() 96 case SkColorChannel::kG: in channel_selector_type_is_valid() 97 case SkColorChannel::kB: in channel_selector_type_is_valid() 98 case SkColorChannel::kA: in channel_selector_type_is_valid() [all …]
|
/third_party/skia/src/effects/imagefilters/ |
D | SkDisplacementMapImageFilter.cpp | 37 SkDisplacementMapImageFilter(SkColorChannel xChannelSelector, SkColorChannel yChannelSelector, in SkDisplacementMapImageFilter() 61 SkColorChannel fXChannelSelector; 62 SkColorChannel fYChannelSelector; 79 Extractor(SkColorChannel typeX, in Extractor() 80 SkColorChannel typeY) in Extractor() 91 static bool channel_selector_type_is_valid(SkColorChannel cst) { in channel_selector_type_is_valid() 93 case SkColorChannel::kR: in channel_selector_type_is_valid() 94 case SkColorChannel::kG: in channel_selector_type_is_valid() 95 case SkColorChannel::kB: in channel_selector_type_is_valid() 96 case SkColorChannel::kA: in channel_selector_type_is_valid() [all …]
|
/third_party/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;
|
/third_party/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()
|
/third_party/flutter/skia/bench/ |
D | DisplacementBench.cpp | 104 paint.setImageFilter(SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kG, in onDraw() 129 paint.setImageFilter(SkImageFilters::DisplacementMap(SkColorChannel::kB, SkColorChannel::kA, in onDraw() 153 paint.setImageFilter(SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kB, in onDraw()
|
D | ImageFilterDAGBench.cpp | 119 paint.setImageFilter(SkImageFilters::DisplacementMap(SkColorChannel::kR, SkColorChannel::kR, in onDraw()
|
/third_party/flutter/skia/src/image/ |
D | SkImage_Gpu.cpp | 303 SkYUVAIndex{0, SkColorChannel::kR}, in MakeFromYUVTexturesCopy() 304 SkYUVAIndex{1, SkColorChannel::kR}, in MakeFromYUVTexturesCopy() 305 SkYUVAIndex{2, SkColorChannel::kR}, in MakeFromYUVTexturesCopy() 306 SkYUVAIndex{-1, SkColorChannel::kA}}; in MakeFromYUVTexturesCopy() 317 SkYUVAIndex{0, SkColorChannel::kR}, in MakeFromYUVTexturesCopyWithExternalBackend() 318 SkYUVAIndex{1, SkColorChannel::kR}, in MakeFromYUVTexturesCopyWithExternalBackend() 319 SkYUVAIndex{2, SkColorChannel::kR}, in MakeFromYUVTexturesCopyWithExternalBackend() 320 SkYUVAIndex{-1, SkColorChannel::kA}}; in MakeFromYUVTexturesCopyWithExternalBackend() 333 SkYUVAIndex{0, SkColorChannel::kR}, in MakeFromNV12TexturesCopy() 334 SkYUVAIndex{1, SkColorChannel::kR}, in MakeFromNV12TexturesCopy() [all …]
|
D | SkImage_GpuBase.cpp | 277 case SkColorChannel::kR: in MakeTempTextureProxies() 284 case SkColorChannel::kG: in MakeTempTextureProxies() 289 case SkColorChannel::kB: in MakeTempTextureProxies() 294 case SkColorChannel::kA: in MakeTempTextureProxies()
|
/third_party/flutter/skia/include/effects/ |
D | SkDisplacementMapEffect.h | 13 enum class SkColorChannel; variable 36 static sk_sp<SkImageFilter> Make(SkColorChannel xChannelSelector, 37 SkColorChannel yChannelSelector,
|
/third_party/flutter/skia/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()
|
/third_party/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()
|
/third_party/flutter/skia/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()
|
/third_party/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),
|
/third_party/flutter/skia/experimental/ffmpeg/ |
D | SkVideoDecoder.cpp | 178 indices[SkYUVAIndex::kY_Index] = {0, SkColorChannel::kR}; in make_yuv_420() 179 indices[SkYUVAIndex::kU_Index] = {1, SkColorChannel::kR}; in make_yuv_420() 180 indices[SkYUVAIndex::kV_Index] = {2, SkColorChannel::kR}; in make_yuv_420() 181 indices[SkYUVAIndex::kA_Index] = {-1, SkColorChannel::kR}; in make_yuv_420()
|