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

Gautam Ramakrishnan gautamramk at gmail.com
Sun Apr 19 14:45:00 EEST 2020


On Sun, Apr 19, 2020 at 3:17 PM Michael Niedermayer
<michael at niedermayer.cc> wrote:
>
> 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
>
Thanks Michael, I'll look into this.
> 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.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



-- 
-------------
Gautam |


More information about the ffmpeg-devel mailing list