Home
last modified time | relevance | path

Searched refs:PlaneConfig (Results 1 – 13 of 13) 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.cpp124 fPlaneConfig = SkYUVAInfo::PlaneConfig::kY_UV; in YUVAPlanarConfig()
127 fPlaneConfig = SkYUVAInfo::PlaneConfig::kY_UV_A; in YUVAPlanarConfig()
134 fPlaneConfig = SkYUVAInfo::PlaneConfig::kUYV; in YUVAPlanarConfig()
137 fPlaneConfig = SkYUVAInfo::PlaneConfig::kUYVA; in YUVAPlanarConfig()
143 fPlaneConfig = SkYUVAInfo::PlaneConfig::kYUV; in YUVAPlanarConfig()
146 fPlaneConfig = SkYUVAInfo::PlaneConfig::kYUVA; in YUVAPlanarConfig()
152 fPlaneConfig = SkYUVAInfo::PlaneConfig::kY_VU; in YUVAPlanarConfig()
155 fPlaneConfig = SkYUVAInfo::PlaneConfig::kY_VU_A; in YUVAPlanarConfig()
161 fPlaneConfig = SkYUVAInfo::PlaneConfig::kY_U_V; in YUVAPlanarConfig()
164 fPlaneConfig = SkYUVAInfo::PlaneConfig::kY_U_V_A; in YUVAPlanarConfig()
[all …]
Dyuvtorgbsubset.cpp56 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/tests/
DImageGeneratorTest.cpp69 SkYUVAInfo::PlaneConfig::kY_UV, in DEF_TEST()
DYUVCacheTest.cpp37 SkYUVAInfo::PlaneConfig::kY_U_V, in DEF_TEST()
DYUVTest.cpp86 SkYUVAInfo::PlaneConfig::kY_U_V, in DEF_TEST()
DImageTest.cpp1403 SkYUVAInfo::PlaneConfig::kY_U_V, in make_yuva_image()
/external/skia/experimental/ffmpeg/
DSkVideoDecoder.cpp169 SkYUVAInfo::PlaneConfig::kY_U_V, in make_yuv_420()
/external/skia/src/codec/
DSkJpegCodec.cpp816 !supportedDataTypes->supported(SkYUVAInfo::PlaneConfig::kY_U_V, in is_yuv_supported()
828 SkYUVAInfo::PlaneConfig::kY_U_V, in is_yuv_supported()