summaryrefslogtreecommitdiff
path: root/kms++/inc/kms++/encoder.h
blob: 72c021338719e1d62995b7d86b28242e9eecc5e9 (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
#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;
};
}