Home
last modified time | relevance | path

Searched refs:PlaneConfig (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/core/
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::kY_V_U: in PlaneSubsamplingFactors()
[all …]
/external/skia/include/core/
DSkYUVAInfo.h43 enum class PlaneConfig { enum
104 static std::tuple<int, int> PlaneSubsamplingFactors(PlaneConfig, Subsampling, int planeIdx);
115 PlaneConfig,
121 static constexpr int NumPlanes(PlaneConfig);
127 static constexpr int NumChannelsInPlane(PlaneConfig, int i);
134 static YUVALocations GetYUVALocations(PlaneConfig, const uint32_t* planeChannelFlags);
137 static bool HasAlpha(PlaneConfig);
147 PlaneConfig,
156 PlaneConfig planeConfig() const { return fPlaneConfig; } in planeConfig()
229 bool isValid() const { return fPlaneConfig != PlaneConfig::kUnknown; } in isValid()
[all …]
DSkYUVAPixmaps.h30 using PlaneConfig = SkYUVAInfo::PlaneConfig; variable
62 constexpr bool supported(PlaneConfig, DataType) const;
278 constexpr bool SkYUVAPixmapInfo::SupportedDataTypes::supported(PlaneConfig config, in supported()
/external/skia/gm/
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::kY_U_V_A; in YUVAPlanarConfig()
[all …]
Dyuvtorgbsubset.cpp57 SkYUVAInfo::PlaneConfig::kY_U_V, in makePixmaps()
Dimagefromyuvtextures.cpp63 SkYUVAInfo::PlaneConfig::kY_U_V_A, in CreatePlanes()
Dasyncrescaleandread.cpp99 SkYUVAInfo::PlaneConfig::kY_U_V, in do_read_and_scale_yuv()
/external/skia/src/encode/
DSkJpegEncoder.cpp186 case SkYUVAInfo::PlaneConfig::kY_U_V: { in yuva_copy_row()
201 case SkYUVAInfo::PlaneConfig::kY_UV: { in yuva_copy_row()
242 case SkYUVAInfo::PlaneConfig::kY_U_V: in setParams()
243 case SkYUVAInfo::PlaneConfig::kY_UV: in setParams()
/external/skia/tools/gpu/
DYUVUtils.cpp148 SkYUVAInfo::PlaneConfig config = src->isOpaque() ? SkYUVAInfo::PlaneConfig::kY_U_V in MakeYUVAPlanesAsA8()
149 : SkYUVAInfo::PlaneConfig::kY_U_V_A; in MakeYUVAPlanesAsA8()
/external/skia/tests/
DYUVCacheTest.cpp42 SkYUVAInfo::PlaneConfig::kY_U_V, in DEF_TEST()
DImageGeneratorTest.cpp81 SkYUVAInfo::PlaneConfig::kY_UV, in DEF_TEST()
DYUVTest.cpp101 SkYUVAInfo::PlaneConfig::kY_U_V, in DEF_TEST()
DImageTest.cpp1511 SkYUVAInfo::PlaneConfig::kY_U_V, in make_yuva_image()
/external/skia/experimental/ffmpeg/
DSkVideoDecoder.cpp171 SkYUVAInfo::PlaneConfig::kY_U_V, in make_yuv_420()
/external/skia/src/codec/
DSkJpegCodec.cpp911 !supportedDataTypes->supported(SkYUVAInfo::PlaneConfig::kY_U_V, in is_yuv_supported()
923 SkYUVAInfo::PlaneConfig::kY_U_V, in is_yuv_supported()