Home
last modified time | relevance | path

Searched refs:PlaneConfig (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/src/core/
H A DSkYUVAInfo.cpp14 static bool is_plane_config_compatible_with_subsampling(SkYUVAInfo::PlaneConfig config, in is_plane_config_compatible_with_subsampling()
16 if (config == SkYUVAInfo::PlaneConfig::kUnknown || in is_plane_config_compatible_with_subsampling()
21 (config != SkYUVAInfo::PlaneConfig::kYUV && in is_plane_config_compatible_with_subsampling()
22 config != SkYUVAInfo::PlaneConfig::kYUVA && in is_plane_config_compatible_with_subsampling()
23 config != SkYUVAInfo::PlaneConfig::kUYV && in is_plane_config_compatible_with_subsampling()
24 config != SkYUVAInfo::PlaneConfig::kUYVA); in is_plane_config_compatible_with_subsampling()
40 std::tuple<int, int> SkYUVAInfo::PlaneSubsamplingFactors(PlaneConfig planeConfig, in PlaneSubsamplingFactors()
50 case PlaneConfig::kUnknown: SkUNREACHABLE; in PlaneSubsamplingFactors()
52 case PlaneConfig::kY_U_V: in PlaneSubsamplingFactors()
53 case PlaneConfig in PlaneSubsamplingFactors()
[all...]
/third_party/skia/include/core/
H A DSkYUVAInfo.h43 enum class PlaneConfig { class in SkYUVAInfo
66 * sampled. Note that Subsampling values other than k444 are only valid with PlaneConfig values
101 * inputs are valid. Invalid inputs consist of incompatible PlaneConfig/Subsampling/planeIdx
104 static std::tuple<int, int> PlaneSubsamplingFactors(PlaneConfig, Subsampling, int planeIdx);
115 PlaneConfig,
120 /** Number of planes for a given PlaneConfig. */
121 static constexpr int NumPlanes(PlaneConfig);
124 * Number of Y, U, V, A channels in the ith plane for a given PlaneConfig (or 0 if i is
127 static constexpr int NumChannelsInPlane(PlaneConfig, int i);
130 * Given a PlaneConfig an
[all...]
H A DSkYUVAPixmaps.h30 using PlaneConfig = SkYUVAInfo::PlaneConfig;
55 /** All legal combinations of PlaneConfig and DataType are supported. */
60 * as indicated by PlaneConfig with channel data types as indicated by DataType.
62 constexpr bool supported(PlaneConfig, DataType) const;
278 constexpr bool SkYUVAPixmapInfo::SupportedDataTypes::supported(PlaneConfig config, in supported()
/third_party/skia/gm/
H A Dwacky_yuv_formats.cpp121 fPlaneConfig = SkYUVAInfo::PlaneConfig::kY_UV; in YUVAPlanarConfig()
124 fPlaneConfig = SkYUVAInfo::PlaneConfig::kY_UV_A; in YUVAPlanarConfig()
131 fPlaneConfig = SkYUVAInfo::PlaneConfig::kUYV; in YUVAPlanarConfig()
134 fPlaneConfig = SkYUVAInfo::PlaneConfig::kUYVA; in YUVAPlanarConfig()
140 fPlaneConfig = SkYUVAInfo::PlaneConfig::kYUV; in YUVAPlanarConfig()
143 fPlaneConfig = SkYUVAInfo::PlaneConfig::kYUVA; in YUVAPlanarConfig()
149 fPlaneConfig = SkYUVAInfo::PlaneConfig::kY_VU; in YUVAPlanarConfig()
152 fPlaneConfig = SkYUVAInfo::PlaneConfig::kY_VU_A; in YUVAPlanarConfig()
158 fPlaneConfig = SkYUVAInfo::PlaneConfig::kY_U_V; in YUVAPlanarConfig()
161 fPlaneConfig = SkYUVAInfo::PlaneConfig in YUVAPlanarConfig()
[all...]
H A Dyuvtorgbsubset.cpp56 SkYUVAInfo::PlaneConfig::kY_U_V, in makePixmaps()
H A Dimagefromyuvtextures.cpp61 SkYUVAInfo::PlaneConfig::kY_U_V_A, in CreatePlanes()
H A Dasyncrescaleandread.cpp99 SkYUVAInfo::PlaneConfig::kY_U_V, in do_read_and_scale_yuv()
/third_party/skia/tools/gpu/
H A DYUVUtils.cpp148 SkYUVAInfo::PlaneConfig config = src->isOpaque() ? SkYUVAInfo::PlaneConfig::kY_U_V in MakeYUVAPlanesAsA8()
149 : SkYUVAInfo::PlaneConfig::kY_U_V_A; in MakeYUVAPlanesAsA8()
/third_party/skia/tests/
H A DImageGeneratorTest.cpp69 SkYUVAInfo::PlaneConfig::kY_UV, in DEF_TEST()
H A DYUVCacheTest.cpp37 SkYUVAInfo::PlaneConfig::kY_U_V, in DEF_TEST()
H A DYUVTest.cpp86 SkYUVAInfo::PlaneConfig::kY_U_V, in DEF_TEST()
H A DImageTest.cpp1403 SkYUVAInfo::PlaneConfig::kY_U_V, in make_yuva_image()
/third_party/skia/src/codec/
H A DSkJpegCodec.cpp842 !supportedDataTypes->supported(SkYUVAInfo::PlaneConfig::kY_U_V, in is_yuv_supported()
854 SkYUVAInfo::PlaneConfig::kY_U_V, in is_yuv_supported()
/third_party/skia/experimental/ffmpeg/
H A DSkVideoDecoder.cpp169 SkYUVAInfo::PlaneConfig::kY_U_V, in make_yuv_420()

Completed in 12 milliseconds