[FFmpeg-devel] [PATCH] Enable mpcodecs without needing inline asm
Michael Niedermayer
michaelni at gmx.at
Wed Nov 5 19:48:54 CET 2014
On Wed, Nov 05, 2014 at 07:39:19PM +0100, wm4 wrote:
> On Wed, 5 Nov 2014 18:06:42 +1100
> Matt Oliver <protogonoi at gmail.com> wrote:
>
> > Currently the extra filters provided by mpcodecs require inline asm support
> > to compile. However these filters all provide non-asm alternatives that can
> > be used with the correct pre-processor guard.
> >
> > Based on some recent discussions it appears that some of these filters are
> > still used but with the requirement for inline asm they cannot be used with
> > certain compilers (such as msvc). So while people still use/need these
> > filters i thought id make them available for msvc users.
>
> Who's using these filters?
iam using them occasionally
> Who wants to use them on MSVC?
i dont use MSVC, so not me but
if i would be using MSVC, i would want to use these filters with MSVC
>
> > The mpcodec filters use pre-processor defines such as HAVE_MMX for inline
> > asm, given both mplayer and ffmpeg have a HAVE_MMX_INLINE define specific
> > for inline asm then the preprocessors can be changed to the _INLINE
> > variants which makes inline asm code compile as appropriate.
> >
> > This patch has 2 parts, the first changes the pre-processors in mpcodecs to
> > use the _INLINE variants. Logically this would appear to be the correct
> > pre-processor for inline asm to begin with, if anyone knows of why the
> > _INLINE variants werent/shouldnt be used then feel free to let me know.
> >
> > The mpcodec patch will have to be pushed to upstream but assuming
> > everything is ok then the second patch just updates ffmpegs configure to
> > allow the mpcodecs filters without requiring inline asm.
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141105/600643ee/attachment.asc>
More information about the ffmpeg-devel
mailing list