[FFmpeg-devel] FFMpeg on SH4 (STi7109)

Jean-Michel Hautbois jhautbois
Tue Nov 18 15:05:25 CET 2008


2008/11/18 M?ns Rullg?rd <mans at mansr.com>

>
> Jean-Michel Hautbois wrote:
> > Hi everybody !
> >
> > I am currently trying to compile ffmpeg for the sh4 platform. I have a
> > STi7109 based board, and I am currently doing:
>
> May the gods have mercy on you.
>

Doesn't sound promising :s


>
> > ./configure --enable-cross-compile --cross-prefix=sh4-linux- --arch=sh4
> > --extra-cflags=-fno-strict-aliasing
> >
> > I have read the discussions here:
> > *http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2006-March/002478.html
> > *here:*
> >
> http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-December/039133.html
> > *and here:*
> >
> http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-January/040685.html
> >
> > *I am currently facing the following errors:
> > libavcodec/sh4/qpel.c: At top level:
> > libavcodec/sh4/qpel.c:1080: error: static declaration of
> > 'ff_put_qpel8_mc11_old_c' follows non-static declaration
> > ./libavcodec/dsputil.h:143: error: previous declaration of
>
> That file looks like a duplicate of parts of dsputil.c.  Something is
> definitely fishy here.


I am OK with you, but what may I do ?


>
>
> > And I have a lot of these.
> > Is there something I have to specify in the configure command in order to
> > obtain a working executable ?
>
> It looks like the SH4 support is broken.  Someone should fix it...
>

What do you mean ? Support from who ? Nobody is currently developping for
sh4, that's it ?


>
> > After this first step, I would like to use the ST231 cores. Do I have to
> use
> > the STAPI ? Or is there any other way to do this ?
>
> Do you have full documentation for the chip?  The datasheets I have
> provide very little information about how to access these cores.  I
> suppose you could reverse engineer the ST driver.*


No I don't. I think I have the same sheets, and it doesn't help a lot.
Reverse engineering is just impossible ! :)

But if I could compile, and run ffmpeg on the board, that would be a very
encouraging first step ;).

Best Regards.
Jean-Michel




More information about the ffmpeg-devel mailing list