Searched refs:Subsampling (Results 1 – 17 of 17) sorted by relevance
/third_party/skia/src/core/ |
D | SkYUVAInfo.cpp | 15 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/ |
D | SkYUVAInfo.h | 69 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;
|
D | SkYUVAPixmaps.h | 31 using Subsampling = SkYUVAInfo::Subsampling; variable
|
/third_party/skia/tests/ |
D | YUVTest.cpp | 84 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()
|
D | YUVCacheTest.cpp | 38 SkYUVAInfo::Subsampling::k420, in DEF_TEST()
|
D | ImageGeneratorTest.cpp | 70 SkYUVAInfo::Subsampling::k420, in DEF_TEST()
|
D | ImageTest.cpp | 1404 SkYUVAInfo::Subsampling::k444, in make_yuva_image()
|
/third_party/skia/gm/ |
D | wacky_yuv_formats.cpp | 122 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 …]
|
D | yuv420_odd_dim.cpp | 106 SkYUVAInfo::Subsampling::k420,
|
D | yuvtorgbsubset.cpp | 57 SkYUVAInfo::Subsampling::k420, in makePixmaps()
|
D | imagefromyuvtextures.cpp | 62 SkYUVAInfo::Subsampling::k420, in CreatePlanes()
|
D | asyncrescaleandread.cpp | 100 SkYUVAInfo::Subsampling::k420, in do_read_and_scale_yuv()
|
/third_party/skia/src/codec/ |
D | SkJpegCodec.cpp | 798 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/ |
D | YUVUtils.h | 29 SkYUVAInfo::Subsampling,
|
D | YUVUtils.cpp | 143 SkYUVAInfo::Subsampling ss, in MakeYUVAPlanesAsA8()
|
/third_party/skia/experimental/ffmpeg/ |
D | SkVideoDecoder.cpp | 170 SkYUVAInfo::Subsampling::k420, in make_yuv_420()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | ChangeLog.md | 1104 with `cjpeg -grayscale -sample 2x2`). Subsampling technically has no meaning
|