libkms++/encoder: Add methods for getting details of the DRM object
[android/external-libkmsxx.git] / libkms++ / encoder.h
1 #pragma once
3 #include <vector>
4 #include "drmobject.h"
6 namespace kms
7 {
9 struct EncoderPriv;
11 class Encoder : public DrmObject
12 {
13         friend class Card;
14 public:
15         void print_short() const;
17         Crtc* get_crtc() const;
18         std::vector<Crtc*> get_possible_crtcs() const;
20         const std::string& get_encoder_type() const;
21 private:
22         Encoder(Card& card, uint32_t id);
23         ~Encoder();
25         EncoderPriv* m_priv;
26 };
27 }