HomeSort by relevance Sort by last modified time
    Searched refs:Crtc (Results 1 - 25 of 25) sorted by null

  /external/libkmsxx/kms++/inc/kms++/
pipeline.h 8 Crtc* crtc; member in struct:kms::Pipeline
encoder.h 17 Crtc* get_crtc() const;
18 std::vector<Crtc*> get_possible_crtcs() const;
decls.h 9 class Crtc;
connector.h 24 Crtc* get_current_crtc() const;
25 std::vector<Crtc*> get_possible_crtcs() const;
51 Crtc* m_saved_crtc;
plane.h 21 bool supports_crtc(Crtc* crtc) const;
26 std::vector<Crtc*> get_possible_crtcs() const;
card.h 31 Crtc* get_crtc(uint32_t id) const;
42 const std::vector<Crtc*> get_crtcs() const { return m_crtcs; }
61 std::vector<Crtc*> m_crtcs;
crtc.h 12 class Crtc : public DrmPropObject
44 Crtc(Card& card, uint32_t id, uint32_t idx);
45 ~Crtc();
atomicreq.h 27 void add_display(Connector* conn, Crtc* crtc, Blob* videomode,
  /external/libkmsxx/kms++/src/
crtc.cpp 20 Crtc::Crtc(Card &card, uint32_t id, uint32_t idx)
28 Crtc::~Crtc()
34 void Crtc::refresh()
42 void Crtc::setup()
50 void Crtc::restore_mode(Connector* conn)
61 int Crtc::set_mode(Connector* conn, const Videomode& mode)
83 int Crtc::set_mode(Connector* conn, Framebuffer& fb, const Videomode& mode)
93 int Crtc::disable_mode(
    [all...]
encoder.cpp 56 Crtc* Encoder::get_crtc() const
64 vector<Crtc*> Encoder::get_possible_crtcs() const
67 vector<Crtc*> crtcs;
73 auto crtc = card().get_crtcs()[idx]; local
74 crtcs.push_back(crtc);
plane.cpp 36 bool Plane::supports_crtc(Crtc* crtc) const
38 return m_priv->drm_plane->possible_crtcs & (1 << crtc->idx());
70 vector<Crtc*> Plane::get_possible_crtcs() const
73 vector<Crtc*> v;
83 auto iter = find_if(crtcs.begin(), crtcs.end(), [idx](Crtc* crtc) { return crtc->idx() == idx; });
86 throw runtime_error("get_possible_crtcs: crtc missing");
card.cpp 74 auto ob = new Crtc(*this, id, i);
174 Crtc* Card::get_crtc(uint32_t id) const { return dynamic_cast<Crtc*>(get_object(id)); }
188 Crtc* crtc = conn->get_current_crtc(); local
190 if (!crtc) {
192 if (find_if(outputs.begin(), outputs.end(), [possible](Pipeline out) { return out.crtc == possible; }) == outputs.end()) {
193 crtc = possible;
199 if (!crtc)
204 outputs.push_back(Pipeline { crtc, conn })
    [all...]
connector.cpp 198 vector<Crtc*> Connector::get_possible_crtcs() const
200 vector<Crtc*> crtcs;
213 Crtc* Connector::get_current_crtc() const
atomicreq.cpp 63 void AtomicReq::add_display(Connector* conn, Crtc* crtc, Blob* videomode, Plane* primary, Framebuffer* fb)
66 { "CRTC_ID", crtc->id() },
69 add(crtc, {
76 { "CRTC_ID", crtc->id() },
  /external/libkmsxx/kms++util/inc/kms++util/
resourcemanager.h 17 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)
    [all...]
  /external/libkmsxx/kms++util/src/
resourcemanager.cpp 107 Crtc* ResourceManager::reserve_crtc(Connector* conn)
112 if (Crtc* crtc = conn->get_current_crtc()) {
113 m_reserved_crtcs.insert(crtc);
114 return crtc;
117 for (Crtc* crtc : conn->get_possible_crtcs()) {
118 if (m_reserved_crtcs.count(crtc))
121 m_reserved_crtcs.insert(crtc);
122 return crtc;
    [all...]
  /external/libkmsxx/py/pykms/
pykmsbase.cpp 80 py::class_<Crtc, DrmPropObject, unique_ptr<Crtc, py::nodelete>>(m, "Crtc")
81 .def("set_mode", (int (Crtc::*)(Connector*, const Videomode&))&Crtc::set_mode)
82 .def("set_mode", (int (Crtc::*)(Connector*, Framebuffer&, const Videomode&))&Crtc::set_mode)
83 .def("disable_mode", &Crtc::disable_mode)
85 [](Crtc* self, Framebuffer& fb, uint32_t data)
89 .def("set_plane", &Crtc::set_plane
    [all...]
pykmsutil.cpp 28 .def("reserve_crtc", (Crtc* (ResourceManager::*)(Connector*))&ResourceManager::reserve_crtc)
29 .def("reserve_plane", (Plane* (ResourceManager::*)(Crtc*, PlaneType, PixelFormat))&ResourceManager::reserve_plane,
30 py::arg("crtc"),
34 py::arg("crtc"),
37 py::arg("crtc"),
40 py::arg("crtc"),
  /external/libkmsxx/utils/
wbcap.cpp 24 WBStreamer(VideoStreamer* streamer, Crtc* crtc, PixelFormat pixfmt)
27 Videomode m = crtc->mode();
29 m_capdev.set_port(crtc->idx());
92 WBFlipState(Card& card, Crtc* crtc, Plane* plane)
93 : m_card(card), m_crtc(crtc), m_plane(plane)
155 Crtc* m_crtc;
165 BarFlipState(Card& card, Crtc* crtc, Plane* plane, uint32_t width, uint32_t height
    [all...]
kmsprint.cpp 85 static string format_crtc(Crtc& c)
89 str = sformat("Crtc %u (%u)", c.idx(), c.id());
106 string crtcs = join<Crtc*>(p.get_possible_crtcs(), " ", [](Crtc* crtc) { return to_string(crtc->idx()); });
242 else if (auto o = dynamic_cast<Crtc*>(ob))
378 for (Crtc* crtc : card.get_crtcs()) {
379 obs.push_back(crtc);
    [all...]
kmsview.cpp 11 static void read_frame(ifstream& is, DumbFramebuffer* fb, Crtc* crtc, Plane* plane)
16 unsigned w = min(crtc->width(), fb->width());
17 unsigned h = min(crtc->height(), fb->height());
19 int r = crtc->set_plane(plane, *fb,
91 auto crtc = res.reserve_crtc(conn); local
92 auto plane = res.reserve_overlay_plane(crtc, pixfmt);
106 read_frame(is, fb, crtc, plane);
kmstest.cpp 52 Crtc* crtc; member in struct:OutputInfo
97 output.crtc = resman.reserve_crtc(output.connector);
99 if (!output.crtc)
100 EXIT("Could not find available crtc");
136 Crtc* c = card.get_crtc(num);
138 EXIT("Bad crtc id '%u'", num);
140 output.crtc = c;
145 EXIT("Bad crtc number '%u'", num);
147 output.crtc = crtcs[num]
768 auto crtc = o.crtc; local
834 auto crtc = o.crtc; local
    [all...]
kmscapture.cpp 29 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_t y,
103 : m_fd(cam_fd), m_crtc(crtc), m_buffer_provider(buffer_provider), m_prev_fb_index(-1)
336 auto crtc = conn->get_current_crtc(); local
337 printf("Display: %dx%d\n", crtc->width(), crtc->height());
363 for (Plane* p : crtc->get_possible_planes())
    [all...]
  /external/libkmsxx/kmscube/
cube-gbm.cpp 184 OutputHandler(Card& card, GbmDevice& gdev, const EglState& egl, Connector* connector, Crtc* crtc, Videomode& mode, Plane* root_plane, Plane* plane, float rotation_mult)
185 : m_frame_num(0), m_connector(connector), m_crtc(crtc), m_root_plane(root_plane), m_plane(plane), m_mode(mode),
296 Crtc* m_crtc;
331 Crtc* crtc = resman.reserve_crtc(conn); local
334 Plane* root_plane = resman.reserve_generic_plane(crtc);
340 plane = resman.reserve_generic_plane(crtc);
342 auto out = new OutputHandler(card, gdev, egl, conn, crtc, mode, root_plane, plane, rot_mult);
  /external/libdrm/tests/modetest/
modetest.c 70 struct crtc { struct
71 drmModeCrtc *crtc; member in struct:crtc
102 struct crtc *crtcs;
466 struct crtc *_crtc = &dev->resources->crtcs[i];
467 drmModeCrtc *crtc = _crtc->crtc; local
468 if (!crtc)
472 crtc->crtc_id,
473 crtc->buffer_id,
474 crtc->x, crtc->y
721 drmModeCrtc *crtc = dev->resources->crtcs[i].crtc; local
793 struct crtc *crtc; member in struct:pipe_arg
912 struct crtc *crtc = &dev->resources->crtcs[i]; local
1060 struct crtc *crtc = NULL; local
    [all...]

Completed in 328 milliseconds