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

Gautam Ramakrishnan gautamramk at gmail.com
Mon Apr 20 13:43:44 EEST 2020


On Mon, Apr 20, 2020 at 3:38 PM Michael Niedermayer
<michael at niedermayer.cc> wrote:
>
> On Mon, Apr 20, 2020 at 01:36:47AM +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
>
> to test the code i would sugest to generate a file
> or files with many jpeg2000 images and then try to
> decode it to -f framecrc
This helps me check whether the image is correct by comparing the CRC value?
> if that work repeat while varying the packet size
> input to the parser, a parser must work with anything
> from 1 byte per input to sizes being larger than a
> single frame.
>
So a packet to a parser is basically a smaller unit to which the parser is fed
data to? When I tried printing buffer size during parse, it shows 4096.
Does that mean the packet size was 4096?
> there can to be corner cases in parsers when input
> split the wrong header value
>
> thx
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Whats the most studid thing your enemy could do ? Blow himself up
> Whats the most studid thing you could do ? Give up your rights and
> freedom because your enemy blew himself up.
>
> _______________________________________________
> 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