Re: ATRA3 SIGBUS error with test code.

2010-06-29 Thread vikas gupta
On Tue, Jun 29, 2010 at 11:20 AM, Rafaël Carré wrote: > http://www.rockbox.org/wiki/UiSimulator#2_Build_UIsimulator > Does it support cygwin?

Re: ATRA3 SIGBUS error with test code.

2010-06-29 Thread vikas gupta
ust fine. SigBUS error is more concerning to me then anything else as it comes from decode_frame in atrac3.c. Regards, Vikas Gupta

Re: ATRA3 SIGBUS error with test code.

2010-06-29 Thread vikas gupta
> > Do these files play in Rockbox? I tried playing on Solaris machine not on Rockbox. On Solaris, with the test code, these files doesn't play.

ATRA3 SIGBUS error with test code.

2010-06-29 Thread vikas gupta
Hi I tried ATRAC3 standalone test program with r22235 and it seems to crash with so many RealAudioAtrac3 files. I picked the files from Samples.mpl http://samples.mplayerhq.hu/real/AC-atrc and it seems to play only few ATRAC3 files for rest it crashed sometimes with BUS Error, and sometimes, with

ATRAC3 Samples

2010-06-29 Thread vikas gupta
Hi Guys, Can you please let me know from where can I get ATRAC3 samples? Regards. Vikas

Re: sample_pf_pc in Cook Decoder?

2010-06-22 Thread vikas gupta
On Tue, Jun 22, 2010 at 2:42 PM, Mohamed Tarek wrote: > > Yeah I mixed up between the two. It seems the naming was unfortunate but > this is an old revision anyway. > So you're right : > samples_pf_pc would contain 2K > datasize for a successfully decoded frame would be 8K (4bytes * 2K) > Ok! with

Re: sample_pf_pc in Cook Decoder?

2010-06-22 Thread vikas gupta
On Tue, Jun 22, 2010 at 1:11 PM, Mohamed Tarek wrote: > > No, this is not that. > In my example, samples per channel actually is the same as samples_pf_pc, > this is just the second value in cook's extradata. > so samples_pf_pc = 1024. /* cook extradata */ q->cookversion = rmctx->cook_version

Re: sample_pf_pc in Cook Decoder?

2010-06-22 Thread vikas gupta
> I'm judging by the debugging output from cook.c. > Testing on a stereo sample, I got : > samples per frame = 2048 > samples per channel = 1024 > Have you tried enabling the debugging output in cook.c and checking the > numbers ? Yes, sample_pf_pc in this case is 2048, and the decoder output is 40

Re: sample_pf_pc in Cook Decoder?

2010-06-22 Thread vikas gupta
I dont think so, I think it is sample_per_channel*no_of_channels*sizeof(sample). On Tue, Jun 22, 2010 at 7:03 AM, Mohamed Tarek wrote: > > > On Tue, Jun 15, 2010 at 6:25 PM, vikas gupta wrote: >> >> hi, >> >> Does sample_pf_pc field contains decoded samples

sample_pf_pc in Cook Decoder?

2010-06-15 Thread vikas gupta
hi, Does sample_pf_pc field contains decoded samples of Per Frame per channel or it contain decoded samples of both the channel in case of stereo. Suppose Sample_pf_pc=8192 and no_of_channel=2 does that mean, it has 4096 samples/channel or does that mean 8192 Samples/per channel? Regards, Vikas

Where to get Cook Decoder Test Samples?

2010-06-03 Thread vikas gupta
Hi, Pardon me for for asking this novice question in the development mailing list but since couldn't find it anywhere so asking here. From where can I get more samples for Cook Decoder? I tried samples.mplayer.hu and I wanted to try some more samples, I am not able to find Audio only cook rm files

RealAudio Cook Decoder MultiChannel Support

2010-06-01 Thread vikas gupta
Hi, It looks that current Cook implementation doesn't have multichannel support which is added to ffmpeg solution. Are there any plans to add the multichannel support to Current implementation. Regards, Vikas Gupta

Re: Queries reagarding Cook Decoder Std

2010-05-19 Thread vikas gupta
On Wed, May 19, 2010 at 8:14 AM, Mike Giacomelli wrote: > Ah I see what you're getting at.  You're really asking what size MDCT windows > are allowed in cook, since the ffmpeg MDCT needs to know that in advance > while ours doesn't.  I have no idea.  I would just make a good guess and try > fil

