[FFmpeg-devel] [RFC PATCH v2 4/4] libavcodec/j2kenc: Support for multiple layers
Michael Niedermayer
michael at niedermayer.cc
Mon Aug 24 00:23:05 EEST 2020
On Sun, Aug 23, 2020 at 04:02:23PM +0530, gautamramk at gmail.com wrote:
> From: Gautam Ramakrishnan <gautamramk at gmail.com>
>
> This patch allows setting a compression ratio and to
> set multiple layers. The user has to input a compression
> ratio for each layer.
> The per layer compression ration can be set as follows:
> -layer_rates "r1,r2,...rn"
> for to create 'n' layers.
> ---
> libavcodec/j2kenc.c | 492 +++++++++++++++++++----
> libavcodec/jpeg2000.c | 13 +-
> libavcodec/jpeg2000.h | 10 +
> tests/ref/vsynth/vsynth1-jpeg2000 | 8 +-
> tests/ref/vsynth/vsynth1-jpeg2000-97 | 6 +-
> tests/ref/vsynth/vsynth2-jpeg2000 | 8 +-
> tests/ref/vsynth/vsynth2-jpeg2000-97 | 8 +-
> tests/ref/vsynth/vsynth3-jpeg2000 | 8 +-
> tests/ref/vsynth/vsynth3-jpeg2000-97 | 8 +-
> tests/ref/vsynth/vsynth_lena-jpeg2000 | 8 +-
> tests/ref/vsynth/vsynth_lena-jpeg2000-97 | 8 +-
> 11 files changed, 475 insertions(+), 102 deletions(-)
This needs some documentation in doc/encoders.texi
* why / when does a user want to use this ...
* what is it, its syntax, ...
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200823/f80611ec/attachment.sig>
More information about the ffmpeg-devel
mailing list