class ImageExaminer : public VideoExaminer
{
public:
- ImageExaminer (boost::shared_ptr<const Film>, boost::shared_ptr<const ImageContent>, boost::shared_ptr<Job>);
+ ImageExaminer (std::shared_ptr<const Film>, std::shared_ptr<const ImageContent>, std::shared_ptr<Job>);
+ bool has_video () const {
+ return true;
+ }
boost::optional<double> video_frame_rate () const;
dcp::Size video_size () const;
Frame video_length () const {
return _video_length;
}
bool yuv () const;
+ VideoRange range () const {
+ return VideoRange::FULL;
+ }
+ PixelQuanta pixel_quanta () const {
+ /* See ::yuv - we're assuming the image is not YUV and so not subsampled */
+ return {};
+ }
private:
- boost::weak_ptr<const Film> _film;
- boost::shared_ptr<const ImageContent> _image_content;
+ std::weak_ptr<const Film> _film;
+ std::shared_ptr<const ImageContent> _image_content;
boost::optional<dcp::Size> _video_size;
Frame _video_length;
};