DSPRelated.com
Forums

Using FFMPEG libraries on TMS320C6416

Started by vour...@hotmail.com April 28, 2006
Hi group,

I wish to use FFMPEG libraries on a DSP C6416 but I do not manage to compile them.
I obtain multiple errors and I do not know what to make. TI's compiler (Code Composer ver 2.20) doesn't support 64-bit long data types (their longs are 40 bits).
If I compile libraries with another compiler than CCS, I do not manage to use them, what seems to me normal.

Does anybody have any idea ???

Thanks,
Damien
Sri,

Thanks for these answers,
but I forgot to notice I tried it and I get an error :
My code is :

typedef signed long long int64_t;

and the error is :

error: the type "long long" is nonstandard

>From: Sri
>To: v...@hotmail.com
>CC: c...
>Subject: Re: [c6x] Using FFMPEG libraries on TMS320C6416
>Date: Fri, 28 Apr 2006 19:46:12 +0530
>
>Damien:
>
>CCS supports 64 bit data type .
>data types for unsigned 64 bit integer in CCS is "long long".
>following is summary of fixed point data types in the CCS -
>
>char Int8;
>unsigned char Uint8;
>short Int16;
>unsigned short Uint16;
>int Int32;
>unsigned int Uint32;
>unsigned long Uint40;
>
>long long Int64;
>unsigned long long Uint64;
>

_________________________________________________________________
Tout savoir sur la suritde vos enfants sur Internet !
http://go.msn.fr/10-channel/80-security/protection/default.asp
Damien:

CCS supports 64 bit data type .
data types for unsigned 64 bit integer in CCS is "long long".
following is summary of fixed point data types in the CCS -

char Int8;
unsigned char Uint8;
short Int16;
unsigned short Uint16;
int Int32;
unsigned int Uint32;
unsigned long Uint40;

long long Int64;
unsigned long long Uint64;

On 4/28/06, v...@hotmail.com wrote:
>
> Hi group,
>
> I wish to use FFMPEG libraries on a DSP C6416 but I do not manage to
> compile them.
> I obtain multiple errors and I do not know what to make. TI's compiler
> (Code Composer ver 2.20) doesn't support 64-bit long data types (their
> longs are 40 bits).
> If I compile libraries with another compiler than CCS, I do not manage to
> use them, what seems to me normal.
>
> Does anybody have any idea ???
>
> Thanks,
> Damien
>
--
Regards
Sri
Damien,

--- Damien Vouriot wrote:

> Sri,
>
> Thanks for these answers,
> but I forgot to notice I tried it and I get an error
> :
> My code is :
>
> typedef signed long long int64_t;
>
> and the error is :
>
> error: the type "long long" is nonstandard
'long long' was introduced in the 5.0 version of the
compiler [according to the release notes]. It works
in CCS 3.0 and 3.1.
NOTE:
Help->About will show the Compiler version

mikedunn
> >From: Sri
> >To: v...@hotmail.com
> >CC: c...
> >Subject: Re: [c6x] Using FFMPEG libraries on
> TMS320C6416
> >Date: Fri, 28 Apr 2006 19:46:12 +0530
> >
> >Damien:
> >
> >CCS supports 64 bit data type .
> >data types for unsigned 64 bit integer in CCS is
> "long long".
> >following is summary of fixed point data types in
> the CCS -
> >
> >char Int8;
> >unsigned char Uint8;
> >
> >
> >short Int16;
> >unsigned short Uint16;
> >
> >
> >int Int32;
> >unsigned int Uint32;
> >
> >
> >unsigned long Uint40;
> >
> >long long Int64;
> >unsigned long long Uint64;
> >
_________________________________________________________________
> Tout savoir sur la suritde vos enfants sur
> Internet !
>
http://go.msn.fr/10-channel/80-security/protection/default.asp
> c...
>
>
>
Sorry Damien........I ignored the point that you are having CCS V2.20.
You will have to pay more to TI to get the luxury of 64bit data types in
CCS...:o)

