Hi. Has anyone tried http://svn.xiph.org/branches/theora-mmx this code on Win32 ? I can compile it with very small modification, 304c304 < ogg_int16_t *const temp= (ogg_int16_t*)align_tmp; ---> ogg_int16_t *const temp= (int16_t*)align_tmp;but outputs seem terribly broken. -> ex. http://mycomputer.cc/temp/mmx-out.ogg GCC version is 3.4.2. $ gcc --version gcc.exe (GCC) 3.4.2 (mingw-special) Can anyone help me ? -- TSUJIYAMA Akihiko <akihico@mars.dti.ne.jp>
Sorry, I forgot one thing.> 304c304 > < ogg_int16_t *const temp= (ogg_int16_t*)align_tmp; > --- > > ogg_int16_t *const temp= (int16_t*)align_tmp;This is for file : http://svn.xiph.org/branches/theora-mmx/lib/i386/fdct_mmx.c -- TSUJIYAMA Akihiko <akihico@mars.dti.ne.jp>
On Sat, Oct 23, 2004 at 01:08:23AM +0900, TSUJIYAMA Akihiko wrote:> > 304c304 > > < ogg_int16_t *const temp= (ogg_int16_t*)align_tmp; > > --- > > > ogg_int16_t *const temp= (int16_t*)align_tmp;Seems an odd change to require. What is the actual error this resolves? -r
Aggghhhhhh. It starts working correctly after I re-build everything. Maybe I was wrong on the way. But thank you anyway. -- TSUJIYAMA Akihiko <akihico@mars.dti.ne.jp>
Hi. Has anyone tried http://svn.xiph.org/branches/theora-mmx this code on Win32 ? I can compile it with very small modification, 304c304 < ogg_int16_t *const temp= (ogg_int16_t*)align_tmp; ---> ogg_int16_t *const temp= (int16_t*)align_tmp;but outputs seem terribly broken. -> ex. http://mycomputer.cc/temp/mmx-out.ogg GCC version is 3.4.2. $ gcc --version gcc.exe (GCC) 3.4.2 (mingw-special) Can anyone help me ? -- TSUJIYAMA Akihiko <akihico@mars.dti.ne.jp>
On Fri, Oct 22, 2004 at 09:46:02PM +0900, TSUJIYAMA Akihiko wrote:> I can compile it with very small modification, > 304c304 > < ogg_int16_t *const temp= (ogg_int16_t*)align_tmp; > --- > > ogg_int16_t *const temp= (int16_t*)align_tmp;Nevermind. I was apparenlty reading the context diff backwards. I've committed the fix. Still don't understand why the compiler would care though. Maybe int16_t doesn't exist on the windows build? -r