mirror of
https://github.com/Laex/Delphi-OpenCV.git
synced 2024-11-15 07:45:53 +01:00
Refactoring directory structure
Signed-off-by: Mikhail Grigorev <sleuthhound@gmail.com>
This commit is contained in:
parent
bfde2d809b
commit
2f087607e5
18
README.md
18
README.md
@ -25,16 +25,6 @@ Add the search path for the modules of the project in Delphi IDE (Tools-Options-
|
||||
```
|
||||
<PROJECT_ROOT>\source
|
||||
<PROJECT_ROOT>\source\include
|
||||
<PROJECT_ROOT>\source\include\calib3d
|
||||
<PROJECT_ROOT>\source\include\core
|
||||
<PROJECT_ROOT>\source\include\features2d
|
||||
<PROJECT_ROOT>\source\include\highgui
|
||||
<PROJECT_ROOT>\source\include\imgproc
|
||||
<PROJECT_ROOT>\source\include\legacy
|
||||
<PROJECT_ROOT>\source\include\ml
|
||||
<PROJECT_ROOT>\source\include\nonfree
|
||||
<PROJECT_ROOT>\source\include\objdetect
|
||||
<PROJECT_ROOT>\source\include\video
|
||||
<PROJECT_ROOT>\source\component
|
||||
<PROJECT_ROOT>\resource\facedetectxml
|
||||
```
|
||||
@ -42,13 +32,7 @@ where ```<PROJECT_ROOT>``` directory, which was unzipped project.<br>
|
||||
Additionally, you can specify the path to the library header files FFMPEG
|
||||
```
|
||||
<PROJECT_ROOT>\source\ffmpeg
|
||||
<PROJECT_ROOT>\source\ffmpeg\ctypes
|
||||
<PROJECT_ROOT>\source\ffmpeg\libavcodec
|
||||
<PROJECT_ROOT>\source\ffmpeg\libavfilter
|
||||
<PROJECT_ROOT>\source\ffmpeg\libavformat
|
||||
<PROJECT_ROOT>\source\ffmpeg\libavutil
|
||||
<PROJECT_ROOT>\source\ffmpeg\libswresample
|
||||
<PROJECT_ROOT>\source\ffmpeg\libswscale
|
||||
<PROJECT_ROOT>\source\sdl
|
||||
```
|
||||
Examples of using FFMPEG library header files are in the
|
||||
```
|
||||
|
@ -5,7 +5,7 @@
|
||||
<FrameworkType>VCL</FrameworkType>
|
||||
<MainSource>cCameraCapture.dpr</MainSource>
|
||||
<Base>True</Base>
|
||||
<Config Condition="'$(Config)'==''">Debug</Config>
|
||||
<Config Condition="'$(Config)'==''">Release</Config>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
<TargetedPlatforms>3</TargetedPlatforms>
|
||||
<AppType>Application</AppType>
|
||||
|
@ -28,7 +28,7 @@ interface
|
||||
uses
|
||||
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
|
||||
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uOCVTypes, uOCVImageOperation,
|
||||
core.types_c, uOCVSource, uOCVView, Vcl.StdCtrls, Vcl.ExtCtrls;
|
||||
opencv.core.types_c, uOCVSource, uOCVView, Vcl.StdCtrls, Vcl.ExtCtrls;
|
||||
|
||||
type
|
||||
TMainForm = class(TForm)
|
||||
|
@ -38,9 +38,9 @@ implementation
|
||||
|
||||
{$R *.dfm}
|
||||
|
||||
Uses
|
||||
core_c,
|
||||
Core.types_c, cvUtils;
|
||||
uses
|
||||
opencv.core_c,
|
||||
opencv.core.types_c, opencv.cvutils;
|
||||
|
||||
procedure TMainForm.btn1Click(Sender: TObject);
|
||||
begin
|
||||
|
72
samples/FFMpeg/FFMPEG.groupproj
Normal file
72
samples/FFMpeg/FFMPEG.groupproj
Normal file
@ -0,0 +1,72 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{494E9258-6938-4D18-843D-93EBD2FC9965}</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Projects Include="ffmpeg_sample_player\ffmpeg_sample_player.dproj">
|
||||
<Dependencies/>
|
||||
</Projects>
|
||||
<Projects Include="filtering_video\filtering_video.dproj">
|
||||
<Dependencies/>
|
||||
</Projects>
|
||||
<Projects Include="metadata\metadata.dproj">
|
||||
<Dependencies/>
|
||||
</Projects>
|
||||
<Projects Include="scaling_video\scaling_video.dproj">
|
||||
<Dependencies/>
|
||||
</Projects>
|
||||
</ItemGroup>
|
||||
<ProjectExtensions>
|
||||
<Borland.Personality>Default.Personality.12</Borland.Personality>
|
||||
<Borland.ProjectType/>
|
||||
<BorlandProject>
|
||||
<Default.Personality/>
|
||||
</BorlandProject>
|
||||
</ProjectExtensions>
|
||||
<Target Name="ffmpeg_sample_player">
|
||||
<MSBuild Projects="ffmpeg_sample_player\ffmpeg_sample_player.dproj"/>
|
||||
</Target>
|
||||
<Target Name="ffmpeg_sample_player:Clean">
|
||||
<MSBuild Projects="ffmpeg_sample_player\ffmpeg_sample_player.dproj" Targets="Clean"/>
|
||||
</Target>
|
||||
<Target Name="ffmpeg_sample_player:Make">
|
||||
<MSBuild Projects="ffmpeg_sample_player\ffmpeg_sample_player.dproj" Targets="Make"/>
|
||||
</Target>
|
||||
<Target Name="filtering_video">
|
||||
<MSBuild Projects="filtering_video\filtering_video.dproj"/>
|
||||
</Target>
|
||||
<Target Name="filtering_video:Clean">
|
||||
<MSBuild Projects="filtering_video\filtering_video.dproj" Targets="Clean"/>
|
||||
</Target>
|
||||
<Target Name="filtering_video:Make">
|
||||
<MSBuild Projects="filtering_video\filtering_video.dproj" Targets="Make"/>
|
||||
</Target>
|
||||
<Target Name="metadata">
|
||||
<MSBuild Projects="metadata\metadata.dproj"/>
|
||||
</Target>
|
||||
<Target Name="metadata:Clean">
|
||||
<MSBuild Projects="metadata\metadata.dproj" Targets="Clean"/>
|
||||
</Target>
|
||||
<Target Name="metadata:Make">
|
||||
<MSBuild Projects="metadata\metadata.dproj" Targets="Make"/>
|
||||
</Target>
|
||||
<Target Name="scaling_video">
|
||||
<MSBuild Projects="scaling_video\scaling_video.dproj"/>
|
||||
</Target>
|
||||
<Target Name="scaling_video:Clean">
|
||||
<MSBuild Projects="scaling_video\scaling_video.dproj" Targets="Clean"/>
|
||||
</Target>
|
||||
<Target Name="scaling_video:Make">
|
||||
<MSBuild Projects="scaling_video\scaling_video.dproj" Targets="Make"/>
|
||||
</Target>
|
||||
<Target Name="Build">
|
||||
<CallTarget Targets="ffmpeg_sample_player;filtering_video;metadata;scaling_video"/>
|
||||
</Target>
|
||||
<Target Name="Clean">
|
||||
<CallTarget Targets="ffmpeg_sample_player:Clean;filtering_video:Clean;metadata:Clean;scaling_video:Clean"/>
|
||||
</Target>
|
||||
<Target Name="Make">
|
||||
<CallTarget Targets="ffmpeg_sample_player:Make;filtering_video:Make;metadata:Make;scaling_video:Make"/>
|
||||
</Target>
|
||||
<Import Project="$(BDS)\Bin\CodeGear.Group.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Group.Targets')"/>
|
||||
</Project>
|
@ -9,33 +9,34 @@ uses
|
||||
System.SysUtils,
|
||||
System.Classes,
|
||||
SDL,
|
||||
ffmpeglib in '..\..\ffmpeglib.pas',
|
||||
ctypes in '..\..\..\ctypes\ctypes.pas',
|
||||
avformat in '..\..\libavformat\avformat.pas',
|
||||
avio in '..\..\libavformat\avio.pas',
|
||||
avutil in '..\..\libavutil\avutil.pas',
|
||||
buffer in '..\..\libavutil\buffer.pas',
|
||||
dict in '..\..\libavutil\dict.pas',
|
||||
frame in '..\..\libavutil\frame.pas',
|
||||
log in '..\..\libavutil\log.pas',
|
||||
opt in '..\..\libavutil\opt.pas',
|
||||
pixfmt in '..\..\libavutil\pixfmt.pas',
|
||||
rational in '..\..\libavutil\rational.pas',
|
||||
samplefmt in '..\..\libavutil\samplefmt.pas',
|
||||
parseutils in '..\..\libavutil\parseutils.pas',
|
||||
swscale in '..\..\libswscale\swscale.pas',
|
||||
pixdesc in '..\..\libavutil\pixdesc.pas',
|
||||
imgutils in '..\..\libavutil\imgutils.pas',
|
||||
mem in '..\..\libavutil\mem.pas',
|
||||
error in '..\..\libavutil\error.pas',
|
||||
avfilter in '..\..\libavfilter\avfilter.pas',
|
||||
buffersink in '..\..\libavfilter\buffersink.pas',
|
||||
mathematics in '..\..\libavutil\mathematics.pas',
|
||||
libavcodec.avcodec in '..\..\libavcodec\libavcodec.avcodec.pas',
|
||||
buffersrc in '..\..\libavfilter\buffersrc.pas',
|
||||
errno in '..\..\libavutil\errno.pas';
|
||||
ffmpeglib,
|
||||
ffmpeg.ctypes,
|
||||
ffmpeg.avformat,
|
||||
ffmpeg.avio,
|
||||
ffmpeg.avutil,
|
||||
ffmpeg.buffer,
|
||||
ffmpeg.dict,
|
||||
ffmpeg.frame,
|
||||
ffmpeg.log,
|
||||
ffmpeg.opt,
|
||||
ffmpeg.pixfmt,
|
||||
ffmpeg.rational,
|
||||
ffmpeg.samplefmt,
|
||||
ffmpeg.parseutils,
|
||||
ffmpeg.swscale,
|
||||
ffmpeg.pixdesc,
|
||||
ffmpeg.imgutils,
|
||||
ffmpeg.mem,
|
||||
ffmpeg.error,
|
||||
ffmpeg.avfilter,
|
||||
ffmpeg.buffersink,
|
||||
ffmpeg.mathematics,
|
||||
ffmpeg.libavcodec.avcodec,
|
||||
ffmpeg.buffersrc,
|
||||
ffmpeg.errno,
|
||||
uResourcePaths;
|
||||
|
||||
Var
|
||||
var
|
||||
err: Integer;
|
||||
filename: AnsiString;
|
||||
format_context: pAVFormatContext = nil;
|
||||
@ -52,14 +53,15 @@ Var
|
||||
rect: TSDL_Rect;
|
||||
event: TSDL_Event;
|
||||
|
||||
const
|
||||
std_filename = cResourceMedia + 'trailer.avi';
|
||||
|
||||
begin
|
||||
try
|
||||
|
||||
if (ParamCount < 1) then
|
||||
begin
|
||||
WriteLn(Format('Usage: %s filename', [ExtractFileName(ParamStr(0))]));
|
||||
Halt;
|
||||
end;
|
||||
filename := std_filename
|
||||
else
|
||||
filename := ParamStr(1);
|
||||
|
||||
// Register all available file formats and codecs
|
||||
av_register_all();
|
||||
@ -74,7 +76,6 @@ begin
|
||||
end;
|
||||
|
||||
// Open video file
|
||||
filename := ParamStr(1);
|
||||
err := avformat_open_input(format_context, PAnsiChar(filename), nil, nil);
|
||||
if (err < 0) then
|
||||
begin
|
||||
|
@ -1,49 +1,24 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{4A70D321-10C0-4AAE-9C24-FAA11F93CC66}</ProjectGuid>
|
||||
<ProjectVersion>15.3</ProjectVersion>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectGuid>{036F28BC-83B0-471A-B04B-5E5296551153}</ProjectGuid>
|
||||
<MainSource>ffmpeg_sample_player.dpr</MainSource>
|
||||
<Base>True</Base>
|
||||
<Config Condition="'$(Config)'==''">Debug</Config>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
<Config Condition="'$(Config)'==''">Release</Config>
|
||||
<TargetedPlatforms>1</TargetedPlatforms>
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='Android' and '$(Base)'=='true') or '$(Base_Android)'!=''">
|
||||
<Base_Android>true</Base_Android>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='iOSDevice' and '$(Base)'=='true') or '$(Base_iOSDevice)'!=''">
|
||||
<Base_iOSDevice>true</Base_iOSDevice>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='iOSSimulator' and '$(Base)'=='true') or '$(Base_iOSSimulator)'!=''">
|
||||
<Base_iOSSimulator>true</Base_iOSSimulator>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='OSX32' and '$(Base)'=='true') or '$(Base_OSX32)'!=''">
|
||||
<Base_OSX32>true</Base_OSX32>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Base)'=='true') or '$(Base_Win32)'!=''">
|
||||
<Base_Win32>true</Base_Win32>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Base)'=='true') or '$(Base_Win64)'!=''">
|
||||
<Base_Win64>true</Base_Win64>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_1)'!=''">
|
||||
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_1)'!=''">
|
||||
<Cfg_1>true</Cfg_1>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
@ -54,136 +29,58 @@
|
||||
<Cfg_1>true</Cfg_1>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_2)'!=''">
|
||||
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_2)'!=''">
|
||||
<Cfg_2>true</Cfg_2>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base)'!=''">
|
||||
<DCC_UnitSearchPath>..\..\;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
|
||||
<VerInfo_Locale>1049</VerInfo_Locale>
|
||||
<Manifest_File>None</Manifest_File>
|
||||
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
|
||||
<DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
|
||||
<DCC_ExeOutput>..\..\..\..\bin</DCC_ExeOutput>
|
||||
<DCC_E>false</DCC_E>
|
||||
<VerInfo_Locale>1049</VerInfo_Locale>
|
||||
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
|
||||
<DCC_N>false</DCC_N>
|
||||
<DCC_ImageBase>00400000</DCC_ImageBase>
|
||||
<DCC_K>false</DCC_K>
|
||||
<DCC_S>false</DCC_S>
|
||||
<DCC_F>false</DCC_F>
|
||||
<DCC_K>false</DCC_K>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_Android)'!=''">
|
||||
<Android_LauncherIcon48>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png</Android_LauncherIcon48>
|
||||
<Android_LauncherIcon96>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png</Android_LauncherIcon96>
|
||||
<Android_LauncherIcon144>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png</Android_LauncherIcon144>
|
||||
<Android_LauncherIcon72>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png</Android_LauncherIcon72>
|
||||
<Android_LauncherIcon36>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png</Android_LauncherIcon36>
|
||||
<DCC_UsePackage>DBXInterBaseDriver;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyCore;CloudService;vc2;FireDACIBDriver;bindcompfmx;dbrtl;FireDACCommon;bindcomp;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;inet;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;IndyIPCommon;FireDACDBXDriver;rtl;DbxClientDriver;IndyProtocols;bindcompdbx;FireDAC;FireDACDataSnapDriver;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_iOSDevice)'!=''">
|
||||
<iPad_SpotLight80>$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_80x80.png</iPad_SpotLight80>
|
||||
<iPhone_AppIcon120>$(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_120x120.png</iPhone_AppIcon120>
|
||||
<iPhone_Spotlight40>$(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_40x40.png</iPhone_Spotlight40>
|
||||
<iPhone_Spotlight80>$(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_80x80.png</iPhone_Spotlight80>
|
||||
<iPhone_AppIcon60>$(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_60x60.png</iPhone_AppIcon60>
|
||||
<iPad_SpotLight40>$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_40x40.png</iPad_SpotLight40>
|
||||
<iPad_Launch768x1024>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1024.png</iPad_Launch768x1024>
|
||||
<iPad_AppIcon76>$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_76x76.png</iPad_AppIcon76>
|
||||
<iPad_Launch1024x768>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x768.png</iPad_Launch1024x768>
|
||||
<iPad_Launch1536x2048>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2048.png</iPad_Launch1536x2048>
|
||||
<iPad_Launch2048x1536>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1536.png</iPad_Launch2048x1536>
|
||||
<iPad_AppIcon152>$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_152x152.png</iPad_AppIcon152>
|
||||
<DCC_UsePackage>DBXInterBaseDriver;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyCore;CloudService;FireDACIBDriver;bindcompfmx;dbrtl;FireDACCommon;bindcomp;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;inet;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;fmxase;IndyIPCommon;FireDACDBXDriver;rtl;DbxClientDriver;IndyProtocols;bindcompdbx;FireDAC;FireDACDataSnapDriver;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_iOSSimulator)'!=''">
|
||||
<iPad_SpotLight80>$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_80x80.png</iPad_SpotLight80>
|
||||
<iPhone_AppIcon120>$(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_120x120.png</iPhone_AppIcon120>
|
||||
<iPhone_Spotlight40>$(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_40x40.png</iPhone_Spotlight40>
|
||||
<iPhone_Spotlight80>$(BDS)\bin\Artwork\iOS\iPhone\FM_SpotlightSearchIcon_80x80.png</iPhone_Spotlight80>
|
||||
<iPhone_AppIcon60>$(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_60x60.png</iPhone_AppIcon60>
|
||||
<iPad_SpotLight40>$(BDS)\bin\Artwork\iOS\iPad\FM_SpotlightSearchIcon_40x40.png</iPad_SpotLight40>
|
||||
<iPad_Launch768x1024>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_768x1024.png</iPad_Launch768x1024>
|
||||
<iPad_AppIcon76>$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_76x76.png</iPad_AppIcon76>
|
||||
<iPad_Launch1024x768>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_1024x768.png</iPad_Launch1024x768>
|
||||
<iPad_Launch1536x2048>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImagePortrait_1536x2048.png</iPad_Launch1536x2048>
|
||||
<iPad_Launch2048x1536>$(BDS)\bin\Artwork\iOS\iPad\FM_LaunchImageLandscape_2048x1536.png</iPad_Launch2048x1536>
|
||||
<iPad_AppIcon152>$(BDS)\bin\Artwork\iOS\iPad\FM_ApplicationIcon_152x152.png</iPad_AppIcon152>
|
||||
<DCC_UsePackage>DBXInterBaseDriver;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyCore;CloudService;FireDACIBDriver;bindcompfmx;dbrtl;FireDACCommon;bindcomp;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;inet;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;fmxase;IndyIPCommon;FireDACDBXDriver;rtl;DbxClientDriver;IndyProtocols;bindcompdbx;FireDAC;FireDACDataSnapDriver;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_OSX32)'!=''">
|
||||
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
|
||||
<DCC_UsePackage>FireDACPgDriver;DBXInterBaseDriver;DataSnapServer;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyIPServer;IndyCore;CloudService;FireDACIBDriver;FireDACDb2Driver;bindcompfmx;FireDACODBCDriver;dbrtl;FireDACCommon;bindcomp;inetdb;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;FireDACMSSQLDriver;DBXInformixDriver;DBXFirebirdDriver;inet;FireDACMySQLDriver;DBXSybaseASADriver;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;DBXOracleDriver;fmxase;IndyIPCommon;FireDACDBXDriver;inetdbxpress;FireDACASADriver;rtl;DbxClientDriver;IndyProtocols;DBXMySQLDriver;bindcompdbx;FireDACADSDriver;FireDAC;FireDACDataSnapDriver;fmxobj;FireDACOracleDriver;fmxdae;FireDACMSAccDriver;DataSnapIndy10ServerTransport;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=;CFBundleName=</VerInfo_Keys>
|
||||
<SanitizedProjectName>ffmpeg_sample_player</SanitizedProjectName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_Win32)'!=''">
|
||||
<DCC_UsePackage>JvGlobus;dxBarRS18;dxPSCoreRS18;JvMM;JvManagedThreads;dxPScxPCProdRS18;OverbyteIcsDXE5Run;cxTreeListRS18;dxDockingRS18;FireDACPgDriver;dxThemeRS18;dxPSdxOCLnkRS18;JvCrypt;TP_LockBox3;XiButtonXE4;DBXInterBaseDriver;DataSnapServer;DataSnapCommon;cxTreeListdxBarPopupMenuRS18;JvNet;officeXPrt;TeeUI919;JvDotNetCtrls;FMXTeeDB919;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;JvXPCtrls;vcldb;cxExportRS18;FmxTeeUI919;CustomIPTransport;TeeWorld919;dsnap;IndyIPServer;IndyCore;cxVerticalGridRS18;CloudService;TeePro919;dxPSdxDBOCLnkRS18;vc2;FireDACIBDriver;dxADOServerModeRS18;JvDB;JvRuntimeDesign;dxPScxExtCommonRS18;cxEditorsRS18;cxPageControldxBarPopupMenuRS18;cxSchedulerRS18;dxSpellCheckerRS18;dxPScxVGridLnkRS18;JclDeveloperTools;FireDACDb2Driver;dxRibbonRS18;FMXTeePro919;bindcompfmx;dclTP_LockBox3;vcldbx;cxBarEditItemRS18;FireDACODBCDriver;cxPageControlRS18;dbrtl;FireDACCommon;bindcomp;inetdb;JvPluginSystem;DBXOdbcDriver;JvCmp;vclFireDAC;FMXTee919;xmlrtl;JvTimeFramework;ibxpress;dxBarExtItemsRS18;FireDACCommonDriver;bindengine;vclactnband;soaprtl;bindcompvcl;dxPsPrVwAdvRS18;cxSpreadSheetRS18;Jcl;vclie;cxPivotGridRS18;dxmdsRS18;dxBarDBNavRS18;dxTileControlRS18;dxComnRS18;FireDACMSSQLDriver;DBXInformixDriver;dxBarExtDBItemsRS18;Intraweb;dxPScxSchedulerLnkRS18;dxNavBarRS18;dsnapcon;DBXFirebirdDriver;dxPSTeeChartRS18;inet;FMXTeeLanguage919;dxPScxCommonRS18;JvPascalInterpreter;FireDACMySQLDriver;vclx;TeeDB919;DBXSybaseASADriver;dxorgcRS18;RESTComponents;dbexpress;JvBDE;IndyIPClient;dxGDIPlusRS18;FireDACSqliteDriver;dxLayoutControlRS18;ZComponent;DBXSqliteDriver;tmswizdXE4;fmx;JvDlgs;IndySystem;vclib;inetdbbde;DataSnapClient;dxPScxTLLnkRS18;Tee919;cxSchedulerGridRS18;dxtrmdRS18;DataSnapProviderClient;DBXSybaseASEDriver;dxTabbedMDIRS18;TeeGL919;MetropolisUILiveTile;dxPSLnksRS18;vcldsnap;dxPScxPivotGridLnkRS18;fmxFireDAC;DBXDb2Driver;dxPScxSSLnkRS18;DBXOracleDriver;dxServerModeRS18;JvCore;vclribbon;dxdborRS18;fmxase;vcl;IndyIPCommon;DBXMSSQLDriver;CodeSiteExpressPkg;cxPivotGridChartRS18;FireDACDBXDriver;JvAppFrm;inetdbxpress;dxPScxGridLnkRS18;cxLibraryRS18;JvDocking;adortl;JvWizards;FireDACASADriver;dxPSdxDBTVLnkRS18;JvHMI;tmsdXE4;JvBands;ZDbc;rtl;DbxClientDriver;ZPlain;JclContainers;CPortLibDXE;JvSystem;svnui;JvControls;dxDBXServerModeRS18;IndyProtocols;DBXMySQLDriver;dxFlowChartRS18;viTimeLineDPK;bindcompdbx;TeeLanguage919;JvJans;JvPrintPreview;JvPageComps;JvStdCtrls;JvCustom;FireDACADSDriver;vcltouch;ZCore;dxPSPrVwRibbonRS18;tmsexdXE4;dxPSdxFCLnkRS18;VclSmp;FireDAC;VCLRESTComponents;cxGridRS18;DataSnapConnectors;FireDACDataSnapDriver;dxPSDBTeeChartRS18;dxdbtrRS18;tmsxlsdXE4;dxCoreRS18;fmxobj;JclVcl;ZParseSql;svn;dxPSdxLCLnkRS18;FireDACOracleDriver;fmxdae;cxDataRS18;cxPivotGridOLAPRS18;bdertl;TeeImage919;FireDACMSAccDriver;DataSnapIndy10ServerTransport;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
|
||||
<VerInfo_Locale>1033</VerInfo_Locale>
|
||||
<DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
|
||||
<Debugger_RunParams>GopherBroke.avi</Debugger_RunParams>
|
||||
<VerInfo_Locale>1033</VerInfo_Locale>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_Win64)'!=''">
|
||||
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
|
||||
<DCC_UsePackage>dxBarRS18;dxPSCoreRS18;OverbyteIcsDXE5Run;cxTreeListRS18;dxDockingRS18;FireDACPgDriver;dxThemeRS18;dxPSdxOCLnkRS18;DBXInterBaseDriver;DataSnapServer;DataSnapCommon;cxTreeListdxBarPopupMenuRS18;officeXPrt;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;vcldb;cxExportRS18;CustomIPTransport;dsnap;IndyIPServer;IndyCore;cxVerticalGridRS18;CloudService;dxPSdxDBOCLnkRS18;FireDACIBDriver;dxADOServerModeRS18;dxPScxExtCommonRS18;cxEditorsRS18;cxPageControldxBarPopupMenuRS18;cxSchedulerRS18;dxSpellCheckerRS18;dxPScxVGridLnkRS18;FireDACDb2Driver;dxRibbonRS18;bindcompfmx;cxBarEditItemRS18;FireDACODBCDriver;cxPageControlRS18;dbrtl;FireDACCommon;bindcomp;inetdb;DBXOdbcDriver;vclFireDAC;xmlrtl;ibxpress;dxBarExtItemsRS18;FireDACCommonDriver;bindengine;vclactnband;soaprtl;bindcompvcl;dxPsPrVwAdvRS18;cxSpreadSheetRS18;vclie;cxPivotGridRS18;dxmdsRS18;dxBarDBNavRS18;dxTileControlRS18;dxComnRS18;FireDACMSSQLDriver;DBXInformixDriver;dxBarExtDBItemsRS18;Intraweb;dxPScxSchedulerLnkRS18;dxNavBarRS18;dsnapcon;DBXFirebirdDriver;dxPSTeeChartRS18;inet;dxPScxCommonRS18;FireDACMySQLDriver;vclx;DBXSybaseASADriver;dxorgcRS18;RESTComponents;dbexpress;IndyIPClient;dxGDIPlusRS18;FireDACSqliteDriver;dxLayoutControlRS18;ZComponent;DBXSqliteDriver;fmx;IndySystem;vclib;DataSnapClient;dxPScxTLLnkRS18;cxSchedulerGridRS18;dxtrmdRS18;DataSnapProviderClient;DBXSybaseASEDriver;dxTabbedMDIRS18;MetropolisUILiveTile;dxPSLnksRS18;vcldsnap;dxPScxPivotGridLnkRS18;fmxFireDAC;DBXDb2Driver;dxPScxSSLnkRS18;DBXOracleDriver;dxServerModeRS18;vclribbon;dxdborRS18;fmxase;vcl;IndyIPCommon;DBXMSSQLDriver;cxPivotGridChartRS18;FireDACDBXDriver;inetdbxpress;dxPScxGridLnkRS18;cxLibraryRS18;adortl;FireDACASADriver;dxPSdxDBTVLnkRS18;ZDbc;rtl;DbxClientDriver;ZPlain;dxDBXServerModeRS18;IndyProtocols;DBXMySQLDriver;dxFlowChartRS18;bindcompdbx;FireDACADSDriver;vcltouch;ZCore;dxPSPrVwRibbonRS18;dxPSdxFCLnkRS18;VclSmp;FireDAC;VCLRESTComponents;cxGridRS18;DataSnapConnectors;FireDACDataSnapDriver;dxPSDBTeeChartRS18;dxdbtrRS18;dxCoreRS18;fmxobj;ZParseSql;dxPSdxLCLnkRS18;FireDACOracleDriver;fmxdae;cxDataRS18;cxPivotGridOLAPRS18;FireDACMSAccDriver;DataSnapIndy10ServerTransport;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Cfg_1)'!=''">
|
||||
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
|
||||
<DCC_DebugDCUs>true</DCC_DebugDCUs>
|
||||
<DCC_Optimize>false</DCC_Optimize>
|
||||
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
|
||||
<DCC_DebugInfoInExe>true</DCC_DebugInfoInExe>
|
||||
<DCC_RemoteDebug>true</DCC_RemoteDebug>
|
||||
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
|
||||
<DCC_DebugInformation>0</DCC_DebugInformation>
|
||||
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
|
||||
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
|
||||
<Debugger_RunParams>rtsp://10.1.1.201/Streaming/Channels/1?transportmode=unicast</Debugger_RunParams>
|
||||
<VerInfo_Locale>1033</VerInfo_Locale>
|
||||
<DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
|
||||
<DCC_ExeOutput>..\..\..\bin\$(Platform)</DCC_ExeOutput>
|
||||
<Manifest_File>None</Manifest_File>
|
||||
<DCC_RemoteDebug>false</DCC_RemoteDebug>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
|
||||
<VerInfo_Locale>1033</VerInfo_Locale>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Cfg_2)'!=''">
|
||||
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
|
||||
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
|
||||
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
|
||||
<DCC_DebugInformation>0</DCC_DebugInformation>
|
||||
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
|
||||
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
|
||||
<DCC_Optimize>false</DCC_Optimize>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<DelphiCompile Include="$(MainSource)">
|
||||
<MainSource>MainSource</MainSource>
|
||||
</DelphiCompile>
|
||||
<DCCReference Include="..\..\ffmpeglib.pas"/>
|
||||
<DCCReference Include="..\..\..\ctypes\ctypes.pas"/>
|
||||
<DCCReference Include="..\..\libavformat\avformat.pas"/>
|
||||
<DCCReference Include="..\..\libavformat\avio.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\avutil.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\buffer.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\dict.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\frame.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\log.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\opt.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\pixfmt.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\rational.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\samplefmt.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\parseutils.pas"/>
|
||||
<DCCReference Include="..\..\libswscale\swscale.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\pixdesc.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\imgutils.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\mem.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\error.pas"/>
|
||||
<DCCReference Include="..\..\libavfilter\avfilter.pas"/>
|
||||
<DCCReference Include="..\..\libavfilter\buffersink.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\mathematics.pas"/>
|
||||
<DCCReference Include="..\..\libavcodec\libavcodec.avcodec.pas"/>
|
||||
<DCCReference Include="..\..\libavfilter\buffersrc.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\errno.pas"/>
|
||||
<BuildConfiguration Include="Release">
|
||||
<BuildConfiguration Include="Debug">
|
||||
<Key>Cfg_2</Key>
|
||||
<CfgParent>Base</CfgParent>
|
||||
</BuildConfiguration>
|
||||
<BuildConfiguration Include="Base">
|
||||
<Key>Base</Key>
|
||||
</BuildConfiguration>
|
||||
<BuildConfiguration Include="Debug">
|
||||
<BuildConfiguration Include="Release">
|
||||
<Key>Cfg_1</Key>
|
||||
<CfgParent>Base</CfgParent>
|
||||
</BuildConfiguration>
|
||||
@ -193,70 +90,15 @@
|
||||
<Borland.ProjectType/>
|
||||
<BorlandProject>
|
||||
<Delphi.Personality>
|
||||
<VersionInfo>
|
||||
<VersionInfo Name="IncludeVerInfo">False</VersionInfo>
|
||||
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
|
||||
<VersionInfo Name="MajorVer">1</VersionInfo>
|
||||
<VersionInfo Name="MinorVer">0</VersionInfo>
|
||||
<VersionInfo Name="Release">0</VersionInfo>
|
||||
<VersionInfo Name="Build">0</VersionInfo>
|
||||
<VersionInfo Name="Debug">False</VersionInfo>
|
||||
<VersionInfo Name="PreRelease">False</VersionInfo>
|
||||
<VersionInfo Name="Special">False</VersionInfo>
|
||||
<VersionInfo Name="Private">False</VersionInfo>
|
||||
<VersionInfo Name="DLL">False</VersionInfo>
|
||||
<VersionInfo Name="Locale">1049</VersionInfo>
|
||||
<VersionInfo Name="CodePage">1251</VersionInfo>
|
||||
</VersionInfo>
|
||||
<VersionInfoKeys>
|
||||
<VersionInfoKeys Name="CompanyName"/>
|
||||
<VersionInfoKeys Name="FileDescription"/>
|
||||
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
|
||||
<VersionInfoKeys Name="InternalName"/>
|
||||
<VersionInfoKeys Name="LegalCopyright"/>
|
||||
<VersionInfoKeys Name="LegalTrademarks"/>
|
||||
<VersionInfoKeys Name="OriginalFilename"/>
|
||||
<VersionInfoKeys Name="ProductName"/>
|
||||
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
|
||||
<VersionInfoKeys Name="Comments"/>
|
||||
<VersionInfoKeys Name="CFBundleName"/>
|
||||
<VersionInfoKeys Name="CFBundleDisplayName"/>
|
||||
<VersionInfoKeys Name="UIDeviceFamily"/>
|
||||
<VersionInfoKeys Name="CFBundleIdentifier"/>
|
||||
<VersionInfoKeys Name="CFBundleVersion"/>
|
||||
<VersionInfoKeys Name="CFBundlePackageType"/>
|
||||
<VersionInfoKeys Name="CFBundleSignature"/>
|
||||
<VersionInfoKeys Name="CFBundleAllowMixedLocalizations"/>
|
||||
<VersionInfoKeys Name="UISupportedInterfaceOrientations"/>
|
||||
<VersionInfoKeys Name="CFBundleExecutable"/>
|
||||
<VersionInfoKeys Name="CFBundleResourceSpecification"/>
|
||||
<VersionInfoKeys Name="LSRequiresIPhoneOS"/>
|
||||
<VersionInfoKeys Name="CFBundleInfoDictionaryVersion"/>
|
||||
<VersionInfoKeys Name="CFBundleDevelopmentRegion"/>
|
||||
<VersionInfoKeys Name="package"/>
|
||||
<VersionInfoKeys Name="label"/>
|
||||
<VersionInfoKeys Name="versionCode"/>
|
||||
<VersionInfoKeys Name="versionName"/>
|
||||
<VersionInfoKeys Name="persistent"/>
|
||||
<VersionInfoKeys Name="restoreAnyVersion"/>
|
||||
<VersionInfoKeys Name="installLocation"/>
|
||||
<VersionInfoKeys Name="largeHeap"/>
|
||||
<VersionInfoKeys Name="theme"/>
|
||||
</VersionInfoKeys>
|
||||
<Source>
|
||||
<Source Name="MainSource">ffmpeg_sample_player.dpr</Source>
|
||||
</Source>
|
||||
<Excluded_Packages>
|
||||
<Excluded_Packages Name="C:\Users\Public\Documents\RAD Studio\12.0\Bpl\IcsFmxDXE5Design.bpl">Overbyte ICS FMX Design-Time Package for Delphi XE5</Excluded_Packages>
|
||||
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k190.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
|
||||
<Excluded_Packages Name="C:\Users\Public\Documents\RAD Studio\12.0\Bpl\IcsVclDXE5Design.bpl">Overbyte ICS VCL Design-Time Package for Delphi XE5</Excluded_Packages>
|
||||
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k200.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
|
||||
<Excluded_Packages Name="$(BDSBIN)\dclofficexp200.bpl">Microsoft Office XP Sample Automation Server Wrapper Components</Excluded_Packages>
|
||||
</Excluded_Packages>
|
||||
</Delphi.Personality>
|
||||
<Deployment/>
|
||||
<Platforms>
|
||||
<Platform value="Android">False</Platform>
|
||||
<Platform value="iOSDevice">False</Platform>
|
||||
<Platform value="iOSSimulator">False</Platform>
|
||||
<Platform value="OSX32">False</Platform>
|
||||
<Platform value="Win32">True</Platform>
|
||||
<Platform value="Win64">False</Platform>
|
||||
|
@ -7,34 +7,36 @@ program filtering_video;
|
||||
uses
|
||||
Winapi.Windows,
|
||||
System.SysUtils,
|
||||
ffmpeglib in '..\..\ffmpeglib.pas',
|
||||
ctypes in '..\..\..\ctypes\ctypes.pas',
|
||||
avformat in '..\..\libavformat\avformat.pas',
|
||||
avio in '..\..\libavformat\avio.pas',
|
||||
avutil in '..\..\libavutil\avutil.pas',
|
||||
buffer in '..\..\libavutil\buffer.pas',
|
||||
dict in '..\..\libavutil\dict.pas',
|
||||
frame in '..\..\libavutil\frame.pas',
|
||||
log in '..\..\libavutil\log.pas',
|
||||
opt in '..\..\libavutil\opt.pas',
|
||||
pixfmt in '..\..\libavutil\pixfmt.pas',
|
||||
rational in '..\..\libavutil\rational.pas',
|
||||
samplefmt in '..\..\libavutil\samplefmt.pas',
|
||||
parseutils in '..\..\libavutil\parseutils.pas',
|
||||
swscale in '..\..\libswscale\swscale.pas',
|
||||
pixdesc in '..\..\libavutil\pixdesc.pas',
|
||||
imgutils in '..\..\libavutil\imgutils.pas',
|
||||
mem in '..\..\libavutil\mem.pas',
|
||||
error in '..\..\libavutil\error.pas',
|
||||
avfilter in '..\..\libavfilter\avfilter.pas',
|
||||
buffersink in '..\..\libavfilter\buffersink.pas',
|
||||
mathematics in '..\..\libavutil\mathematics.pas',
|
||||
libavcodec.avcodec in '..\..\libavcodec\libavcodec.avcodec.pas',
|
||||
buffersrc in '..\..\libavfilter\buffersrc.pas',
|
||||
errno in '..\..\libavutil\errno.pas';
|
||||
ffmpeglib,
|
||||
ffmpeg.ctypes,
|
||||
ffmpeg.avformat,
|
||||
ffmpeg.avio,
|
||||
ffmpeg.avutil,
|
||||
ffmpeg.buffer,
|
||||
ffmpeg.dict,
|
||||
ffmpeg.frame,
|
||||
ffmpeg.log,
|
||||
ffmpeg.opt,
|
||||
ffmpeg.pixfmt,
|
||||
ffmpeg.rational,
|
||||
ffmpeg.samplefmt,
|
||||
ffmpeg.parseutils,
|
||||
ffmpeg.swscale,
|
||||
ffmpeg.pixdesc,
|
||||
ffmpeg.imgutils,
|
||||
ffmpeg.mem,
|
||||
ffmpeg.error,
|
||||
ffmpeg.avfilter,
|
||||
ffmpeg.buffersink,
|
||||
ffmpeg.mathematics,
|
||||
ffmpeg.libavcodec.avcodec,
|
||||
ffmpeg.buffersrc,
|
||||
ffmpeg.errno,
|
||||
uResourcePaths;
|
||||
|
||||
Const
|
||||
const
|
||||
_XOPEN_SOURCE = 600; (* for usleep *)
|
||||
std_filename = cResourceMedia + 'trailer.avi';
|
||||
|
||||
Var
|
||||
filter_descr: pAnsiChar = 'scale=78:24';
|
||||
@ -217,18 +219,16 @@ begin
|
||||
Writeln('Could not allocate frame');
|
||||
Halt(1);
|
||||
end;
|
||||
if (ParamCount <> 1) then
|
||||
begin
|
||||
Writeln('Usage: ', ExtractFileName(ParamStr(0)), ' file');
|
||||
Halt(1);
|
||||
end;
|
||||
if (ParamCount < 1) then
|
||||
filename := std_filename
|
||||
else
|
||||
filename := ParamStr(1);
|
||||
|
||||
avcodec_register_all();
|
||||
av_register_all();
|
||||
avfilter_register_all();
|
||||
avformat_network_init;
|
||||
try
|
||||
filename := AnsiString(ParamStr(1));
|
||||
ret := open_input_file(pAnsiChar(filename));
|
||||
if (ret < 0) then
|
||||
Halt(1);
|
||||
|
@ -1,49 +1,24 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{A660D6CE-6781-416D-9C3E-12BD90C02DCC}</ProjectGuid>
|
||||
<ProjectVersion>15.1</ProjectVersion>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectGuid>{79D5337D-614C-4BD3-8188-3A98A34FF744}</ProjectGuid>
|
||||
<MainSource>filtering_video.dpr</MainSource>
|
||||
<Base>True</Base>
|
||||
<Config Condition="'$(Config)'==''">Debug</Config>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
<Config Condition="'$(Config)'==''">Release</Config>
|
||||
<TargetedPlatforms>1</TargetedPlatforms>
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='Android' and '$(Base)'=='true') or '$(Base_Android)'!=''">
|
||||
<Base_Android>true</Base_Android>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='iOSDevice' and '$(Base)'=='true') or '$(Base_iOSDevice)'!=''">
|
||||
<Base_iOSDevice>true</Base_iOSDevice>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='iOSSimulator' and '$(Base)'=='true') or '$(Base_iOSSimulator)'!=''">
|
||||
<Base_iOSSimulator>true</Base_iOSSimulator>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='OSX32' and '$(Base)'=='true') or '$(Base_OSX32)'!=''">
|
||||
<Base_OSX32>true</Base_OSX32>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Base)'=='true') or '$(Base_Win32)'!=''">
|
||||
<Base_Win32>true</Base_Win32>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Base)'=='true') or '$(Base_Win64)'!=''">
|
||||
<Base_Win64>true</Base_Win64>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_1)'!=''">
|
||||
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_1)'!=''">
|
||||
<Cfg_1>true</Cfg_1>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
@ -54,112 +29,58 @@
|
||||
<Cfg_1>true</Cfg_1>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_2)'!=''">
|
||||
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_2)'!=''">
|
||||
<Cfg_2>true</Cfg_2>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base)'!=''">
|
||||
<DCC_UnitSearchPath>C:\Work\Delphi\Bitbucket\VF-ffmpeg\Lib\ffmpeg;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
|
||||
<Manifest_File>None</Manifest_File>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
|
||||
<DCC_E>false</DCC_E>
|
||||
<VerInfo_Locale>1049</VerInfo_Locale>
|
||||
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
|
||||
<DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
|
||||
<DCC_ExeOutput>..\..\..\..\bin</DCC_ExeOutput>
|
||||
<DCC_E>false</DCC_E>
|
||||
<DCC_N>false</DCC_N>
|
||||
<DCC_ImageBase>00400000</DCC_ImageBase>
|
||||
<DCC_K>false</DCC_K>
|
||||
<DCC_S>false</DCC_S>
|
||||
<DCC_F>false</DCC_F>
|
||||
<DCC_K>false</DCC_K>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_Android)'!=''">
|
||||
<Android_LauncherIcon48>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png</Android_LauncherIcon48>
|
||||
<Android_LauncherIcon96>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png</Android_LauncherIcon96>
|
||||
<Android_LauncherIcon36>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png</Android_LauncherIcon36>
|
||||
<Android_LauncherIcon144>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png</Android_LauncherIcon144>
|
||||
<DCC_UsePackage>DBXInterBaseDriver;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyCore;CloudService;vc2;FireDACIBDriver;bindcompfmx;dbrtl;FireDACCommon;bindcomp;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;inet;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;IndyIPCommon;FireDACDBXDriver;rtl;DbxClientDriver;IndyProtocols;bindcompdbx;FireDAC;FireDACDataSnapDriver;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
<Android_LauncherIcon72>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png</Android_LauncherIcon72>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_iOSDevice)'!=''">
|
||||
<DCC_UsePackage>DBXInterBaseDriver;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyCore;CloudService;FireDACIBDriver;bindcompfmx;dbrtl;FireDACCommon;bindcomp;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;inet;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;fmxase;IndyIPCommon;FireDACDBXDriver;rtl;DbxClientDriver;IndyProtocols;bindcompdbx;FireDAC;FireDACDataSnapDriver;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_iOSSimulator)'!=''">
|
||||
<DCC_UsePackage>DBXInterBaseDriver;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyCore;CloudService;FireDACIBDriver;bindcompfmx;dbrtl;FireDACCommon;bindcomp;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;inet;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;fmxase;IndyIPCommon;FireDACDBXDriver;rtl;DbxClientDriver;IndyProtocols;bindcompdbx;FireDAC;FireDACDataSnapDriver;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_OSX32)'!=''">
|
||||
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
|
||||
<DCC_UsePackage>FireDACPgDriver;DBXInterBaseDriver;DataSnapServer;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyIPServer;IndyCore;CloudService;FireDACIBDriver;FireDACDb2Driver;bindcompfmx;FireDACODBCDriver;dbrtl;FireDACCommon;bindcomp;inetdb;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;FireDACMSSQLDriver;DBXInformixDriver;DBXFirebirdDriver;inet;FireDACMySQLDriver;DBXSybaseASADriver;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;DBXOracleDriver;fmxase;IndyIPCommon;FireDACDBXDriver;inetdbxpress;FireDACASADriver;rtl;DbxClientDriver;IndyProtocols;DBXMySQLDriver;bindcompdbx;FireDACADSDriver;FireDAC;FireDACDataSnapDriver;fmxobj;FireDACOracleDriver;fmxdae;FireDACMSAccDriver;DataSnapIndy10ServerTransport;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=;CFBundleName=</VerInfo_Keys>
|
||||
<SanitizedProjectName>filtering_video</SanitizedProjectName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_Win32)'!=''">
|
||||
<VerInfo_Locale>1033</VerInfo_Locale>
|
||||
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
|
||||
<DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
|
||||
<Debugger_RunParams>GopherBroke.avi</Debugger_RunParams>
|
||||
<DCC_UsePackage>JvGlobus;dxBarRS18;dxPSCoreRS18;JvMM;JvManagedThreads;dxPScxPCProdRS18;OverbyteIcsDXE5Run;cxTreeListRS18;dxDockingRS18;FireDACPgDriver;dxThemeRS18;dxPSdxOCLnkRS18;JvCrypt;TP_LockBox3;XiButtonXE4;DBXInterBaseDriver;DataSnapServer;DataSnapCommon;cxTreeListdxBarPopupMenuRS18;JvNet;officeXPrt;TeeUI919;JvDotNetCtrls;FMXTeeDB919;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;JvXPCtrls;vcldb;cxExportRS18;FmxTeeUI919;CustomIPTransport;TeeWorld919;dsnap;IndyIPServer;IndyCore;cxVerticalGridRS18;CloudService;TeePro919;dxPSdxDBOCLnkRS18;vc2;FireDACIBDriver;dxADOServerModeRS18;JvDB;JvRuntimeDesign;dxPScxExtCommonRS18;cxEditorsRS18;cxPageControldxBarPopupMenuRS18;cxSchedulerRS18;dxSpellCheckerRS18;dxPScxVGridLnkRS18;JclDeveloperTools;FireDACDb2Driver;dxRibbonRS18;FMXTeePro919;bindcompfmx;dclTP_LockBox3;vcldbx;cxBarEditItemRS18;FireDACODBCDriver;cxPageControlRS18;dbrtl;FireDACCommon;bindcomp;inetdb;JvPluginSystem;DBXOdbcDriver;JvCmp;vclFireDAC;FMXTee919;xmlrtl;JvTimeFramework;ibxpress;dxBarExtItemsRS18;FireDACCommonDriver;bindengine;vclactnband;soaprtl;bindcompvcl;dxPsPrVwAdvRS18;cxSpreadSheetRS18;Jcl;vclie;cxPivotGridRS18;dxmdsRS18;dxBarDBNavRS18;dxTileControlRS18;dxComnRS18;FireDACMSSQLDriver;DBXInformixDriver;dxBarExtDBItemsRS18;Intraweb;dxPScxSchedulerLnkRS18;dxNavBarRS18;dsnapcon;DBXFirebirdDriver;dxPSTeeChartRS18;inet;FMXTeeLanguage919;dxPScxCommonRS18;JvPascalInterpreter;FireDACMySQLDriver;vclx;TeeDB919;DBXSybaseASADriver;dxorgcRS18;RESTComponents;dbexpress;JvBDE;IndyIPClient;dxGDIPlusRS18;FireDACSqliteDriver;dxLayoutControlRS18;ZComponent;DBXSqliteDriver;tmswizdXE4;fmx;JvDlgs;IndySystem;vclib;inetdbbde;DataSnapClient;dxPScxTLLnkRS18;Tee919;cxSchedulerGridRS18;dxtrmdRS18;DataSnapProviderClient;DBXSybaseASEDriver;dxTabbedMDIRS18;TeeGL919;MetropolisUILiveTile;dxPSLnksRS18;vcldsnap;dxPScxPivotGridLnkRS18;fmxFireDAC;DBXDb2Driver;dxPScxSSLnkRS18;DBXOracleDriver;dxServerModeRS18;JvCore;vclribbon;dxdborRS18;fmxase;vcl;IndyIPCommon;DBXMSSQLDriver;CodeSiteExpressPkg;cxPivotGridChartRS18;FireDACDBXDriver;JvAppFrm;inetdbxpress;dxPScxGridLnkRS18;cxLibraryRS18;JvDocking;adortl;JvWizards;FireDACASADriver;dxPSdxDBTVLnkRS18;JvHMI;tmsdXE4;JvBands;ZDbc;rtl;DbxClientDriver;ZPlain;JclContainers;CPortLibDXE;JvSystem;svnui;JvControls;dxDBXServerModeRS18;IndyProtocols;DBXMySQLDriver;dxFlowChartRS18;viTimeLineDPK;bindcompdbx;TeeLanguage919;JvJans;JvPrintPreview;JvPageComps;JvStdCtrls;JvCustom;FireDACADSDriver;vcltouch;ZCore;dxPSPrVwRibbonRS18;tmsexdXE4;dxPSdxFCLnkRS18;VclSmp;FireDAC;VCLRESTComponents;cxGridRS18;DataSnapConnectors;FireDACDataSnapDriver;dxPSDBTeeChartRS18;dxdbtrRS18;tmsxlsdXE4;dxCoreRS18;fmxobj;JclVcl;ZParseSql;svn;dxPSdxLCLnkRS18;FireDACOracleDriver;fmxdae;cxDataRS18;cxPivotGridOLAPRS18;bdertl;TeeImage919;FireDACMSAccDriver;DataSnapIndy10ServerTransport;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_Win64)'!=''">
|
||||
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
|
||||
<DCC_UsePackage>dxBarRS18;dxPSCoreRS18;OverbyteIcsDXE5Run;cxTreeListRS18;dxDockingRS18;FireDACPgDriver;dxThemeRS18;dxPSdxOCLnkRS18;DBXInterBaseDriver;DataSnapServer;DataSnapCommon;cxTreeListdxBarPopupMenuRS18;officeXPrt;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;vcldb;cxExportRS18;CustomIPTransport;dsnap;IndyIPServer;IndyCore;cxVerticalGridRS18;CloudService;dxPSdxDBOCLnkRS18;FireDACIBDriver;dxADOServerModeRS18;dxPScxExtCommonRS18;cxEditorsRS18;cxPageControldxBarPopupMenuRS18;cxSchedulerRS18;dxSpellCheckerRS18;dxPScxVGridLnkRS18;FireDACDb2Driver;dxRibbonRS18;bindcompfmx;cxBarEditItemRS18;FireDACODBCDriver;cxPageControlRS18;dbrtl;FireDACCommon;bindcomp;inetdb;DBXOdbcDriver;vclFireDAC;xmlrtl;ibxpress;dxBarExtItemsRS18;FireDACCommonDriver;bindengine;vclactnband;soaprtl;bindcompvcl;dxPsPrVwAdvRS18;cxSpreadSheetRS18;vclie;cxPivotGridRS18;dxmdsRS18;dxBarDBNavRS18;dxTileControlRS18;dxComnRS18;FireDACMSSQLDriver;DBXInformixDriver;dxBarExtDBItemsRS18;Intraweb;dxPScxSchedulerLnkRS18;dxNavBarRS18;dsnapcon;DBXFirebirdDriver;dxPSTeeChartRS18;inet;dxPScxCommonRS18;FireDACMySQLDriver;vclx;DBXSybaseASADriver;dxorgcRS18;RESTComponents;dbexpress;IndyIPClient;dxGDIPlusRS18;FireDACSqliteDriver;dxLayoutControlRS18;ZComponent;DBXSqliteDriver;fmx;IndySystem;vclib;DataSnapClient;dxPScxTLLnkRS18;cxSchedulerGridRS18;dxtrmdRS18;DataSnapProviderClient;DBXSybaseASEDriver;dxTabbedMDIRS18;MetropolisUILiveTile;dxPSLnksRS18;vcldsnap;dxPScxPivotGridLnkRS18;fmxFireDAC;DBXDb2Driver;dxPScxSSLnkRS18;DBXOracleDriver;dxServerModeRS18;vclribbon;dxdborRS18;fmxase;vcl;IndyIPCommon;DBXMSSQLDriver;cxPivotGridChartRS18;FireDACDBXDriver;inetdbxpress;dxPScxGridLnkRS18;cxLibraryRS18;adortl;FireDACASADriver;dxPSdxDBTVLnkRS18;ZDbc;rtl;DbxClientDriver;ZPlain;dxDBXServerModeRS18;IndyProtocols;DBXMySQLDriver;dxFlowChartRS18;bindcompdbx;FireDACADSDriver;vcltouch;ZCore;dxPSPrVwRibbonRS18;dxPSdxFCLnkRS18;VclSmp;FireDAC;VCLRESTComponents;cxGridRS18;DataSnapConnectors;FireDACDataSnapDriver;dxPSDBTeeChartRS18;dxdbtrRS18;dxCoreRS18;fmxobj;ZParseSql;dxPSdxLCLnkRS18;FireDACOracleDriver;fmxdae;cxDataRS18;cxPivotGridOLAPRS18;FireDACMSAccDriver;DataSnapIndy10ServerTransport;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
<VerInfo_Locale>1033</VerInfo_Locale>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Cfg_1)'!=''">
|
||||
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
|
||||
<DCC_DebugDCUs>true</DCC_DebugDCUs>
|
||||
<DCC_Optimize>false</DCC_Optimize>
|
||||
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
|
||||
<DCC_DebugInfoInExe>true</DCC_DebugInfoInExe>
|
||||
<DCC_RemoteDebug>true</DCC_RemoteDebug>
|
||||
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
|
||||
<DCC_DebugInformation>0</DCC_DebugInformation>
|
||||
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
|
||||
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
|
||||
<Debugger_RunParams>Престо.avi</Debugger_RunParams>
|
||||
<VerInfo_Locale>1033</VerInfo_Locale>
|
||||
<DCC_ExeOutput>..\..\..\bin\$(Platform)</DCC_ExeOutput>
|
||||
<Manifest_File>None</Manifest_File>
|
||||
<DCC_RemoteDebug>false</DCC_RemoteDebug>
|
||||
<DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
|
||||
<VerInfo_Locale>1033</VerInfo_Locale>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Cfg_2)'!=''">
|
||||
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
|
||||
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
|
||||
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
|
||||
<DCC_DebugInformation>0</DCC_DebugInformation>
|
||||
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
|
||||
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
|
||||
<DCC_Optimize>false</DCC_Optimize>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<DelphiCompile Include="$(MainSource)">
|
||||
<MainSource>MainSource</MainSource>
|
||||
</DelphiCompile>
|
||||
<DCCReference Include="..\..\ffmpeglib.pas"/>
|
||||
<DCCReference Include="..\..\..\ctypes\ctypes.pas"/>
|
||||
<DCCReference Include="..\..\libavformat\avformat.pas"/>
|
||||
<DCCReference Include="..\..\libavformat\avio.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\avutil.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\buffer.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\dict.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\frame.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\log.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\opt.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\pixfmt.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\rational.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\samplefmt.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\parseutils.pas"/>
|
||||
<DCCReference Include="..\..\libswscale\swscale.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\pixdesc.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\imgutils.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\mem.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\error.pas"/>
|
||||
<DCCReference Include="..\..\libavfilter\avfilter.pas"/>
|
||||
<DCCReference Include="..\..\libavfilter\buffersink.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\mathematics.pas"/>
|
||||
<DCCReference Include="..\..\libavcodec\libavcodec.avcodec.pas"/>
|
||||
<DCCReference Include="..\..\libavfilter\buffersrc.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\errno.pas"/>
|
||||
<None Include="..\..\ffmpeg.inc"/>
|
||||
<BuildConfiguration Include="Release">
|
||||
<BuildConfiguration Include="Debug">
|
||||
<Key>Cfg_2</Key>
|
||||
<CfgParent>Base</CfgParent>
|
||||
</BuildConfiguration>
|
||||
<BuildConfiguration Include="Base">
|
||||
<Key>Base</Key>
|
||||
</BuildConfiguration>
|
||||
<BuildConfiguration Include="Debug">
|
||||
<BuildConfiguration Include="Release">
|
||||
<Key>Cfg_1</Key>
|
||||
<CfgParent>Base</CfgParent>
|
||||
</BuildConfiguration>
|
||||
@ -169,70 +90,15 @@
|
||||
<Borland.ProjectType/>
|
||||
<BorlandProject>
|
||||
<Delphi.Personality>
|
||||
<VersionInfo>
|
||||
<VersionInfo Name="IncludeVerInfo">False</VersionInfo>
|
||||
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
|
||||
<VersionInfo Name="MajorVer">1</VersionInfo>
|
||||
<VersionInfo Name="MinorVer">0</VersionInfo>
|
||||
<VersionInfo Name="Release">0</VersionInfo>
|
||||
<VersionInfo Name="Build">0</VersionInfo>
|
||||
<VersionInfo Name="Debug">False</VersionInfo>
|
||||
<VersionInfo Name="PreRelease">False</VersionInfo>
|
||||
<VersionInfo Name="Special">False</VersionInfo>
|
||||
<VersionInfo Name="Private">False</VersionInfo>
|
||||
<VersionInfo Name="DLL">False</VersionInfo>
|
||||
<VersionInfo Name="Locale">1049</VersionInfo>
|
||||
<VersionInfo Name="CodePage">1251</VersionInfo>
|
||||
</VersionInfo>
|
||||
<VersionInfoKeys>
|
||||
<VersionInfoKeys Name="CompanyName"/>
|
||||
<VersionInfoKeys Name="FileDescription"/>
|
||||
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
|
||||
<VersionInfoKeys Name="InternalName"/>
|
||||
<VersionInfoKeys Name="LegalCopyright"/>
|
||||
<VersionInfoKeys Name="LegalTrademarks"/>
|
||||
<VersionInfoKeys Name="OriginalFilename"/>
|
||||
<VersionInfoKeys Name="ProductName"/>
|
||||
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
|
||||
<VersionInfoKeys Name="Comments"/>
|
||||
<VersionInfoKeys Name="CFBundleName"/>
|
||||
<VersionInfoKeys Name="CFBundleDisplayName"/>
|
||||
<VersionInfoKeys Name="UIDeviceFamily"/>
|
||||
<VersionInfoKeys Name="CFBundleIdentifier"/>
|
||||
<VersionInfoKeys Name="CFBundleVersion"/>
|
||||
<VersionInfoKeys Name="CFBundlePackageType"/>
|
||||
<VersionInfoKeys Name="CFBundleSignature"/>
|
||||
<VersionInfoKeys Name="CFBundleAllowMixedLocalizations"/>
|
||||
<VersionInfoKeys Name="UISupportedInterfaceOrientations"/>
|
||||
<VersionInfoKeys Name="CFBundleExecutable"/>
|
||||
<VersionInfoKeys Name="CFBundleResourceSpecification"/>
|
||||
<VersionInfoKeys Name="LSRequiresIPhoneOS"/>
|
||||
<VersionInfoKeys Name="CFBundleInfoDictionaryVersion"/>
|
||||
<VersionInfoKeys Name="CFBundleDevelopmentRegion"/>
|
||||
<VersionInfoKeys Name="package"/>
|
||||
<VersionInfoKeys Name="label"/>
|
||||
<VersionInfoKeys Name="versionCode"/>
|
||||
<VersionInfoKeys Name="versionName"/>
|
||||
<VersionInfoKeys Name="persistent"/>
|
||||
<VersionInfoKeys Name="restoreAnyVersion"/>
|
||||
<VersionInfoKeys Name="installLocation"/>
|
||||
<VersionInfoKeys Name="largeHeap"/>
|
||||
<VersionInfoKeys Name="theme"/>
|
||||
</VersionInfoKeys>
|
||||
<Source>
|
||||
<Source Name="MainSource">filtering_video.dpr</Source>
|
||||
</Source>
|
||||
<Excluded_Packages>
|
||||
<Excluded_Packages Name="C:\Users\Public\Documents\RAD Studio\12.0\Bpl\IcsFmxDXE5Design.bpl">Overbyte ICS FMX Design-Time Package for Delphi XE5</Excluded_Packages>
|
||||
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k190.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
|
||||
<Excluded_Packages Name="C:\Users\Public\Documents\RAD Studio\12.0\Bpl\IcsVclDXE5Design.bpl">Overbyte ICS VCL Design-Time Package for Delphi XE5</Excluded_Packages>
|
||||
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k200.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
|
||||
<Excluded_Packages Name="$(BDSBIN)\dclofficexp200.bpl">Microsoft Office XP Sample Automation Server Wrapper Components</Excluded_Packages>
|
||||
</Excluded_Packages>
|
||||
</Delphi.Personality>
|
||||
<Deployment/>
|
||||
<Platforms>
|
||||
<Platform value="Android">False</Platform>
|
||||
<Platform value="iOSDevice">False</Platform>
|
||||
<Platform value="iOSSimulator">False</Platform>
|
||||
<Platform value="OSX32">False</Platform>
|
||||
<Platform value="Win32">True</Platform>
|
||||
<Platform value="Win64">False</Platform>
|
||||
|
@ -6,26 +6,27 @@ program metadata;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
ffmpeglib in '..\..\ffmpeglib.pas',
|
||||
libavcodec.avcodec in '..\..\libavcodec\libavcodec.avcodec.pas',
|
||||
ctypes in '..\..\..\ctypes\ctypes.pas',
|
||||
avformat in '..\..\libavformat\avformat.pas',
|
||||
avio in '..\..\libavformat\avio.pas',
|
||||
avutil in '..\..\libavutil\avutil.pas',
|
||||
buffer in '..\..\libavutil\buffer.pas',
|
||||
dict in '..\..\libavutil\dict.pas',
|
||||
frame in '..\..\libavutil\frame.pas',
|
||||
log in '..\..\libavutil\log.pas',
|
||||
opt in '..\..\libavutil\opt.pas',
|
||||
pixfmt in '..\..\libavutil\pixfmt.pas',
|
||||
rational in '..\..\libavutil\rational.pas',
|
||||
samplefmt in '..\..\libavutil\samplefmt.pas',
|
||||
parseutils in '..\..\libavutil\parseutils.pas',
|
||||
swscale in '..\..\libswscale\swscale.pas',
|
||||
pixdesc in '..\..\libavutil\pixdesc.pas',
|
||||
imgutils in '..\..\libavutil\imgutils.pas',
|
||||
mem in '..\..\libavutil\mem.pas',
|
||||
error in '..\..\libavutil\error.pas';
|
||||
ffmpeglib,
|
||||
ffmpeg.libavcodec.avcodec,
|
||||
ffmpeg.ctypes,
|
||||
ffmpeg.avformat,
|
||||
ffmpeg.avio,
|
||||
ffmpeg.avutil,
|
||||
ffmpeg.buffer,
|
||||
ffmpeg.dict,
|
||||
ffmpeg.frame,
|
||||
ffmpeg.log,
|
||||
ffmpeg.opt,
|
||||
ffmpeg.pixfmt,
|
||||
ffmpeg.rational,
|
||||
ffmpeg.samplefmt,
|
||||
ffmpeg.parseutils,
|
||||
ffmpeg.swscale,
|
||||
ffmpeg.pixdesc,
|
||||
ffmpeg.imgutils,
|
||||
ffmpeg.mem,
|
||||
ffmpeg.error,
|
||||
uResourcePaths;
|
||||
|
||||
Var
|
||||
fmt_ctx: pAVFormatContext = nil;
|
||||
@ -33,16 +34,18 @@ Var
|
||||
ret: Integer;
|
||||
inp : AnsiString;
|
||||
|
||||
const
|
||||
std_filename = cResourceMedia + 'trailer.avi';
|
||||
|
||||
begin
|
||||
try
|
||||
if (ParamCount <> 1) then
|
||||
begin
|
||||
Writeln(Format('usage: %s <input_file>'#13#10 + 'example program to demonstrate the use of the libavformat metadata API.'#13#10,
|
||||
Writeln(Format('usage: %s <input_file>'#13#10 + 'example program to demonstrate the use of the libavformat metadata API.'#13#10,
|
||||
[ExtractFileName(ParamStr(0))]));
|
||||
Halt(1)
|
||||
end;
|
||||
if (ParamCount < 1) then
|
||||
inp := std_filename
|
||||
else
|
||||
inp := ParamStr(1);
|
||||
av_register_all();
|
||||
inp:=ParamStr(1);
|
||||
ret := avformat_open_input(fmt_ctx, PAnsiChar(inp), nil, nil);
|
||||
if ret < 0 then
|
||||
Halt(ret);
|
||||
|
@ -1,49 +1,24 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{5F59C82C-3B8A-4C8F-979D-BEF952D41791}</ProjectGuid>
|
||||
<ProjectVersion>15.1</ProjectVersion>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectGuid>{D042FDC4-2AC2-458D-A0D8-0DFA6C296945}</ProjectGuid>
|
||||
<MainSource>metadata.dpr</MainSource>
|
||||
<Base>True</Base>
|
||||
<Config Condition="'$(Config)'==''">Debug</Config>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
<Config Condition="'$(Config)'==''">Release</Config>
|
||||
<TargetedPlatforms>1</TargetedPlatforms>
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='Android' and '$(Base)'=='true') or '$(Base_Android)'!=''">
|
||||
<Base_Android>true</Base_Android>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='iOSDevice' and '$(Base)'=='true') or '$(Base_iOSDevice)'!=''">
|
||||
<Base_iOSDevice>true</Base_iOSDevice>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='iOSSimulator' and '$(Base)'=='true') or '$(Base_iOSSimulator)'!=''">
|
||||
<Base_iOSSimulator>true</Base_iOSSimulator>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='OSX32' and '$(Base)'=='true') or '$(Base_OSX32)'!=''">
|
||||
<Base_OSX32>true</Base_OSX32>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Base)'=='true') or '$(Base_Win32)'!=''">
|
||||
<Base_Win32>true</Base_Win32>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Base)'=='true') or '$(Base_Win64)'!=''">
|
||||
<Base_Win64>true</Base_Win64>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_1)'!=''">
|
||||
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_1)'!=''">
|
||||
<Cfg_1>true</Cfg_1>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
@ -54,105 +29,58 @@
|
||||
<Cfg_1>true</Cfg_1>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_2)'!=''">
|
||||
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_2)'!=''">
|
||||
<Cfg_2>true</Cfg_2>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base)'!=''">
|
||||
<DCC_UnitSearchPath>C:\Work\Delphi\Bitbucket\VF-ffmpeg\Lib\ffmpeg;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
|
||||
<Manifest_File>None</Manifest_File>
|
||||
<DCC_E>false</DCC_E>
|
||||
<VerInfo_Locale>1049</VerInfo_Locale>
|
||||
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
|
||||
<DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
|
||||
<DCC_ExeOutput>..\..\..\..\bin</DCC_ExeOutput>
|
||||
<DCC_E>false</DCC_E>
|
||||
<DCC_N>false</DCC_N>
|
||||
<DCC_ImageBase>00400000</DCC_ImageBase>
|
||||
<DCC_K>false</DCC_K>
|
||||
<DCC_S>false</DCC_S>
|
||||
<DCC_F>false</DCC_F>
|
||||
<DCC_K>false</DCC_K>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_Android)'!=''">
|
||||
<Android_LauncherIcon48>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png</Android_LauncherIcon48>
|
||||
<Android_LauncherIcon96>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png</Android_LauncherIcon96>
|
||||
<Android_LauncherIcon36>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png</Android_LauncherIcon36>
|
||||
<Android_LauncherIcon144>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png</Android_LauncherIcon144>
|
||||
<DCC_UsePackage>DBXInterBaseDriver;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyCore;CloudService;vc2;FireDACIBDriver;bindcompfmx;dbrtl;FireDACCommon;bindcomp;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;inet;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;IndyIPCommon;FireDACDBXDriver;rtl;DbxClientDriver;IndyProtocols;bindcompdbx;FireDAC;FireDACDataSnapDriver;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
<Android_LauncherIcon72>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png</Android_LauncherIcon72>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_iOSDevice)'!=''">
|
||||
<DCC_UsePackage>DBXInterBaseDriver;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyCore;CloudService;FireDACIBDriver;bindcompfmx;dbrtl;FireDACCommon;bindcomp;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;inet;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;fmxase;IndyIPCommon;FireDACDBXDriver;rtl;DbxClientDriver;IndyProtocols;bindcompdbx;FireDAC;FireDACDataSnapDriver;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_iOSSimulator)'!=''">
|
||||
<DCC_UsePackage>DBXInterBaseDriver;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyCore;CloudService;FireDACIBDriver;bindcompfmx;dbrtl;FireDACCommon;bindcomp;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;inet;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;fmxase;IndyIPCommon;FireDACDBXDriver;rtl;DbxClientDriver;IndyProtocols;bindcompdbx;FireDAC;FireDACDataSnapDriver;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_OSX32)'!=''">
|
||||
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
|
||||
<DCC_UsePackage>FireDACPgDriver;DBXInterBaseDriver;DataSnapServer;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyIPServer;IndyCore;CloudService;FireDACIBDriver;FireDACDb2Driver;bindcompfmx;FireDACODBCDriver;dbrtl;FireDACCommon;bindcomp;inetdb;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;FireDACMSSQLDriver;DBXInformixDriver;DBXFirebirdDriver;inet;FireDACMySQLDriver;DBXSybaseASADriver;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;DBXOracleDriver;fmxase;IndyIPCommon;FireDACDBXDriver;inetdbxpress;FireDACASADriver;rtl;DbxClientDriver;IndyProtocols;DBXMySQLDriver;bindcompdbx;FireDACADSDriver;FireDAC;FireDACDataSnapDriver;fmxobj;FireDACOracleDriver;fmxdae;FireDACMSAccDriver;DataSnapIndy10ServerTransport;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=;CFBundleName=</VerInfo_Keys>
|
||||
<SanitizedProjectName>metadata</SanitizedProjectName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_Win32)'!=''">
|
||||
<DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
|
||||
<VerInfo_Locale>1033</VerInfo_Locale>
|
||||
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
|
||||
<Debugger_RunParams>Престо.avi</Debugger_RunParams>
|
||||
<DCC_UsePackage>JvGlobus;dxBarRS18;dxPSCoreRS18;JvMM;JvManagedThreads;dxPScxPCProdRS18;OverbyteIcsDXE5Run;cxTreeListRS18;dxDockingRS18;FireDACPgDriver;dxThemeRS18;dxPSdxOCLnkRS18;JvCrypt;TP_LockBox3;XiButtonXE4;DBXInterBaseDriver;DataSnapServer;DataSnapCommon;cxTreeListdxBarPopupMenuRS18;JvNet;officeXPrt;TeeUI919;JvDotNetCtrls;FMXTeeDB919;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;JvXPCtrls;vcldb;cxExportRS18;FmxTeeUI919;CustomIPTransport;TeeWorld919;dsnap;IndyIPServer;IndyCore;cxVerticalGridRS18;CloudService;TeePro919;dxPSdxDBOCLnkRS18;vc2;FireDACIBDriver;dxADOServerModeRS18;JvDB;JvRuntimeDesign;dxPScxExtCommonRS18;cxEditorsRS18;cxPageControldxBarPopupMenuRS18;cxSchedulerRS18;dxSpellCheckerRS18;dxPScxVGridLnkRS18;JclDeveloperTools;FireDACDb2Driver;dxRibbonRS18;FMXTeePro919;bindcompfmx;dclTP_LockBox3;vcldbx;cxBarEditItemRS18;FireDACODBCDriver;cxPageControlRS18;dbrtl;FireDACCommon;bindcomp;inetdb;JvPluginSystem;DBXOdbcDriver;JvCmp;vclFireDAC;FMXTee919;xmlrtl;JvTimeFramework;ibxpress;dxBarExtItemsRS18;FireDACCommonDriver;bindengine;vclactnband;soaprtl;bindcompvcl;dxPsPrVwAdvRS18;cxSpreadSheetRS18;Jcl;vclie;cxPivotGridRS18;dxmdsRS18;dxBarDBNavRS18;dxTileControlRS18;dxComnRS18;FireDACMSSQLDriver;DBXInformixDriver;dxBarExtDBItemsRS18;Intraweb;dxPScxSchedulerLnkRS18;dxNavBarRS18;dsnapcon;DBXFirebirdDriver;dxPSTeeChartRS18;inet;FMXTeeLanguage919;dxPScxCommonRS18;JvPascalInterpreter;FireDACMySQLDriver;vclx;TeeDB919;DBXSybaseASADriver;dxorgcRS18;RESTComponents;dbexpress;JvBDE;IndyIPClient;dxGDIPlusRS18;FireDACSqliteDriver;dxLayoutControlRS18;ZComponent;DBXSqliteDriver;tmswizdXE4;fmx;JvDlgs;IndySystem;vclib;inetdbbde;DataSnapClient;dxPScxTLLnkRS18;Tee919;cxSchedulerGridRS18;dxtrmdRS18;DataSnapProviderClient;DBXSybaseASEDriver;dxTabbedMDIRS18;TeeGL919;MetropolisUILiveTile;dxPSLnksRS18;vcldsnap;dxPScxPivotGridLnkRS18;fmxFireDAC;DBXDb2Driver;dxPScxSSLnkRS18;DBXOracleDriver;dxServerModeRS18;JvCore;vclribbon;dxdborRS18;fmxase;vcl;IndyIPCommon;DBXMSSQLDriver;CodeSiteExpressPkg;cxPivotGridChartRS18;FireDACDBXDriver;JvAppFrm;inetdbxpress;dxPScxGridLnkRS18;cxLibraryRS18;JvDocking;adortl;JvWizards;FireDACASADriver;dxPSdxDBTVLnkRS18;JvHMI;tmsdXE4;JvBands;ZDbc;rtl;DbxClientDriver;ZPlain;JclContainers;CPortLibDXE;JvSystem;svnui;JvControls;dxDBXServerModeRS18;IndyProtocols;DBXMySQLDriver;dxFlowChartRS18;viTimeLineDPK;bindcompdbx;TeeLanguage919;JvJans;JvPrintPreview;JvPageComps;JvStdCtrls;JvCustom;FireDACADSDriver;vcltouch;ZCore;dxPSPrVwRibbonRS18;tmsexdXE4;dxPSdxFCLnkRS18;VclSmp;FireDAC;VCLRESTComponents;cxGridRS18;DataSnapConnectors;FireDACDataSnapDriver;dxPSDBTeeChartRS18;dxdbtrRS18;tmsxlsdXE4;dxCoreRS18;fmxobj;JclVcl;ZParseSql;svn;dxPSdxLCLnkRS18;FireDACOracleDriver;fmxdae;cxDataRS18;cxPivotGridOLAPRS18;bdertl;TeeImage919;FireDACMSAccDriver;DataSnapIndy10ServerTransport;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_Win64)'!=''">
|
||||
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
|
||||
<DCC_UsePackage>dxBarRS18;dxPSCoreRS18;OverbyteIcsDXE5Run;cxTreeListRS18;dxDockingRS18;FireDACPgDriver;dxThemeRS18;dxPSdxOCLnkRS18;DBXInterBaseDriver;DataSnapServer;DataSnapCommon;cxTreeListdxBarPopupMenuRS18;officeXPrt;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;vcldb;cxExportRS18;CustomIPTransport;dsnap;IndyIPServer;IndyCore;cxVerticalGridRS18;CloudService;dxPSdxDBOCLnkRS18;FireDACIBDriver;dxADOServerModeRS18;dxPScxExtCommonRS18;cxEditorsRS18;cxPageControldxBarPopupMenuRS18;cxSchedulerRS18;dxSpellCheckerRS18;dxPScxVGridLnkRS18;FireDACDb2Driver;dxRibbonRS18;bindcompfmx;cxBarEditItemRS18;FireDACODBCDriver;cxPageControlRS18;dbrtl;FireDACCommon;bindcomp;inetdb;DBXOdbcDriver;vclFireDAC;xmlrtl;ibxpress;dxBarExtItemsRS18;FireDACCommonDriver;bindengine;vclactnband;soaprtl;bindcompvcl;dxPsPrVwAdvRS18;cxSpreadSheetRS18;vclie;cxPivotGridRS18;dxmdsRS18;dxBarDBNavRS18;dxTileControlRS18;dxComnRS18;FireDACMSSQLDriver;DBXInformixDriver;dxBarExtDBItemsRS18;Intraweb;dxPScxSchedulerLnkRS18;dxNavBarRS18;dsnapcon;DBXFirebirdDriver;dxPSTeeChartRS18;inet;dxPScxCommonRS18;FireDACMySQLDriver;vclx;DBXSybaseASADriver;dxorgcRS18;RESTComponents;dbexpress;IndyIPClient;dxGDIPlusRS18;FireDACSqliteDriver;dxLayoutControlRS18;ZComponent;DBXSqliteDriver;fmx;IndySystem;vclib;DataSnapClient;dxPScxTLLnkRS18;cxSchedulerGridRS18;dxtrmdRS18;DataSnapProviderClient;DBXSybaseASEDriver;dxTabbedMDIRS18;MetropolisUILiveTile;dxPSLnksRS18;vcldsnap;dxPScxPivotGridLnkRS18;fmxFireDAC;DBXDb2Driver;dxPScxSSLnkRS18;DBXOracleDriver;dxServerModeRS18;vclribbon;dxdborRS18;fmxase;vcl;IndyIPCommon;DBXMSSQLDriver;cxPivotGridChartRS18;FireDACDBXDriver;inetdbxpress;dxPScxGridLnkRS18;cxLibraryRS18;adortl;FireDACASADriver;dxPSdxDBTVLnkRS18;ZDbc;rtl;DbxClientDriver;ZPlain;dxDBXServerModeRS18;IndyProtocols;DBXMySQLDriver;dxFlowChartRS18;bindcompdbx;FireDACADSDriver;vcltouch;ZCore;dxPSPrVwRibbonRS18;dxPSdxFCLnkRS18;VclSmp;FireDAC;VCLRESTComponents;cxGridRS18;DataSnapConnectors;FireDACDataSnapDriver;dxPSDBTeeChartRS18;dxdbtrRS18;dxCoreRS18;fmxobj;ZParseSql;dxPSdxLCLnkRS18;FireDACOracleDriver;fmxdae;cxDataRS18;cxPivotGridOLAPRS18;FireDACMSAccDriver;DataSnapIndy10ServerTransport;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Cfg_1)'!=''">
|
||||
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
|
||||
<DCC_DebugDCUs>true</DCC_DebugDCUs>
|
||||
<DCC_Optimize>false</DCC_Optimize>
|
||||
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
|
||||
<DCC_DebugInfoInExe>true</DCC_DebugInfoInExe>
|
||||
<DCC_RemoteDebug>true</DCC_RemoteDebug>
|
||||
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
|
||||
<DCC_DebugInformation>0</DCC_DebugInformation>
|
||||
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
|
||||
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
|
||||
<DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
|
||||
<Manifest_File>None</Manifest_File>
|
||||
<DCC_ExeOutput>..\..\..\bin\$(Platform)</DCC_ExeOutput>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
|
||||
<VerInfo_Locale>1033</VerInfo_Locale>
|
||||
<DCC_RemoteDebug>false</DCC_RemoteDebug>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Cfg_2)'!=''">
|
||||
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
|
||||
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
|
||||
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
|
||||
<DCC_DebugInformation>0</DCC_DebugInformation>
|
||||
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
|
||||
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
|
||||
<DCC_Optimize>false</DCC_Optimize>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<DelphiCompile Include="$(MainSource)">
|
||||
<MainSource>MainSource</MainSource>
|
||||
</DelphiCompile>
|
||||
<DCCReference Include="..\..\ffmpeglib.pas"/>
|
||||
<DCCReference Include="..\..\libavcodec\libavcodec.avcodec.pas"/>
|
||||
<DCCReference Include="..\..\..\ctypes\ctypes.pas"/>
|
||||
<DCCReference Include="..\..\libavformat\avformat.pas"/>
|
||||
<DCCReference Include="..\..\libavformat\avio.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\avutil.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\buffer.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\dict.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\frame.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\log.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\opt.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\pixfmt.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\rational.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\samplefmt.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\parseutils.pas"/>
|
||||
<DCCReference Include="..\..\libswscale\swscale.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\pixdesc.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\imgutils.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\mem.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\error.pas"/>
|
||||
<BuildConfiguration Include="Release">
|
||||
<BuildConfiguration Include="Debug">
|
||||
<Key>Cfg_2</Key>
|
||||
<CfgParent>Base</CfgParent>
|
||||
</BuildConfiguration>
|
||||
<BuildConfiguration Include="Base">
|
||||
<Key>Base</Key>
|
||||
</BuildConfiguration>
|
||||
<BuildConfiguration Include="Debug">
|
||||
<BuildConfiguration Include="Release">
|
||||
<Key>Cfg_1</Key>
|
||||
<CfgParent>Base</CfgParent>
|
||||
</BuildConfiguration>
|
||||
@ -162,70 +90,15 @@
|
||||
<Borland.ProjectType/>
|
||||
<BorlandProject>
|
||||
<Delphi.Personality>
|
||||
<VersionInfo>
|
||||
<VersionInfo Name="IncludeVerInfo">False</VersionInfo>
|
||||
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
|
||||
<VersionInfo Name="MajorVer">1</VersionInfo>
|
||||
<VersionInfo Name="MinorVer">0</VersionInfo>
|
||||
<VersionInfo Name="Release">0</VersionInfo>
|
||||
<VersionInfo Name="Build">0</VersionInfo>
|
||||
<VersionInfo Name="Debug">False</VersionInfo>
|
||||
<VersionInfo Name="PreRelease">False</VersionInfo>
|
||||
<VersionInfo Name="Special">False</VersionInfo>
|
||||
<VersionInfo Name="Private">False</VersionInfo>
|
||||
<VersionInfo Name="DLL">False</VersionInfo>
|
||||
<VersionInfo Name="Locale">1049</VersionInfo>
|
||||
<VersionInfo Name="CodePage">1251</VersionInfo>
|
||||
</VersionInfo>
|
||||
<VersionInfoKeys>
|
||||
<VersionInfoKeys Name="CompanyName"/>
|
||||
<VersionInfoKeys Name="FileDescription"/>
|
||||
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
|
||||
<VersionInfoKeys Name="InternalName"/>
|
||||
<VersionInfoKeys Name="LegalCopyright"/>
|
||||
<VersionInfoKeys Name="LegalTrademarks"/>
|
||||
<VersionInfoKeys Name="OriginalFilename"/>
|
||||
<VersionInfoKeys Name="ProductName"/>
|
||||
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
|
||||
<VersionInfoKeys Name="Comments"/>
|
||||
<VersionInfoKeys Name="CFBundleName"/>
|
||||
<VersionInfoKeys Name="CFBundleDisplayName"/>
|
||||
<VersionInfoKeys Name="UIDeviceFamily"/>
|
||||
<VersionInfoKeys Name="CFBundleIdentifier"/>
|
||||
<VersionInfoKeys Name="CFBundleVersion"/>
|
||||
<VersionInfoKeys Name="CFBundlePackageType"/>
|
||||
<VersionInfoKeys Name="CFBundleSignature"/>
|
||||
<VersionInfoKeys Name="CFBundleAllowMixedLocalizations"/>
|
||||
<VersionInfoKeys Name="UISupportedInterfaceOrientations"/>
|
||||
<VersionInfoKeys Name="CFBundleExecutable"/>
|
||||
<VersionInfoKeys Name="CFBundleResourceSpecification"/>
|
||||
<VersionInfoKeys Name="LSRequiresIPhoneOS"/>
|
||||
<VersionInfoKeys Name="CFBundleInfoDictionaryVersion"/>
|
||||
<VersionInfoKeys Name="CFBundleDevelopmentRegion"/>
|
||||
<VersionInfoKeys Name="package"/>
|
||||
<VersionInfoKeys Name="label"/>
|
||||
<VersionInfoKeys Name="versionCode"/>
|
||||
<VersionInfoKeys Name="versionName"/>
|
||||
<VersionInfoKeys Name="persistent"/>
|
||||
<VersionInfoKeys Name="restoreAnyVersion"/>
|
||||
<VersionInfoKeys Name="installLocation"/>
|
||||
<VersionInfoKeys Name="largeHeap"/>
|
||||
<VersionInfoKeys Name="theme"/>
|
||||
</VersionInfoKeys>
|
||||
<Source>
|
||||
<Source Name="MainSource">metadata.dpr</Source>
|
||||
</Source>
|
||||
<Excluded_Packages>
|
||||
<Excluded_Packages Name="C:\Users\Public\Documents\RAD Studio\12.0\Bpl\IcsFmxDXE5Design.bpl">Overbyte ICS FMX Design-Time Package for Delphi XE5</Excluded_Packages>
|
||||
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k190.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
|
||||
<Excluded_Packages Name="C:\Users\Public\Documents\RAD Studio\12.0\Bpl\IcsVclDXE5Design.bpl">Overbyte ICS VCL Design-Time Package for Delphi XE5</Excluded_Packages>
|
||||
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k200.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
|
||||
<Excluded_Packages Name="$(BDSBIN)\dclofficexp200.bpl">Microsoft Office XP Sample Automation Server Wrapper Components</Excluded_Packages>
|
||||
</Excluded_Packages>
|
||||
</Delphi.Personality>
|
||||
<Deployment/>
|
||||
<Platforms>
|
||||
<Platform value="Android">False</Platform>
|
||||
<Platform value="iOSDevice">False</Platform>
|
||||
<Platform value="iOSSimulator">False</Platform>
|
||||
<Platform value="OSX32">False</Platform>
|
||||
<Platform value="Win32">True</Platform>
|
||||
<Platform value="Win64">False</Platform>
|
||||
|
@ -7,26 +7,28 @@ program scaling_video;
|
||||
uses
|
||||
System.SysUtils,
|
||||
System.Classes,
|
||||
ffmpeglib in '..\..\ffmpeglib.pas',
|
||||
libavcodec.avcodec in '..\..\libavcodec\libavcodec.avcodec.pas',
|
||||
ctypes in '..\..\..\ctypes\ctypes.pas',
|
||||
avformat in '..\..\libavformat\avformat.pas',
|
||||
avio in '..\..\libavformat\avio.pas',
|
||||
avutil in '..\..\libavutil\avutil.pas',
|
||||
buffer in '..\..\libavutil\buffer.pas',
|
||||
dict in '..\..\libavutil\dict.pas',
|
||||
frame in '..\..\libavutil\frame.pas',
|
||||
log in '..\..\libavutil\log.pas',
|
||||
opt in '..\..\libavutil\opt.pas',
|
||||
pixfmt in '..\..\libavutil\pixfmt.pas',
|
||||
rational in '..\..\libavutil\rational.pas',
|
||||
samplefmt in '..\..\libavutil\samplefmt.pas',
|
||||
parseutils in '..\..\libavutil\parseutils.pas',
|
||||
swscale in '..\..\libswscale\swscale.pas',
|
||||
pixdesc in '..\..\libavutil\pixdesc.pas',
|
||||
imgutils in '..\..\libavutil\imgutils.pas',
|
||||
mem in '..\..\libavutil\mem.pas',
|
||||
error in '..\..\libavutil\error.pas';
|
||||
Winapi.Windows,
|
||||
ffmpeglib,
|
||||
ffmpeg.libavcodec.avcodec,
|
||||
ffmpeg.ctypes,
|
||||
ffmpeg.avformat,
|
||||
ffmpeg.avio,
|
||||
ffmpeg.avutil,
|
||||
ffmpeg.buffer,
|
||||
ffmpeg.dict,
|
||||
ffmpeg.frame,
|
||||
ffmpeg.log,
|
||||
ffmpeg.opt,
|
||||
ffmpeg.pixfmt,
|
||||
ffmpeg.rational,
|
||||
ffmpeg.samplefmt,
|
||||
ffmpeg.parseutils,
|
||||
ffmpeg.swscale,
|
||||
ffmpeg.pixdesc,
|
||||
ffmpeg.imgutils,
|
||||
ffmpeg.mem,
|
||||
ffmpeg.error,
|
||||
uResourcePaths;
|
||||
|
||||
Var
|
||||
src_data: TPointers;
|
||||
@ -46,6 +48,10 @@ Var
|
||||
sws_ctx: pSwsContext = nil;
|
||||
i, ret: Integer;
|
||||
|
||||
const
|
||||
in_filename = cResourceMedia + 'trailer.avi';
|
||||
out_filename = cResourceResult + 'trailer-out.avi';
|
||||
|
||||
procedure fill_yuv_image(data: TPointers; linesize: TLinesizes; width: Integer; height: Integer; frame_index: Integer);
|
||||
Var
|
||||
x, y: Integer;
|
||||
@ -76,11 +82,24 @@ begin
|
||||
begin
|
||||
WriteLn(Format('Usage: %s output_file output_size' + #13#10 + 'API example program to show how to scale an image with libswscale.' +
|
||||
#13#10 + 'This program generates a series of pictures, rescales them to the given ' +
|
||||
'output_size and saves them to an output file named output_file.' + #13#10 + #13#10, [ExtractFileName(ParamStr(0))]));
|
||||
Halt(1);
|
||||
'output_size and saves them to an output file named output_file.' + #13#10, [ExtractFileName(ParamStr(0))]));
|
||||
end;
|
||||
if (ParamCount < 2) then
|
||||
begin
|
||||
if FileExists(in_filename) then
|
||||
if CopyFileEx(PChar(in_filename), PChar(out_filename), nil, nil, nil, COPY_FILE_RESTARTABLE) then
|
||||
begin
|
||||
dst_filename := out_filename;
|
||||
dst_size := '320x240';
|
||||
end
|
||||
else
|
||||
Halt(1);
|
||||
end
|
||||
else
|
||||
begin
|
||||
dst_filename := ParamStr(1);
|
||||
dst_size := ParamStr(2);
|
||||
end;
|
||||
dst_filename := ParamStr(1);
|
||||
dst_size := ParamStr(2);
|
||||
|
||||
if av_parse_video_size(dst_w, dst_h, PAnsiChar(dst_size)) < 0 then
|
||||
begin
|
||||
@ -88,13 +107,6 @@ begin
|
||||
Halt(1);
|
||||
end;
|
||||
|
||||
// Assign(dst_file, dst_filename);
|
||||
// Rewrite(dst_file,1);
|
||||
// if (!dst_file) begin
|
||||
// fprintf(stderr, 'Could not open destination file %s'+#13#10+, dst_filename);
|
||||
// exit(1);
|
||||
// end;
|
||||
|
||||
(* create scaling context *)
|
||||
sws_ctx := sws_getContext(src_w, src_h, src_pix_fmt, dst_w, dst_h, dst_pix_fmt, SWS_BILINEAR, Nil, Nil, Nil);
|
||||
if not Assigned(sws_ctx) then
|
||||
@ -142,7 +154,7 @@ begin
|
||||
dst_straem.Free;
|
||||
|
||||
WriteLn(Format('Scaling succeeded. Play the output file with the command:' + #13#10 +
|
||||
'ffplay -f rawvideo -pix_fmt %s -video_size %dx%d %s', [av_get_pix_fmt_name(dst_pix_fmt), dst_w, dst_h, dst_filename]));
|
||||
'ffplay -f rawvideo -pixel_format %s -video_size %dx%d %s', [av_get_pix_fmt_name(dst_pix_fmt), dst_w, dst_h, dst_filename]));
|
||||
|
||||
av_freep(@src_data[0]);
|
||||
av_freep(@dst_data[0]);
|
||||
|
@ -1,49 +1,24 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{18687ACE-E764-4A67-B512-926A4434F127}</ProjectGuid>
|
||||
<ProjectVersion>15.1</ProjectVersion>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectGuid>{48D2DD59-2918-4148-8EF9-6F12C0233241}</ProjectGuid>
|
||||
<MainSource>scaling_video.dpr</MainSource>
|
||||
<Base>True</Base>
|
||||
<Config Condition="'$(Config)'==''">Debug</Config>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
<Config Condition="'$(Config)'==''">Release</Config>
|
||||
<TargetedPlatforms>1</TargetedPlatforms>
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='Android' and '$(Base)'=='true') or '$(Base_Android)'!=''">
|
||||
<Base_Android>true</Base_Android>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='iOSDevice' and '$(Base)'=='true') or '$(Base_iOSDevice)'!=''">
|
||||
<Base_iOSDevice>true</Base_iOSDevice>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='iOSSimulator' and '$(Base)'=='true') or '$(Base_iOSSimulator)'!=''">
|
||||
<Base_iOSSimulator>true</Base_iOSSimulator>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='OSX32' and '$(Base)'=='true') or '$(Base_OSX32)'!=''">
|
||||
<Base_OSX32>true</Base_OSX32>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Base)'=='true') or '$(Base_Win32)'!=''">
|
||||
<Base_Win32>true</Base_Win32>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Base)'=='true') or '$(Base_Win64)'!=''">
|
||||
<Base_Win64>true</Base_Win64>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_1)'!=''">
|
||||
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_1)'!=''">
|
||||
<Cfg_1>true</Cfg_1>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
@ -54,105 +29,58 @@
|
||||
<Cfg_1>true</Cfg_1>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_2)'!=''">
|
||||
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_2)'!=''">
|
||||
<Cfg_2>true</Cfg_2>
|
||||
<CfgParent>Base</CfgParent>
|
||||
<Base>true</Base>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base)'!=''">
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
|
||||
<Manifest_File>None</Manifest_File>
|
||||
<DCC_E>false</DCC_E>
|
||||
<VerInfo_Locale>1049</VerInfo_Locale>
|
||||
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
|
||||
<DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
|
||||
<DCC_ExeOutput>..\..\..\..\bin</DCC_ExeOutput>
|
||||
<DCC_E>false</DCC_E>
|
||||
<DCC_N>false</DCC_N>
|
||||
<DCC_ImageBase>00400000</DCC_ImageBase>
|
||||
<DCC_K>false</DCC_K>
|
||||
<DCC_S>false</DCC_S>
|
||||
<DCC_F>false</DCC_F>
|
||||
<DCC_K>false</DCC_K>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_Android)'!=''">
|
||||
<Android_LauncherIcon48>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_48x48.png</Android_LauncherIcon48>
|
||||
<Android_LauncherIcon96>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_96x96.png</Android_LauncherIcon96>
|
||||
<Android_LauncherIcon36>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_36x36.png</Android_LauncherIcon36>
|
||||
<Android_LauncherIcon144>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_144x144.png</Android_LauncherIcon144>
|
||||
<DCC_UsePackage>DBXInterBaseDriver;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyCore;CloudService;vc2;FireDACIBDriver;bindcompfmx;dbrtl;FireDACCommon;bindcomp;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;inet;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;IndyIPCommon;FireDACDBXDriver;rtl;DbxClientDriver;IndyProtocols;bindcompdbx;FireDAC;FireDACDataSnapDriver;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
<Android_LauncherIcon72>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_72x72.png</Android_LauncherIcon72>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_iOSDevice)'!=''">
|
||||
<DCC_UsePackage>DBXInterBaseDriver;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyCore;CloudService;FireDACIBDriver;bindcompfmx;dbrtl;FireDACCommon;bindcomp;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;inet;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;fmxase;IndyIPCommon;FireDACDBXDriver;rtl;DbxClientDriver;IndyProtocols;bindcompdbx;FireDAC;FireDACDataSnapDriver;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_iOSSimulator)'!=''">
|
||||
<DCC_UsePackage>DBXInterBaseDriver;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyCore;CloudService;FireDACIBDriver;bindcompfmx;dbrtl;FireDACCommon;bindcomp;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;inet;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;fmxase;IndyIPCommon;FireDACDBXDriver;rtl;DbxClientDriver;IndyProtocols;bindcompdbx;FireDAC;FireDACDataSnapDriver;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_OSX32)'!=''">
|
||||
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
|
||||
<DCC_UsePackage>FireDACPgDriver;DBXInterBaseDriver;DataSnapServer;DataSnapCommon;DbxCommonDriver;dbxcds;CustomIPTransport;dsnap;IndyIPServer;IndyCore;CloudService;FireDACIBDriver;FireDACDb2Driver;bindcompfmx;FireDACODBCDriver;dbrtl;FireDACCommon;bindcomp;inetdb;xmlrtl;ibxpress;FireDACCommonDriver;bindengine;soaprtl;FireDACMSSQLDriver;DBXInformixDriver;DBXFirebirdDriver;inet;FireDACMySQLDriver;DBXSybaseASADriver;RESTComponents;dbexpress;IndyIPClient;FireDACSqliteDriver;DBXSqliteDriver;fmx;IndySystem;DataSnapClient;DataSnapProviderClient;fmxFireDAC;DBXOracleDriver;fmxase;IndyIPCommon;FireDACDBXDriver;inetdbxpress;FireDACASADriver;rtl;DbxClientDriver;IndyProtocols;DBXMySQLDriver;bindcompdbx;FireDACADSDriver;FireDAC;FireDACDataSnapDriver;fmxobj;FireDACOracleDriver;fmxdae;FireDACMSAccDriver;DataSnapIndy10ServerTransport;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=;CFBundleName=</VerInfo_Keys>
|
||||
<SanitizedProjectName>scaling_video</SanitizedProjectName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_Win32)'!=''">
|
||||
<DCC_UnitSearchPath>C:\Work\Delphi\Bitbucket\VF-ffmpeg\Lib\ffmpeg;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
|
||||
<VerInfo_Locale>1033</VerInfo_Locale>
|
||||
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
|
||||
<DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
|
||||
<DCC_UsePackage>JvGlobus;dxBarRS18;dxPSCoreRS18;JvMM;JvManagedThreads;dxPScxPCProdRS18;OverbyteIcsDXE5Run;cxTreeListRS18;dxDockingRS18;FireDACPgDriver;dxThemeRS18;dxPSdxOCLnkRS18;JvCrypt;TP_LockBox3;XiButtonXE4;DBXInterBaseDriver;DataSnapServer;DataSnapCommon;cxTreeListdxBarPopupMenuRS18;JvNet;officeXPrt;TeeUI919;JvDotNetCtrls;FMXTeeDB919;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;JvXPCtrls;vcldb;cxExportRS18;FmxTeeUI919;CustomIPTransport;TeeWorld919;dsnap;IndyIPServer;IndyCore;cxVerticalGridRS18;CloudService;TeePro919;dxPSdxDBOCLnkRS18;vc2;FireDACIBDriver;dxADOServerModeRS18;JvDB;JvRuntimeDesign;dxPScxExtCommonRS18;cxEditorsRS18;cxPageControldxBarPopupMenuRS18;cxSchedulerRS18;dxSpellCheckerRS18;dxPScxVGridLnkRS18;JclDeveloperTools;FireDACDb2Driver;dxRibbonRS18;FMXTeePro919;bindcompfmx;dclTP_LockBox3;vcldbx;cxBarEditItemRS18;FireDACODBCDriver;cxPageControlRS18;dbrtl;FireDACCommon;bindcomp;inetdb;JvPluginSystem;DBXOdbcDriver;JvCmp;vclFireDAC;FMXTee919;xmlrtl;JvTimeFramework;ibxpress;dxBarExtItemsRS18;FireDACCommonDriver;bindengine;vclactnband;soaprtl;bindcompvcl;dxPsPrVwAdvRS18;cxSpreadSheetRS18;Jcl;vclie;cxPivotGridRS18;dxmdsRS18;dxBarDBNavRS18;dxTileControlRS18;dxComnRS18;FireDACMSSQLDriver;DBXInformixDriver;dxBarExtDBItemsRS18;Intraweb;dxPScxSchedulerLnkRS18;dxNavBarRS18;dsnapcon;DBXFirebirdDriver;dxPSTeeChartRS18;inet;FMXTeeLanguage919;dxPScxCommonRS18;JvPascalInterpreter;FireDACMySQLDriver;vclx;TeeDB919;DBXSybaseASADriver;dxorgcRS18;RESTComponents;dbexpress;JvBDE;IndyIPClient;dxGDIPlusRS18;FireDACSqliteDriver;dxLayoutControlRS18;ZComponent;DBXSqliteDriver;tmswizdXE4;fmx;JvDlgs;IndySystem;vclib;inetdbbde;DataSnapClient;dxPScxTLLnkRS18;Tee919;cxSchedulerGridRS18;dxtrmdRS18;DataSnapProviderClient;DBXSybaseASEDriver;dxTabbedMDIRS18;TeeGL919;MetropolisUILiveTile;dxPSLnksRS18;vcldsnap;dxPScxPivotGridLnkRS18;fmxFireDAC;DBXDb2Driver;dxPScxSSLnkRS18;DBXOracleDriver;dxServerModeRS18;JvCore;vclribbon;dxdborRS18;fmxase;vcl;IndyIPCommon;DBXMSSQLDriver;CodeSiteExpressPkg;cxPivotGridChartRS18;FireDACDBXDriver;JvAppFrm;inetdbxpress;dxPScxGridLnkRS18;cxLibraryRS18;JvDocking;adortl;JvWizards;FireDACASADriver;dxPSdxDBTVLnkRS18;JvHMI;tmsdXE4;JvBands;ZDbc;rtl;DbxClientDriver;ZPlain;JclContainers;CPortLibDXE;JvSystem;svnui;JvControls;dxDBXServerModeRS18;IndyProtocols;DBXMySQLDriver;dxFlowChartRS18;viTimeLineDPK;bindcompdbx;TeeLanguage919;JvJans;JvPrintPreview;JvPageComps;JvStdCtrls;JvCustom;FireDACADSDriver;vcltouch;ZCore;dxPSPrVwRibbonRS18;tmsexdXE4;dxPSdxFCLnkRS18;VclSmp;FireDAC;VCLRESTComponents;cxGridRS18;DataSnapConnectors;FireDACDataSnapDriver;dxPSDBTeeChartRS18;dxdbtrRS18;tmsxlsdXE4;dxCoreRS18;fmxobj;JclVcl;ZParseSql;svn;dxPSdxLCLnkRS18;FireDACOracleDriver;fmxdae;cxDataRS18;cxPivotGridOLAPRS18;bdertl;TeeImage919;FireDACMSAccDriver;DataSnapIndy10ServerTransport;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Base_Win64)'!=''">
|
||||
<DCC_ConsoleTarget>true</DCC_ConsoleTarget>
|
||||
<DCC_UsePackage>dxBarRS18;dxPSCoreRS18;OverbyteIcsDXE5Run;cxTreeListRS18;dxDockingRS18;FireDACPgDriver;dxThemeRS18;dxPSdxOCLnkRS18;DBXInterBaseDriver;DataSnapServer;DataSnapCommon;cxTreeListdxBarPopupMenuRS18;officeXPrt;DbxCommonDriver;vclimg;dbxcds;DatasnapConnectorsFreePascal;vcldb;cxExportRS18;CustomIPTransport;dsnap;IndyIPServer;IndyCore;cxVerticalGridRS18;CloudService;dxPSdxDBOCLnkRS18;FireDACIBDriver;dxADOServerModeRS18;dxPScxExtCommonRS18;cxEditorsRS18;cxPageControldxBarPopupMenuRS18;cxSchedulerRS18;dxSpellCheckerRS18;dxPScxVGridLnkRS18;FireDACDb2Driver;dxRibbonRS18;bindcompfmx;cxBarEditItemRS18;FireDACODBCDriver;cxPageControlRS18;dbrtl;FireDACCommon;bindcomp;inetdb;DBXOdbcDriver;vclFireDAC;xmlrtl;ibxpress;dxBarExtItemsRS18;FireDACCommonDriver;bindengine;vclactnband;soaprtl;bindcompvcl;dxPsPrVwAdvRS18;cxSpreadSheetRS18;vclie;cxPivotGridRS18;dxmdsRS18;dxBarDBNavRS18;dxTileControlRS18;dxComnRS18;FireDACMSSQLDriver;DBXInformixDriver;dxBarExtDBItemsRS18;Intraweb;dxPScxSchedulerLnkRS18;dxNavBarRS18;dsnapcon;DBXFirebirdDriver;dxPSTeeChartRS18;inet;dxPScxCommonRS18;FireDACMySQLDriver;vclx;DBXSybaseASADriver;dxorgcRS18;RESTComponents;dbexpress;IndyIPClient;dxGDIPlusRS18;FireDACSqliteDriver;dxLayoutControlRS18;ZComponent;DBXSqliteDriver;fmx;IndySystem;vclib;DataSnapClient;dxPScxTLLnkRS18;cxSchedulerGridRS18;dxtrmdRS18;DataSnapProviderClient;DBXSybaseASEDriver;dxTabbedMDIRS18;MetropolisUILiveTile;dxPSLnksRS18;vcldsnap;dxPScxPivotGridLnkRS18;fmxFireDAC;DBXDb2Driver;dxPScxSSLnkRS18;DBXOracleDriver;dxServerModeRS18;vclribbon;dxdborRS18;fmxase;vcl;IndyIPCommon;DBXMSSQLDriver;cxPivotGridChartRS18;FireDACDBXDriver;inetdbxpress;dxPScxGridLnkRS18;cxLibraryRS18;adortl;FireDACASADriver;dxPSdxDBTVLnkRS18;ZDbc;rtl;DbxClientDriver;ZPlain;dxDBXServerModeRS18;IndyProtocols;DBXMySQLDriver;dxFlowChartRS18;bindcompdbx;FireDACADSDriver;vcltouch;ZCore;dxPSPrVwRibbonRS18;dxPSdxFCLnkRS18;VclSmp;FireDAC;VCLRESTComponents;cxGridRS18;DataSnapConnectors;FireDACDataSnapDriver;dxPSDBTeeChartRS18;dxdbtrRS18;dxCoreRS18;fmxobj;ZParseSql;dxPSdxLCLnkRS18;FireDACOracleDriver;fmxdae;cxDataRS18;cxPivotGridOLAPRS18;FireDACMSAccDriver;DataSnapIndy10ServerTransport;$(DCC_UsePackage)</DCC_UsePackage>
|
||||
<VerInfo_Locale>1033</VerInfo_Locale>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Cfg_1)'!=''">
|
||||
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
|
||||
<DCC_DebugDCUs>true</DCC_DebugDCUs>
|
||||
<DCC_Optimize>false</DCC_Optimize>
|
||||
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
|
||||
<DCC_DebugInfoInExe>true</DCC_DebugInfoInExe>
|
||||
<DCC_RemoteDebug>true</DCC_RemoteDebug>
|
||||
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
|
||||
<DCC_DebugInformation>0</DCC_DebugInformation>
|
||||
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
|
||||
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
|
||||
<DCC_DcuOutput>.\$(Platform)\$(Config)</DCC_DcuOutput>
|
||||
<Manifest_File>None</Manifest_File>
|
||||
<DCC_ExeOutput>..\..\..\bin\$(Platform)</DCC_ExeOutput>
|
||||
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
|
||||
<VerInfo_Locale>1033</VerInfo_Locale>
|
||||
<Debugger_RunParams>asd 800x600</Debugger_RunParams>
|
||||
<DCC_RemoteDebug>false</DCC_RemoteDebug>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Cfg_2)'!=''">
|
||||
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
|
||||
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
|
||||
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
|
||||
<DCC_DebugInformation>0</DCC_DebugInformation>
|
||||
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
|
||||
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
|
||||
<DCC_Optimize>false</DCC_Optimize>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<DelphiCompile Include="$(MainSource)">
|
||||
<MainSource>MainSource</MainSource>
|
||||
</DelphiCompile>
|
||||
<DCCReference Include="..\..\ffmpeglib.pas"/>
|
||||
<DCCReference Include="..\..\libavcodec\libavcodec.avcodec.pas"/>
|
||||
<DCCReference Include="..\..\..\ctypes\ctypes.pas"/>
|
||||
<DCCReference Include="..\..\libavformat\avformat.pas"/>
|
||||
<DCCReference Include="..\..\libavformat\avio.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\avutil.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\buffer.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\dict.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\frame.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\log.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\opt.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\pixfmt.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\rational.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\samplefmt.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\parseutils.pas"/>
|
||||
<DCCReference Include="..\..\libswscale\swscale.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\pixdesc.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\imgutils.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\mem.pas"/>
|
||||
<DCCReference Include="..\..\libavutil\error.pas"/>
|
||||
<None Include="..\..\ffmpeg.inc"/>
|
||||
<BuildConfiguration Include="Release">
|
||||
<BuildConfiguration Include="Debug">
|
||||
<Key>Cfg_2</Key>
|
||||
<CfgParent>Base</CfgParent>
|
||||
</BuildConfiguration>
|
||||
<BuildConfiguration Include="Base">
|
||||
<Key>Base</Key>
|
||||
</BuildConfiguration>
|
||||
<BuildConfiguration Include="Debug">
|
||||
<BuildConfiguration Include="Release">
|
||||
<Key>Cfg_1</Key>
|
||||
<CfgParent>Base</CfgParent>
|
||||
</BuildConfiguration>
|
||||
@ -162,70 +90,15 @@
|
||||
<Borland.ProjectType/>
|
||||
<BorlandProject>
|
||||
<Delphi.Personality>
|
||||
<VersionInfo>
|
||||
<VersionInfo Name="IncludeVerInfo">False</VersionInfo>
|
||||
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
|
||||
<VersionInfo Name="MajorVer">1</VersionInfo>
|
||||
<VersionInfo Name="MinorVer">0</VersionInfo>
|
||||
<VersionInfo Name="Release">0</VersionInfo>
|
||||
<VersionInfo Name="Build">0</VersionInfo>
|
||||
<VersionInfo Name="Debug">False</VersionInfo>
|
||||
<VersionInfo Name="PreRelease">False</VersionInfo>
|
||||
<VersionInfo Name="Special">False</VersionInfo>
|
||||
<VersionInfo Name="Private">False</VersionInfo>
|
||||
<VersionInfo Name="DLL">False</VersionInfo>
|
||||
<VersionInfo Name="Locale">1049</VersionInfo>
|
||||
<VersionInfo Name="CodePage">1251</VersionInfo>
|
||||
</VersionInfo>
|
||||
<VersionInfoKeys>
|
||||
<VersionInfoKeys Name="CompanyName"/>
|
||||
<VersionInfoKeys Name="FileDescription"/>
|
||||
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
|
||||
<VersionInfoKeys Name="InternalName"/>
|
||||
<VersionInfoKeys Name="LegalCopyright"/>
|
||||
<VersionInfoKeys Name="LegalTrademarks"/>
|
||||
<VersionInfoKeys Name="OriginalFilename"/>
|
||||
<VersionInfoKeys Name="ProductName"/>
|
||||
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
|
||||
<VersionInfoKeys Name="Comments"/>
|
||||
<VersionInfoKeys Name="CFBundleName"/>
|
||||
<VersionInfoKeys Name="CFBundleDisplayName"/>
|
||||
<VersionInfoKeys Name="UIDeviceFamily"/>
|
||||
<VersionInfoKeys Name="CFBundleIdentifier"/>
|
||||
<VersionInfoKeys Name="CFBundleVersion"/>
|
||||
<VersionInfoKeys Name="CFBundlePackageType"/>
|
||||
<VersionInfoKeys Name="CFBundleSignature"/>
|
||||
<VersionInfoKeys Name="CFBundleAllowMixedLocalizations"/>
|
||||
<VersionInfoKeys Name="UISupportedInterfaceOrientations"/>
|
||||
<VersionInfoKeys Name="CFBundleExecutable"/>
|
||||
<VersionInfoKeys Name="CFBundleResourceSpecification"/>
|
||||
<VersionInfoKeys Name="LSRequiresIPhoneOS"/>
|
||||
<VersionInfoKeys Name="CFBundleInfoDictionaryVersion"/>
|
||||
<VersionInfoKeys Name="CFBundleDevelopmentRegion"/>
|
||||
<VersionInfoKeys Name="package"/>
|
||||
<VersionInfoKeys Name="label"/>
|
||||
<VersionInfoKeys Name="versionCode"/>
|
||||
<VersionInfoKeys Name="versionName"/>
|
||||
<VersionInfoKeys Name="persistent"/>
|
||||
<VersionInfoKeys Name="restoreAnyVersion"/>
|
||||
<VersionInfoKeys Name="installLocation"/>
|
||||
<VersionInfoKeys Name="largeHeap"/>
|
||||
<VersionInfoKeys Name="theme"/>
|
||||
</VersionInfoKeys>
|
||||
<Source>
|
||||
<Source Name="MainSource">scaling_video.dpr</Source>
|
||||
</Source>
|
||||
<Excluded_Packages>
|
||||
<Excluded_Packages Name="C:\Users\Public\Documents\RAD Studio\12.0\Bpl\IcsFmxDXE5Design.bpl">Overbyte ICS FMX Design-Time Package for Delphi XE5</Excluded_Packages>
|
||||
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k190.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
|
||||
<Excluded_Packages Name="C:\Users\Public\Documents\RAD Studio\12.0\Bpl\IcsVclDXE5Design.bpl">Overbyte ICS VCL Design-Time Package for Delphi XE5</Excluded_Packages>
|
||||
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k200.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
|
||||
<Excluded_Packages Name="$(BDSBIN)\dclofficexp200.bpl">Microsoft Office XP Sample Automation Server Wrapper Components</Excluded_Packages>
|
||||
</Excluded_Packages>
|
||||
</Delphi.Personality>
|
||||
<Deployment/>
|
||||
<Platforms>
|
||||
<Platform value="Android">False</Platform>
|
||||
<Platform value="iOSDevice">False</Platform>
|
||||
<Platform value="iOSSimulator">False</Platform>
|
||||
<Platform value="OSX32">False</Platform>
|
||||
<Platform value="Win32">True</Platform>
|
||||
<Platform value="Win64">False</Platform>
|
||||
|
@ -29,13 +29,13 @@ program latentsvmdetect;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
objdetect_c,
|
||||
cvUtils,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
opencv.objdetect_c,
|
||||
opencv.cvutils,
|
||||
uResourcePaths;
|
||||
|
||||
procedure help;
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -30,10 +30,10 @@ program cvSetImageROI_cvAddWeighted;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
uResourcePaths;
|
||||
|
||||
Const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>VCL</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -30,10 +30,10 @@ program cv_AddWeighted;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
uResourcePaths;
|
||||
|
||||
Const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>VCL</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,10 +28,10 @@ program cv_And;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -33,11 +33,11 @@ program cv_CalcHist;
|
||||
uses
|
||||
WinApi.Windows,
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
Function DrawHist(src_img: pIplImage): pIplImage;
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -35,12 +35,12 @@ program cv_CalcHist2;
|
||||
uses
|
||||
WinApi.Windows,
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
cvUtils;
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
opencv.cvutils;
|
||||
|
||||
Const
|
||||
CAMERA_INDEX = CV_CAP_ANY;
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -32,12 +32,12 @@ program cv_CalcOpticalFlowPyrLK;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
tracking_c;
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
opencv.tracking_c;
|
||||
|
||||
const
|
||||
MAX_COUNT = 500;
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,11 +28,11 @@ program cv_Canny;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -29,12 +29,12 @@ program cv_CodeBook;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
legacy;
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
opencv.legacy;
|
||||
|
||||
const
|
||||
NCHANNELS: Integer = 3;
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -30,10 +30,10 @@ program cv_CopyMakeBorder;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,9 +28,9 @@ program cv_CreateCameraCapture;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
var
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,11 +28,11 @@ program cv_CreateFGDStatModel;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
legacy;
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.legacy;
|
||||
|
||||
var
|
||||
k: Integer;
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,11 +28,11 @@ program cv_CreateGaussianBGModel;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
legacy;
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.legacy;
|
||||
|
||||
Var
|
||||
k: Integer;
|
||||
|
@ -6,7 +6,7 @@
|
||||
<MainSource>cv_CreateGaussianBGModel.dpr</MainSource>
|
||||
<Base>True</Base>
|
||||
<Config Condition="'$(Config)'==''">Release</Config>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
<TargetedPlatforms>3</TargetedPlatforms>
|
||||
<AppType>Console</AppType>
|
||||
</PropertyGroup>
|
||||
|
@ -31,11 +31,11 @@ program cv_CreateStructuringElementEx;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
var
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,9 +28,9 @@ program cv_CreateTrackbar;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,10 +28,10 @@ program cv_CreateVideoWriter;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,11 +28,11 @@ program cv_CvtColor;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,11 +28,11 @@ program cv_CvtPixToPlane;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,12 +28,12 @@ program cv_DFT;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc.types_c,
|
||||
imgproc_c,
|
||||
cvUtils;
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.cvutils;
|
||||
|
||||
const
|
||||
CAMERA_INDEX = CV_CAP_ANY;
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -8,11 +8,11 @@ program cvErode_cvDilate;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -33,14 +33,14 @@ program cv_ExtractSURF;
|
||||
uses
|
||||
System.SysUtils,
|
||||
Winapi.Windows,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
compat,
|
||||
calib3d_c,
|
||||
nonfree,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
opencv.compat,
|
||||
opencv.calib3d_c,
|
||||
opencv.nonfree,
|
||||
uResourcePaths;
|
||||
|
||||
// cравнение двух оcобенноcтей
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -30,13 +30,13 @@ program cv_ExtractSURF;
|
||||
uses
|
||||
WinApi.Windows,
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
compat,
|
||||
nonfree,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
opencv.compat,
|
||||
opencv.nonfree,
|
||||
uResourcePaths;
|
||||
|
||||
function compareSURFDescriptors(const d1: pSingle; const d2: pSingle; best: Double; length: Integer): Double;
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,11 +28,11 @@ program cv_FindContours;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -31,11 +31,11 @@ program cv_FindContours2;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
procedure help;
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,11 +28,11 @@ program cv_FindContours3;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,11 +28,11 @@ program cv_FloodFill;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
// заливка облccти картинки цветом
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,11 +28,11 @@ program cv_GetSubRect;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,11 +28,11 @@ program cv_GoodFeaturesToTrack;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
Const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -30,11 +30,11 @@ program cv_GoodFeaturesToTrack_Video;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c;
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c;
|
||||
|
||||
type
|
||||
TPointsArr = array [0 .. 250] of TCvPoint2D32f;
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,11 +28,11 @@ program cv_HoughCircles;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,11 +28,11 @@ program cv_HoughLines2;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -30,11 +30,11 @@ program cv_InRangeS;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,11 +28,11 @@ program cv_Integral;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -28,10 +28,10 @@ program cv_Laplace;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -32,11 +32,11 @@ program cv_LinearPolar;
|
||||
uses
|
||||
System.SysUtils,
|
||||
System.Character,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c;
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c;
|
||||
|
||||
procedure help;
|
||||
begin
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -31,12 +31,12 @@ program cv_LoadHaarClassifierCascade;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
objdetect_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
opencv.objdetect_c,
|
||||
uResourcePaths;
|
||||
|
||||
procedure help;
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -27,10 +27,10 @@ program cv_LoadImage;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -30,10 +30,10 @@ program cv_LoadImage2;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -27,11 +27,11 @@ program cv_LoadVideo;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -30,11 +30,11 @@ program cv_MatchShapes;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -29,12 +29,12 @@ program cv_MatchShapes2;
|
||||
uses
|
||||
System.SysUtils,
|
||||
System.Math,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
cvUtils,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
opencv.cvutils,
|
||||
uResourcePaths;
|
||||
|
||||
// сравнение объектов по моментам их контуров
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -29,11 +29,11 @@ program cv_MatchTemplate;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
var
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -30,11 +30,11 @@ program cv_MorphologyEx;
|
||||
|
||||
uses
|
||||
System.SysUtils,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
uResourcePaths;
|
||||
|
||||
const
|
||||
|
@ -8,7 +8,7 @@
|
||||
<AppType>Console</AppType>
|
||||
<FrameworkType>None</FrameworkType>
|
||||
<ProjectVersion>15.4</ProjectVersion>
|
||||
<Platform Condition="'$(Platform)'==''">Win64</Platform>
|
||||
<Platform Condition="'$(Platform)'==''">Win32</Platform>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
|
||||
<Base>true</Base>
|
||||
|
@ -36,12 +36,12 @@ uses
|
||||
WinApi.Windows,
|
||||
System.SysUtils,
|
||||
System.Character,
|
||||
highgui_c,
|
||||
core_c,
|
||||
Core.types_c,
|
||||
imgproc_c,
|
||||
imgproc.types_c,
|
||||
tracking_c;
|
||||
opencv.highgui_c,
|
||||
opencv.core_c,
|
||||
opencv.core.types_c,
|
||||
opencv.imgproc_c,
|
||||
opencv.imgproc.types_c,
|
||||
opencv.tracking_c;
|
||||
|
||||
procedure help;
|
||||
begin
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user