On 4/28/06, Mike Dunn wrote:
>
> Damien,
>
> --- Damien Vouriot wrote:
>
> > Sri,
> >
> > Thanks for these answers,
> > but I forgot to notice I tried it and I get an error
> > :
> > My code is :
> >
> > typedef signed long long int64_t;
> >
> > and the error is :
> >
> > error: the type "long long" is nonstandard
> 'long long' was introduced in the 5.0 version of the
> compiler [according to the release notes]. It works
> in CCS 3.0 and 3.1.
> NOTE:
> Help->About will show the Compiler version
>
> mikedunn
> >
> >
> >
> >
> > >From: Sri
> > >To: v...@hotmail.com
> > >CC: c...
> > >Subject: Re: [c6x] Using FFMPEG libraries on
> > TMS320C6416
> > >Date: Fri, 28 Apr 2006 19:46:12 +0530
> > >
> > >Damien:
> > >
> > >CCS supports 64 bit data type .
> > >data types for unsigned 64 bit integer in CCS is
> > "long long".
> > >following is summary of fixed point data types in
> > the CCS -
> > >
> > >char Int8;
> > >unsigned char Uint8;
> > >
> > >
> > >short Int16;
> > >unsigned short Uint16;
> > >
> > >
> > >int Int32;
> > >unsigned int Uint32;
> > >
> > >
> > >unsigned long Uint40;
> > >
> > >long long Int64;
> > >unsigned long long Uint64;
> > >
> >
> >
> _________________________________________________________________
> > Tout savoir sur la suritde vos enfants sur
> > Internet !
> >
> http://go.msn.fr/10-channel/80-security/protection/default.asp
> >
> >
> >
> >
> >
> >
> >
> >
> > c...
> >
> >
> >
> >
> >
--
Regards
Sri
Hi group,

I need your help again !!!
I tried to compile FFMPEG with CCS 3.1 but I have still full of errors and I don't really know how to correct them. According to the documentation, FFMPEG has too many dependencies on the GCC compiler to make a port viable.

Does anybody have already tried to compile FFMPEG with CCC? ? Did anybody make a success? ?
Is it possible to compile librairies with GCC and that they are compatible with CCS ? I found nothing on this subject.

Thank you for your help.

Damien
Hi group,

I need your help again !!!
I tried to compile FFMPEG with CCS 3.1 but I have still full of errors and I
don't really know how to correct them. According to the documentation,
FFMPEG
has too many dependencies on the GCC compiler to make a port viable.

Does anybody have already tried to compile FFMPEG with CCC? ? Did anybody
make
a success? ?
Is it possible to compile librairies with GCC and that they are compatible
with
CCS ? I found nothing on this subject.

Thank you for your help.

Damien

>From: Mike Dunn
>To: Damien Vouriot , l...@gmail.com
>CC: c...
>Subject: Re: [c6x] Using FFMPEG libraries on TMS320C6416
>Date: Fri, 28 Apr 2006 07:58:41 -0700 (PDT)
>
>Damien,
>
>--- Damien Vouriot wrote:
>
> > Sri,
> >
> > Thanks for these answers,
> > but I forgot to notice I tried it and I get an error
> > :
> > My code is :
> >
> > typedef signed long long int64_t;
> >
> > and the error is :
> >
> > error: the type "long long" is nonstandard
>'long long' was introduced in the 5.0 version of the
>compiler [according to the release notes]. It works
>in CCS 3.0 and 3.1.
>NOTE:
>Help->About will show the Compiler version
>
>mikedunn
> >
> >
> >
> >
> > >From: Sri
> > >To: v...@hotmail.com
> > >CC: c...
> > >Subject: Re: [c6x] Using FFMPEG libraries on
> > TMS320C6416
> > >Date: Fri, 28 Apr 2006 19:46:12 +0530
> > >
> > >Damien:
> > >
> > >CCS supports 64 bit data type .
> > >data types for unsigned 64 bit integer in CCS is
> > "long long".
> > >following is summary of fixed point data types in
> > the CCS -
> > >
> > >char Int8;
> > >unsigned char Uint8;
> > >
> > >
> > >short Int16;
> > >unsigned short Uint16;
> > >
> > >
> > >int Int32;
> > >unsigned int Uint32;
> > >
> > >
> > >unsigned long Uint40;
> > >
> > >long long Int64;
> > >unsigned long long Uint64;
> > >
> >
> >
>_________________________________________________________________
> > Tout savoir sur la suritde vos enfants sur
> > Internet !
> >
>http://go.msn.fr/10-channel/80-security/protection/default.asp
> >
> >
> >
> >
> >
> >
> >
> >
> > c...
> >
> >
> >
> >
>
_________________________________________________________________
Windows Live Mail : douvrez et testez la version ba !
http://www.ideas.live.com/programpage.aspx?versionId]21c51a-b161-4314-9b0e-4911fb2b2e6d