[FFmpeg-devel] [RFC PATCH] libavcodec/jpeg2000_parser: Add jpeg2000 parser

Michael Niedermayer michael at niedermayer.cc
Sun Apr 19 12:47:20 EEST 2020


On Sun, Apr 19, 2020 at 01:00:02AM +0530, gautamramk at gmail.com wrote:
> From: Gautam Ramakrishnan <gautamramk at gmail.com>
> 
> I have attempted to write a JPEG2000 Parser. Need
> help on testing the code and some tips on how to
> document this code. The variable names are also
> a bit hard to understand. Would appreciate some
> tips. The sample from #7445 seems to get decoded
> now.
> ---
>  libavcodec/Makefile          |   1 +
>  libavcodec/jpeg2000_parser.c | 148 +++++++++++++++++++++++++++++++++++
>  libavcodec/parsers.c         |   1 +
>  3 files changed, 150 insertions(+)
>  create mode 100644 libavcodec/jpeg2000_parser.c

breaks some refernce j2k files

./ffplay j2kreffile/p0_03.j2k

this is a black picture afterwards but showed something before

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200419/7ba316d5/attachment.sig>


More information about the ffmpeg-devel mailing list