Home
last modified time | relevance | path

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

12

/external/libkmsxx/kms++/src/
Dcrtc.cpp18 Crtc::Crtc(Card& card, uint32_t id, uint32_t idx) in Crtc() function in kms::Crtc
26 Crtc::~Crtc() in ~Crtc()
32 void Crtc::refresh() in refresh()
40 void Crtc::setup() in setup()
48 void Crtc::restore_mode(Connector* conn) in restore_mode()
59 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()
91 int Crtc::disable_mode() in disable_mode()
102 int Crtc::set_plane(Plane* plane, Framebuffer& fb, in set_plane()
111 int Crtc::disable_plane(Plane* plane) in disable_plane()
[all …]
Dplane.cpp34 bool Plane::supports_crtc(Crtc* crtc) const in supports_crtc()
68 vector<Crtc*> Plane::get_possible_crtcs() const in get_possible_crtcs()
71 vector<Crtc*> v; in get_possible_crtcs()
80 auto iter = find_if(crtcs.begin(), crtcs.end(), [idx](Crtc* crtc) { return crtc->idx() == idx; }); in get_possible_crtcs()
Dencoder.cpp58 Crtc* Encoder::get_crtc() const in get_crtc()
66 vector<Crtc*> Encoder::get_possible_crtcs() const in get_possible_crtcs()
69 vector<Crtc*> crtcs; in get_possible_crtcs()
Dcard.cpp234 auto ob = new Crtc(*this, id, i); in setup()
345 Crtc* Card::get_crtc(uint32_t id) const in get_crtc()
347 return dynamic_cast<Crtc*>(get_object(id)); in get_crtc()
370 Crtc* crtc = conn->get_current_crtc(); in get_connected_pipelines()
414 for (Crtc* c : m_crtcs) { in disable_all()
Dconnector.cpp212 vector<Crtc*> Connector::get_possible_crtcs() const in get_possible_crtcs()
214 vector<Crtc*> crtcs; in get_possible_crtcs()
227 Crtc* Connector::get_current_crtc() const in get_current_crtc()
Datomicreq.cpp79 void AtomicReq::add_display(Connector* conn, Crtc* crtc, Blob* videomode, Plane* primary, Framebuff… in add_display()
/external/libkmsxx/kms++util/inc/kms++util/
Dresourcemanager.h18 Crtc* reserve_crtc(Connector* conn);
19 Crtc* reserve_crtc(Crtc* crtc);
20 void release_crtc(Crtc* crtc);
21 Plane* reserve_plane(Crtc* crtc, PlaneType type, PixelFormat format = PixelFormat::Undefined);
23 Plane* reserve_generic_plane(Crtc* crtc, PixelFormat format = PixelFormat::Undefined);
24 Plane* reserve_primary_plane(Crtc* crtc, PixelFormat format = PixelFormat::Undefined);
25 Plane* reserve_overlay_plane(Crtc* crtc, PixelFormat format = PixelFormat::Undefined);
31 std::set<Crtc*> m_reserved_crtcs;
/external/libkmsxx/kms++util/src/
Dresourcemanager.cpp112 Crtc* ResourceManager::reserve_crtc(Connector* conn) in reserve_crtc()
117 if (Crtc* crtc = conn->get_current_crtc()) { in reserve_crtc()
122 for (Crtc* crtc : conn->get_possible_crtcs()) { in reserve_crtc()
133 Crtc* ResourceManager::reserve_crtc(Crtc* crtc) in reserve_crtc()
146 void ResourceManager::release_crtc(Crtc* crtc) in release_crtc()
151 Plane* ResourceManager::reserve_plane(Crtc* crtc, PlaneType type, PixelFormat format) in reserve_plane()
186 Plane* ResourceManager::reserve_generic_plane(Crtc* crtc, PixelFormat format) in reserve_generic_plane()
208 Plane* ResourceManager::reserve_primary_plane(Crtc* crtc, PixelFormat format) in reserve_primary_plane()
213 Plane* ResourceManager::reserve_overlay_plane(Crtc* crtc, PixelFormat format) in reserve_overlay_plane()
/external/libkmsxx/py/pykms/
Dpykmsbase.cpp83 py::class_<Crtc, DrmPropObject, unique_ptr<Crtc, py::nodelete>>(m, "Crtc") 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()
86 .def("disable_mode", &Crtc::disable_mode) in init_pykmsbase()
89 [](Crtc* self, Framebuffer& fb, uint32_t data) { in init_pykmsbase()
93 .def("set_plane", &Crtc::set_plane) in init_pykmsbase()
94 .def_property_readonly("possible_planes", &Crtc::get_possible_planes) in init_pykmsbase()
95 .def_property_readonly("primary_plane", &Crtc::get_primary_plane) in init_pykmsbase()
96 .def_property_readonly("mode", &Crtc::mode) in init_pykmsbase()
97 .def_property_readonly("mode_valid", &Crtc::mode_valid) in init_pykmsbase()
[all …]
Dpykmsutil.cpp27 .def("reserve_crtc", (Crtc * (ResourceManager::*)(Connector*)) & ResourceManager::reserve_crtc) in init_pykmstest()
28 ….def("reserve_plane", (Plane * (ResourceManager::*)(Crtc*, PlaneType, PixelFormat)) & ResourceMana… in init_pykmstest()
/external/libkmsxx/kms++/inc/kms++/
Dconnector.h30 Crtc* get_current_crtc() const;
31 std::vector<Crtc*> get_possible_crtcs() const;
60 Crtc* m_saved_crtc;
Dcrtc.h11 class Crtc : public DrmPropObject
46 Crtc(Card& card, uint32_t id, uint32_t idx);
47 ~Crtc() override;
Dencoder.h17 Crtc* get_crtc() const;
18 std::vector<Crtc*> get_possible_crtcs() const;
Dcard.h47 Crtc* get_crtc(uint32_t id) const;
60 std::vector<Crtc*> get_crtcs() const { return m_crtcs; } in get_crtcs()
83 std::vector<Crtc*> m_crtcs;
Dplane.h20 bool supports_crtc(Crtc* crtc) const;
25 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/
Domap-wbcap.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.cpp77 static string format_crtc(Crtc& c) in format_crtc()
98 …string crtcs = join<Crtc*>(p.get_possible_crtcs(), " ", [](Crtc* crtc) { return to_string(crtc->id… in format_plane()
228 else if (auto o = dynamic_cast<Crtc*>(ob)) in format_ob()
364 for (Crtc* crtc : card.get_crtcs()) { in print_as_list()
410 if (Crtc* crtc = enc->get_crtc()) { in print_as_tree()
Dkmstest.cpp53 Crtc* crtc;
133 Crtc* c = card.get_crtc(num); in parse_crtc()
182 Crtc* c = card.get_crtc(num); in parse_crtc()
430 Crtc, enumerator
458 args.push_back(Arg{ ArgType::Crtc, s }); in parse_cmdline()
537 case ArgType::Crtc: { in setups_to_outputs()
773 for (Crtc* crtc : card.get_crtcs()) { in set_crtcs_n_planes_legacy()
831 for (Crtc* crtc : card.get_crtcs()) { in set_crtcs_n_planes_atomic()
Dkmscapture.cpp28 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.cpp12 static void read_frame(ifstream& is, DumbFramebuffer* fb, Crtc* crtc, Plane* plane) in read_frame()
Dkmstouch.cpp255 Crtc* crtc = resman.reserve_crtc(conn); in main()
/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()

12