Skip to content

Commit dc09ec1

Browse files
committed
- Upgraded to Visual C++ 2015.
- Added gitignore
0 parents  commit dc09ec1

File tree

108 files changed

+16006
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+16006
-0
lines changed

.gitignore

+283
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,283 @@
1+
2+
# Created by https://www.gitignore.io/api/visualstudio
3+
4+
### VisualStudio ###
5+
## Ignore Visual Studio temporary files, build results, and
6+
## files generated by popular Visual Studio add-ons.
7+
##
8+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
9+
10+
# User-specific files
11+
*.suo
12+
*.user
13+
*.userosscache
14+
*.sln.docstates
15+
*.vcxproj.filters
16+
17+
# User-specific files (MonoDevelop/Xamarin Studio)
18+
*.userprefs
19+
20+
# Build results
21+
[Dd]ebug/
22+
[Dd]ebugPublic/
23+
[Rr]elease/
24+
[Rr]eleases/
25+
x64/
26+
x86/
27+
bld/
28+
[Bb]in/
29+
[Oo]bj/
30+
[Ll]og/
31+
32+
# Visual Studio 2015 cache/options directory
33+
.vs/
34+
# Uncomment if you have tasks that create the project's static files in wwwroot
35+
#wwwroot/
36+
37+
# MSTest test Results
38+
[Tt]est[Rr]esult*/
39+
[Bb]uild[Ll]og.*
40+
41+
# NUNIT
42+
*.VisualState.xml
43+
TestResult.xml
44+
45+
# Build Results of an ATL Project
46+
[Dd]ebugPS/
47+
[Rr]eleasePS/
48+
dlldata.c
49+
50+
# .NET Core
51+
project.lock.json
52+
project.fragment.lock.json
53+
artifacts/
54+
**/Properties/launchSettings.json
55+
56+
*_i.c
57+
*_p.c
58+
*_i.h
59+
*.ilk
60+
*.meta
61+
*.obj
62+
*.pch
63+
*.pdb
64+
*.pgc
65+
*.pgd
66+
*.rsp
67+
*.sbr
68+
*.tlb
69+
*.tli
70+
*.tlh
71+
*.tmp
72+
*.tmp_proj
73+
*.log
74+
*.vspscc
75+
*.vssscc
76+
.builds
77+
*.pidb
78+
*.svclog
79+
*.scc
80+
81+
# Chutzpah Test files
82+
_Chutzpah*
83+
84+
# Visual C++ cache files
85+
ipch/
86+
*.aps
87+
*.ncb
88+
*.opendb
89+
*.opensdf
90+
*.sdf
91+
*.cachefile
92+
*.VC.db
93+
*.VC.VC.opendb
94+
95+
# Visual Studio profiler
96+
*.psess
97+
*.vsp
98+
*.vspx
99+
*.sap
100+
101+
# TFS 2012 Local Workspace
102+
$tf/
103+
104+
# Guidance Automation Toolkit
105+
*.gpState
106+
107+
# ReSharper is a .NET coding add-in
108+
_ReSharper*/
109+
*.[Rr]e[Ss]harper
110+
*.DotSettings.user
111+
112+
# JustCode is a .NET coding add-in
113+
.JustCode
114+
115+
# TeamCity is a build add-in
116+
_TeamCity*
117+
118+
# DotCover is a Code Coverage Tool
119+
*.dotCover
120+
121+
# Visual Studio code coverage results
122+
*.coverage
123+
*.coveragexml
124+
125+
# NCrunch
126+
_NCrunch_*
127+
.*crunch*.local.xml
128+
nCrunchTemp_*
129+
130+
# MightyMoose
131+
*.mm.*
132+
AutoTest.Net/
133+
134+
# Web workbench (sass)
135+
.sass-cache/
136+
137+
# Installshield output folder
138+
[Ee]xpress/
139+
140+
# DocProject is a documentation generator add-in
141+
DocProject/buildhelp/
142+
DocProject/Help/*.HxT
143+
DocProject/Help/*.HxC
144+
DocProject/Help/*.hhc
145+
DocProject/Help/*.hhk
146+
DocProject/Help/*.hhp
147+
DocProject/Help/Html2
148+
DocProject/Help/html
149+
150+
# Click-Once directory
151+
publish/
152+
153+
# Publish Web Output
154+
*.[Pp]ublish.xml
155+
*.azurePubxml
156+
# TODO: Comment the next line if you want to checkin your web deploy settings
157+
# but database connection strings (with potential passwords) will be unencrypted
158+
*.pubxml
159+
*.publishproj
160+
161+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
162+
# checkin your Azure Web App publish settings, but sensitive information contained
163+
# in these scripts will be unencrypted
164+
PublishScripts/
165+
166+
# NuGet Packages
167+
*.nupkg
168+
# The packages folder can be ignored because of Package Restore
169+
**/packages/*
170+
# except build/, which is used as an MSBuild target.
171+
!**/packages/build/
172+
# Uncomment if necessary however generally it will be regenerated when needed
173+
#!**/packages/repositories.config
174+
# NuGet v3's project.json files produces more ignoreable files
175+
*.nuget.props
176+
*.nuget.targets
177+
178+
# Microsoft Azure Build Output
179+
csx/
180+
*.build.csdef
181+
182+
# Microsoft Azure Emulator
183+
ecf/
184+
rcf/
185+
186+
# Windows Store app package directories and files
187+
AppPackages/
188+
BundleArtifacts/
189+
Package.StoreAssociation.xml
190+
_pkginfo.txt
191+
192+
# Visual Studio cache files
193+
# files ending in .cache can be ignored
194+
*.[Cc]ache
195+
# but keep track of directories ending in .cache
196+
!*.[Cc]ache/
197+
198+
# Others
199+
ClientBin/
200+
~$*
201+
*~
202+
*.dbmdl
203+
*.dbproj.schemaview
204+
*.jfm
205+
*.pfx
206+
*.publishsettings
207+
node_modules/
208+
orleans.codegen.cs
209+
210+
# Since there are multiple workflows, uncomment next line to ignore bower_components
211+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
212+
#bower_components/
213+
214+
# RIA/Silverlight projects
215+
Generated_Code/
216+
217+
# Backup & report files from converting an old project file
218+
# to a newer Visual Studio version. Backup files are not needed,
219+
# because we have git ;-)
220+
_UpgradeReport_Files/
221+
Backup*/
222+
UpgradeLog*.XML
223+
UpgradeLog*.htm
224+
225+
# SQL Server files
226+
*.mdf
227+
*.ldf
228+
229+
# Business Intelligence projects
230+
*.rdl.data
231+
*.bim.layout
232+
*.bim_*.settings
233+
234+
# Microsoft Fakes
235+
FakesAssemblies/
236+
237+
# GhostDoc plugin setting file
238+
*.GhostDoc.xml
239+
240+
# Node.js Tools for Visual Studio
241+
.ntvs_analysis.dat
242+
243+
# Visual Studio 6 build log
244+
*.plg
245+
246+
# Visual Studio 6 workspace options file
247+
*.opt
248+
249+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
250+
*.vbw
251+
252+
# Visual Studio LightSwitch build output
253+
**/*.HTMLClient/GeneratedArtifacts
254+
**/*.DesktopClient/GeneratedArtifacts
255+
**/*.DesktopClient/ModelManifest.xml
256+
**/*.Server/GeneratedArtifacts
257+
**/*.Server/ModelManifest.xml
258+
_Pvt_Extensions
259+
260+
# Paket dependency manager
261+
.paket/paket.exe
262+
paket-files/
263+
264+
# FAKE - F# Make
265+
.fake/
266+
267+
# JetBrains Rider
268+
.idea/
269+
*.sln.iml
270+
271+
# CodeRush
272+
.cr/
273+
274+
# Python Tools for Visual Studio (PTVS)
275+
__pycache__/
276+
*.pyc
277+
278+
# Cake - Uncomment if you are using it
279+
# tools/
280+
281+
### VisualStudio Patch ###
282+
build/
283+
**/_build/**

Intel-Media-SDK-Tutorials-EULA.pdf

144 KB
Binary file not shown.

Makefile

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
EXAMPLEDIRS = \
2+
simple_1_session \
3+
simple_2_decode \
4+
simple_2_decode_vmem \
5+
simple_3_encode \
6+
simple_3_encode_vmem \
7+
simple_3_encode_vmem_async \
8+
simple_4_vpp_resize_denoise \
9+
simple_4_vpp_resize_denoise_vmem \
10+
simple_5_transcode \
11+
simple_5_transcode_opaque \
12+
simple_5_transcode_opaque_async \
13+
simple_5_transcode_opaque_async_vppresize \
14+
simple_5_transcode_vmem \
15+
simple_6_decode_vpp_postproc \
16+
simple_6_encode_vmem_lowlatency \
17+
simple_6_encode_vmem_vpp_preproc \
18+
simple_6_transcode_opaque_lowlatency
19+
20+
all:
21+
@for dir in $(EXAMPLEDIRS); do \
22+
echo $$dir; \
23+
(cd $$dir; make); \
24+
done
25+
26+
.PHONY: clean
27+
clean:
28+
@for dir in $(EXAMPLEDIRS); do \
29+
echo $$dir; \
30+
(cd $$dir; make clean); \
31+
done

MultiProcessCompilation.props

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ImportGroup Label="PropertySheets" />
4+
<PropertyGroup Label="UserMacros" />
5+
<PropertyGroup />
6+
<ItemDefinitionGroup>
7+
<ClCompile>
8+
<MultiProcessorCompilation>true</MultiProcessorCompilation>
9+
<AdditionalOptions>/std:c++14 %(AdditionalOptions)</AdditionalOptions>
10+
</ClCompile>
11+
</ItemDefinitionGroup>
12+
<ItemGroup />
13+
</Project>

common/bits/linux_defs.h

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/*****************************************************************************
2+
3+
INTEL CORPORATION PROPRIETARY INFORMATION
4+
This software is supplied under the terms of a license agreement or
5+
nondisclosure agreement with Intel Corporation and may not be copied
6+
or disclosed except in accordance with the terms of that agreement.
7+
Copyright(c) 2005-2014 Intel Corporation. All Rights Reserved.
8+
9+
*****************************************************************************/
10+
11+
#include <stdio.h>
12+
#include <string.h>
13+
#include <time.h>
14+
#include <unistd.h>
15+
16+
#define MSDK_FOPEN(FH, FN, M) { FH=fopen(FN,M); }
17+
#define MSDK_SLEEP(X) { usleep(1000*(X)); }
18+
19+
typedef timespec mfxTime;

common/bits/windows_defs.h

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*****************************************************************************
2+
3+
INTEL CORPORATION PROPRIETARY INFORMATION
4+
This software is supplied under the terms of a license agreement or
5+
nondisclosure agreement with Intel Corporation and may not be copied
6+
or disclosed except in accordance with the terms of that agreement.
7+
Copyright(c) 2005-2014 Intel Corporation. All Rights Reserved.
8+
9+
*****************************************************************************/
10+
11+
#include <windows.h>
12+
13+
#define MSDK_FOPEN(FH, FN, M) { fopen_s(&FH, FN, M); }
14+
#define MSDK_SLEEP(X) { Sleep(X); }
15+
16+
typedef LARGE_INTEGER mfxTime;

0 commit comments

Comments
 (0)