summaryrefslogtreecommitdiff
path: root/libkms++/encoder.h
blob: 1b545729f62daebed192bb8209c5dbfaddbff1e1 (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 "drmpropobject.h"

namespace kms
{

struct EncoderPriv;

class Encoder : public DrmPropObject
{
	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;
};
}