summaryrefslogtreecommitdiff
path: root/libkms++/encoder.h
blob: 956a4c7c7a2804f200bba1850e1b697b98d0b30f (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
#pragma once

#include <vector>
#include "drmobject.h"

namespace kms
{

struct EncoderPriv;

class Encoder : public DrmObject
{
	friend class Card;
public:
	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);
	~Encoder();

	EncoderPriv* m_priv;
};
}