[FFmpeg-devel] [PATCH v2] doc/encoders: Add all options for JPEG2000 encoder

gautamramk at gmail.com gautamramk at gmail.com
Mon Aug 10 19:44:00 EEST 2020


From: Gautam Ramakrishnan <gautamramk at gmail.com>

This patch updates the documentation by adding all options
for JPEG2000 encoder.
---
 doc/encoders.texi | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)

diff --git a/doc/encoders.texi b/doc/encoders.texi
index de0472e225..426baa8033 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
@@ -1365,10 +1365,44 @@ can be selected with @code{-pred 1}.
 @subsection Options
 
 @table @option
- at item format
+ at item format @var{integer}
 Can be set to either @code{j2k} or @code{jp2} (the default) that
 makes it possible to store non-rgb pix_fmts.
 
+ at item tile_width @var{integer}
+Sets tile width. Default is 256.
+
+ at item tile_height @var{integer}
+Sets tile height. Default is 256.
+
+ at item pred @var{integer}
+Allows setting the DWT type
+ at table @option
+ at item dwt97int (Lossy)
+ at item dwt53 (Lossless)
+ at end table
+Default is @code{dwt97int}
+
+ at item sop @var{boolean}
+Setting this to 1 will make the encoder to use SOP marker at the
+start of every packet. Set to 0 by default.
+
+ at item eph @var{boolean}
+Setting this to 1 will make the encoder to use the EPH flag at the
+end of every packet header. Set to 0 by default.
+
+ at item prog @var{integer}
+Sets the progression order to be used by the encoder.
+Possible values are:
+ at table @option
+ at item lrcp
+ at item rlcp
+ at item rpcl
+ at item pcrl
+ at item cprl
+ at end table
+Set to @code{lrcp} by default.
+
 @end table
 
 @section librav1e
-- 
2.17.1



More information about the ffmpeg-devel mailing list