Re: Queries reagarding Cook Decoder Std

2010-05-19 Thread vikas gupta
On Wed, May 19, 2010 at 12:23 AM, Mohamed Tarek wrote: > > I'm a bit confused by this. Do you want to get rid of the floating point > math ? If yes, rockbox codecs are all in fixed point already, so what > exactly do you want to get rid of ? Or do you not want any sort of > calculations at all ? n

Re: Queries reagarding Cook Decoder Std

2010-05-18 Thread vikas gupta
On Tue, May 18, 2010 at 9:51 PM, Mike Giacomelli wrote: > Assuming you mean math.h, rockbox doesn't have that either (and libcook > doesn't use it).  We can't, since we don't use floating point. Ok, but I am porting the slightly old floating point version. Can I , convert all run time calculation

Re: Queries reagarding Cook Decoder Std

2010-05-18 Thread vikas gupta
On Tue, May 18, 2010 at 9:27 PM, Mike Giacomelli wrote: > What exactly does rockbox require that your system doesn't have? Math library, so I require to create precalculated tables.

Queries reagarding Cook Decoder Std

2010-05-18 Thread vikas gupta
Hi, I am porting the cook decoder from Rockbox to my hardware. Since my hardware has no std library support, I am converting all run time calculations to static predefined tables. while doing so, I happen to see that basically all the calculation done is based on samples_per_Frame and which could

Re: libcook not working on Solaris

2010-05-18 Thread vikas gupta
On Tue, May 18, 2010 at 12:17 AM, Daniel Stenberg wrote: > On Mon, 17 May 2010, vikas gupta wrote: > It is *ld* and I would argue that it is strange as well. Within Rockbox > we use some GNU and C99isms that I don't think anyone has ever verified to > work on gcc 2.95. >

Re: libcook not working on Solaris

2010-05-17 Thread vikas gupta
On Mon, May 17, 2010 at 8:48 PM, Mike Giacomelli wrote: > > Did  you remove the "-D"ICODE_ATTR=" from makefile?  Unless you're using some > strange compiler, LIKELY should work, though you can -D"LIKELY=" to the > makefile to remove it too. > Mike > I didn't remove -D"ICODE_ATTR= from Makefile.

Re: libcook not working on Solaris

2010-05-17 Thread vikas gupta
On Mon, May 17, 2010 at 7:10 PM, vikas gupta wrote: > I tried doing it. Infact I copied all the files from lib and librm > together, and modified the makefile to include mdct.c as well, but it > doesn't work. It gives me the following errors. > codeclib.h:160: warning: `struct m

Re: libcook not working on Solaris

2010-05-17 Thread vikas gupta
On Mon, May 17, 2010 at 7:01 PM, Mike Giacomelli wrote: > >> 2) With latest svn r26016, standalone application couldn't be >> compiled, so many undefined reference w.r.t mdct library. Did anyone >> ever tried building standalone program with latest built. > > I can confirm it doesn't work.  Part o

Re: libcook not working on Solaris

2010-05-17 Thread vikas gupta
tried building standalone program with latest built. Regards, Vikas Gupta

Re: libcook not working on Solaris

2010-05-16 Thread vikas gupta
On Sun, May 16, 2010 at 10:40 AM, vikas gupta wrote: > On Sun, May 16, 2010 at 7:18 AM, Mohamed Tarek wrote: >> The focus in rockbox is really on the codec working properly within the >> rockbox environment, test programs are generally there because they were >> needed at

Re: libcook not working on Solaris

2010-05-16 Thread vikas gupta
On Sun, May 16, 2010 at 7:18 AM, Mohamed Tarek wrote: > The focus in rockbox is really on the codec working properly within the > rockbox environment, test programs are generally there because they were > needed at the time of importing the codec library. Codecs receive a > significant amount o

libcook not working on Solaris

2010-05-15 Thread vikas gupta
the rockbox community.* * * *Regards,* *Vikas Gupta* JOINT_STEREO VLC tables initialized. Result = 0 mlt_size is 1024 MDCT initialized, order = 11. mlt_window = 4096 COOKextradata cookversion=103 js_subband_start = 6 js_vlc_bits = 5 nb_channels = 2 bit_rate = 64083 sample_rate = 44100