From 642404f28d39cefb7857c0d77c3a4e5ac98e62c6 Mon Sep 17 00:00:00 2001 From: Gautam Ramakrishnan Date: Mon, 10 Aug 2020 22:14:00 +0530 Subject: [PATCH] doc/encoders: Add all options for JPEG2000 encoder This patch updates the documentation by adding all options for JPEG2000 encoder. Revised-by: Gyan Doshi --- doc/encoders.texi | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index 13aa5dee41..fd9235a05a 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -1365,10 +1365,42 @@ can be selected with @code{-pred 1}. @subsection Options @table @option -@item format +@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. +@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 @section librav1e