[FFmpeg-devel] GSoC project (JPEG 2000)

Michael Niedermayer michaelni at gmx.at
Tue Apr 5 20:28:29 CEST 2011


On Mon, Apr 04, 2011 at 07:51:40PM -0700, rukhsana afroz wrote:
> On Tue, Mar 29, 2011 at 4:56 PM, Michael Niedermayer <michaelni at gmx.at>wrote:
> 
> > For example decodimng the files from codestreams_profile0
> > results in many
> >  only LRCP progression supported
> >  error during processing marker segment ff52
> > and eventually a segfault
> >
> > or try testfiles_jp2/file9.jp2
> >
> > I thought i remember other errors too, but couldnt find them now
> >
> 
> Hi Michael,
> 
> In the current code, J2K_COD and J2K_COC have the same marker 0xff55.
> J2K_COD means default coding parameters which is common for all components,
> J2K_COC is component specific coding parameters. Should they have same
> marker? I need the exact specification to get those bugs solved.
> 
> enum J2kMarkers{
>     J2K_SOC = 0xff4f, ///< start of codestream

>     J2K_SIZ = 0xff51, ///< image and tile size
>     J2K_COD,          ///< coding style default
>     J2K_COC,          ///< coding style component
>     J2K_TLM = 0xff55, ///< packed packet headers, tile-part header

This results in 
J2K_SIZ = 0xff51
J2K_COD = 0xff52
J2K_COC = 0xff53


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

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110405/694a6006/attachment.asc>


More information about the ffmpeg-devel mailing list