[x264-devel] Re: [PATCH]updated VC build

Victor Mateevitsi victoras at telecom.ntua.gr
Tue Jun 5 16:07:21 CEST 2007


Thank you, this one is really usefull !

PS1: I saw your email that is @joost and gotta tell you: Joost rocks ! Keep
on the good work !
PS2: Are you at joost using x264 to encode the streamed content? Also the
A/V content in what format is it ? Is it in AVC or something proprietary? I
saw that when I am watching a video, my CPU goes wild, so I suppose it is
AVC ?


On 6/5/07, Gabriel Bouvigne <gabriel.bouvigne at joost.com> wrote:
>
> Allow to build x264 using VC8/VC7. The current VC projects files seems
> to be a bit outdated.
>
> Regards,
>
> --
>
> Gabriel Bouvigne
>
> Index: build/win32/libx264.vcproj
> ===================================================================
> --- build/win32/libx264.vcproj  (revision 656)
> +++ build/win32/libx264.vcproj  (working copy)
> @@ -1056,34 +1056,6 @@
>                                         </FileConfiguration>
>                                 </File>
>                                 <File
> -
> RelativePath="..\..\common\i386\dct-c.c">
> -                                       <FileConfiguration
> -                                               Name="Release|Win32">
> -                                               <Tool
> -
> Name="VCCLCompilerTool"
> -                                                       Optimization="2"
> -
> AdditionalIncludeDirectories=""
> -
> PreprocessorDefinitions=""/>
> -                                       </FileConfiguration>
> -                                       <FileConfiguration
> -                                               Name="Debug|Win32">
> -                                               <Tool
> -
> Name="VCCLCompilerTool"
> -                                                       Optimization="0"
> -
> AdditionalIncludeDirectories=""
> -
> PreprocessorDefinitions=""
> -
> BasicRuntimeChecks="3"/>
> -                                       </FileConfiguration>
> -                                       <FileConfiguration
> -                                               Name="Release64|Win32">
> -                                               <Tool
> -
> Name="VCCLCompilerTool"
> -                                                       Optimization="2"
> -
> AdditionalIncludeDirectories=""
> -
> PreprocessorDefinitions=""/>
> -                                       </FileConfiguration>
> -                               </File>
> -                               <File
>
>                                         RelativePath="..\..\common\i386\dct.h">
>                                 </File>
>                                 <File
> Index: common/frame.c
> ===================================================================
> --- common/frame.c      (revision 656)
> +++ common/frame.c      (working copy)
> @@ -23,7 +23,9 @@
>
> #include <stdio.h>
> #include <string.h>
> +#ifndef _MSC_VER
> #include <unistd.h>
> +#endif
>
> #include "common.h"
>
> Index: encoder/analyse.c
> ===================================================================
> --- encoder/analyse.c   (revision 656)
> +++ encoder/analyse.c   (working copy)
> @@ -26,7 +26,9 @@
> #include <string.h>
> #include <math.h>
> #include <limits.h>
> +#ifndef _MSC_VER
> #include <unistd.h>
> +#endif
>
> #include "common/common.h"
> #include "macroblock.h"
> Index: extras/getopt.c
> ===================================================================
> --- extras/getopt.c     (revision 656)
> +++ extras/getopt.c     (working copy)
> @@ -199,11 +199,15 @@
> # define my_index      strchr
> #else
>
> -# if HAVE_STRING_H
> -#  include <string.h>
> -# else
> -#  include <strings.h>
> -# endif
> +# if HAVE_STRING_H
> +#  include <string.h>
> +# else
> +#  ifdef _MSC_VER
> +#   include <string.h>
> +#  else
> +#   include <strings.h>
> +#  endif
> +# endif
>
> /* Avoid depending on library functions or files
>     whose names are inconsistent.  */
> @@ -980,6 +984,16 @@
>                            0);
> }
>
> +#ifdef _MSC_VER
> +
> +int
> +getopt_long (argc, argv, optstring, long_options, opt_index)
> +{
> +  return _getopt_internal (argc, argv, optstring, long_options,
> opt_index, 0);
> +}
> +
> +#endif
> +
> #endif /* Not ELIDE_CODE.  */
>
> #ifdef TEST
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/x264-devel/attachments/20070605/c843aec2/attachment.htm 


More information about the x264-devel mailing list