[FFmpeg-devel] [PATCH] vpxenc: add codec specific speed option

Stefano Sabatini stefano.sabatini-lala
Sat Jan 8 01:15:40 CET 2011


On date Friday 2011-01-07 15:12:07 -0800, James Zern encoded:
> On Fri, Jan 7, 2011 at 10:53, Luca Barbato <lu_zero at gentoo.org> wrote:
[...]
> diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
> index a4dc621..b9deecc 100644
> --- a/libavcodec/libvpxenc.c
> +++ b/libavcodec/libvpxenc.c
> @@ -21,6 +21,45 @@
>  /**
>   * @file
>   * VP8 encoder support via libvpx
> + *
> + * @par libvpx SDK param./#AVCodecContext param./Assoc. cli opt {{{
> + * <table>
> + * <tr><td>g_threads</td><td>AVCodecContext::thread_count</td><td>-threads</td></tr>
> + * <tr><td>g_lag_in_frames</td><td>AVCodecContext::rc_lookahead</td><td>-lag</td></tr>
> + * <tr><td>rc_target_bitrate</td><td>AVCodecContext::bit_rate/1000</td><td>-vb</td></tr>
[...]

We avoid HTML markup in doxygen.

Also I don't know how these params are set, but maybe it's better to
document them in user docs rather than in the implementation, what I
mean is a libvpx section in the yet unexistent doc/encoders.texi.
-- 
FFmpeg = Fancy Fast Monstrous Power Elastic Guru



More information about the ffmpeg-devel mailing list