summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-11-11 00:04:02 +0000
committerCarl Hetherington <cth@carlh.net>2014-11-11 00:04:02 +0000
commit58f0530b1687673ea6e24a083063c3fdf2bff0b2 (patch)
tree1f76acad0a2877e527c936f754dde16eaf2d768e /src/lib/video_decoder.h
parent985a83ffbf251db481150221914ef74fbfe549b2 (diff)
Hand-apply 80562fe5dce5fd625da583ca6f7c2833f9db8754 from master (remove default scale and use a scale guessed from the content's size and sample aspect ratio).
Diffstat (limited to 'src/lib/video_decoder.h')
-rw-r--r--src/lib/video_decoder.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/video_decoder.h b/src/lib/video_decoder.h
index f5c3cd743..9e56546df 100644
--- a/src/lib/video_decoder.h
+++ b/src/lib/video_decoder.h
@@ -33,6 +33,7 @@
class VideoContent;
class ImageProxy;
+class Image;
/** @class VideoDecoder
* @brief Parent for classes which decode video.
@@ -53,14 +54,19 @@ public:
#endif
protected:
+ friend struct video_decoder_fill_test1;
+ friend struct video_decoder_fill_test2;
void seek (ContentTime time, bool accurate);
void video (boost::shared_ptr<const ImageProxy>, VideoFrame frame);
std::list<ContentVideo> decoded_video (VideoFrame frame);
+ void fill_up_to_2d (VideoFrame);
+ void fill_up_to_3d (VideoFrame, Eyes);
boost::shared_ptr<const VideoContent> _video_content;
std::list<ContentVideo> _decoded_video;
bool _same;
+ boost::shared_ptr<Image> _black_image;
};
#endif