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. 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.
0001-mpcodecs-Use-_INLINE-guards-for-inline-asm.patch
Description: Binary data
0002-configure-Enable-mpcodec-compilation-without-inline-.patch
Description: Binary data
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel