Home
last modified time | relevance | path

Searched refs:Videomode (Results 1 – 22 of 22) sorted by relevance

/external/libkmsxx/kms++/src/
Dvideomode.cpp14 bool Videomode::valid() const in valid()
19 unique_ptr<Blob> Videomode::to_blob(Card& card) const in to_blob()
26 float Videomode::calculated_vrefresh() const in calculated_vrefresh()
33 bool Videomode::interlace() const in interlace()
38 SyncPolarity Videomode::hsync() const in hsync()
47 SyncPolarity Videomode::vsync() const in vsync()
56 void Videomode::set_interlace(bool ilace) in set_interlace()
64 void Videomode::set_hsync(SyncPolarity pol) in set_hsync()
80 void Videomode::set_vsync(SyncPolarity pol) in set_vsync()
96 string Videomode::to_string_short() const in to_string_short()
[all …]
Dmodedb.cpp11 static const Videomode& find_from_table(const Videomode* modes, uint32_t width, uint32_t height, fl… in find_from_table()
14 const Videomode& m = modes[i]; in find_from_table()
31 const Videomode& m = modes[i]; in find_from_table()
48 const Videomode& find_dmt(uint32_t width, uint32_t height, float vrefresh, bool ilace) in find_dmt()
53 const Videomode& find_cea(uint32_t width, uint32_t height, float vrefresh, bool ilace) in find_cea()
Dconnector.cpp121 Videomode Connector::get_default_mode() const in get_default_mode()
124 return Videomode(); in get_default_mode()
131 Videomode Connector::get_mode(const string& mode) const in get_mode()
141 Videomode m = drm_mode_to_video_mode(c->modes[i]); in get_mode()
155 Videomode Connector::get_mode(unsigned xres, unsigned yres, float vrefresh, bool ilace) const in get_mode()
160 Videomode m = drm_mode_to_video_mode(c->modes[i]); in get_mode()
177 Videomode m = drm_mode_to_video_mode(c->modes[i]); in get_mode()
265 std::vector<Videomode> Connector::get_modes() const in get_modes()
267 vector<Videomode> modes; in get_modes()
Dhelpers.h8 struct Videomode;
10 Videomode drm_mode_to_video_mode(const drmModeModeInfo& drmmode);
11 drmModeModeInfo video_mode_to_drm_mode(const Videomode& mode);
Dhelpers.cpp10 Videomode drm_mode_to_video_mode(const drmModeModeInfo& drmmode) in drm_mode_to_video_mode()
12 Videomode mode = {}; in drm_mode_to_video_mode()
41 drmModeModeInfo video_mode_to_drm_mode(const Videomode& mode) in video_mode_to_drm_mode()
Dcrtc.cpp59 int Crtc::set_mode(Connector* conn, const Videomode& mode) in set_mode()
81 int Crtc::set_mode(Connector* conn, Framebuffer& fb, const Videomode& mode) in set_mode()
171 Videomode Crtc::mode() const in mode()
Dmode_cvt.cpp49 Videomode videomode_from_cvt(uint32_t hact, uint32_t vact, uint32_t refresh, bool ilace, bool reduc… in videomode_from_cvt()
136 Videomode mode; in videomode_from_cvt()
Dmodedb_cea.cpp51 const Videomode cea_modes[] = {
Dmodedb_dmt.cpp22 const Videomode dmt_modes[] = {
/external/libkmsxx/py/pykms/
Dpykmsbase.cpp77 .def("get_mode", (Videomode(Connector::*)(const string& mode) const) & Connector::get_mode) in init_pykmsbase()
78 ….def("get_mode", (Videomode(Connector::*)(unsigned xres, unsigned yres, float refresh, bool ilace)… in init_pykmsbase()
84 .def("set_mode", (int (Crtc::*)(Connector*, const Videomode&)) & Crtc::set_mode) in init_pykmsbase()
85 .def("set_mode", (int (Crtc::*)(Connector*, Framebuffer&, const Videomode&)) & Crtc::set_mode) in init_pykmsbase()
232 py::class_<Videomode>(m, "Videomode") in init_pykmsbase()
235 .def_readwrite("name", &Videomode::name) in init_pykmsbase()
237 .def_readwrite("clock", &Videomode::clock) in init_pykmsbase()
239 .def_readwrite("hdisplay", &Videomode::hdisplay) in init_pykmsbase()
240 .def_readwrite("hsync_start", &Videomode::hsync_start) in init_pykmsbase()
241 .def_readwrite("hsync_end", &Videomode::hsync_end) in init_pykmsbase()
[all …]
/external/libkmsxx/kms++/inc/kms++/
Dmodedb.h8 struct Videomode;
10 extern const Videomode dmt_modes[];
11 extern const Videomode cea_modes[];
13 const Videomode& find_dmt(uint32_t width, uint32_t height, float vrefresh, bool ilace);
14 const Videomode& find_cea(uint32_t width, uint32_t height, float vrefresh, bool ilace);
Dconnector.h25 Videomode get_default_mode() const;
27 Videomode get_mode(const std::string& mode) const;
28 Videomode get_mode(unsigned xres, unsigned yres, float vrefresh, bool ilace) const;
44 std::vector<Videomode> get_modes() const;
Dcrtc.h21 int set_mode(Connector* conn, const Videomode& mode);
22 int set_mode(Connector* conn, Framebuffer& fb, const Videomode& mode);
41 Videomode mode() const;
Dvideomode.h17 struct Videomode { struct
56 struct Videomode videomode_from_timings(uint32_t clock_khz, argument
Dmode_cvt.h7 Videomode videomode_from_cvt(uint32_t hact, uint32_t vact, uint32_t refresh, bool ilace, bool reduc…
Ddecls.h20 struct Videomode;
/external/libkmsxx/utils/
Domap-wbcap.cpp27 Videomode m = crtc->mode(); in WBStreamer()
318Videomode src_mode = src_mode_name.empty() ? src_conn->get_default_mode() : src_conn->get_mode(src… in main()
325Videomode dst_mode = dst_mode_name.empty() ? dst_conn->get_default_mode() : dst_conn->get_mode(dst… in main()
Dkmsprint.cpp22 static string format_mode(const Videomode& m, unsigned idx) in format_mode()
44 static string format_mode_short(const Videomode& m) in format_mode_short()
Dkmstouch.cpp258 Videomode mode = conn->get_default_mode(); in main()
Dkmstest.cpp54 Videomode mode;
/external/libkmsxx/kmscube/
Dcube-gbm.cpp184 …GbmDevice& gdev, const EglState& egl, Connector* connector, Crtc* crtc, Videomode& mode, Plane* ro… in OutputHandler()
299 Videomode m_mode;
/external/libkmsxx/py/tests/
Dkmsmodeview.py210 mode = pykms.Videomode()