[MPlayer-dev-eng] patch for cpudetect and amigaos4
Alan Curry
pacman at theworld.com
Tue Feb 28 21:34:14 CET 2006
Andrea =?iso-8859-1?Q?Palmat=E8?= writes the following:
>
On second look... is this right? IExec is declared extern and not used.
Should that be IExec->GetCPUInfoTags like in libavcodec, or is it supposed to
be different?
> #else /* SYS_DARWIN */
>+#ifdef __AMIGAOS4__
>+ ULONG result = 0;
>+ extern struct ExecIFace *IExec;
>+
>+ GetCPUInfoTags(GCIT_VectorUnit, &result, TAG_DONE);
>+ if (result == VECTORTYPE_ALTIVEC)
>+ caps->hasAltiVec = 1;
>+ return 0;
>+#else
More information about the MPlayer-dev-eng
mailing list