add missing idx for Plane & Encoder
[android/external-libkmsxx.git] / libkms++ / encoder.h
1 #pragma once
3 #include <vector>
4 #include "drmpropobject.h"
6 namespace kms
7 {
9 struct EncoderPriv;
11 class Encoder : public DrmPropObject
12 {
13         friend class Card;
14 public:
15         Crtc* get_crtc() const;
16         std::vector<Crtc*> get_possible_crtcs() const;
18         const std::string& get_encoder_type() const;
19 private:
20         Encoder(Card& card, uint32_t id, uint32_t idx);
21         ~Encoder();
23         EncoderPriv* m_priv;
24 };
25 }