Home
last modified time | relevance | path

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

/external/libkmsxx/py/pykms/
Dpykmsbase.cpp73 .def("get_mode", (Videomode (Connector::*)(const string& mode) const)&Connector::get_mode) in init_pykmsbase()
74 ….def("get_mode", (Videomode (Connector::*)(unsigned xres, unsigned yres, float refresh, bool ilace… in init_pykmsbase()
81 .def("set_mode", (int (Crtc::*)(Connector*, const Videomode&))&Crtc::set_mode) in init_pykmsbase()
82 .def("set_mode", (int (Crtc::*)(Connector*, Framebuffer&, const Videomode&))&Crtc::set_mode) in init_pykmsbase()
200 py::class_<Videomode>(m, "Videomode") in init_pykmsbase()
203 .def_readwrite("name", &Videomode::name) in init_pykmsbase()
205 .def_readwrite("clock", &Videomode::clock) in init_pykmsbase()
207 .def_readwrite("hdisplay", &Videomode::hdisplay) in init_pykmsbase()
208 .def_readwrite("hsync_start", &Videomode::hsync_start) in init_pykmsbase()
209 .def_readwrite("hsync_end", &Videomode::hsync_end) in init_pykmsbase()
[all …]
/external/libkmsxx/kms++/src/
Dvideomode.cpp14 unique_ptr<Blob> Videomode::to_blob(Card& card) const in to_blob()
21 float Videomode::calculated_vrefresh() const in calculated_vrefresh()
28 bool Videomode::interlace() const in interlace()
33 SyncPolarity Videomode::hsync() const in hsync()
42 SyncPolarity Videomode::vsync() const in vsync()
51 void Videomode::set_interlace(bool ilace) in set_interlace()
59 void Videomode::set_hsync(SyncPolarity pol) in set_hsync()
75 void Videomode::set_vsync(SyncPolarity pol) in set_vsync()
91 string Videomode::to_string() const in to_string()
101 Videomode videomode_from_timings(uint32_t clock_khz, in videomode_from_timings()
[all …]
Dmodedb.cpp12 static const Videomode& find_from_table(const Videomode* modes, uint32_t width, uint32_t height, fl… in find_from_table()
15 const Videomode& m = modes[i]; in find_from_table()
32 const Videomode& m = modes[i]; in find_from_table()
49 const Videomode& find_dmt(uint32_t width, uint32_t height, float vrefresh, bool ilace) in find_dmt()
54 const Videomode& find_cea(uint32_t width, uint32_t height, float vrefresh, bool ilace) in find_cea()
Dconnector.cpp120 Videomode Connector::get_default_mode() const in get_default_mode()
129 Videomode Connector::get_mode(const string& mode) const in get_mode()
139 Videomode m = drm_mode_to_video_mode(c->modes[i]); in get_mode()
153 Videomode Connector::get_mode(unsigned xres, unsigned yres, float vrefresh, bool ilace) const in get_mode()
158 Videomode m = drm_mode_to_video_mode(c->modes[i]); in get_mode()
175 Videomode m = drm_mode_to_video_mode(c->modes[i]); in get_mode()
251 std::vector<Videomode> Connector::get_modes() const in get_modes()
253 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.cpp61 int Crtc::set_mode(Connector* conn, const Videomode& mode) in set_mode()
83 int Crtc::set_mode(Connector* conn, Framebuffer& fb, const Videomode& mode) in set_mode()
173 Videomode Crtc::mode() const in mode()
Dmode_cvt.cpp53 Videomode videomode_from_cvt(uint32_t hact, uint32_t vact, uint32_t refresh, bool ilace, bool reduc… in videomode_from_cvt()
140 Videomode mode; in videomode_from_cvt()
Dmodedb_cea.cpp52 const Videomode cea_modes[] = {
Dmodedb_dmt.cpp23 const Videomode dmt_modes[] = {
/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.h19 Videomode get_default_mode() const;
21 Videomode get_mode(const std::string& mode) const;
22 Videomode get_mode(unsigned xres, unsigned yres, float vrefresh, bool ilace) const;
36 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.h19 struct Videomode struct
55 struct Videomode videomode_from_timings(uint32_t clock_khz, argument
Dmode_cvt.h8 Videomode videomode_from_cvt(uint32_t hact, uint32_t vact, uint32_t refresh, bool ilace, bool reduc…
Ddecls.h19 struct Videomode;
/external/libkmsxx/utils/
Dwbcap.cpp27 Videomode m = crtc->mode(); in WBStreamer()
326Videomode src_mode = src_mode_name.empty() ? src_conn->get_default_mode() : src_conn->get_mode(src… in main()
334Videomode dst_mode = dst_mode_name.empty() ? dst_conn->get_default_mode() : dst_conn->get_mode(dst… in main()
Dkmsprint.cpp21 static string format_mode(const Videomode& m, unsigned idx) in format_mode()
52 static string format_mode_short(const Videomode& m) in format_mode_short()
Dkmstest.cpp53 Videomode mode;
689 static std::string videomode_to_string(const Videomode& m) in videomode_to_string()
/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()