Vladimir Dudnik
57bff43aec
fixed not initialized nv12_cpu_copy surface, remove odd code
9 years ago
Alexander Alekhin
fe0a17e78f
fix build with Win7 SDK
9 years ago
Vladimir Dudnik
6bd01a96d9
finished with NV12 support for D3D11-interop. Now, if texture is in NV12 format then it will be converted to/from BGR UMat.
9 years ago
Vladimir Dudnik
d4774ead43
d3d11-nv12 interop
...
fixed issues with ocl nv12 cvt kernel
finisged ocl nv12-to-rgba kernel, update dx-interop samples. (ocl rgba-to-nv12 kernel will be added later)
an attempt to fix build issue
fix for non opencl build issue
fix typo
fix compilation warnings
fix compile issue for Mac (OpenCL)
add convertion from rgba to nv12 (still need to debug kernel)
remove empty line at the EOF
fixed compilation warning
9 years ago
Vladimir Dudnik
6c452addfe
changed output from fps to time (in msec). Notes for dx10 and dx11: the first measure is wrong (zero), the followiing are correct; measured time includes output text to surface.
9 years ago
Vladimir Dudnik
dee05f982b
compute fps changed (now only interop counts). fixed d3d10 and d3d11 print info method (there were issues with texture mapping)
9 years ago
Vladimir Dudnik
38723b0339
simplified sample's interface (remove odd "no processing" branch, add print to screen for processing mode)
9 years ago
Vladimir Dudnik
c64a15294d
short description moved to the beginning of file
10 years ago
Vladimir Dudnik
892684ebe5
add short description
10 years ago
Vladimir Dudnik
af806bc816
replaced macros with template func
10 years ago
Vladimir Dudnik
f0197006e0
removed original samples and replace them with new ones. modified new samples (reduce code duplication, add cmd line params and short description)
10 years ago
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
10 years ago
Alexander Alekhin
11b9d5bf4d
core: added DirectX interop implementation (OpenCL) with samples
11 years ago