Commit 087a9938 authored by Max Kellermann's avatar Max Kellermann

decoder/ffmpeg: add API documentation

parent 26d8e41a
...@@ -278,7 +278,7 @@ copy_interleave_frame2(uint8_t *dest, uint8_t **src, ...@@ -278,7 +278,7 @@ copy_interleave_frame2(uint8_t *dest, uint8_t **src,
} }
/** /**
* Copy PCM data from a AVFrame to an interleaved buffer. * Copy PCM data from a non-empty AVFrame to an interleaved buffer.
*/ */
static ConstBuffer<void> static ConstBuffer<void>
copy_interleave_frame(const AVCodecContext &codec_context, copy_interleave_frame(const AVCodecContext &codec_context,
...@@ -351,6 +351,9 @@ PtsToPcmFrame(uint64_t pts, const AVStream &stream, ...@@ -351,6 +351,9 @@ PtsToPcmFrame(uint64_t pts, const AVStream &stream,
} }
/** /**
* Decode an #AVPacket and send the resulting PCM data to the decoder
* API.
*
* @param min_frame skip all data before this PCM frame number; this * @param min_frame skip all data before this PCM frame number; this
* is used after seeking to skip data in an AVPacket until the exact * is used after seeking to skip data in an AVPacket until the exact
* desired time stamp has been reached * desired time stamp has been reached
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment