summaryrefslogtreecommitdiff
path: root/src/lib/player_video.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-10 09:40:56 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-10 09:40:56 +0100
commit53a18f3564b6dcd431e44b01ab2a505be135d2b7 (patch)
tree633b1afa240e71a5a329503be8fc6092d7ec3a0a /src/lib/player_video.h
parent63f506966cc4e9c459b3bcb430a11481f9d3a24a (diff)
Basics of direct write of J2K data without encode/decode.
Diffstat (limited to 'src/lib/player_video.h')
-rw-r--r--src/lib/player_video.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/player_video.h b/src/lib/player_video.h
index e06e5f45e..4fe8712d4 100644
--- a/src/lib/player_video.h
+++ b/src/lib/player_video.h
@@ -28,6 +28,7 @@ class ImageProxy;
class Scaler;
class Socket;
class Log;
+class EncodedData;
/** Everything needed to describe a video frame coming out of the player, but with the
* bits still their raw form. We may want to combine the bits on a remote machine,
@@ -46,6 +47,9 @@ public:
void add_metadata (xmlpp::Node* node, bool send_subtitles) const;
void send_binary (boost::shared_ptr<Socket> socket, bool send_subtitles) const;
+ bool has_j2k () const;
+ boost::shared_ptr<EncodedData> j2k () const;
+
DCPTime time () const {
return _time;
}