X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplayer_video.h;h=8bd1c7be30d4b2b40ca61103afdd423154fd009e;hb=cc76b517f6a74f813ae38137bdc88ff3bafa6dd9;hp=01b1c74f53e29e4878673759f2f73d3fb78031c1;hpb=6c19b21e12f73ce63edd406ea617ff25bcc9bfea;p=dcpomatic.git diff --git a/src/lib/player_video.h b/src/lib/player_video.h index 01b1c74f5..8bd1c7be3 100644 --- a/src/lib/player_video.h +++ b/src/lib/player_video.h @@ -54,7 +54,10 @@ public: void set_subtitle (PositionImage); - boost::shared_ptr image (dcp::NoteHandler note) const; + boost::shared_ptr image (dcp::NoteHandler note, boost::function pixel_format, bool aligned, bool fast) const; + + static AVPixelFormat always_rgb (AVPixelFormat); + static AVPixelFormat keep_xyz_or_rgb (AVPixelFormat); void add_metadata (xmlpp::Node* node) const; void send_binary (boost::shared_ptr socket) const;