blob: 9476d8013a8af7de489ec8eecfc5e5474298a833 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#pragma once
#include <vector>
#include "drmpropobject.h"
namespace kms
{
struct EncoderPriv;
class Encoder : public DrmPropObject
{
friend class Card;
public:
void refresh();
Crtc* get_crtc() const;
std::vector<Crtc*> get_possible_crtcs() const;
const std::string& get_encoder_type() const;
private:
Encoder(Card& card, uint32_t id, uint32_t idx);
~Encoder() override;
EncoderPriv* m_priv;
};
} // namespace kms
|