X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fencoder.cc;h=e43325f58fde5ad4a7cc4fd97e620c8136ce0991;hp=a9e119d59ef566e87ab39a69dd42283a6857d8e5;hb=67a68bd971ebe1b35daa3f75873b4ccb53c00ba0;hpb=3449bc0a6d6e77e851240a0953363f5a07ec6517 diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc index a9e119d59..e43325f58 100644 --- a/src/lib/encoder.cc +++ b/src/lib/encoder.cc @@ -56,7 +56,9 @@ using dcp::Data; int const Encoder::_history_size = 200; -/** @param f Film that we are encoding */ +/** @param film Film that we are encoding. + * @param writer Writer that we are using. + */ Encoder::Encoder (shared_ptr film, shared_ptr writer) : _film (film) , _writer (writer) @@ -172,9 +174,7 @@ Encoder::video_frames_enqueued () const return _last_player_video_time->frames_floor (_film->video_frame_rate ()); } -/** Should be called when a frame has been encoded successfully. - * @param n Source frame index. - */ +/** Should be called when a frame has been encoded successfully */ void Encoder::frame_done () { @@ -192,6 +192,9 @@ Encoder::frame_done () * so each time the supplied frame is the one after the previous one. * pv represents one video frame, and could be empty if there is nothing to encode * for this DCP frame. + * + * @param pv PlayerVideo to encode. + * @param time Time of \p pv within the DCP. */ void Encoder::encode (shared_ptr pv, DCPTime time)