Searched refs:YUVType (Results 1 – 6 of 6) sorted by relevance
/external/libkmsxx/kms++util/src/ |
D | color.cpp | 107 YUV RGB::yuv(YUVType type) const in yuv() 119 const int YUVcoef[static_cast<unsigned>(YUVType::MAX)][3][3] = { 120 [static_cast<unsigned>(YUVType::BT601_Lim)] = { 124 …[static_cast<unsigned>(YUVType::BT601_Full)] = { CF(0.299, 0.587, 0.114), CF(-0.169, -0.331, 0.500… 125 …[static_cast<unsigned>(YUVType::BT709_Lim)] = { CF(0.1826, 0.6142, 0.0620), CF(-0.1006, -0.3386, 0… 126 …[static_cast<unsigned>(YUVType::BT709_Full)] = { CF(0.2126, 0.7152, 0.0722), CF(-0.1146, -0.3854, … 129 const int YUVoffset[static_cast<unsigned>(YUVType::MAX)][3] = { 130 [static_cast<unsigned>(YUVType::BT601_Lim)] = CF(0.0625, 0.5, 0.5), 131 [static_cast<unsigned>(YUVType::BT601_Full)] = CF(0, 0.5, 0.5), 132 [static_cast<unsigned>(YUVType::BT709_Lim)] = CF(0.0625, 0.5, 0.5), [all …]
|
D | testpat.cpp | 102 static void draw_test_pattern_part(IFramebuffer& fb, unsigned start_y, unsigned end_y, YUVType yuvt) in draw_test_pattern_part() 166 static void draw_test_pattern_impl(IFramebuffer& fb, YUVType yuvt) in draw_test_pattern_impl() 200 void draw_test_pattern(IFramebuffer& fb, YUVType yuvt) in draw_test_pattern()
|
/external/libkmsxx/py/pykms/ |
D | pykmsutil.cpp | 41 py::enum_<YUVType>(m, "YUVType") in init_pykmstest() 42 .value("BT601_Lim", YUVType::BT601_Lim) in init_pykmstest() 43 .value("BT601_Full", YUVType::BT601_Full) in init_pykmstest() 44 .value("BT709_Lim", YUVType::BT709_Lim) in init_pykmstest() 45 .value("BT709_Full", YUVType::BT709_Full); in init_pykmstest() 49 "draw_test_pattern", [](Framebuffer& fb, YUVType yuvt) { draw_test_pattern(fb, yuvt); }, in init_pykmstest() 51 py::arg("yuvt") = YUVType::BT601_Lim); in init_pykmstest()
|
/external/libkmsxx/kms++util/inc/kms++util/ |
D | color.h | 9 enum class YUVType { enum 41 YUV yuv(YUVType type = YUVType::BT601_Lim) const; 52 YUV(const RGB& rgb, YUVType type = YUVType::BT601_Lim);
|
D | kms++util.h | 31 void draw_test_pattern(IFramebuffer& fb, YUVType yuvt = YUVType::BT601_Lim);
|
/external/libkmsxx/py/tests/ |
D | plane_csc.py | 33 yuv_types = [pykms.YUVType.BT601_Lim, 34 pykms.YUVType.BT601_Full, 35 pykms.YUVType.BT709_Lim, 36 pykms.YUVType.BT709_Full]
|