[FFmpeg-soc] [RFC] Possible jpeg2k decoder rewrite

Kostya kostya.shishkov at gmail.com
Mon Jun 15 07:32:58 CEST 2009


On Mon, Jun 15, 2009 at 09:54:09AM +0530, Jai Menon wrote:
> On Sun, Jun 14, 2009 at 11:51 PM, Kostya<kostya.shishkov at gmail.com> wrote:
> > On Sun, Jun 14, 2009 at 04:51:36PM +0000, Jai Menon wrote:
> >> On Wed, Jun 10, 2009 at 11:45 AM, Michael Niedermayer<michaelni at gmx.at> wrote:
> >> > On Tue, Jun 09, 2009 at 03:25:52PM +0000, Jai Menon wrote:
> >> >> On Sat, May 2, 2009 at 8:23 PM, Michael Niedermayer<michaelni at gmx.at> wrote:
> >> >> > On Sun, May 03, 2009 at 12:56:02AM +0530, Jai Menon wrote:
> >> >> >> On 4/26/09, Michael Niedermayer <michaelni at gmx.at> wrote:
> >> >> >> > On Sun, Apr 26, 2009 at 05:47:11PM +0530, Jai Menon wrote:
> >> >> >> >  > On 4/26/09, Michael Niedermayer <michaelni at gmx.at> wrote:
> >> >> >> >  > > On Sun, Apr 26, 2009 at 04:17:48PM +0530, Jai Menon wrote:
> >>
> >> [...]
> >>
> >> >> I think I have narrowed the problem down to the tagtree decoding code,
> >> >> but don't know what to fix and where to fix.
> >> >
> >> > in the most generic sense you should have some difference between some
> >> > reference implementation and our decoder
> >> > whereever that is there is prior code that can be tested for being
> >> > different or not.
> >> >
> >> > if you tell us what variable with what value in what line of our code differs
> >> > from what in what line of some reference we might be able to help ...
> >>
> >> I tried rewriting that part from scratch based on the spec, and still
> >> get the same problems. So maybe my assumption was wrong.
> >>
> >> The file i'm using is file
> >> http://samples.mplayerhq.hu/jpeg2000/j2kp4files_v1_2.zip/testfiles_jp2/file3.jp2
> >
> > Ahem, that's ZIP archive and some files inside it are compressed.
> 
> You mean the dir testfiles_jp2 isn't there inside that archive?

Ah, found it.
Can you also debug block state (lblock, lengthinc, newpasses) before and
after those tree decoding calls?
 
> -- 
> Regards,
> 
> Jai


More information about the FFmpeg-soc mailing list