Home
last modified time | relevance | path

Searched refs:Crtc (Results 1 – 25 of 25) sorted by relevance

/external/libkmsxx/kms++/src/
Dcrtc.cpp20 Crtc::Crtc(Card &card, uint32_t id, uint32_t idx) in Crtc() function in kms::Crtc
28 Crtc::~Crtc() in ~Crtc()
34 void Crtc::refresh() in refresh()
42 void Crtc::setup() in setup()
50 void Crtc::restore_mode(Connector* conn) in restore_mode()
61 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()
93 int Crtc::disable_mode() in disable_mode()
104 int Crtc::set_plane(Plane* plane, Framebuffer& fb, in set_plane()
113 int Crtc::disable_plane(Plane* plane) in disable_plane()
[all …]
Dplane.cpp36 bool Plane::supports_crtc(Crtc* crtc) const in supports_crtc()
70 vector<Crtc*> Plane::get_possible_crtcs() const in get_possible_crtcs()
73 vector<Crtc*> v; in get_possible_crtcs()
83 auto iter = find_if(crtcs.begin(), crtcs.end(), [idx](Crtc* crtc) { return crtc->idx() == idx; }); in get_possible_crtcs()
Dencoder.cpp56 Crtc* Encoder::get_crtc() const in get_crtc()
64 vector<Crtc*> Encoder::get_possible_crtcs() const in get_possible_crtcs()
67 vector<Crtc*> crtcs; in get_possible_crtcs()
Dcard.cpp74 auto ob = new Crtc(*this, id, i); in Card()
174 Crtc* Card::get_crtc(uint32_t id) const { return dynamic_cast<Crtc*>(get_object(id)); } in get_crtc()
188 Crtc* crtc = conn->get_current_crtc(); in get_connected_pipelines()
232 for (Crtc* c : m_crtcs) { in disable_all()
Dconnector.cpp198 vector<Crtc*> Connector::get_possible_crtcs() const in get_possible_crtcs()
200 vector<Crtc*> crtcs; in get_possible_crtcs()
213 Crtc* Connector::get_current_crtc() const in get_current_crtc()
Datomicreq.cpp63 void AtomicReq::add_display(Connector* conn, Crtc* crtc, Blob* videomode, Plane* primary, Framebuff… in add_display()
/external/libkmsxx/kms++util/inc/kms++util/
Dresourcemanager.h17 Crtc* reserve_crtc(Connector* conn);
18 Crtc* reserve_crtc(Crtc* crtc);
19 Plane* reserve_plane(Crtc* crtc, PlaneType type, PixelFormat format = PixelFormat::Undefined);
21 Plane* reserve_generic_plane(Crtc* crtc, PixelFormat format = PixelFormat::Undefined);
22 Plane* reserve_primary_plane(Crtc* crtc, PixelFormat format = PixelFormat::Undefined);
23 Plane* reserve_overlay_plane(Crtc* crtc, PixelFormat format = PixelFormat::Undefined);
28 std::set<Crtc*> m_reserved_crtcs;
/external/libkmsxx/py/pykms/
Dpykmsbase.cpp80 py::class_<Crtc, DrmPropObject, unique_ptr<Crtc, py::nodelete>>(m, "Crtc") 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()
83 .def("disable_mode", &Crtc::disable_mode) in init_pykmsbase()
85 [](Crtc* self, Framebuffer& fb, uint32_t data) in init_pykmsbase()
89 .def("set_plane", &Crtc::set_plane) in init_pykmsbase()
90 .def_property_readonly("possible_planes", &Crtc::get_possible_planes) in init_pykmsbase()
91 .def_property_readonly("primary_plane", &Crtc::get_primary_plane) in init_pykmsbase()
92 .def_property_readonly("mode", &Crtc::mode) in init_pykmsbase()
93 .def_property_readonly("mode_valid", &Crtc::mode_valid) in init_pykmsbase()
[all …]
Dpykmsutil.cpp28 .def("reserve_crtc", (Crtc* (ResourceManager::*)(Connector*))&ResourceManager::reserve_crtc) in init_pykmstest()
29 ….def("reserve_plane", (Plane* (ResourceManager::*)(Crtc*, PlaneType, PixelFormat))&ResourceManager… in init_pykmstest()
/external/libkmsxx/kms++util/src/
Dresourcemanager.cpp107 Crtc* ResourceManager::reserve_crtc(Connector* conn) in reserve_crtc()
112 if (Crtc* crtc = conn->get_current_crtc()) { in reserve_crtc()
117 for (Crtc* crtc : conn->get_possible_crtcs()) { in reserve_crtc()
128 Crtc* ResourceManager::reserve_crtc(Crtc* crtc) in reserve_crtc()
141 Plane* ResourceManager::reserve_plane(Crtc* crtc, PlaneType type, PixelFormat format) in reserve_plane()
176 Plane* ResourceManager::reserve_generic_plane(Crtc* crtc, PixelFormat format) in reserve_generic_plane()
198 Plane* ResourceManager::reserve_primary_plane(Crtc* crtc, PixelFormat format) in reserve_primary_plane()
203 Plane* ResourceManager::reserve_overlay_plane(Crtc* crtc, PixelFormat format) in reserve_overlay_plane()
/external/libkmsxx/kms++/inc/kms++/
Dconnector.h24 Crtc* get_current_crtc() const;
25 std::vector<Crtc*> get_possible_crtcs() const;
51 Crtc* m_saved_crtc;
Dcrtc.h12 class Crtc : public DrmPropObject
44 Crtc(Card& card, uint32_t id, uint32_t idx);
45 ~Crtc();
Dcard.h31 Crtc* get_crtc(uint32_t id) const;
42 const std::vector<Crtc*> get_crtcs() const { return m_crtcs; } in get_crtcs()
61 std::vector<Crtc*> m_crtcs;
Dencoder.h17 Crtc* get_crtc() const;
18 std::vector<Crtc*> get_possible_crtcs() const;
Dplane.h21 bool supports_crtc(Crtc* crtc) const;
26 std::vector<Crtc*> get_possible_crtcs() const;
Dpipeline.h8 Crtc* crtc;
Ddecls.h9 class Crtc; variable
Datomicreq.h27 void add_display(Connector* conn, Crtc* crtc, Blob* videomode,
/external/libkmsxx/utils/
Dwbcap.cpp24 WBStreamer(VideoStreamer* streamer, Crtc* crtc, PixelFormat pixfmt) in WBStreamer()
92 WBFlipState(Card& card, Crtc* crtc, Plane* plane) in WBFlipState()
155 Crtc* m_crtc;
165 BarFlipState(Card& card, Crtc* crtc, Plane* plane, uint32_t width, uint32_t height) in BarFlipState()
240 Crtc* m_crtc;
Dkmsprint.cpp85 static string format_crtc(Crtc& c) in format_crtc()
106 …string crtcs = join<Crtc*>(p.get_possible_crtcs(), " ", [](Crtc* crtc) { return to_string(crtc->id… in format_plane()
242 else if (auto o = dynamic_cast<Crtc*>(ob)) in format_ob()
378 for (Crtc* crtc : card.get_crtcs()) { in print_as_list()
425 if (Crtc* crtc = enc->get_crtc()) { in print_as_tree()
Dkmstest.cpp52 Crtc* crtc;
136 Crtc* c = card.get_crtc(num); in parse_crtc()
185 Crtc* c = card.get_crtc(num); in parse_crtc()
429 Crtc, enumerator
461 args.push_back(Arg { ArgType::Crtc, s }); in parse_cmdline()
548 case ArgType::Crtc: in setups_to_outputs()
759 for (Crtc* crtc : card.get_crtcs()) { in set_crtcs_n_planes_legacy()
806 for (Crtc* crtc : card.get_crtcs()) { in set_crtcs_n_planes_atomic()
Dkmscapture.cpp29 CameraPipeline(int cam_fd, Card& card, Crtc* crtc, Plane* plane, uint32_t x, uint32_t y,
43 Crtc* m_crtc;
100 CameraPipeline::CameraPipeline(int cam_fd, Card& card, Crtc *crtc, Plane* plane, uint32_t x, uint32… in CameraPipeline()
Dkmsview.cpp11 static void read_frame(ifstream& is, DumbFramebuffer* fb, Crtc* crtc, Plane* plane) in read_frame()
/external/libkmsxx/kmscube/
Dcube-gbm.cpp184 …OutputHandler(Card& card, GbmDevice& gdev, const EglState& egl, Connector* connector, Crtc* crtc, … in OutputHandler()
296 Crtc* m_crtc;
331 Crtc* crtc = resman.reserve_crtc(conn); in main_gbm()
/external/libdrm/tests/modetest/
Dmodetest.c585 free_resource(res, res, crtc, Crtc); in free_resources()
646 get_resource(res, res, crtc, Crtc); in get_resources()