doc/encoders: Add all options for JPEG2000 encoder

This patch updates the documentation by adding all options
for JPEG2000 encoder.

Revised-by: Gyan Doshi <ffmpeg@gyani.pro>
This commit is contained in:
Gautam Ramakrishnan 2020-08-10 22:14:00 +05:30 committed by Gyan Doshi
parent 5df9724e42
commit 642404f28d
1 changed files with 33 additions and 1 deletions

View File

@ -1365,10 +1365,42 @@ can be selected with @code{-pred 1}.
@subsection Options @subsection Options
@table @option @table @option
@item format @item format @var{integer}
Can be set to either @code{j2k} or @code{jp2} (the default) that Can be set to either @code{j2k} or @code{jp2} (the default) that
makes it possible to store non-rgb pix_fmts. makes it possible to store non-rgb pix_fmts.
@item tile_width @var{integer}
Sets tile width. Range is 1 to 1073741824. Default is 256.
@item tile_height @var{integer}
Sets tile height. Range is 1 to 1073741824. Default is 256.
@item pred @var{integer}
Allows setting the discrete wavelet transform (DWT) type
@table @option
@item dwt97int (Lossy)
@item dwt53 (Lossless)
@end table
Default is @code{dwt97int}
@item sop @var{boolean}
Enable this to add SOP marker at the start of each packet. Disabled by default.
@item eph @var{boolean}
Enable this to add EPH marker at the end of each packet header. Disabled by default.
@item prog @var{integer}
Sets the progression order to be used by the encoder.
Possible values are:
@table @option
@item lrcp
@item rlcp
@item rpcl
@item pcrl
@item cprl
@end table
Set to @code{lrcp} by default.
@end table @end table
@section librav1e @section librav1e