Home
last modified time | relevance | path

Searched refs:Subsampling (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/src/core/
DSkYUVAInfo.cpp15 SkYUVAInfo::Subsampling subsampling) { in is_plane_config_compatible_with_subsampling()
17 subsampling == SkYUVAInfo::Subsampling::kUnknown) { in is_plane_config_compatible_with_subsampling()
20 return subsampling == SkYUVAInfo::Subsampling::k444 || in is_plane_config_compatible_with_subsampling()
27 std::tuple<int, int> SkYUVAInfo::SubsamplingFactors(Subsampling subsampling) { in SubsamplingFactors()
29 case Subsampling::kUnknown: return {0, 0}; in SubsamplingFactors()
30 case Subsampling::k444: return {1, 1}; in SubsamplingFactors()
31 case Subsampling::k422: return {2, 1}; in SubsamplingFactors()
32 case Subsampling::k420: return {2, 2}; in SubsamplingFactors()
33 case Subsampling::k440: return {1, 2}; in SubsamplingFactors()
34 case Subsampling::k411: return {4, 1}; in SubsamplingFactors()
[all …]
/third_party/skia/include/core/
DSkYUVAInfo.h69 enum class Subsampling { enum
97 static std::tuple<int, int> SubsamplingFactors(Subsampling);
104 static std::tuple<int, int> PlaneSubsamplingFactors(PlaneConfig, Subsampling, int planeIdx);
116 Subsampling,
148 Subsampling,
157 Subsampling subsampling() const { return fSubsampling; } in subsampling()
218 SkYUVAInfo makeSubsampling(SkYUVAInfo::Subsampling) const;
235 Subsampling fSubsampling = Subsampling::kUnknown;
DSkYUVAPixmaps.h31 using Subsampling = SkYUVAInfo::Subsampling; variable
/third_party/skia/tests/
DYUVTest.cpp84 auto setExpectations = [](SkISize dims, SkYUVAInfo::Subsampling subsampling) { in DEF_TEST()
94 SkYUVAInfo expectations = setExpectations({128, 128}, SkYUVAInfo::Subsampling::k420); in DEF_TEST()
98 expectations = setExpectations({512, 512}, SkYUVAInfo::Subsampling::k420); in DEF_TEST()
102 expectations = setExpectations({512, 512}, SkYUVAInfo::Subsampling::k444); in DEF_TEST()
106 expectations = setExpectations({512, 512}, SkYUVAInfo::Subsampling::k422); in DEF_TEST()
110 expectations = setExpectations({439, 154}, SkYUVAInfo::Subsampling::k420); in DEF_TEST()
113 expectations = setExpectations({8, 8}, SkYUVAInfo::Subsampling::k420); in DEF_TEST()
117 expectations = setExpectations({512, 512}, SkYUVAInfo::Subsampling::k444); in DEF_TEST()
DYUVCacheTest.cpp38 SkYUVAInfo::Subsampling::k420, in DEF_TEST()
DImageGeneratorTest.cpp70 SkYUVAInfo::Subsampling::k420, in DEF_TEST()
DImageTest.cpp1404 SkYUVAInfo::Subsampling::k444, in make_yuva_image()
/third_party/skia/gm/
Dwacky_yuv_formats.cpp122 fSubsampling = SkYUVAInfo::Subsampling::k420; in YUVAPlanarConfig()
125 fSubsampling = SkYUVAInfo::Subsampling::k420; in YUVAPlanarConfig()
132 fSubsampling = SkYUVAInfo::Subsampling::k444; in YUVAPlanarConfig()
135 fSubsampling = SkYUVAInfo::Subsampling::k444; in YUVAPlanarConfig()
141 fSubsampling = SkYUVAInfo::Subsampling::k444; in YUVAPlanarConfig()
144 fSubsampling = SkYUVAInfo::Subsampling::k444; in YUVAPlanarConfig()
150 fSubsampling = SkYUVAInfo::Subsampling::k420; in YUVAPlanarConfig()
153 fSubsampling = SkYUVAInfo::Subsampling::k420; in YUVAPlanarConfig()
159 fSubsampling = SkYUVAInfo::Subsampling::k420; in YUVAPlanarConfig()
162 fSubsampling = SkYUVAInfo::Subsampling::k420; in YUVAPlanarConfig()
[all …]
Dyuv420_odd_dim.cpp106 SkYUVAInfo::Subsampling::k420,
Dyuvtorgbsubset.cpp57 SkYUVAInfo::Subsampling::k420, in makePixmaps()
Dimagefromyuvtextures.cpp62 SkYUVAInfo::Subsampling::k420, in CreatePlanes()
Dasyncrescaleandread.cpp100 SkYUVAInfo::Subsampling::k420, in do_read_and_scale_yuv()
/third_party/skia/src/codec/
DSkJpegCodec.cpp798 SkYUVAInfo::Subsampling tempSubsampling; in is_yuv_supported()
800 tempSubsampling = SkYUVAInfo::Subsampling::k444; in is_yuv_supported()
802 tempSubsampling = SkYUVAInfo::Subsampling::k422; in is_yuv_supported()
804 tempSubsampling = SkYUVAInfo::Subsampling::k420; in is_yuv_supported()
806 tempSubsampling = SkYUVAInfo::Subsampling::k440; in is_yuv_supported()
808 tempSubsampling = SkYUVAInfo::Subsampling::k411; in is_yuv_supported()
810 tempSubsampling = SkYUVAInfo::Subsampling::k410; in is_yuv_supported()
/third_party/skia/tools/gpu/
DYUVUtils.h29 SkYUVAInfo::Subsampling,
DYUVUtils.cpp143 SkYUVAInfo::Subsampling ss, in MakeYUVAPlanesAsA8()
/third_party/skia/experimental/ffmpeg/
DSkVideoDecoder.cpp170 SkYUVAInfo::Subsampling::k420, in make_yuv_420()
/third_party/skia/third_party/externals/libjpeg-turbo/
DChangeLog.md1104 with `cjpeg -grayscale -sample 2x2`). Subsampling technically has no meaning