diff --git a/linphone/mediastreamer2/build/wince/alldescs.h b/linphone/mediastreamer2/build/wince/alldescs.h index 896d45f68d059afbd7d7153544ab9771405bfb69..697ce911eb35e1fb6308f806322f7f4e0c2f1faa 100644 --- a/linphone/mediastreamer2/build/wince/alldescs.h +++ b/linphone/mediastreamer2/build/wince/alldescs.h @@ -23,9 +23,6 @@ extern MSFilterDesc ms_conf_desc; //extern MSFilterDesc ms_arts_read_desc; //extern MSFilterDesc ms_arts_write_desc; //extern MSFilterDesc ms_v4l_desc; -#ifdef VIDEO_ENABLED -extern MSFilterDesc ms_v4w_desc; -#endif //extern MSFilterDesc ms_sdl_out_desc; //extern MSFilterDesc ms_h263_enc_desc; //extern MSFilterDesc ms_h263_dec_desc; @@ -57,9 +54,6 @@ MSFilterDesc * ms_filter_descs[]={ //&ms_arts_read_desc, //&ms_arts_write_desc, //&ms_v4l_desc, -#ifdef VIDEO_ENABLED -&ms_v4w_desc, -#endif //&ms_sdl_out_desc, //&ms_h263_enc_desc, //&ms_h263_dec_desc, diff --git a/linphone/mediastreamer2/build/wince/mediastreamer2.def b/linphone/mediastreamer2/build/wince/mediastreamer2.def index 56df94c9e8d02a1541fa90531803f148be33cb53..8c12d405086570add3256966f58c6e4c9af2c828 100644 --- a/linphone/mediastreamer2/build/wince/mediastreamer2.def +++ b/linphone/mediastreamer2/build/wince/mediastreamer2.def @@ -62,5 +62,28 @@ EXPORTS ms_load_plugins audio_stream_start + + ms_queue_init + ms_queue_flush + + rfc3984_init + rfc3984_uninit + rfc3984_pack + rfc3984_unpack + rfc3984_set_mode + ms_discover_mtu ms_set_mtu + + ms_web_cam_new + ms_web_cam_manager_reload + ms_web_cam_manager_get_default_cam + ms_web_cam_manager_get + ms_web_cam_manager_get_list + ms_web_cam_manager_get_cam + ms_web_cam_manager_add_cam + ms_web_cam_manager_register_desc + ms_web_cam_create_reader + ms_web_cam_get_driver_type + ms_web_cam_get_name + ms_web_cam_get_string_id diff --git a/linphone/mediastreamer2/build/wince/mediastreamer2.vcproj b/linphone/mediastreamer2/build/wince/mediastreamer2.vcproj index 31b4853d4afcd0c786ab613fa283be36ceef699f..cc383ade888f767bcb7d66a662db02746ad86110 100644 --- a/linphone/mediastreamer2/build/wince/mediastreamer2.vcproj +++ b/linphone/mediastreamer2/build/wince/mediastreamer2.vcproj @@ -17,14 +17,688 @@ <Platform Name="Windows Mobile 6 Standard SDK (ARMV4I)" /> + <Platform + Name="MP100_2P21 (ARMV4I)" + /> </Platforms> <ToolFiles> </ToolFiles> <Configurations> <Configuration - Name="Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" - OutputDirectory="$(PlatformName)\Debug" - IntermediateDirectory="$(PlatformName)\Debug" + Name="Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" + OutputDirectory="$(PlatformName)\Debug" + IntermediateDirectory="$(PlatformName)\Debug" + ConfigurationType="2" + UseOfMFC="0" + CharacterSet="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + PreprocessorDefinitions="_DEBUG" + MkTypLibCompatible="false" + /> + <Tool + Name="VCCLCompilerTool" + ExecutionBucket="7" + Optimization="2" + FavorSizeOrSpeed="1" + AdditionalIncludeDirectories=".;..\..\include;..\..\..\oRTP\include;..\..\..\codecs\speex\include" + PreprocessorDefinitions="__VIDEO_DISABLED__;AMD_HACK;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL;POCKETPC2003_UI_MODEL" + RuntimeLibrary="3" + TreatWChar_tAsBuiltInType="false" + UsePrecompiledHeader="0" + ProgramDataBaseFileName="$(IntDir)/mediastreamer2.pdb" + WarningLevel="3" + DebugInformationFormat="3" + CompileAs="2" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="_DEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE" + Culture="1033" + AdditionalIncludeDirectories="$(IntDir)" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalOptions=" /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB" + AdditionalDependencies=" ws2.lib iphlpapi.lib mmtimer.lib libcmtd.lib " + IgnoreAllDefaultLibraries="true" + ModuleDefinitionFile="mediastreamer2.def" + GenerateDebugInformation="true" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCCodeSignTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + <DeploymentTool + ForceDirty="-1" + RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" + RegisterOutput="0" + AdditionalFiles="" + /> + <DebuggerTool + /> + </Configuration> + <Configuration + Name="Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" + OutputDirectory="$(PlatformName)\Debug" + IntermediateDirectory="$(PlatformName)\Debug" + ConfigurationType="2" + UseOfMFC="0" + CharacterSet="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + PreprocessorDefinitions="_DEBUG" + MkTypLibCompatible="false" + /> + <Tool + Name="VCCLCompilerTool" + ExecutionBucket="7" + Optimization="0" + AdditionalIncludeDirectories=".;..\..\include;..\..\..\oRTP\include;..\..\..\codecs\speex\include" + PreprocessorDefinitions="__VIDEO_DISABLED__;ORTP_INET6;MEDIASTREAMER2_EXPORT;AMD_HACK;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);SMARTPHONE2003_UI_MODEL;SMARTPHONE2003_UI_MODEL" + RuntimeLibrary="3" + TreatWChar_tAsBuiltInType="false" + UsePrecompiledHeader="0" + ProgramDataBaseFileName="$(IntDir)/mediastreamer2.pdb" + WarningLevel="3" + DebugInformationFormat="3" + CompileAs="2" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="_DEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE" + Culture="1033" + AdditionalIncludeDirectories="$(IntDir)" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalOptions=" /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB" + AdditionalDependencies=" ws2.lib iphlpapi.lib mmtimer.lib libcmtd.lib dmoguids.lib strmiids.lib strmbase.lib atlsd.lib d3dmx.lib" + IgnoreAllDefaultLibraries="true" + ModuleDefinitionFile="mediastreamer2.def" + GenerateDebugInformation="true" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCCodeSignTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + <DeploymentTool + ForceDirty="-1" + RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" + RegisterOutput="0" + AdditionalFiles="" + /> + <DebuggerTool + /> + </Configuration> + <Configuration + Name="Debug|Windows Mobile 6 Standard SDK (ARMV4I)" + OutputDirectory="Windows Mobile 6 Standard SDK (ARMV4I)\$(ConfigurationName)" + IntermediateDirectory="Windows Mobile 6 Standard SDK (ARMV4I)\$(ConfigurationName)" + ConfigurationType="2" + UseOfMFC="0" + UseOfATL="0" + CharacterSet="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + PreprocessorDefinitions="_DEBUG" + MkTypLibCompatible="false" + TargetEnvironment="1" + /> + <Tool + Name="VCCLCompilerTool" + ExecutionBucket="7" + Optimization="2" + FavorSizeOrSpeed="1" + AdditionalIncludeDirectories=".;..\..\include;..\..\..\oRTP\include;..\..\..\codecs\speex\include" + PreprocessorDefinitions="__VIDEO_DISABLED__;AMD_HACK;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_)" + ExceptionHandling="1" + RuntimeLibrary="3" + TreatWChar_tAsBuiltInType="false" + UsePrecompiledHeader="0" + ProgramDataBaseFileName="$(IntDir)/mediastreamer2.pdb" + WarningLevel="3" + DebugInformationFormat="3" + CompileAs="2" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="_DEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE" + Culture="1033" + AdditionalIncludeDirectories="$(IntDir)" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalOptions=" /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB" + AdditionalDependencies="atlsd.lib strmiids.lib dmoguids.lib strmbase.lib ws2.lib iphlpapi.lib mmtimer.lib libcmtd.lib" + IgnoreAllDefaultLibraries="true" + ModuleDefinitionFile="mediastreamer2.def" + GenerateDebugInformation="true" + TargetMachine="0" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCCodeSignTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + <DeploymentTool + ForceDirty="-1" + RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" + RegisterOutput="0" + AdditionalFiles="" + /> + <DebuggerTool + /> + </Configuration> + <Configuration + Name="Debug|MP100_2P21 (ARMV4I)" + OutputDirectory="MP100_2P21 (ARMV4I)\$(ConfigurationName)" + IntermediateDirectory="MP100_2P21 (ARMV4I)\$(ConfigurationName)" + ConfigurationType="2" + UseOfMFC="0" + CharacterSet="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + PreprocessorDefinitions="_DEBUG" + MkTypLibCompatible="false" + TargetEnvironment="1" + /> + <Tool + Name="VCCLCompilerTool" + ExecutionBucket="7" + Optimization="0" + FavorSizeOrSpeed="0" + AdditionalIncludeDirectories=".;..\..\include;..\..\..\oRTP\include;..\..\..\codecs\speex\include" + PreprocessorDefinitions="NO_FFMPEG;VIDEO_ENABLED;AMD_HACK;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL;POCKETPC2003_UI_MODEL" + RuntimeLibrary="3" + TreatWChar_tAsBuiltInType="false" + UsePrecompiledHeader="0" + ProgramDataBaseFileName="$(IntDir)/mediastreamer2.pdb" + WarningLevel="3" + DebugInformationFormat="3" + CompileAs="2" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="_DEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE" + Culture="1033" + AdditionalIncludeDirectories="$(IntDir)" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalOptions=" /SUBSYSTEM:$(CESubsystem) /MACHINE:THUMB" + AdditionalDependencies=" ws2.lib iphlpapi.lib mmtimer.lib libcmtd.lib " + IgnoreAllDefaultLibraries="true" + ModuleDefinitionFile="mediastreamer2.def" + GenerateDebugInformation="true" + TargetMachine="0" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCCodeSignTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + <DeploymentTool + ForceDirty="-1" + RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" + RegisterOutput="0" + AdditionalFiles="" + /> + <DebuggerTool + /> + </Configuration> + <Configuration + Name="Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" + OutputDirectory="$(PlatformName)\Release" + IntermediateDirectory="$(PlatformName)\Release" + ConfigurationType="2" + UseOfMFC="0" + CharacterSet="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + PreprocessorDefinitions="NDEBUG" + MkTypLibCompatible="false" + /> + <Tool + Name="VCCLCompilerTool" + ExecutionBucket="7" + AdditionalIncludeDirectories=".;..\..\include;..\..\..\oRTP\include;..\..\..\codecs\speex\include" + PreprocessorDefinitions="__VIDEO_DISABLED__;AMD_HACK;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);NDEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL;POCKETPC2003_UI_MODEL" + RuntimeLibrary="2" + TreatWChar_tAsBuiltInType="false" + UsePrecompiledHeader="0" + ProgramDataBaseFileName="$(IntDir)/mediastreamer2.pdb" + WarningLevel="3" + DebugInformationFormat="0" + CompileAs="2" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="NDEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE" + Culture="1033" + AdditionalIncludeDirectories="$(IntDir)" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalOptions=" /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB" + AdditionalDependencies="ws2.lib iphlpapi.lib mmtimer.lib libcmt.lib" + IgnoreAllDefaultLibraries="true" + ModuleDefinitionFile="mediastreamer2.def" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCCodeSignTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + <DeploymentTool + ForceDirty="-1" + RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" + RegisterOutput="0" + AdditionalFiles="" + /> + <DebuggerTool + /> + </Configuration> + <Configuration + Name="Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" + OutputDirectory="$(PlatformName)\Release" + IntermediateDirectory="$(PlatformName)\Release" + ConfigurationType="2" + UseOfMFC="0" + CharacterSet="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + PreprocessorDefinitions="NDEBUG" + MkTypLibCompatible="false" + /> + <Tool + Name="VCCLCompilerTool" + ExecutionBucket="7" + AdditionalIncludeDirectories=".;..\..\include;..\..\..\oRTP\include;..\..\..\codecs\speex\include" + PreprocessorDefinitions="__VIDEO_DISABLED__;ORTP_INET6;MEDIASTREAMER2_EXPORT;AMD_HACK;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);NDEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);SMARTPHONE2003_UI_MODEL;SMARTPHONE2003_UI_MODEL" + RuntimeLibrary="2" + TreatWChar_tAsBuiltInType="false" + UsePrecompiledHeader="0" + ProgramDataBaseFileName="$(IntDir)/mediastreamer2.pdb" + WarningLevel="3" + DebugInformationFormat="0" + CompileAs="2" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="NDEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE" + Culture="1033" + AdditionalIncludeDirectories="$(IntDir)" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalOptions=" /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB" + AdditionalDependencies="ws2.lib iphlpapi.lib mmtimer.lib libcmt.lib dmoguids.lib strmiids.lib strmbase.lib atls.lib" + IgnoreAllDefaultLibraries="true" + ModuleDefinitionFile="mediastreamer2.def" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCCodeSignTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + <DeploymentTool + ForceDirty="-1" + RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" + RegisterOutput="0" + AdditionalFiles="" + /> + <DebuggerTool + /> + </Configuration> + <Configuration + Name="Release|Windows Mobile 6 Standard SDK (ARMV4I)" + OutputDirectory="Windows Mobile 6 Standard SDK (ARMV4I)\$(ConfigurationName)" + IntermediateDirectory="Windows Mobile 6 Standard SDK (ARMV4I)\$(ConfigurationName)" + ConfigurationType="2" + UseOfMFC="0" + CharacterSet="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + PreprocessorDefinitions="NDEBUG" + MkTypLibCompatible="false" + TargetEnvironment="1" + /> + <Tool + Name="VCCLCompilerTool" + ExecutionBucket="7" + AdditionalIncludeDirectories=".;..\..\include;..\..\..\oRTP\include;..\..\..\codecs\speex\include" + PreprocessorDefinitions="__VIDEO_DISABLED__;AMD_HACK;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);NDEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_)" + RuntimeLibrary="2" + TreatWChar_tAsBuiltInType="false" + UsePrecompiledHeader="0" + ProgramDataBaseFileName="$(IntDir)/mediastreamer2.pdb" + WarningLevel="3" + DebugInformationFormat="0" + CompileAs="2" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="NDEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE" + Culture="1033" + AdditionalIncludeDirectories="$(IntDir)" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalOptions=" /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB" + AdditionalDependencies="atls.lib strmiids.lib dmoguids.lib strmbase.lib ws2.lib iphlpapi.lib mmtimer.lib libcmt.lib" + IgnoreAllDefaultLibraries="true" + ModuleDefinitionFile="mediastreamer2.def" + TargetMachine="0" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCCodeSignTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + <DeploymentTool + ForceDirty="-1" + RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" + RegisterOutput="0" + AdditionalFiles="" + /> + <DebuggerTool + /> + </Configuration> + <Configuration + Name="Release|MP100_2P21 (ARMV4I)" + OutputDirectory="MP100_2P21 (ARMV4I)\$(ConfigurationName)" + IntermediateDirectory="MP100_2P21 (ARMV4I)\$(ConfigurationName)" + ConfigurationType="2" + UseOfMFC="0" + CharacterSet="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + PreprocessorDefinitions="NDEBUG" + MkTypLibCompatible="false" + TargetEnvironment="1" + /> + <Tool + Name="VCCLCompilerTool" + ExecutionBucket="7" + Optimization="3" + FavorSizeOrSpeed="1" + AdditionalIncludeDirectories=".;..\..\include;..\..\..\oRTP\include;..\..\..\codecs\speex\include" + PreprocessorDefinitions="NO_FFMPEG;VIDEO_ENABLED;AMD_HACK;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);NDEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL;POCKETPC2003_UI_MODEL" + RuntimeLibrary="2" + TreatWChar_tAsBuiltInType="false" + UsePrecompiledHeader="0" + ProgramDataBaseFileName="$(IntDir)/mediastreamer2.pdb" + WarningLevel="3" + DebugInformationFormat="0" + CompileAs="2" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="NDEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE" + Culture="1033" + AdditionalIncludeDirectories="$(IntDir)" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalOptions=" /SUBSYSTEM:$(CESubsystem) /MACHINE:THUMB" + AdditionalDependencies="ws2.lib iphlpapi.lib mmtimer.lib libcmt.lib" + IgnoreAllDefaultLibraries="true" + ModuleDefinitionFile="mediastreamer2.def" + TargetMachine="0" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCCodeSignTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + <DeploymentTool + ForceDirty="-1" + RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" + RegisterOutput="0" + AdditionalFiles="" + /> + <DebuggerTool + /> + </Configuration> + <Configuration + Name="DebugVideo|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" + OutputDirectory="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\$(ConfigurationName)" + IntermediateDirectory="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\$(ConfigurationName)" ConfigurationType="2" UseOfMFC="0" CharacterSet="1" @@ -45,6 +719,7 @@ Name="VCMIDLTool" PreprocessorDefinitions="_DEBUG" MkTypLibCompatible="false" + TargetEnvironment="1" /> <Tool Name="VCCLCompilerTool" @@ -52,7 +727,7 @@ Optimization="2" FavorSizeOrSpeed="1" AdditionalIncludeDirectories=".;..\..\include;..\..\..\oRTP\include;..\..\..\codecs\speex\include" - PreprocessorDefinitions="__VIDEO_DISABLED__;AMD_HACK;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL;POCKETPC2003_UI_MODEL" + PreprocessorDefinitions="VIDEO_ENABLED;AMD_HACK;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL;POCKETPC2003_UI_MODEL" RuntimeLibrary="3" TreatWChar_tAsBuiltInType="false" UsePrecompiledHeader="0" @@ -78,8 +753,9 @@ AdditionalOptions=" /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB" AdditionalDependencies=" ws2.lib iphlpapi.lib mmtimer.lib libcmtd.lib " IgnoreAllDefaultLibraries="true" - ModuleDefinitionFile="mediastreamer2.def" + ModuleDefinitionFile="mediastreamer2-video.def" GenerateDebugInformation="true" + TargetMachine="0" /> <Tool Name="VCALinkTool" @@ -98,7 +774,7 @@ /> <DeploymentTool ForceDirty="-1" - RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" + RemoteDirectory="" RegisterOutput="0" AdditionalFiles="" /> @@ -106,9 +782,9 @@ /> </Configuration> <Configuration - Name="Debug|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" - OutputDirectory="$(PlatformName)\Debug" - IntermediateDirectory="$(PlatformName)\Debug" + Name="DebugVideo|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" + OutputDirectory="Windows Mobile 5.0 Smartphone SDK (ARMV4I)\$(ConfigurationName)" + IntermediateDirectory="Windows Mobile 5.0 Smartphone SDK (ARMV4I)\$(ConfigurationName)" ConfigurationType="2" UseOfMFC="0" CharacterSet="1" @@ -129,6 +805,7 @@ Name="VCMIDLTool" PreprocessorDefinitions="_DEBUG" MkTypLibCompatible="false" + TargetEnvironment="1" /> <Tool Name="VCCLCompilerTool" @@ -163,6 +840,7 @@ IgnoreAllDefaultLibraries="true" ModuleDefinitionFile="mediastreamer2.def" GenerateDebugInformation="true" + TargetMachine="0" /> <Tool Name="VCALinkTool" @@ -181,7 +859,7 @@ /> <DeploymentTool ForceDirty="-1" - RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" + RemoteDirectory="" RegisterOutput="0" AdditionalFiles="" /> @@ -189,7 +867,7 @@ /> </Configuration> <Configuration - Name="Debug|Windows Mobile 6 Standard SDK (ARMV4I)" + Name="DebugVideo|Windows Mobile 6 Standard SDK (ARMV4I)" OutputDirectory="Windows Mobile 6 Standard SDK (ARMV4I)\$(ConfigurationName)" IntermediateDirectory="Windows Mobile 6 Standard SDK (ARMV4I)\$(ConfigurationName)" ConfigurationType="2" @@ -267,6 +945,92 @@ <Tool Name="VCPostBuildEventTool" /> + <DeploymentTool + ForceDirty="-1" + RemoteDirectory="" + RegisterOutput="0" + AdditionalFiles="" + /> + <DebuggerTool + /> + </Configuration> + <Configuration + Name="DebugVideo|MP100_2P21 (ARMV4I)" + OutputDirectory="MP100_2P21 (ARMV4I)\$(ConfigurationName)" + IntermediateDirectory="MP100_2P21 (ARMV4I)\$(ConfigurationName)" + ConfigurationType="2" + UseOfMFC="0" + CharacterSet="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + PreprocessorDefinitions="_DEBUG" + MkTypLibCompatible="false" + TargetEnvironment="1" + /> + <Tool + Name="VCCLCompilerTool" + ExecutionBucket="7" + Optimization="0" + FavorSizeOrSpeed="0" + AdditionalIncludeDirectories=".;..\..\include;..\..\..\oRTP\include;..\..\..\codecs\speex\include" + PreprocessorDefinitions="NO_FFMPEG;VIDEO_ENABLED;AMD_HACK;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL;POCKETPC2003_UI_MODEL" + RuntimeLibrary="3" + TreatWChar_tAsBuiltInType="false" + UsePrecompiledHeader="0" + ProgramDataBaseFileName="$(IntDir)/mediastreamer2.pdb" + WarningLevel="3" + DebugInformationFormat="0" + CompileAs="2" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="_DEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE" + Culture="1033" + AdditionalIncludeDirectories="$(IntDir)" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalOptions=" /SUBSYSTEM:$(CESubsystem) /MACHINE:THUMB" + AdditionalDependencies=" ws2.lib iphlpapi.lib mmtimer.lib libcmtd.lib " + IgnoreAllDefaultLibraries="true" + ModuleDefinitionFile="mediastreamer2-video.def" + GenerateDebugInformation="true" + TargetMachine="0" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCCodeSignTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> <DeploymentTool ForceDirty="-1" RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" @@ -277,9 +1041,9 @@ /> </Configuration> <Configuration - Name="Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" - OutputDirectory="$(PlatformName)\Release" - IntermediateDirectory="$(PlatformName)\Release" + Name="ReleaseVideo|Windows Mobile 5.0 Pocket PC SDK (ARMV4I)" + OutputDirectory="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\$(ConfigurationName)" + IntermediateDirectory="Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\$(ConfigurationName)" ConfigurationType="2" UseOfMFC="0" CharacterSet="1" @@ -300,12 +1064,13 @@ Name="VCMIDLTool" PreprocessorDefinitions="NDEBUG" MkTypLibCompatible="false" + TargetEnvironment="1" /> <Tool Name="VCCLCompilerTool" ExecutionBucket="7" AdditionalIncludeDirectories=".;..\..\include;..\..\..\oRTP\include;..\..\..\codecs\speex\include" - PreprocessorDefinitions="__VIDEO_DISABLED__;AMD_HACK;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);NDEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL;POCKETPC2003_UI_MODEL" + PreprocessorDefinitions="NO_FFMPEG;VIDEO_ENABLED;AMD_HACK;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);NDEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL;POCKETPC2003_UI_MODEL" RuntimeLibrary="2" TreatWChar_tAsBuiltInType="false" UsePrecompiledHeader="0" @@ -329,9 +1094,10 @@ <Tool Name="VCLinkerTool" AdditionalOptions=" /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB" - AdditionalDependencies="ws2.lib iphlpapi.lib mmtimer.lib libcmt.lib" + AdditionalDependencies="dmoguids.lib strmiids.lib strmbase.lib atls.lib ws2.lib iphlpapi.lib mmtimer.lib libcmt.lib" IgnoreAllDefaultLibraries="true" - ModuleDefinitionFile="mediastreamer2.def" + ModuleDefinitionFile="mediastreamer2-video.def" + TargetMachine="0" /> <Tool Name="VCALinkTool" @@ -350,7 +1116,7 @@ /> <DeploymentTool ForceDirty="-1" - RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" + RemoteDirectory="" RegisterOutput="0" AdditionalFiles="" /> @@ -358,9 +1124,9 @@ /> </Configuration> <Configuration - Name="Release|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" - OutputDirectory="$(PlatformName)\Release" - IntermediateDirectory="$(PlatformName)\Release" + Name="ReleaseVideo|Windows Mobile 5.0 Smartphone SDK (ARMV4I)" + OutputDirectory="Windows Mobile 5.0 Smartphone SDK (ARMV4I)\$(ConfigurationName)" + IntermediateDirectory="Windows Mobile 5.0 Smartphone SDK (ARMV4I)\$(ConfigurationName)" ConfigurationType="2" UseOfMFC="0" CharacterSet="1" @@ -381,6 +1147,7 @@ Name="VCMIDLTool" PreprocessorDefinitions="NDEBUG" MkTypLibCompatible="false" + TargetEnvironment="1" /> <Tool Name="VCCLCompilerTool" @@ -413,6 +1180,7 @@ AdditionalDependencies="ws2.lib iphlpapi.lib mmtimer.lib libcmt.lib dmoguids.lib strmiids.lib strmbase.lib atls.lib" IgnoreAllDefaultLibraries="true" ModuleDefinitionFile="mediastreamer2.def" + TargetMachine="0" /> <Tool Name="VCALinkTool" @@ -431,7 +1199,7 @@ /> <DeploymentTool ForceDirty="-1" - RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" + RemoteDirectory="" RegisterOutput="0" AdditionalFiles="" /> @@ -439,7 +1207,7 @@ /> </Configuration> <Configuration - Name="Release|Windows Mobile 6 Standard SDK (ARMV4I)" + Name="ReleaseVideo|Windows Mobile 6 Standard SDK (ARMV4I)" OutputDirectory="Windows Mobile 6 Standard SDK (ARMV4I)\$(ConfigurationName)" IntermediateDirectory="Windows Mobile 6 Standard SDK (ARMV4I)\$(ConfigurationName)" ConfigurationType="2" @@ -512,6 +1280,91 @@ <Tool Name="VCPostBuildEventTool" /> + <DeploymentTool + ForceDirty="-1" + RemoteDirectory="" + RegisterOutput="0" + AdditionalFiles="" + /> + <DebuggerTool + /> + </Configuration> + <Configuration + Name="ReleaseVideo|MP100_2P21 (ARMV4I)" + OutputDirectory="MP100_2P21 (ARMV4I)\$(ConfigurationName)" + IntermediateDirectory="MP100_2P21 (ARMV4I)\$(ConfigurationName)" + ConfigurationType="2" + UseOfMFC="0" + CharacterSet="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + PreprocessorDefinitions="NDEBUG" + MkTypLibCompatible="false" + TargetEnvironment="1" + /> + <Tool + Name="VCCLCompilerTool" + ExecutionBucket="7" + Optimization="3" + FavorSizeOrSpeed="1" + AdditionalIncludeDirectories=".;..\..\include;..\..\..\oRTP\include;..\..\..\codecs\speex\include" + PreprocessorDefinitions="NO_FFMPEG;VIDEO_ENABLED;AMD_HACK;HAVE_SPEEX_NOISE;ORTP_INET6;MEDIASTREAMER2_EXPORT;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);NDEBUG;_USRDLL;$(ARCHFAM);$(_ARCHFAM_);POCKETPC2003_UI_MODEL;POCKETPC2003_UI_MODEL" + RuntimeLibrary="2" + TreatWChar_tAsBuiltInType="false" + UsePrecompiledHeader="0" + ProgramDataBaseFileName="$(IntDir)/mediastreamer2.pdb" + WarningLevel="3" + DebugInformationFormat="0" + CompileAs="2" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + PreprocessorDefinitions="NDEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE" + Culture="1033" + AdditionalIncludeDirectories="$(IntDir)" + /> + <Tool + Name="VCPreLinkEventTool" + /> + <Tool + Name="VCLinkerTool" + AdditionalOptions=" /SUBSYSTEM:$(CESubsystem) /MACHINE:THUMB" + AdditionalDependencies="atls.lib ws2.lib iphlpapi.lib mmtimer.lib libcmt.lib" + IgnoreAllDefaultLibraries="true" + ModuleDefinitionFile="mediastreamer2-video.def" + TargetMachine="0" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCCodeSignTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> <DeploymentTool ForceDirty="-1" RemoteDirectory="%CSIDL_PROGRAM_FILES%\amsipua" @@ -542,10 +1395,6 @@ RelativePath="..\..\src\dtmfgen.c" > </File> - <File - RelativePath="..\..\src\dxfilter.cpp" - > - </File> <File RelativePath="..\..\src\ice.c" > @@ -598,10 +1447,18 @@ RelativePath="..\..\src\msticker.c" > </File> + <File + RelativePath="..\..\src\mswebcam.c" + > + </File> <File RelativePath="..\..\src\mtu.c" > </File> + <File + RelativePath="..\..\src\rfc3984.c" + > + </File> <File RelativePath="..\..\src\speexec.c" > @@ -618,10 +1475,6 @@ RelativePath="..\..\src\void.c" > </File> - <File - RelativePath="..\..\src\wincevideods.c" - > - </File> <File RelativePath="..\..\src\winsnd.c" > @@ -688,11 +1541,23 @@ RelativePath="..\..\include\mediastreamer2\msticker.h" > </File> + <File + RelativePath="..\..\include\mediastreamer2\mswebcam.h" + > + </File> + <File + RelativePath="..\..\include\mediastreamer2\rfc3984.h" + > + </File> <File RelativePath="..\..\include\mediastreamer2\waveheader.h" > </File> </Filter> + <File + RelativePath=".\mediastreamer2.def" + > + </File> </Files> <Globals> </Globals> diff --git a/linphone/mediastreamer2/src/mscommon.c b/linphone/mediastreamer2/src/mscommon.c index a8fd0dcb0b7d232ee44d78c2bba059ee4ec72ab3..3138c353935b4248255556b69be4cd71d18175b6 100644 --- a/linphone/mediastreamer2/src/mscommon.c +++ b/linphone/mediastreamer2/src/mscommon.c @@ -480,8 +480,10 @@ extern MSWebCamDesc ms_dshow_cam_desc; extern MSWebCamDesc ms_v4m_cam_desc; #endif +#if !defined(NO_FFMPEG) extern MSWebCamDesc static_image_desc; extern MSWebCamDesc mire_desc; +#endif static MSWebCamDesc * ms_web_cam_descs[]={ #ifdef HAVE_LINUX_VIDEODEV2_H @@ -503,8 +505,10 @@ static MSWebCamDesc * ms_web_cam_descs[]={ &ms_v4m_cam_desc, #endif +#if !defined(NO_FFMPEG) &mire_desc, &static_image_desc, +#endif NULL }; @@ -539,7 +543,9 @@ void ms_init(){ ms_web_cam_manager_register_desc(wm,ms_web_cam_descs[i]); } } +#if !defined(NO_FFMPEG) __register_ffmpeg_encoders_if_possible(); +#endif #endif ms_message("Loading plugins"); ms_load_plugins(PACKAGE_PLUGINS_DIR);