Home
last modified time | relevance | path

Searched refs:channelFlags (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/src/gpu/
DGrYUVABackendTextures.cpp65 uint32_t channelFlags[] = {fPlaneFormats[0].channelMask(), in toYUVALocations() local
69 auto result = fYUVAInfo.toYUVALocations(channelFlags); in toYUVALocations()
102 uint32_t channelFlags[] = {fTextures[0].getBackendFormat().channelMask(), in toYUVALocations() local
106 auto result = fYUVAInfo.toYUVALocations(channelFlags); in toYUVALocations()
DGrYUVATextureProxies.cpp11 static int num_channels(uint32_t channelFlags) { in num_channels() argument
12 switch (channelFlags) { in num_channels()
22 SkDEBUGFAILF("Unexpected channel combination 0x%08x", channelFlags); in num_channels()
DGrCaps.cpp360 auto channelFlags = GrColorTypeChannelFlags(read.fColorType); in supportedReadPixelsColorType() local
361 if ((channelFlags == kRGBA_SkColorChannelFlags || channelFlags == kRGB_SkColorChannelFlags || in supportedReadPixelsColorType()
362 channelFlags == kAlpha_SkColorChannelFlag || channelFlags == kGray_SkColorChannelFlag) && in supportedReadPixelsColorType()
/third_party/skia/src/core/
DSkYUVAInfo.cpp142 static bool channel_index_to_channel(uint32_t channelFlags, in channel_index_to_channel() argument
145 switch (channelFlags) { in channel_index_to_channel()
356 SkYUVAInfo::YUVALocations SkYUVAInfo::toYUVALocations(const uint32_t* channelFlags) const { in toYUVALocations()
357 return GetYUVALocations(fPlaneConfig, channelFlags); in toYUVALocations()
DSkYUVAPixmaps.cpp288 uint32_t channelFlags[] = {SkColorTypeChannelFlags(fPlanes[0].colorType()), in toYUVALocations() local
292 auto result = fYUVAInfo.toYUVALocations(channelFlags); in toYUVALocations()
/third_party/skia/include/core/
DSkYUVAInfo.h210 YUVALocations toYUVALocations(const uint32_t* channelFlags) const;