Home
last modified time | relevance | path

Searched refs:YUVType (Results 1 – 6 of 6) sorted by relevance

/external/libkmsxx/kms++util/src/
Dcolor.cpp62 YUV RGB::yuv(YUVType type) const in yuv()
71 const int YUVcoef[static_cast<unsigned>(YUVType::MAX)][3][3] = {
72 [static_cast<unsigned>(YUVType::BT601_Lim)] = {
76 [static_cast<unsigned>(YUVType::BT601_Full)] = {
80 [static_cast<unsigned>(YUVType::BT709_Lim)] = {
84 [static_cast<unsigned>(YUVType::BT709_Full)] = {
90 const int YUVoffset[static_cast<unsigned>(YUVType::MAX)][3] = {
91 [static_cast<unsigned>(YUVType::BT601_Lim)] = CF(0.0625, 0.5, 0.5),
92 [static_cast<unsigned>(YUVType::BT601_Full)] = CF( 0, 0.5, 0.5),
93 [static_cast<unsigned>(YUVType::BT709_Lim)] = CF(0.0625, 0.5, 0.5),
[all …]
Dtestpat.cpp100 static void draw_test_pattern_part(IFramebuffer& fb, unsigned start_y, unsigned end_y, YUVType yuvt) in draw_test_pattern_part()
154 static void draw_test_pattern_impl(IFramebuffer& fb, YUVType yuvt) in draw_test_pattern_impl()
184 void draw_test_pattern(IFramebuffer &fb, YUVType yuvt) in draw_test_pattern()
/external/libkmsxx/py/pykms/
Dpykmsutil.cpp43 py::enum_<YUVType>(m, "YUVType") in init_pykmstest()
44 .value("BT601_Lim", YUVType::BT601_Lim) in init_pykmstest()
45 .value("BT601_Full", YUVType::BT601_Full) in init_pykmstest()
46 .value("BT709_Lim", YUVType::BT709_Lim) in init_pykmstest()
47 .value("BT709_Full", YUVType::BT709_Full) in init_pykmstest()
51 m.def("draw_test_pattern", [](Framebuffer& fb, YUVType yuvt) { draw_test_pattern(fb, yuvt); }, in init_pykmstest()
53 py::arg("yuvt") = YUVType::BT601_Lim); in init_pykmstest()
/external/libkmsxx/kms++util/inc/kms++util/
Dcolor.h9 enum class YUVType { enum
30 YUV yuv(YUVType type = YUVType::BT601_Lim) const;
42 YUV(const RGB& rgb, YUVType type = YUVType::BT601_Lim);
Dkms++util.h29 void draw_test_pattern(IFramebuffer &fb, YUVType yuvt = YUVType::BT601_Lim);
/external/libkmsxx/py/tests/
Dplane_csc.py44 yuv_types = [pykms.YUVType.BT601_Lim,
45 pykms.YUVType.BT601_Full,
46 pykms.YUVType.BT709_Lim,
47 pykms.YUVType.BT709_Full]