[FFmpeg-devel] [PATCH] doc/codecs: Add missing documentation for apply_cropping

Lou Logan lou at lrcd.com
Wed May 10 05:15:25 EEST 2017


On Tue,  9 May 2017 17:23:35 +0200
Michael Niedermayer <michael at niedermayer.cc> wrote:

> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  doc/codecs.texi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/doc/codecs.texi b/doc/codecs.texi
> index 1f74c83554..1d8a4e38a4 100644
> --- a/doc/codecs.texi
> +++ b/doc/codecs.texi
> @@ -1279,6 +1279,16 @@ ffprobe -dump_separator "
>  Maximum number of pixels per image. This value can be used to avoid out of
>  memory failures due to large images.
>  
> + at item apply_cropping @var{integer} (@emph{decoding,video})
> +Enable cropping if cropping parameters are a multiply of the required

s/a multiply/multiples

> +alignment for the left and top parameters. If the alignment is not met the
> +cropping will be partially applied to maintain alignment.
> +1(Enabled) by default.

Default is 1 (enabled).

> +Note: The required alignment depends on if CODEC_FLAG_UNALIGNED is set and the

@code{CODEC_FLAG_UNALIGNED}

> +CPU. CODEC_FLAG_UNALIGNED cannot be chanaged from the command line. Also hw
> +decoders will not apply left/top croping.

hardware


More information about the ffmpeg-devel mailing list