blob: 58741e11fe0ae03783ef19196abbf815a4d3eac7 (
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
|
#include "dcpomatic_time.h"
#include "decoder.h"
class BlackContent;
class Image;
class RawImageProxy;
class BlackDecoder : public Decoder
{
public:
BlackDecoder (std::shared_ptr<const Film> film, std::shared_ptr<const BlackContent> content);
bool pass () override;
void seek (dcpomatic::ContentTime time, bool accurate) override;
dcpomatic::ContentTime position () const override {
return dcpomatic::ContentTime(_position.get());
}
private:
std::shared_ptr<const BlackContent> _content;
int _video_frame_rate;
dcpomatic::DCPTime _position;
std::shared_ptr<Image> _image;
std::shared_ptr<const RawImageProxy> _proxy;
};
|