Compare commits

..

4000 Commits
2.3.0 ... 2.4.3

Author SHA1 Message Date
Evgeny Talanin
6484732509 Updated docs to 2.4.3 2012-11-02 17:29:49 +04:00
Andrey Kamaev
54f96f045e Merge pull request #134 from apavlenko/android-tutorial 2012-11-02 17:02:40 +04:00
Andrey Kamaev
4224a64264 Merge pull request #133 from vpisarev/ios_atomic_fix 2012-11-02 17:01:51 +04:00
Andrey Pavlenko
65c6b81cbc Android Tutorial update (TADP link, Android SDK platforms, CDT) 2012-11-02 16:11:08 +04:00
Vadim Pisarevsky
9a08b7be45 fixed compile problem with the old Xcode (<4.5) 2012-11-02 15:29:16 +04:00
Andrey Kamaev
f2af0e7a57 Merge pull request #132 from taka-no-me/version-2.4.3 2012-11-02 14:31:30 +04:00
Andrey Kamaev
4ac5223afa Merge pull request #131 from taka-no-me/tegra-fast 2012-11-02 14:31:02 +04:00
Andrey Kamaev
828faf4e68 Merge pull request #129 from cuda-geek/CCL-test-fix 2012-11-02 14:30:20 +04:00
Andrey Kamaev
63ee26adda Merge pull request #127 from cuda-geek/apple2clang 2012-11-02 14:29:39 +04:00
Andrey Kamaev
4a2f626d85 Remove "-rc" suffix from version 2012-11-02 14:27:34 +04:00
Andrey Kamaev
dbb5a32453 Use Tegra version of cv::FAST 2012-11-02 13:16:16 +04:00
Vadim Pisarevsky
42471c082f possibly fixed compile errors in GPU module on Windows 2012-11-02 12:03:25 +04:00
marina.kolpakova
97cab339d2 fix Connected Components Labeling test crash 2012-11-01 23:59:01 +04:00
marina.kolpakova
a04ef08602 Merge pull request #122 from kirill-kornyakov:2.4-android-documentation-fixes 2012-11-01 22:30:06 +04:00
Kirill Kornyakov
2b7d65d078 Updated OpenCV4Android SDK tutorial 2012-11-01 22:28:46 +04:00
Kirill Kornyakov
61ed591728 Updated Introduction into Android Development tutorial 2012-11-01 22:28:46 +04:00
Kirill Kornyakov
1c77f0abfe Rewrote abs documentation without funcx, so now :ocv:funcx: is used only for operator() 2012-11-01 22:28:46 +04:00
Kirill Kornyakov
2efd9b6ad7 Fixed a couple of minor issues in Javadocs 2012-11-01 22:28:46 +04:00
Kirill Kornyakov
c5fb2de887 Updated link to OpenCV for Android page in README.android 2012-11-01 22:28:46 +04:00
marina.kolpakova
7a5b9a6b7f replase __APPLE__ marco with __clang__ 2012-11-01 19:34:05 +04:00
marina.kolpakova
5ce9965459 Merge pull request #125 from taka-no-me:perf_tests 2012-11-01 19:31:33 +04:00
marina.kolpakova
358fcbd5b6 Merge pull request #115 from asmorkalov:java_test_data_update 2012-11-01 19:29:18 +04:00
marina.kolpakova
09dec4e873 Merge pull request #124 from branch taka-no-me:vs8-vs9-tbb 2012-11-01 19:26:30 +04:00
marina.kolpakova
334f6344dd Merge pull request #120 from NikoKJ:ocl2.4.3 2012-11-01 19:16:22 +04:00
marina.kolpakova
9b92de9a88 Merge pull request #121 from branch asmorkalov:android_samples_fix 2012-11-01 19:11:53 +04:00
marina.kolpakova
57fc5e00f3 Merge pull request #126 from vpisarev:bug_fixes3 2012-11-01 19:01:27 +04:00
Vadim Pisarevsky
3d0c08816d another fix to make OpenCV more friendly for iOS developers. We now use libc++ instead of libstdc++ and clang instead of gcc to build opencv2.framework. 2012-11-01 18:15:48 +04:00
Andrey Kamaev
9a01532caa Merge pull request #123 from asmorkalov/manager_static_lib_info 2012-11-01 17:08:45 +04:00
Vadim Pisarevsky
d9d4e8df6f fixed bugs #2300 (Vector::dot) and #2467 (build with Xcode 4.5 with --stdlib=libc++) 2012-11-01 16:37:39 +04:00
Andrey Kamaev
e3be5f138a Fixed sanity checks in several performance tests 2012-11-01 16:29:30 +04:00
Alexander Smorkalov
34896529d5 Review comments applied. 2012-11-01 16:19:11 +04:00
Andrey Kamaev
fd4909360f Remove windows.h include from opencv2/core/internal.hpp to avoid conflicts with TBB library. 2012-11-01 12:44:10 +04:00
Andrey Kamaev
7267d518d5 Fix build in Visual Studio 2005 2012-11-01 12:42:51 +04:00
Alexander Smorkalov
fc085d9dbd info library for OpenCV added. 2012-10-31 20:48:37 +04:00
Alexander Smorkalov
a1a2cb0aeb OpenCV Samples testing problems fixed:
Memory leak in color-blob-detection sample fixed;
Default face size in face-detection is set to 20%;
Error handling improved;
Some possible mat leak fixed;
Manager verison and engine interface version incremented to fix incompatibilities;
Docs updated;
2012-10-31 17:24:50 +04:00
Andrey Kamaev
b5ecb1d32d Merge pull request #111 from taka-no-me/algorithm/addParam-short 2012-10-31 16:57:06 +04:00
Andrey Kamaev
74fe158f4b Merge pull request #117 from vpisarev/doc_updates 2012-10-31 16:56:04 +04:00
Andrey Kamaev
a1c96c4b3c Merge pull request #118 from asmorkalov/opencv_manager_cmake 2012-10-31 16:54:07 +04:00
Andrey Kamaev
3e10e057cb Merge pull request #110 from vpisarev/test_fixes2 2012-10-31 16:52:50 +04:00
Andrey Kamaev
f15e49041e Merge pull request #112 from taka-no-me/warnings 2012-10-31 16:51:35 +04:00
Vadim Pisarevsky
849a8c8d20 fixed many errors in warnings in rst docs; added ocl module description (by Niko Li) 2012-10-31 15:15:51 +04:00
NikoKJ
2045c85ad5 a minor bug fix for brute force 2012-10-31 16:01:56 +08:00
Alexander Smorkalov
da31e12fed CMake for OpenCV Manager updated;
Some repo normalization problems fixed;
Deprecated cmake keys removed;
Warning fixed.
2012-10-31 11:47:27 +04:00
Vadim Pisarevsky
adc1d94e95 updated patch for tests; reenabled SURF & Denoising; removed fixes in ocl tests, since this is already fixed in another pull request 2012-10-30 15:25:46 +04:00
Andrey Kamaev
78fd99abdb Merge rebased pull request #106 from albenoit/retina_devel 2012-10-30 15:07:35 +04:00
alexandre benoit
08ff5f92f4 minor updates for doc redirections and tutorial images size 2012-10-30 15:06:13 +04:00
alexandre benoit
f593616b84 minor update 2012-10-30 15:06:13 +04:00
alexandre benoit
e475010e14 updated first image sample 2012-10-30 15:06:13 +04:00
alexandre benoit
3fb90abb76 added retina code tutorial 2012-10-30 15:06:13 +04:00
alexandre benoit
f05f374fb5 updated tutorial, rapid spell check, retina parameters discussion added 2012-10-30 15:06:13 +04:00
alexandre benoit
3eb4e38735 updated tutorial, need spell check, validation, nicer images and a discussion on parameters 2012-10-30 15:06:13 +04:00
alexandre benoit
23bd673598 adding retina tutorial 2012-10-30 15:06:13 +04:00
alexandre benoit
cdc4679b3e introducing a tutorial for the retina model 2012-10-30 15:06:13 +04:00
Alexander
b0106ca25e Test data form features2d updated. 2012-10-30 15:05:09 +04:00
Andrey Kamaev
0be590d898 Merge pull request #109 from asmorkalov/2.4 2012-10-30 13:02:29 +04:00
Andrey Kamaev
f3a158c862 Merge pull request #102 from NikoKJ/ocl4_2.43 2012-10-30 13:01:57 +04:00
NikoKJ
9ccdd17376 eliminate all the warnings on win32 and win64
add a new function abssum
fix the bug of test and perf because someone remove non-free module from cmakelist.txt
2012-10-30 13:01:42 +04:00
Vadim Pisarevsky
63bd6f9adf fixed compile errors in ocl tests; disabled a few problematic tests 2012-10-29 23:37:18 +04:00
Alexander
d495daf1ed Memory leak of native OpenCV mats fixed. 2012-10-29 16:56:21 +04:00
Andrey Kamaev
ad982f4ed6 Turn off video IO perf tests on Android 2012-10-26 17:00:31 +04:00
Andrey Kamaev
fcad269e53 Specify sanity threshold for WarpPerspective perf test 2012-10-26 17:00:31 +04:00
Andrey Kamaev
84934f7bfc Fix SHORT data type support in Algorithm
* typo in Algorithm::addParam for 'short' data type which results in segmentation fault on ARM
  on attempt to set type property for FAST using setter inherited from Algorithm
* added short type support to read/write methods
* improved some error messages
2012-10-26 17:00:13 +04:00
Andrey Kamaev
d936f06297 Merge pull request #103 from asmorkalov/2.4 2012-10-26 14:40:18 +04:00
Alexander Smorkalov
83d8bc8c55 Tutorial 1 updated. Execution time camera switching implemented.
Some unification done to simplify camera switching.
2012-10-26 13:30:20 +04:00
Alexander Smorkalov
016b2cadb0 Issue 2473 Service connection leak in OpenCV Manager installation waiting fixed.
Some code refactoring done.
2012-10-26 13:30:20 +04:00
Alexander Smorkalov
9217095955 Issue 2472 Android samples crash on Camera.StartPreview on Android 4.1 fixed. 2012-10-26 13:30:20 +04:00
Andrey Kamaev
bbb2d27add Merge pull request #74 from taka-no-me/cl2cpp 2012-10-25 14:56:53 +04:00
Andrey Kamaev
63397e825c Cleanup CMakeLists.txt of ocl module 2012-10-25 14:55:37 +04:00
Andrey Kamaev
42414b5689 Merge pull request #92 from LeonidBeynenson/cv_algorithm_changes_2.4 2012-10-25 14:52:50 +04:00
Andrey Kamaev
2b0072d823 Suppress more warnings in gtest on OS X 2012-10-24 20:36:30 +04:00
Andrey Kamaev
673aa91bac Fix remaining windows build warnings 2012-10-24 20:27:20 +04:00
Evgeny Talanin
12747068b5 Updated docs to 2.4.3 rc 2012-10-24 17:28:17 +04:00
Andrey Kamaev
ca20228956 Merge pull request #95 from apavlenko/perf-test/warp 2012-10-24 15:39:53 +04:00
Andrey Kamaev
6c5922542e Merge pull request #97 from asmorkalov/2.4 2012-10-24 15:02:05 +04:00
Andrey Kamaev
734b0da014 Merge pull request #94 from vpisarev/test_fixes 2012-10-24 14:42:20 +04:00
Vadim Pisarevsky
ae10ecd264 fixed 2 test failures (test_DrawChessboardCorners & Core_Array.expressions) 2012-10-24 14:41:15 +04:00
Alexander Smorkalov
e7e14b20cd OpenCV Manager version ++. 2012-10-24 13:25:07 +04:00
Alexander Smorkalov
293063eed3 Code normalization problems fixed.
Rair hangs on library installation fixed.
2012-10-24 12:47:43 +04:00
Alexander Smorkalov
680fba7e0d Repo normalization problems fixed. 2012-10-24 12:46:36 +04:00
Alexander Smorkalov
4f0f6686d1 Undefind behavior in Async Service Helper fixed. 2012-10-24 12:28:31 +04:00
Andrey Pavlenko
a94e80bea3 fixing typos in perf tests for warp funcs 2012-10-24 11:21:58 +04:00
Alexander Smorkalov
76bcf72ded 2.4.3 version support added to OpenCV Manager. Docs updated. Samples updated. 2012-10-24 09:51:01 +04:00
LeonidBeynenson
d6aa3bd8ed Made changes in cv::Algorithm
made it to give more verbose errors when arguments of wrong types are passed, added setters with types (e.g. setInt, etc)
2012-10-23 21:37:27 +04:00
Andrey Kamaev
080b9bbcd3 Merge pull request #80 from apavlenko/android-samples-refactor 2012-10-23 20:53:59 +04:00
Andrey Kamaev
b88323afc3 Merge pull request #91 from taka-no-me/warnings/windows 2012-10-23 20:52:42 +04:00
Andrey Kamaev
9b149edde6 Merge pull request #90 from taka-no-me/version_2.4.3-rc 2012-10-23 20:36:51 +04:00
Alexander Smorkalov
c1d42664bc Refactring. Bug fix. 2012-10-23 20:06:58 +04:00
Alexander Smorkalov
a942747046 Code review coments fixed. Lint wornings fixed. 2012-10-23 20:06:58 +04:00
Alexander Smorkalov
4c06d0834e camera-preview sample removed from CMakeLists.txt 2012-10-23 20:06:58 +04:00
Alexander Smorkalov
84856fa2c1 CMakeLists.txt rescued. Androidmanifest unified. 2012-10-23 20:06:58 +04:00
Alexander Smorkalov
a5ee07d340 Image manipulations sample ported on new framework. 2012-10-23 20:06:58 +04:00
Alexander Smorkalov
898320a0f6 Code clean up. 2012-10-23 20:06:58 +04:00
Alexander Smorkalov
c64ee44c9e Color blob detection sample ported on new framework. 2012-10-23 20:06:33 +04:00
Alexander Smorkalov
2fd8b51a26 Face detection sample ported on new framework. 2012-10-23 20:06:33 +04:00
Alexander Smorkalov
d9ea16ce57 Tutorial1 ported on new framework. 2012-10-23 20:06:33 +04:00
Alexander Smorkalov
873f47654a Tutorial2 ported on new framework. 2012-10-23 20:06:33 +04:00
Alexander Smorkalov
31763bdcf0 Tutorial3 ported on new framework. 2012-10-23 20:06:33 +04:00
Alexander Smorkalov
50500e5923 Tutorial4 ported on new sample framework. 2012-10-23 20:06:33 +04:00
Alexander Smorkalov
641ee645ab New sample framework integrated to Java part of SDK;
Frame format setter added to both views.
2012-10-23 20:06:33 +04:00
Alexander Smorkalov
9029acf6f0 openCV application framework moved to modules/java/... folder. Now it is part of OpenCV SDK. 2012-10-23 20:06:33 +04:00
Alexander Smorkalov
68ab3d5be6 Processing thread added to Java camera view. 2012-10-23 20:06:32 +04:00
Alexander Smorkalov
8393fd0c9d Auto focus added;
Old Android support added;
Android 4.1.x fixes added;
Thead sync added;
Camera errors handling added.
2012-10-23 20:06:32 +04:00
Alexander Smorkalov
f8bcff8ff3 Device rotation support added;
Nexus 7 support added.
2012-10-23 20:05:16 +04:00
Alexander Smorkalov
09901fae2b OnResume/OnPause handlers added to start/stop camera.
OpenCV initialization moved to onResume event to support package installation waiting.
2012-10-23 20:05:16 +04:00
Alexander Smorkalov
cc3430dbcc Naming fixed;
Warnings fixed;
Nexus 7 support added to manifest.
2012-10-23 20:04:09 +04:00
Konstantin Bezruk
cd152c3a03 Puzzle15 implementation with use of the OpenCV surface framework 2012-10-23 20:02:46 +04:00
Alexander Smorkalov
5f1339b319 Menu and style removed from sample. 2012-10-23 20:02:46 +04:00
Andrey Pavlenko
a32004f90c adding initial version of a sample with new Camera-View handling design 2012-10-23 20:01:23 +04:00
Andrey Kamaev
1a500813f6 Remove dead blobtrackingkalman.cpp 2012-10-23 18:20:07 +04:00
Andrey Kamaev
ac96bb357c Suppress more warnings in libtiff 2012-10-23 18:20:07 +04:00
Andrey Kamaev
9751014067 Fix warnings from MSVC 10 64-bit 2012-10-23 18:20:07 +04:00
Andrey Kamaev
afc79e2a02 Fix warnings from MSVC 9 64-bit 2012-10-23 18:20:07 +04:00
Andrey Kamaev
0072078857 Hide non-windows variable in gtest 2012-10-23 18:09:49 +04:00
Andrey Kamaev
1d8729a7aa Don't use _interlockedExchangeAdd in case of GNU compiler 2012-10-23 18:09:49 +04:00
Andrey Kamaev
15b7b01243 Merge pull request #86 from taka-no-me/test/python_kmeans 2012-10-23 18:03:52 +04:00
Andrey Kamaev
6f08d03322 Advance version number to 2.4.3-rc 2012-10-23 17:59:59 +04:00
Andrey Kamaev
08e4298a96 Merge pull request #84 from Daniil-Osokin/perfTest-warpPerspective 2012-10-23 17:35:05 +04:00
Andrey Kamaev
cd320565dd Merge pull request #82 from taka-no-me/perf/fix_failures 2012-10-23 16:22:16 +04:00
Andrey Kamaev
2d6ff8e946 Merge pull request #88 from taka-no-me/build_ubuntu_x86_o2 2012-10-23 16:20:56 +04:00
Daniil Osokin
e9ba5c225d extended perf test warpPerspectiveLarge 2012-10-23 16:06:03 +04:00
Andrey Kamaev
ed00642600 Force build with -O2 instead of -O3 on 32-bit linux 2012-10-23 15:52:11 +04:00
Andrey Kamaev
e64bb3654a Remove wrong assertion 2012-10-23 15:28:44 +04:00
Andrey Kamaev
585f3bc391 Disable perf test for unstable solvePnPRansac 2012-10-23 12:13:39 +04:00
Andrey Kamaev
b45a870d9a Limit 32S data in perf test for addWeighted to avoid integer overflow 2012-10-23 12:07:32 +04:00
Andrey Kamaev
c13eb07d47 Fix argument parsing for old command line parser 2012-10-23 12:07:01 +04:00
Andrey Kamaev
22e352d9cc Merge pull request #76 vpisarev/test_fixes_1 2012-10-22 21:13:26 +04:00
Vadim Pisarevsky
fbe0d6963c disabled several tests on Mac when no FFMPEG is used; disabled automatic table initialization in imgwarp in the case of MinGW 2012-10-22 21:13:26 +04:00
Andrey Kamaev
781d89829f Merge pull request #79 from taka-no-me:warnings 2012-10-22 20:56:53 +04:00
Andrey Kamaev
2e91405833 Fix OS X build warnings 2012-10-22 20:33:14 +04:00
Andrey Kamaev
40030d2ca0 Fix windows build warnings 2012-10-22 19:13:18 +04:00
Andrey Kamaev
15076f9232 Fix implementation of PCA overload with retained variance parameter 2012-10-22 18:46:20 +04:00
Andrey Kamaev
d0ec65e80c Fix linux build warning 2012-10-22 18:38:22 +04:00
Andrey Kamaev
bfa466dcbd Merge pull request #75 form taka-no-me:comments/2463 2012-10-22 18:31:20 +04:00
Andrey Kamaev
9900f8deb2 Remove russian comments 2012-10-22 17:24:43 +04:00
Andrey Kamaev
ecb707ca7b Convert cl2cpp.py script to cmake
New version removes inner comments and empty lines
2012-10-22 17:19:55 +04:00
Andrey Kamaev
769f61f8c7 Merge pull request #55 from vpisarev/ocl_fixes 2012-10-22 16:40:18 +04:00
Andrey Kamaev
d1d6ce63fc Merge pull request #48 from kazuki-ma/2430_ostream_24 2012-10-22 16:27:10 +04:00
Vadim Pisarevsky
eea6fe8e7f Merge pull request #71 from NikoKJ/ocl4_2.4.3
This patch is for the ocl module of 2.4.3

(tested on Mac (OSX 10.8, Xcode 4.5, OpenCL 1.1(?))
2012-10-22 04:57:42 -07:00
Vadim Pisarevsky
1770ba1df7 Merge pull request #66 from alekcac/ios-armv7s
added support armv7s for iOS framework; tested on my computer (OSX 10.8, Xcode 4.5)
2012-10-22 04:07:07 -07:00
marina.kolpakova
8e2f729aa7 Merge remote-tracking branch 'cuda-geek/surf-with-mask-fix' into 2.4 2012-10-22 13:16:27 +04:00
Niko
5df77a841e remove redundant OPENCL_DIR flag
remove as much warnings as possible
use enum instead of MACRO for ocl.hpp
add command line parser in accuracy test and perf test
some bug fix for arthim functions
2012-10-22 15:14:22 +08:00
marina.kolpakova
b14f447cc6 fix GPU SURF tests for masked case 2012-10-21 11:40:08 +04:00
marina.kolpakova
99c666691e Restore core multiply/divide depth to CV_64F value.
After setting depth to CV_32F for non double types this produces difference in results. I've attached test that reproduce this issue.The issue was found during anali broken GPU tests  for multiply/device functions.
2012-10-21 11:20:39 +04:00
Kazuki MATSUDA
72c93dabd3 Add stream operators (Requested #2430)
Add output stream operators (<<) for Rect, Size, Matx, Vec.
I can't add operations for cv::KeyPoint.

And putting together all operator<<.
(Matx, Point_, Point3_, Vec, Size_, Rect_)
2012-10-20 11:19:42 +09:00
Andrey Kamaev
b6a2717c2b Merge pull request #65 from taka-no-me:android/warnings 2012-10-19 20:49:19 +04:00
Andrey Kamaev
59452dfc6f Merge pull request #64 from vpisarev/bugs_1939_2100 2012-10-19 20:47:58 +04:00
Vadim Pisarevsky
40a30b6f30 fixed type "compatible -> incompatible" in the error message 2012-10-19 20:47:58 +04:00
Vadim Pisarevsky
d652cc72f2 fixed bugs #2100 (kind of) and #1393
[edit: cleaned whitespace]
2012-10-19 20:47:57 +04:00
Alexander Shishkov
2dba13f7d4 added support armv7s for iOS framework
for supporting with iOS 6 devices
2012-10-19 19:36:20 +04:00
Andrey Kamaev
8fb6d9f650 Fix Android build warnings 2012-10-19 16:14:14 +04:00
Andrey Kamaev
546ec2af65 Merge pull request #54 from taka-no-me:doc/fix-signatures 2012-10-19 15:02:30 +04:00
Andrey Kamaev
09abcd567e Merge pull request #50 from taka-no-me:parallel/fix-build-2445 2012-10-19 14:57:08 +04:00
Andrey Kamaev
7173c82382 Include unistd.h to parallel.cpp on UNIX-like systems
This fixes build without TBB and CUDA. Issue #2445
2012-10-19 14:38:30 +04:00
marina.kolpakova
ec8fb32336 Merge pull request #63 from jet47/gpu-sep-filters 2012-10-19 13:08:44 +04:00
Vladislav Vinogradov
34b4a35ea7 gpu separable filters for CV_8UC3, CV_32FC3 and CV_32FC4 types 2012-10-19 12:41:14 +04:00
Andrey Kamaev
9a97c74ef3 Merge pull request #61 from vpisarev/bug_2509 2012-10-19 11:17:25 +04:00
Andrey Kamaev
49397f7946 Merge pull request #60 from kirill-kornyakov/documentation-link-to-answers2 2012-10-19 11:00:10 +04:00
Andrey Kamaev
1341c64290 Merge pull request #51 from taka-no-me/java/fix-build-after-normalization 2012-10-19 10:27:16 +04:00
Andrey Kamaev
65d07c56fb Merge pull request #57 from vpisarev/bug_2429_2.4 2012-10-18 19:42:14 +04:00
Andrey Kamaev
e1c3ffb23f Fix weight calculation for the last pixel in generic area resize.
Also removed assigned only variable.
2012-10-18 19:41:45 +04:00
Vadim Pisarevsky
80f9bd864f fixed bug #2429
[edit: cleaned whitespace]
2012-10-18 19:39:22 +04:00
Vadim Pisarevsky
c40718ab61 fixed bug #2059 2012-10-18 14:41:26 +04:00
Kirill Kornyakov
908f25bc43 changed link to Q&A forum in the docs 2012-10-18 14:25:34 +04:00
Andrey Kamaev
634fedc3cb Merge pull request #56 from vpisarev/bug_2447_2.4 2012-10-18 13:28:01 +04:00
Vadim Pisarevsky
f5742e6cac fix bug #2447 - unary operator bug for single column matrix 2012-10-18 13:28:01 +04:00
Andrey Kamaev
461b69f6ee Eliminate discrepancies between signatures in documentation and OpenCV headers
All errors were found by doc/check_docs2.py
2012-10-17 21:24:55 +04:00
Andrey Kamaev
57d077b936 Fix Java API generation after normalization
The rst_parser.py was unintentionally corrupted by normalization.
This fix repairs the script and fixes Java API generation.
2012-10-17 18:20:46 +04:00
OpenCV Buildbot
04384a71e4 Normalize line endings and whitespace 2012-10-17 15:32:23 +04:00
vpisarev
f75946a16a made opencv_ocl module build with VS2012 2012-10-17 15:08:03 +04:00
Andrey Kamaev
69020da607 Merge branch 'release2.4.3' into 2.4 2012-10-17 02:17:08 +04:00
Andrey Kamaev
f4e33ea0ba Fix build of samples 2012-10-17 02:09:46 +04:00
Andrey Kamaev
7225f89ea2 Revert opencv_videostab to the state of 2.4.2 2012-10-17 02:09:43 +04:00
marina.kolpakova
e5437e5486 Fix binary compatibility of opencv_gpu 2012-10-17 02:09:40 +04:00
Andrey Kamaev
ed51162568 Fix binary compatibility of Java wrappers 2012-10-17 02:09:37 +04:00
Andrey Kamaev
42c8a42ad3 Fix binary compatibility of opencv_objdetect 2012-10-17 02:09:34 +04:00
Andrey Kamaev
a07cc84436 Fix binary compatibility of opencv_nonfree 2012-10-17 02:09:31 +04:00
Andrey Kamaev
26bcb3812c Fix binary compatibility of opencv_contrib 2012-10-17 02:09:28 +04:00
Andrey Kamaev
971d02cde6 Fix binary compatibility of opencv_stitching 2012-10-17 02:09:26 +04:00
Andrey Kamaev
edee177ef1 Fix binary compatibility of opencv_ml 2012-10-17 02:09:23 +04:00
Andrey Kamaev
7d6a2f1bca Revert "skip of table header in MLData (#1962)"
This reverts commit 4d36be8794.

Conflicts:
	modules/ml/include/opencv2/ml/ml.hpp
	modules/ml/src/data.cpp
2012-10-17 02:09:20 +04:00
Andrey Kamaev
0dc3d61071 Revert "yet another portion of changes towards the binary compatibility"
This reverts commit 618fbf5508.
2012-10-17 02:09:17 +04:00
Andrey Kamaev
5a730d09cd Fix binary compatibility of opencv_features2d 2012-10-17 02:09:14 +04:00
Andrey Kamaev
88e9a072ec Fix binary compatibility of opencv_flann 2012-10-16 15:13:00 +04:00
Andrey Kamaev
64b56d7018 Revert "remaining C-style planar subdivisions data structures are moved to legacy"
This reverts commit 4aaaef5967.

Conflicts:
    modules/imgproc/include/opencv2/imgproc/types_c.h
    modules/legacy/include/opencv2/legacy/legacy.hpp
2012-10-16 15:13:00 +04:00
Andrey Kamaev
ebac3a02aa Fix backward compatibility of opencv_core 2012-10-16 15:13:00 +04:00
Andrey Kamaev
d566c6bc86 Revert "add new version of CommandLineParser. add empty docs"
This reverts commit 54a202b3d5.

Conflicts:
	modules/core/doc/command_line_parser.rst
	modules/core/include/opencv2/core/core.hpp
	modules/core/src/cmdparser.cpp
	modules/gpu/perf/main.cpp
	modules/gpu/test/main.cpp
	modules/ts/src/ts_perf.cpp
2012-10-15 20:01:44 +04:00
Andrey Kamaev
52e490ef88 Revert "fixed compile error under linux"
This reverts commit e2d9fc4dcc.
2012-10-15 20:01:44 +04:00
Andrey Kamaev
58f31819cc Return drawContours back to imgproc
This partly reverts commit 6ca618277c.
2012-10-15 18:12:33 +04:00
Andrey Kamaev
dbd30d4fba Revert "fixing Java test and sample after moving drawContours() from Imgproc to Core"
This reverts commit eb4ce67dac.

Conflicts:
	samples/android/color-blob-detection/src/org/opencv/samples/colorblobdetect/ColorBlobDetectionView.java
2012-10-15 17:53:57 +04:00
Andrey Kamaev
a3b1971977 Bring back escaped virtual destructors from 2.4.2 2012-10-15 17:48:49 +04:00
Andrey Kamaev
3ffe0f0117 Remove unused tbb::task_scheduler_init from perf tests 2012-10-15 16:25:06 +04:00
Andrey Kamaev
c3881ede62 Refactor thread management in performance tests 2012-10-15 16:14:11 +04:00
Kirill Kornyakov
aedf56404e made imread description slightly better #2406 2012-10-15 15:23:38 +04:00
Vadim Pisarevsky
5b2271c6fb another fix for #2332 test 2012-10-15 14:12:32 +04:00
Vadim Pisarevsky
78a0b9787c fixed build errors on Mac; moved test for #2332 from imgproc to highgui 2012-10-15 13:55:32 +04:00
Andrey Kamaev
460644b8a4 Reimplement thread management functions:
* Refactor auto-detection of parallel frameworks
* Implement cv:getNumThreads, cv::setNumThreads and cv::getThreadNum for all supported frameworks
* From now cv::setNumThreads(0) can be used to turn off parallelisation
2012-10-15 12:44:16 +04:00
Andrey Kamaev
b54f59de90 Move thread-related functions implementation to parallel.cpp 2012-10-15 12:44:16 +04:00
Ilya Lavrenov
2cda65a782 fixed cvtColor (RGB <-> Lab) tests and created another one 2012-10-15 12:22:36 +04:00
Ilya Lavrenov
5f9aedbe01 fixed bug in cvtColor RGB(BGR) <-> Lab conversion 2012-10-15 12:21:16 +04:00
Anatoly Baksheev
f9ac5e2404 minor 2012-10-12 23:03:31 +04:00
KOLANICH
c1f2b1fcc4 replaced python build script with WSH one for windows platforms 2012-10-12 23:03:30 +04:00
Evgeny Talanin
cfe28e3b73 Added test inspired by #2332 2012-10-12 18:43:00 +04:00
Kirill Kornyakov
e770691522 deleted wrong line 2012-10-12 17:31:26 +04:00
Kirill Kornyakov
de98da42f7 commented wrong line 2012-10-12 17:30:23 +04:00
Kirill Kornyakov
84176fa027 Added perf test for warpPerpsective with large resolutions 2012-10-12 17:14:23 +04:00
Vadim Pisarevsky
fa368d6202 Merge remote-tracking branch 'origin/master' 2012-10-12 16:29:20 +04:00
Vadim Pisarevsky
5474b4d4bc finally, a proper fix for VNG (both SSE2 and C version) 2012-10-12 16:28:26 +04:00
marina.kolpakova
319e861cf2 FAIL_NO_CPU marco 2012-10-12 14:46:18 +04:00
marina.kolpakova
8d7ac8ad19 minor ending fix 2012-10-12 14:46:18 +04:00
marina.kolpakova
800cb9d0e6 allow gpu module write sanity data for GPU and CPU tests in one xml 2012-10-12 14:46:18 +04:00
Daniil Osokin
4500c48349 fixed 7 point mode in findFundamentalMat #1978 2012-10-12 14:38:52 +04:00
Evgeny Talanin
5dd1ec98f7 #720 patch apply 2012-10-12 14:25:36 +04:00
Vsevolod Glumov
b91ca6a73f Removed the phrase, that was causing all the confusion. Issue #2406.
+ Some minor formatting fixes.
2012-10-12 14:15:30 +04:00
Vadim Pisarevsky
7bbf8744d6 Merge remote-tracking branch 'origin/master' 2012-10-12 14:01:47 +04:00
Vadim Pisarevsky
cb58e5a3a4 let Kalman handle the missing measurements (bug #1380) 2012-10-12 14:01:36 +04:00
marina.kolpakova
296aa7c4fb One more fix for Kepler-specific gpu::integral usage 2012-10-12 13:45:09 +04:00
Daniil Osokin
1d3ec99102 fixed batchDistance minimum finding #2292 2012-10-12 13:25:55 +04:00
Andrey Kamaev
2abb67cc92 Merge pull request #29 from thorikawa/feature-523 2012-10-12 13:16:17 +04:00
Evgeny Talanin
2e7656dbdf #2192 patch apply 2012-10-12 13:03:43 +04:00
Andrey Kamaev
83799d6bf4 Fix Mat indexing in TrackingMotion tutorial code (supersedes pull request #38) 2012-10-12 12:59:50 +04:00
Vladislav Vinogradov
304714862f fixed bug in gpu::HOGDescriptor::computeConfidenceMultiScale 2012-10-12 12:49:10 +04:00
Vladislav Vinogradov
8abcad6b00 fixed CUDA_FAST_MATH flag 2012-10-12 12:49:10 +04:00
Andrey Kamaev
a390c1e2e6 Merge pull request #40 from emchristiansen/manualBRISKFREAK 2012-10-12 12:31:11 +04:00
Eric Christiansen
594ce1c869 fixed indentation 2012-10-12 12:31:11 +04:00
Eric Christiansen
caebcdcb3d Minor tweak to add BRISK and FREAK support for the Java wrapper 2012-10-12 12:31:11 +04:00
Andrey Kamaev
a3a658c034 Quiet MSVC warning 2012-10-12 12:19:34 +04:00
Vadim Pisarevsky
bddd06e6c4 another fix for the updated parallel_for_ implementation 2012-10-11 23:22:32 +04:00
Vadim Pisarevsky
d64438dcfd fixed build errors in the case of TBB and Concurrency 2012-10-11 23:04:45 +04:00
Vadim Pisarevsky
8441cf700d added function cv::findNonZero (patch #2205) 2012-10-11 22:52:15 +04:00
Vadim Pisarevsky
d72cc06b96 fixed possibly inccorrect interval measurements in flann's timer (bug #1165). Note: this may break binary compatibility, but since the class is not wrapped in Java and not exposed in Windows API, for example (it's considered internal-use class for flann), the effect should be minimal 2012-10-11 22:40:37 +04:00
Vadim Pisarevsky
354a5f2686 added recommended number of stripes to parallel_for_, modified some of the functions to use larger stripes (for better performance) 2012-10-11 22:37:14 +04:00
Andrey Kamaev
821de96346 Adjust thresholds in sanity checks for batchDistance 2012-10-11 20:35:28 +04:00
Andrey Kamaev
b8a67dc0e3 Adjust thresholds in sanity checks for calcOpticalFlowPyrLK 2012-10-11 19:46:18 +04:00
Alexander Smorkalov
5a524bdfd7 Issue #1861 Improve Javadoc documentation fixed. Multiline code segments added to Javadoc. 2012-10-11 19:21:40 +04:00
Vsevolod Glumov
a2088d0c52 Replaced SVN instructions with Git ones for 'Installation in Windows' section (Issue #2249); Also, fixed both bugs from issue #2374 in the same section. 2012-10-11 18:37:00 +04:00
Andrey Kamaev
97640847c5 Add methods to sort keypoints and corresponding descriptors 2012-10-11 18:25:45 +04:00
Andrey Kamaev
18295bc778 Improve performance tests failures formatting 2012-10-11 17:41:02 +04:00
Andrey Kamaev
8f44f25f47 Fix AndroidManifest.xml generation for OpenCV Android library project (second attempt) 2012-10-11 17:09:57 +04:00
Vsevolod Glumov
a3080636ba Replaced SVN instructions with Git instructions in iOS and Linux installation tutorials. Issue #2249
+ Minor formatting fixes.
2012-10-11 16:44:53 +04:00
Andrey Kamaev
f41ab3a330 Merge pull request #34 from roynos/master 2012-10-11 16:31:20 +04:00
Alexander Smorkalov
0c70b45625 Clickable optin turned off. Text disapearing fixed. 2012-10-11 16:27:01 +04:00
Andrey Kamaev
c46affe63e android.toolchain.cmake: restore implicit link with math library for C++ objects
Ticket #2426
2012-10-11 16:10:01 +04:00
Andrey Kamaev
7cb525d63f Fix AndroidManifest.xml generation for OpenCV Android library project 2012-10-11 15:47:57 +04:00
Andrey Kamaev
dc4a649513 Fix OS X build 2012-10-11 15:36:47 +04:00
Andrey Kamaev
be98693aaf Enable parallel CvtColorLoop for all platforms 2012-10-11 15:05:43 +04:00
Andrey Kamaev
df94591336 Fix instability of Luv/Lab color conversions 2012-10-11 15:05:43 +04:00
Vadim Pisarevsky
7ee6040192 enable Matx as Mat elements (bug #1705). 2012-10-11 15:02:48 +04:00
Daniil Osokin
e435674a90 added perf test for gabor filter 2012-10-11 14:52:35 +04:00
Daniil Osokin
f1e025dc68 delete normalization in gabor kernel #1995 2012-10-11 14:40:15 +04:00
Alexander Smorkalov
eb189713ae Issue #2431 OpenCV Manager UI crashes at start fixed.
Data rase in OpenCV Manager connection fixed.
2012-10-11 14:39:42 +04:00
Evgeny Talanin
bd4620f04e #2408 patch apply (see pull request at https://github.com/Itseez/opencv/pull/33) 2012-10-11 14:38:25 +04:00
Vadim Pisarevsky
43e3b83832 fixed potential memory buffer corruption in StereoSGBM (patch #2203) 2012-10-11 14:07:07 +04:00
Evgeny Talanin
8528b0abcd #1941 fix 2012-10-11 13:45:21 +04:00
Vadim Pisarevsky
56d3cad326 enabled odd size in DFT_COMPLEX_OUTPUT test 2012-10-11 12:27:10 +04:00
niko
97156897b2 format files to ANSI C style with coolformat
change the download channels to oclchannles()
fix bugs of arithm functions
perf fix of bilateral
bug fix of split test case
add build_warps functions
2012-10-11 16:22:47 +08:00
Vsevolod Glumov
69fbc6102c Fixed an issue with 'how_to_scan_images.cpp' tutorial code. Issue #2259 2012-10-11 03:51:34 +04:00
Vsevolod Glumov
1f21b96b9d Fixed the formulas, based on issue #2145 2012-10-11 03:26:23 +04:00
Vadim Pisarevsky
37ad10bf0d fixed bug with partly uninitialized output of dft with DFT_COMPLEX_OUTPUT flag (bug #2223) 2012-10-11 00:53:43 +04:00
Vadim Pisarevsky
63c9412922 enable huge value range in highgui sliders on Windows (patch #941) 2012-10-10 23:05:15 +04:00
Anatoly Baksheev
1d68850cb2 Added CUDA fast math flag 2012-10-10 22:16:51 +04:00
Andrey Kamaev
354b77e2e1 Applied fix from bug #2324: ocv_list_unique makes for incorrect linking 2012-10-10 19:40:55 +04:00
Andrey Kamaev
d6a8753124 Remove second argument from VideoCapture_Reading perf test 2012-10-10 19:40:19 +04:00
Andrey Kamaev
d40083a926 Add concurrency test for solvePnPRansac 2012-10-10 18:23:11 +04:00
Andrey Kamaev
423837ddae Restore theRNG seed reset on test SetUp as it is still needed 2012-10-10 18:07:03 +04:00
Vadim Pisarevsky
0e314163e5 fixed INT64_C & UINT64_C definitions (patch #2033) 2012-10-10 17:27:32 +04:00
Oleg Sklyarov
2f4e8ee73e Merge branch 'master' of git://code.opencv.org/opencv 2012-10-10 17:05:29 +04:00
Oleg Sklyarov
3f61b9792b fixed bug #2407: run.py now understands android device names with spaces 2012-10-10 16:59:00 +04:00
Vladislav Vinogradov
a008d6fc17 fixed bug #2425 : Concurrent convolutions with streams 2012-10-10 16:55:16 +04:00
Vadim Pisarevsky
9368aa9f7b Merge remote-tracking branch 'origin/master' 2012-10-10 16:16:05 +04:00
Vadim Pisarevsky
e80cbbb101 fixed C= detection script 2012-10-10 16:15:27 +04:00
marina.kolpakova
b28acfc12e add GPU module specific command line arguments 2012-10-10 16:13:25 +04:00
marina.kolpakova
f88be98ec4 print information message about target device for GPU module tests 2012-10-10 16:13:25 +04:00
marina.kolpakova
715a0032e0 add sanity checks into the denoising gpu performance tests 2012-10-10 16:13:25 +04:00
marina.kolpakova
45190aea47 add sanity checks into the features2d gpu performance tests 2012-10-10 16:13:25 +04:00
marina.kolpakova
2243645d36 add sanity checks into the objdetect gpu performance tests 2012-10-10 16:13:25 +04:00
marina.kolpakova
3de2023c61 add sanity checks into the calib3d gpu performance tests 2012-10-10 16:13:25 +04:00
marina.kolpakova
dce323a67b add sanity checks into the video gpu performance tests 2012-10-10 16:13:25 +04:00
marina.kolpakova
d7ef6f078f temporarily disable HoughLines test 2012-10-10 16:13:25 +04:00
marina.kolpakova
3dbfde421c add sanity checks into the matop gpu performance tests 2012-10-10 16:13:25 +04:00
marina.kolpakova
2a277fb777 add sanity checks into the filters gpu performance tests 2012-10-10 16:13:25 +04:00
marina.kolpakova
1e344d7eba add sanity checks into the imgproc gpu performance tests 2012-10-10 16:13:24 +04:00
marina.kolpakova
e46e928429 add sanity checks in core gpu pefrormance tests 2012-10-10 16:13:24 +04:00
marina.kolpakova
f5d6367ea1 GPU module performance tests are aligned with other OpenCV pefrofmance tests 2012-10-10 16:13:24 +04:00
marina.kolpakova
10f1004465 move GPU utiluty functions in utility.cpp 2012-10-10 16:13:24 +04:00
marina.kolpakova
a9ab26f799 main.cpp moved to perf_main.cpp 2012-10-10 16:13:24 +04:00
Vladislav Vinogradov
ece77e3930 fixed cvtColor parameter in KeypointBasedMotionEstimatorGpu::estimate 2012-10-10 16:07:07 +04:00
Vadim Pisarevsky
e625d86485 added C= support; modified threading logic in threshold 2012-10-10 15:36:32 +04:00
Daniil Osokin
1516a6169a fixed one more msvc warning in tbb kmeans 2012-10-10 14:53:29 +04:00
Daniil Osokin
cc2d12b3e6 fixed msvc warning in tbb kmeans 2012-10-10 14:35:28 +04:00
Alexander Smorkalov
a91de25f10 Build fix after issue #2284 fix. 2012-10-10 14:27:17 +04:00
Alexander Smorkalov
9ad5fd709b Fixed Javadoc problems with ">" and "<" symbols. 2012-10-10 13:31:03 +04:00
Andrey Kamaev
006a4ba529 Fix gcc build error introduced in a9f36df 2012-10-10 13:24:49 +04:00
Andrey Kamaev
cabddaeb4f Revert "Issue #2035 Calling cv::namedWindow crashes on Android fixed."
This reverts commit 36135fc59d.
2012-10-10 13:24:49 +04:00
daniil.osokin
e83ff354bd added TBB for kmeans (patch #1261: thanks to Boris Mansencal) 2012-10-10 12:51:12 +04:00
daniil.osokin
a245161de6 added perf test for kmeans 2012-10-10 12:51:11 +04:00
Alexander Smorkalov
36135fc59d Issue #2035 Calling cv::namedWindow crashes on Android fixed.
Window-related functions is guarded from calls from application code.
Old implementations with "no-gui" exception are stell compiled and linked to OpenCV library for binary compatibility.
2012-10-10 12:40:36 +04:00
Alexander Smorkalov
306ed9801a Issue #2284 BaseLoaderCallback requires use of Activity fixed. 2012-10-10 11:44:01 +04:00
Andrey Kamaev
a9f36dfcfe Fix read after the end of local buffer in SSE-optimized TYPE_5_8 and TYPE_7_12 FAST cornerScore 2012-10-10 02:32:47 +04:00
Andrey Kamaev
56b27bcc7e Fix inconsistent argument type in HammingLUT distance (flann)
this fixes 64-bit MSVC warning
2012-10-10 00:31:22 +04:00
Vadim Pisarevsky
044d38a051 expanded cv::threshold parallelization to other threading frameworks; fixed potential bug with unprocessed bottom of the image; fixed build problem in stitching 2012-10-09 22:38:04 +04:00
Vadim Pisarevsky
e365726c4a fixed example of iteration through a SparseMat (bug #2310) 2012-10-09 22:16:57 +04:00
Vadim Pisarevsky
a09c88ab16 added Asus Xtion QVGA modes to the OpenNI backend (patch #1753) 2012-10-09 22:01:43 +04:00
Vadim Pisarevsky
89de0bebd8 Merge remote-tracking branch 'origin/master' 2012-10-09 21:52:56 +04:00
Vadim Pisarevsky
3243ad3483 applied patch #1473 (timestamp retrieval in OpenNI) 2012-10-09 21:52:41 +04:00
Andrey Kamaev
0afd51253d Add else branch to previous fix 2012-10-09 20:34:10 +04:00
Andrey Kamaev
34bfda10ca Fix regression in core arithmetic 2012-10-09 20:25:36 +04:00
Andrey Kamaev
8ebd04cbf9 Fix sanity checks in highgui module 2012-10-09 19:39:03 +04:00
Andrey Kamaev
4a53199e7a Quiet logs in stitching module 2012-10-09 19:28:15 +04:00
Andrey Kamaev
7cc67701a6 Add sanity checks to stitching perf tests 2012-10-09 19:17:58 +04:00
Andrey Kamaev
39d6eb7312 Add sanity check support for vector<DMatch> 2012-10-09 19:17:58 +04:00
Andrey Kamaev
d970a9159e Add sanity checks to nonfree module 2012-10-09 19:17:58 +04:00
Kirill Kornyakov
e8a173bcaf Merge branch 'master' of git://5.9.49.245/opencv 2012-10-09 18:57:02 +04:00
Kirill Kornyakov
9b8c47399a fixed compilation error because of DetectionBasedTracker 2012-10-09 18:55:20 +04:00
Andrey Kamaev
5047f2d64d Fix perf tests in features2d module 2012-10-09 18:41:27 +04:00
Andrey Kamaev
95b6a103b5 Add sanity checks support for vertor<KeyPoint> 2012-10-09 18:41:26 +04:00
Andrey Kamaev
5a5c477be6 Make performance tests for solvePnPRansec more determenistic 2012-10-09 18:41:26 +04:00
Andrey Kamaev
d4cf9e22cc Fix terrible perf test for FAST detector 2012-10-09 18:41:26 +04:00
Andrey Kamaev
b95923360d Add sanity checkes to video module perf tests 2012-10-09 18:41:26 +04:00
Alexander Smorkalov
9a76573172 Auto expand of OpenCV version for Android Library prject and some documentation pages added. 2012-10-09 18:30:58 +04:00
Alexander Smorkalov
705b4724cb ABI Compatibility config generator bug fix. 2012-10-09 18:30:58 +04:00
Vadim Pisarevsky
b0ad424087 fixed several warnings from VS2010 2012-10-09 17:24:37 +04:00
Vadim Pisarevsky
a135e862c1 made opencv headers windows.h-less (Bug #2122) 2012-10-09 17:12:42 +04:00
Vadim Pisarevsky
df8364ce63 Fixed "arr = NaN" case (bug #2056) 2012-10-09 16:28:31 +04:00
Vadim Pisarevsky
d54f4e1cfb added #undef True/False to avoid collision with X11 (Patch #1562) 2012-10-09 16:02:06 +04:00
Vadim Pisarevsky
a8c5e35619 some more fixes towards binary compatibility 2012-10-09 15:56:16 +04:00
Andrey Kamaev
e2ff0ed1fb Add sanity checks to objdetect module perf tests 2012-10-09 15:28:51 +04:00
Andrey Kamaev
c146c54bcd Fix sanity checks for empty objects 2012-10-09 15:28:51 +04:00
Andrey Kamaev
f8672d49a0 Add sanity checks to calib3d perf tests 2012-10-09 15:28:51 +04:00
Evgeny Talanin
7c71c8fa52 #2258 fix 2012-10-09 14:52:47 +04:00
Alexander Smorkalov
9ab19691d4 OpenCV Manager documentation updated.
Diagram rendering script updated.
2012-10-09 10:34:40 +04:00
Alexander Smorkalov
4b808b1199 RESTART_REQUIRED status removed from OpenCV Manager API;
OpenCV info library name fixed;
Minimum API level for OpenCV library project increased up to 3 for using message dialogs.
2012-10-09 10:34:40 +04:00
Anatoly Baksheev
408e0dcbd0 Fixed output log in GPU perf tests 2012-10-09 00:44:48 +04:00
Anatoly Baksheev
c9bcbda827 more compilation fixes 2012-10-09 00:12:28 +04:00
Anatoly Baksheev
91a1a71de2 fixed compilation under Ubuntu without CUDA 2012-10-08 22:44:11 +04:00
Vadim Pisarevsky
a310e2f027 fixed the case of scale != 1 in stereo_match.cpp (patch #1936) 2012-10-08 22:39:11 +04:00
Vadim Pisarevsky
a63669f819 fixed linking CLP in the case of MinGW (patch #1872) 2012-10-08 22:24:38 +04:00
Vadim Pisarevsky
ca6f2f080f hopefully, correctly applied modified patch #2034 that handles Windows case 2012-10-08 22:18:13 +04:00
Vadim Pisarevsky
4be8fd7253 Merge remote-tracking branch 'origin/master' 2012-10-08 22:00:40 +04:00
Vadim Pisarevsky
0bfa58b68d fixed detection of IPP 7.1 (patch #2413: thanks to Gino van den Bergen!) 2012-10-08 22:00:25 +04:00
Anatoly Baksheev
bc0d0c8f31 fixed compilation without CUDA 2012-10-08 21:49:40 +04:00
Andrey Kamaev
13bfcd643e Fix sanity checks in improc perf tests 2012-10-08 21:37:58 +04:00
Andrey Kamaev
a3ab6d147d Fix CV_ENUM macro instability 2012-10-08 21:37:58 +04:00
Vadim Pisarevsky
4be7619ce4 _InputArray/_OutputArray destructors are temporary made non-virtual. Please, restore it after 2.4.3 2012-10-08 21:37:15 +04:00
Vadim Pisarevsky
618fbf5508 yet another portion of changes towards the binary compatibility 2012-10-08 21:36:27 +04:00
Anatoly Baksheev
5b31c46c4f added MatCn enum to GPU perf tests 2012-10-08 19:57:20 +04:00
Anatoly Baksheev
9a4265a8d0 fast nlm (class version) 2012-10-08 19:57:20 +04:00
Anatoly Baksheev
4b5bbb7752 fast_nlm initial version 2012-10-08 19:57:19 +04:00
Andrey Kamaev
2446c9329f Remove bad perf test for cvRound 2012-10-08 18:40:41 +04:00
Andrey Kamaev
8c8ebd9ca6 Fix sanity checks for arithmetic tests on CV_32S data 2012-10-08 18:06:17 +04:00
Andrey Kamaev
6151a6ea0b Make SANITY_CHECK required for all performance tests 2012-10-08 17:17:42 +04:00
Vadim Pisarevsky
94b97b7a63 partially recovered binary compatibility (ticket #2415) 2012-10-08 17:06:05 +04:00
Andrey Kamaev
25a9b0a255 Fix depth calculation for Scalar in core arithmetic 2012-10-08 16:15:27 +04:00
Andrey Kamaev
c0f2a8e0cc Fix build without SSE 2012-10-08 16:08:16 +04:00
Alexander Smorkalov
febfdc9fa2 Wating for OpenCV library package installation added. 2012-10-08 14:37:59 +04:00
Alexander Smorkalov
11839e2cc9 Wating for OpenCV Manager installation added. 2012-10-08 14:37:59 +04:00
Alexander Smorkalov
601b87e3ed Java tests updated. Build fix. 2012-10-08 14:37:59 +04:00
Alexey Spizhevoy
cb705aad1a updated DP seaming to support 4 channel images 2012-10-08 14:29:10 +04:00
Vadim Pisarevsky
925d0cc769 added test for box filter 16u, fixed bug #2416 2012-10-08 14:11:39 +04:00
Ilya Lavrenov
280ecb68bf changed file path 2012-10-08 13:27:28 +04:00
Ilya Lavrenov
2759f026e9 fixed Bug #2074 2012-10-08 12:59:15 +04:00
cuda_geek
6b19c76233 fix hardcoded paths for static build OpenCV with CUDA 2012-10-08 10:52:58 +04:00
Andrey Kamaev
b486a59221 Quiet MSVC warning 2012-10-08 10:36:48 +04:00
marina.kolpakova
23699acca0 fix for bug 2264
fix compilation OpenCV with cxx11 under Ubuntu with clang and gcc 4.7
2012-10-08 02:37:22 +04:00
Alexey Spizhevoy
2ec264303e Added initial docs for the videostab module 2012-10-05 21:33:00 +04:00
Abhinav Gupta
c0638aa2e0 Update samples/cpp/tutorial_code/features2D/SURF_detector.cpp
Changes made for OpenCV 2.4.2 compatibility
2012-10-05 21:31:41 +04:00
Andrey Kamaev
73cb77842e Replace jpegs with png (see 06a13d9) 2012-10-05 18:15:44 +04:00
Andrey Kamaev
2885eb86b8 Remove alignment reqirements from NEON optimizations in libpng
On Android memory is not guaranted to be aligned and applications often crash with BUSERROR
2012-10-05 18:15:44 +04:00
Vladislav Vinogradov
f017ad5943 Merge branch 'gpu-device-layer' 2012-10-05 18:13:46 +04:00
Vladislav Vinogradov
be19150672 deleted thrust header 2012-10-05 18:06:46 +04:00
Vladislav Vinogradov
ab3a5244ba moved device layer headers to include directory 2012-10-05 18:04:23 +04:00
Alexander Smorkalov
9085fbe1e0 Native cameras build script output colorized. 2012-10-05 18:00:20 +04:00
Vladislav Vinogradov
3ebec7448d minor refactoring:
moved lbp.hpp to src/cuda folder
added missing cv::gpu::device namespace
deleted whitespaces
2012-10-05 17:43:22 +04:00
Ilya Lavrenov
a703df5456 parallel cvtColor for MSVS and Apple 2012-10-05 13:11:24 +04:00
Leonid Beynenson
2fd8ad65b9 Made changes in cv::DetectionBasedTracker -- now it can return status of the tracked objects 2012-10-04 20:50:59 +04:00
Andrey Kamaev
9218bdcbb4 TBB version of GridAdaptedFeatureDetector 2012-10-04 16:58:34 +04:00
Vladislav Vinogradov
8d07e92b2c disabled NPP resize for 8uc4+Cubic (Bug #2388) 2012-10-04 13:33:47 +04:00
Vladislav Vinogradov
cfc09d01c8 disabled NVidia test output by default 2012-10-04 13:33:06 +04:00
Roy Reapor
5d9d4659ad Fixed issue 2404
- imdecode_() only creates a temporary file when needed.
- Use the string's empty() function to flag if the temporary file needs
to be deleted.
2012-10-03 23:06:59 -07:00
Roy Reapor
aa400c5837 Fixed issue 2403
Created temporary files are now deleted in Win32.
2012-10-03 22:44:29 -07:00
Vadim Pisarevsky
06a13d9ba0 replaced jpegs with png's. Accuracy tests pass; performance tests were not tried yet 2012-10-02 23:07:46 +04:00
Alexander Smorkalov
d40a2c28c5 Ant build.xml and deps added. 2012-10-02 16:21:53 +04:00
Alexander Smorkalov
5ffbcf1e16 MIPS arch support added to OpenCV manager;
Internal OpenCV library in OpenCV Manager support added;
Unit tests improved, platform specific tests added, MIPS related tests added;
Code refactoring done.
2012-10-02 16:21:53 +04:00
Alexander Smorkalov
ad58e96581 Automation for build and test OpenCV Manager on several devices added. 2012-10-02 16:21:53 +04:00
Alexander Smorkalov
d64d76086e MIPS architecture support added. Native camera library built for MIPS device. 2012-10-02 16:21:53 +04:00
Vladislav Vinogradov
11367e2c3d added GpuMat support to OutputArray 2012-10-02 14:34:17 +04:00
Vadim Pisarevsky
b2bf90e951 fixed build errors in java bindings on desktop in Debug mode 2012-10-02 10:49:19 +04:00
Anatoly Baksheev
4df537bc1c warnings 2012-10-01 23:57:38 +04:00
Anatoly Baksheev
55b1d7c097 added CUDA_DISABLER preprocessor commands 2012-10-01 23:57:38 +04:00
Anatoly Baksheev
46874d40df warnings under windows 2012-10-01 23:57:37 +04:00
Ilya Lavrenov
c560a78c65 stable cvtColor 2012-10-01 18:52:27 +04:00
Ilya Lavrenov
45593030ab fixed TestRemap_Remap 2012-10-01 17:29:56 +04:00
Vadim Pisarevsky
57d9699058 added the note about 1-pixel border in findContours (relates to ticket #2362) 2012-10-01 16:43:07 +04:00
Vadim Pisarevsky
a4adf57edc fixed typos in the mat tutorial (ticket #2380) 2012-10-01 16:35:12 +04:00
Vadim Pisarevsky
c9f1490302 added variant of cv::imdecode with the specified output matrix 2012-10-01 16:23:40 +04:00
Vadim Pisarevsky
420dd22258 fixed a few warnings reported by Oleg; restored SSE2 optimization in FAST 2012-10-01 14:12:19 +04:00
marina.kolpakova
dc568d4de1 fix for 4-channels TIFF missing 'break' statement 2012-10-01 08:33:56 +04:00
Marius Muja
ae4ff999d7 Merge branch 'master' of git://code.opencv.org/opencv 2012-09-28 10:40:51 -07:00
Marius Muja
5cf6c5f0b2 Added test to fix backwards compatibility with the way LSH was handled before comit 7236858b 2012-09-28 10:40:38 -07:00
Andrey Kamaev
06e7101795 Add Tegra optimization for fastNlMeansDenoising 2012-09-28 18:56:36 +04:00
Andrey Pavlenko
a8e7f91e34 java samples fix (clear view before drawing frame) of 'dirty' FPS display bug 2012-09-28 18:21:22 +04:00
Ilya Lavrenov
9ee87bd04b added parallel version of CvtColorLoop - main inner function of cvtColor 2012-09-28 17:42:48 +04:00
marina.kolpakova
c6e741196a fix device pointer alignmen in sft-based integral integration 2012-09-28 14:55:45 +04:00
marina.kolpakova
ed6885dd8b fixed bit arifmetic in sft-based integral 2012-09-28 14:55:45 +04:00
Alexey Spizhevoy
eafb024112 fixed one of the log messages in the stitching module 2012-09-28 14:37:38 +04:00
Andrey Pavlenko
8c1550a4ec a new Java test to imencode() with params 2012-09-27 19:11:02 +04:00
Marius Muja
7236858bea Exposed HierarchicalClusteringIndex in OpenCV wrapper 2012-09-27 03:58:17 -07:00
Andrey Pavlenko
56200dbd37 REVERT OF: Update libjpeg to release 8d (reverse-merged from commit d28af08ef3) 2012-09-26 14:02:23 +04:00
Andrey Pavlenko
4e193a3380 REVERT OF reverted libjpeg to an earlier version (reverse-merged from commit bfc8a52402) 2012-09-26 14:01:51 +04:00
Alexey Spizhevoy
317a27e9eb fixed the bug #2385 2012-09-25 16:08:43 +04:00
Vadim Pisarevsky
60769f544f possibly repaired FAST test (however, FAST<7/12> and <5/8> could still do something different than described in the paper) 2012-09-25 15:50:03 +04:00
Evgeny Talanin
6308be2c3e Changed parallel_for to parallel_for_ in hog.cpp and cascadedetect.cpp 2012-09-25 12:18:33 +04:00
Ilya Lavrenov
b8c185de9f changed map indexes in test_remap 2012-09-24 20:36:25 +04:00
Ilya Lavrenov
6a3d5a1355 reorganized the resize algorithm 2012-09-24 17:07:08 +04:00
Anatoly Baksheev
f059899329 fixed bug in nln (out of border access) 2012-09-24 17:01:44 +04:00
Anatoly Baksheev
dffba48517 Added host compiler check before CUDA detection. For not supported compilers CUDA will be disabled. 2012-09-24 16:56:19 +04:00
Vadim Pisarevsky
854902b077 lowered tolerance thresholds in BRISK tests 2012-09-24 16:31:07 +04:00
bitwangyaoyao
3579c61388 Merge branch 'master' of git://code.opencv.org/opencv 2012-09-24 20:29:21 +08:00
bitwangyaoyao
09359982b1 some optimizations to ocl::pyrDown, PyrLK and Canny 2012-09-24 20:28:35 +08:00
Vadim Pisarevsky
d09b3828b8 fixed fail in arithmetic test 2012-09-24 16:14:19 +04:00
Kirill Kornyakov
494ae1562d Added 240p resolution alias for perf tests 2012-09-24 15:44:11 +04:00
Vadim Pisarevsky
da6e3ebff2 Merge remote-tracking branch 'origin/master' 2012-09-24 15:11:45 +04:00
Vadim Pisarevsky
bfc8a52402 reverted libjpeg to an earlier version 2012-09-24 15:11:29 +04:00
Ilya Lavrenov
33983bcbb7 edited misprint 2012-09-24 14:18:54 +04:00
Ilya Lavrenov
0e07b0d73a uncommented auto enabling GCD on Mac 2012-09-24 14:18:15 +04:00
Ilya Lavrenov
9c89947433 edited misprint 2012-09-24 13:46:09 +04:00
Ilya Lavrenov
2627c91c5e added platform specific definitions in resize algorithm 2012-09-24 12:57:39 +04:00
Ilya Lavrenov
077115bd4a debug 2012-09-24 12:40:20 +04:00
Ilya Lavrenov
bb589a590e debug 2012-09-24 11:35:46 +04:00
Vadim Pisarevsky
427ce1247a some bugfixes & improvements in openfabmap code, docs and samples by Arren Glover 2012-09-23 20:57:34 +04:00
Ilya Lavrenov
b7b32e74a5 some restructuring of resize algorithm code 2012-09-21 18:17:54 +04:00
Ilya Lavrenov
222303f24b attempt 2012-09-21 17:25:42 +04:00
Ivan Korolev
a8ba2d7f52 Added Rotation motion mode in the videostab module 2012-09-21 17:04:28 +04:00
Anatoly Baksheev
3b075a50e9 fixed warnings under windows 2012-09-21 13:41:56 +04:00
niko
0abe7f3196 many bugs fix for intel's HD4000
from my svn 855
2012-09-21 16:51:45 +08:00
Alexey Spizhevoy
f3bc1aede1 removed obsolte global motion estimation method 2012-09-21 10:46:21 +04:00
Leonid Beynenson
46ce5976ae Fix: Windows compilation error in CommandLineParser. 2012-09-20 18:11:33 +04:00
Leonid Beynenson
0bde00a88a Changed CommandLineParser to make it less verbose
when it is unrequired.
2012-09-20 18:01:24 +04:00
Alexander Kapustin
858f437162 Merge branch 'master' of git://code.opencv.org/opencv 2012-09-20 17:32:54 +04:00
Andrey Kamaev
44e8d76d74 Change denoising strength parameter from int to float 2012-09-20 17:27:48 +04:00
Alexander Kapustin
8f4ddad52d 1. New function ActualScalarDepth was added
2. Two new NeonOptimized functions subtract_8u8u32f and subtract_8u8u8s were added
2012-09-20 17:24:20 +04:00
Alexander Kapustin
bb3332508e 1. New function ActualScalarDepth was added
2. Two new NeonOptimized functions subtract_8u8u32f and subtract_8u8u8s were added

Conflicts:
	modules/core/src/arithm.cpp
2012-09-20 16:59:48 +04:00
Vladislav Vinogradov
6f175a3c52 changed the type of the arguments to const reference (Bug #2376)
ORB_GPU::downloadKeyPoints
ORB_GPU::convertKeyPoints
2012-09-20 13:52:04 +04:00
yao
2e36338636 remove warnings of some functions in ocl module 2012-09-20 09:23:11 +08:00
Andrey Kamaev
82b30963d2 Restore pdf patch command 2012-09-19 18:45:57 +04:00
Andrey Pavlenko
3bad6ac0ee This reverts commit 738d3fef38. 2012-09-19 18:03:50 +04:00
Vadim Pisarevsky
1ded1597e7 fixed mixed-type array operations (bug #2336) 2012-09-19 17:55:34 +04:00
Alexander Kapustin
738d3fef38 1. New function ActualScalarDepth was added
2. Two new NeonOptimized functions subtract_8u8u32f and subtract_8u8u8s were added
2012-09-19 17:08:25 +04:00
Vadim Pisarevsky
45fd6f509f Merge remote-tracking branch 'origin/master' 2012-09-19 16:57:27 +04:00
Vadim Pisarevsky
40d5b026c7 fixed verbose mode in highgui's DirectShow wrapper (bug #2350) 2012-09-19 16:57:10 +04:00
Andrey Kamaev
56ac2937d8 Fix typo 2012-09-19 16:56:54 +04:00
Vadim Pisarevsky
54705a009a Merge remote-tracking branch 'origin/master' 2012-09-19 16:52:07 +04:00
Vadim Pisarevsky
c3c49a317b fixed outlier filtering in cvStereoRectifyUncalibrated (bug #2367) 2012-09-19 16:51:49 +04:00
Andrey Kamaev
f42b38ac44 Refactor fast NL-means denoising
* reorder arguments
* rewrite accuracy tests
* replace doubles with integer arithmetic inside the main loop
2012-09-19 16:50:56 +04:00
OpenCV Buildbot
87f282eed2 update FFMPEG wrapper binaries 2012-09-19 16:49:39 +04:00
Vadim Pisarevsky
4e07561141 fixed possible compile error in cap_ffmpeg_impl.hpp (bug #2365) 2012-09-19 16:48:19 +04:00
yao
d38359620e some optimizations to ocl::blend 2012-09-19 10:52:25 +08:00
Oleg Sklyarov
bbe418427e Added WQHD = 1444p frame size 2012-09-18 18:02:29 +04:00
Vadim Pisarevsky
2d334401b1 improved the condition in the FAST test 2012-09-18 14:34:50 +04:00
Vadim Pisarevsky
d2613dd9f6 added patches by Bram Bolder 2012-09-18 14:11:08 +04:00
yao
310bd8701c a little optimizations to ocl::pyrDown 2012-09-18 17:57:37 +08:00
Alexander Smorkalov
b1d14f766d Bug with several "in use" labels fixed in OpenCV Manager UI. 2012-09-18 11:07:26 +04:00
Alexander Smorkalov
0105d0a241 "in use" label update fix in OpenCV Manager UI. 2012-09-18 11:07:26 +04:00
Alexander Smorkalov
92b0cc541e Minor bug fix in building all native camera libs for android 2012-09-18 11:07:26 +04:00
Alexander Smorkalov
ada27b54eb NDK detection bug fix. 2012-09-18 11:07:26 +04:00
Alexander Mordvintsev
556e6c1475 Merge branch 'master' of git://code.opencv.org/opencv 2012-09-17 19:42:55 +04:00
Ilya Lavrenov
fffd263ce4 attempt 2012-09-17 19:39:49 +04:00
Alexander Mordvintsev
1017dea332 Merge branch 'master' of git://code.opencv.org/opencv 2012-09-17 19:37:38 +04:00
Alexander Mordvintsev
2a96f28bc1 get rid of Lock in gabor_threads.py 2012-09-17 19:30:20 +04:00
Ilya Lavrenov
f58c5646b0 fixed wrong condition with interpolation types 2012-09-17 18:30:55 +04:00
Ilya Lavrenov
5ab3fe489f changed resize_area test 2012-09-17 17:38:23 +04:00
Andrey Kamaev
7e35838849 Minor refactoring of NL-means denoising 2012-09-17 17:19:00 +04:00
Andrey Pavlenko
3c4917555d fixing git commit getting for Android build 2012-09-17 17:08:48 +04:00
Ilya Lavrenov
a65cb5d2de added extra debug parameters in resize test 2012-09-17 17:08:06 +04:00
Vadim Pisarevsky
58fb8692c3 added test for png encoding bug #2352 2012-09-17 16:44:40 +04:00
Ilya Lavrenov
03daf44848 added recalculating scale coefficients 2012-09-17 16:31:30 +04:00
Vadim Pisarevsky
d9e801fbfa improved image rendering performance in Qt backend for highgui UI (bug #2356) 2012-09-17 16:13:53 +04:00
Vadim Pisarevsky
37f4ea6be7 Merge remote-tracking branch 'origin/master' 2012-09-17 16:12:36 +04:00
Vadim Pisarevsky
7946fcdb69 added test for #2336 2012-09-17 16:12:30 +04:00
Andrey Kamaev
e73089bdb5 Fix windows build warnings 2012-09-17 13:30:28 +04:00
Andrey Kamaev
089de14ed7 Fix copy-paste bug in AVX optimization of haar 2012-09-17 13:30:28 +04:00
Andrey Kamaev
f32eb05ea1 Fix AVX and other SIMD support detection 2012-09-17 13:30:28 +04:00
Andrey Kamaev
cd05d9aaad Fix build of Java API for Windows 2012-09-17 13:21:20 +04:00
Andrey Kamaev
fe0d07ae53 Add experimental support for desktop Java
Based on pull request #31 (thanks to Eric Christiansen)
Support for Java is turned off by default and can be enabled setting
BUILD_opencv_java to ON (e.g. cmake -DBUILD_opencv_java=ON ..)
2012-09-17 13:21:20 +04:00
Andrey Kamaev
ece71d6a06 Remove misused REQUIRED keyword from CMake scripts 2012-09-17 13:21:20 +04:00
yao
78e89890b0 add PyrLK to ocl module 2012-09-17 09:48:34 +08:00
Andrey Kamaev
0e9405e591 Honor resently added functionality in hdr_parser and rst_parser; minor fixes in documentation 2012-09-14 22:26:32 +04:00
Alexander Smorkalov
e9009db667 All HTC One S related changes reverted due to applyProperties problems on other devices. Libraries rebuilt.
(cherry picked from commit 8104164c78)
2012-09-14 19:23:36 +04:00
Alexander Smorkalov
dc5c7ee68f Link to OpenCV website updated. Full Manager version added to UI. Screen orientation fixed. 2012-09-14 17:45:29 +04:00
Alexander Smorkalov
d55e114f96 Issue #2357 OpenCV manager fails to determine hardware platfrom on Tegra2 fixed. 2012-09-14 17:45:29 +04:00
Vsevolod Glumov
415636a677 Fixed a minor issue in OpenCV4Android Reference. 2012-09-14 17:06:59 +04:00
Alexander Smorkalov
8104164c78 All HTC One S related changes reverted due to applyProperties problems on other devices. Libraries rebuilt. 2012-09-14 16:51:38 +04:00
yao
9efd7019ad A more reasonable verify method for ocl::HOG accuracy test 2012-09-14 17:07:29 +08:00
Vsevolod Glumov
1052a0b4eb Fixed some language issues in OpenCV4Android Reference. 2012-09-14 11:10:53 +04:00
Vladislav Vinogradov
538847e8a3 fixed compilation under VS2012 (Bug #2352, #2355) 2012-09-14 09:34:56 +04:00
Andrey Kamaev
4772c42c66 Tweak strip flags for Android camera wrapper libs 2012-09-13 20:28:25 +04:00
Andrey Kamaev
1e69d47ba5 Remove -g from Android complier flags in release mode (used by NDK but inconvenient for CMake) 2012-09-13 20:27:54 +04:00
yao
04e946b2a3 make ocl surf sample compile on Linux 2012-09-13 17:34:06 +08:00
Vladislav Vinogradov
35b671efb5 disabled utility code in gpu tests when WITH_CUDA=false 2012-09-13 12:17:35 +04:00
Vladislav Vinogradov
fd77ef7ece optimized gpu pyrDown and sepFilter2D 2012-09-13 10:21:43 +04:00
Vladislav Vinogradov
7591ee1688 fixed gpu perf tests (VideoCapture reopen) 2012-09-13 10:18:42 +04:00
Alexander Smorkalov
af2de86914 Native camera fix for Nexus 7 with Android JB. Camera build script updated.
(cherry picked from commit afe30d0f8a)
2012-09-12 15:29:17 +04:00
Alexander Smorkalov
afe30d0f8a Native camera fix for Nexus 7 with Android JB. Camera build script updated. 2012-09-12 14:29:00 +04:00
Alexander Smorkalov
ccafed3d90 ABI compatibility check config generator updated. Command line params added. NDK searching added. 2012-09-12 11:18:28 +04:00
Alexander Smorkalov
ec8b79cc91 Small camera build script improvements. 2012-09-12 11:18:28 +04:00
yao
c09e2f88df Add a SURF sample for ocl module 2012-09-12 11:49:37 +08:00
yao
656f06fa74 add bruteForceMatcher to ocl module 2012-09-12 11:40:13 +08:00
niko
23244a3565 rename all the perf test files
fix the channel 3 bug in matrix operation
perf and buf fix for LUT haardetect convertC3C4 resize warpaffine copytom settom
add convovle
remove stereo
2012-09-12 10:31:09 +08:00
Vadim Pisarevsky
e94cd1ec72 updated description of LineIterator with information about LineIterator::pos() (ticket #2338) 2012-09-11 20:20:05 +04:00
Vadim Pisarevsky
52ede9c84d fixed just introduced bug in Python wrapper generator 2012-09-11 20:04:18 +04:00
Alexander Smorkalov
f22a3af483 Issue #2345 Adapt OpenCV Manager UI for different screen resolution partially fixed. Layout for small resolution added.
Layout for small display resolution added.
2012-09-11 17:10:26 +04:00
Alexander Smorkalov
a699594854 Issue # 2344 OpenCV Manager doesn't tell which pack is used fixed. 2012-09-11 17:10:26 +04:00
Vadim Pisarevsky
84087a8566 fixed crash in Python's SURF wrapper (bug #2325) 2012-09-11 16:47:25 +04:00
Vladislav Vinogradov
e975259c06 several fixes in gpu module
fixed iterations>1 case in morphological operations
fixed possible access violation in HSV2RGB
fixed the case learningRate==0 in BackgroundSubtractorMOG2
2012-09-11 15:00:59 +04:00
Vadim Pisarevsky
9956c42804 fixed iterations>1 case in morphological operations (bug #2348; thanks to Andrei Zaharescu for the fix) 2012-09-11 14:49:56 +04:00
Vadim Pisarevsky
f53d94c645 fixed OpenCL detection in Linux (patch #2261) 2012-09-11 14:32:31 +04:00
Vadim Pisarevsky
9ea5b6bb44 fixed possible access violation in HSV2RGB (patch #2020) 2012-09-11 14:25:34 +04:00
Vadim Pisarevsky
bbeffcc115 fixed the case learningRate==0 in BackgroundSubtractorMOG2 (patch #2221; thanks to Will Lucas) 2012-09-11 14:13:37 +04:00
Vadim Pisarevsky
bb93651048 added support for bi-level PNG's (patch #2301; thanks to Costantino Grana) 2012-09-11 14:05:25 +04:00
Vadim Pisarevsky
b3408a9b3a fixed bug #2186 (thanks to Joao Soares for the patch) 2012-09-11 13:56:25 +04:00
Ilya Lavrenov
fbd9bfba47 fixed some warnings and errors on windows 2012-09-10 21:37:44 +04:00
Andrey Kamaev
b1b5e392e6 Fix Android build warnings in new imgproc tests 2012-09-10 20:33:35 +04:00
Ilya Lavrenov
dd1091bbe1 a reference function for remap was stabilized 2012-09-10 19:55:03 +04:00
Andrey Kamaev
a201233b59 Fix warning in Android camera code 2012-09-10 19:44:59 +04:00
Andrey Kamaev
36f912261b Move gpu sample to gpu folder 2012-09-10 19:17:50 +04:00
Andrey Kamaev
200a81746e Improve Eigen search
Should now automatically detect it during Android build
2012-09-10 18:15:29 +04:00
Alexander Smorkalov
8a8e719690 getWidth/getHeight optimized.
(cherry picked from commit 7d4432df27)
2012-09-10 17:15:54 +04:00
Alexander Smorkalov
7d4432df27 getWidth/getHeight optimized. 2012-09-10 17:08:35 +04:00
Vladislav Vinogradov
98c92f196e added Generalized Hough implementation 2012-09-10 16:49:40 +04:00
Alexander Smorkalov
86c7e183d2 Issue #2316 Change default libnative_camera path implemented. 2012-09-10 16:29:37 +04:00
Andrey Kamaev
e564a53ccd Add gitignore for Android tests and samples 2012-09-10 15:48:57 +04:00
Alexander Smorkalov
43a401ba19 OpenCV Manager version incremented. 2012-09-10 11:37:36 +04:00
Alexander Smorkalov
1de829c359 abi-compatibility-check tool configuration script for adnroid added. 2012-09-10 11:37:36 +04:00
yao
7d83db7d4d fix ocl::columnsum bug 2012-09-10 14:52:28 +08:00
Philipp Wagner
42f7329c78 Merge branch 'master' of git://code.opencv.org/opencv 2012-09-07 22:44:15 +02:00
Philipp Wagner
cfa250eff5 The labels of a model are now cloned instead of using Mat::copyTo, because Mat::copyTo leads to a crash with the Python wrapper. I need to further investigate it. 2012-09-07 22:42:46 +02:00
Andrey Kamaev
f268af8ef0 Removed remaining SWIG marks from headers 2012-09-07 22:19:43 +04:00
Philipp Wagner
a5e37779fb Added a simple CMakeLists.txt to the facerec_samples, which are not included in the samples folder. Makes building these samples a lot easier. 2012-09-07 17:33:44 +02:00
Andrey Kamaev
4bd2c6b50d Android toolchain: added fixes/workarounds for NDK r8b and NDK r6 bugs 2012-09-07 18:27:47 +04:00
Alexander Smorkalov
0ab954a3c4 Issue #2270 OpenCV Manager fails with JNI error fixed.
Local reference table overflow in JNI code fixed.
(cherry picked from commit 457c878538)
2012-09-07 18:12:41 +04:00
Andrey Morozov
e2d9fc4dcc fixed compile error under linux 2012-09-07 18:01:06 +04:00
Vadim Pisarevsky
7c13dc6cb3 little fix in command line parser - catch unknown parameter types 2012-09-07 17:49:38 +04:00
Vadim Pisarevsky
0598f33a85 refactored command line parser, fixed the docs 2012-09-07 17:44:01 +04:00
Alexander Smorkalov
0efa9d4c06 Build script for all native cameras added.
(cherry picked from commit b16b50d61b)
2012-09-07 17:37:33 +04:00
Alexander Smorkalov
a12baf180a All native camera libraries rebuild after HTC One S fix.
(cherry picked from commit 568d9583c1)
2012-09-07 17:37:32 +04:00
Alexander Smorkalov
da167d8f38 Issue #2248 OpenCV manager fails to determine hardware platfrom on Android Emulator fixed.
Search keys for /proc/sysinfo updated.
(cherry picked from commit db3a35f901)
2012-09-07 17:37:31 +04:00
Alexander Smorkalov
c07ba32e16 Native camera issue on HTC One S fixed.
Camera connect->disconnect->connect leads to sigsegv.
Apply properties method reimplemented.
(cherry picked from commit 710e070990)
2012-09-07 17:37:31 +04:00
Alexander Smorkalov
b16b50d61b Build script for all native cameras added. 2012-09-07 17:22:48 +04:00
Alexander Smorkalov
568d9583c1 All native camera libraries rebuild after HTC One S fix. 2012-09-07 17:22:48 +04:00
Alexander Smorkalov
db3a35f901 Issue #2248 OpenCV manager fails to determine hardware platfrom on Android Emulator fixed.
Search keys for /proc/sysinfo updated.
2012-09-07 17:22:48 +04:00
Alexander Smorkalov
710e070990 Native camera issue on HTC One S fixed.
Camera connect->disconnect->connect leads to sigsegv.
Apply properties method reimplemented.
2012-09-07 17:22:47 +04:00
Vadim Pisarevsky
19e1f89cd6 regenerated opencv_cheatsheet.pdf from the previously updated opencv_cheatsheet.tex 2012-09-07 15:35:18 +04:00
Vadim Pisarevsky
53fdae93bd fixed compile error on Windows 2012-09-07 15:25:32 +04:00
AoD314
54a202b3d5 add new version of CommandLineParser. add empty docs 2012-09-07 13:24:48 +04:00
Andrey Kamaev
6a112aa87a Use TBB 4.1 on Android 2012-09-06 19:38:13 +04:00
Andrey Kamaev
70234433d3 Reduce verbosity of Java API generators 2012-09-06 18:54:38 +04:00
Andrey Kamaev
b8adc04545 Fix Android build warnings 2012-09-06 18:54:38 +04:00
Andrey Kamaev
b8767f5fbe Disable TBB on Android for mips 2012-09-06 18:54:38 +04:00
Andrey Kamaev
2cc262bce4 Fix Android CMake toolchain compiler and linker flags 2012-09-06 18:54:38 +04:00
Andrey Pavlenko
04e9698685 possibility to maintain custom hardware-specific libs folders 2012-09-06 16:09:20 +04:00
Andrey Pavlenko
186f8b7417 possibility to maintain custom hardware-specific libs folders 2012-09-06 16:03:07 +04:00
Vadim Pisarevsky
36dacc688a removed non-existing CoreAnimation framework from the list of required frameworks (bug #2326) 2012-09-06 14:22:40 +04:00
Vadim Pisarevsky
283087dd56 fixed typo (bug #2327) 2012-09-06 14:16:18 +04:00
Vsevolod Glumov
037e3ee288 Fixed some minor formatting issues in 'old_basic_structures' and 'operations_on_arrays'. 2012-09-06 10:57:28 +04:00
yao
a1796469f7 Merge branch 'master' of git://code.opencv.org/opencv 2012-09-06 14:39:56 +08:00
yao
1b6639aa3d A little optimization on ocl/pyrdown, ocl/canny 2012-09-06 14:39:20 +08:00
Vsevolod Glumov
3d072dce02 Revert "Another batch of fixed 'undocumented parameter' warnings in 'operations_on_arrays.rst'."
This reverts commit 907a9101eb.
2012-09-06 10:38:03 +04:00
Vsevolod Glumov
907a9101eb Another batch of fixed 'undocumented parameter' warnings in 'operations_on_arrays.rst'. 2012-09-05 18:13:54 +04:00
Vadim Pisarevsky
932100c5a3 fixed build errors and warnings on Windows 2012-09-05 17:06:07 +04:00
Andrey Kamaev
d3501f1545 Android toolchain: restored explicit include_directories of system /usr/include
It is needed because of explicit STL include paths.
Otherwise some standard headers (like fenv.h) can not not be correctly found by the compiler.
2012-09-05 16:29:05 +04:00
Vadim Pisarevsky
dcdbc638af Merge https://github.com/urikz/opencv 2012-09-05 16:01:59 +04:00
Andrey Kamaev
bcd0aefbca Fix gcc build errors and warnings 2012-09-05 15:51:51 +04:00
Yury Zemlyanskiy
66ce62cd0d Small fixed #3 2012-09-05 14:39:33 +04:00
Yury Zemlyanskiy
036258b8da Small fixed #2 2012-09-05 14:36:40 +04:00
Yury Zemlyanskiy
9d1aa37e21 Small fixes 2012-09-05 14:19:44 +04:00
Yury Zemlyanskiy
4e0fdf2205 Merge remote-tracking branch 'itseez/opencv'
Conflicts:
	modules/video/src/simpleflow.cpp
	modules/video/test/test_simpleflow.cpp
2012-09-05 13:40:14 +04:00
Yury Zemlyanskiy
0c10ed26e3 Update to improve performance of SimpleFlow algorithm
+ Improve performance of calcOpticalFlowSingleScale method
+ Small refactoring

Current results:

IMAGE NAMES          RMSE
Beanbags
Dimetrodon           0.329428
DogDance
Grove2               0.550852
Grove3               1.464699
Hydrangea            0.523277
MiniCooper
RubberWhale          0.367246
Urban2               2.717003
Urban3               4.185070
Venus                0.775422
Walking

Time (for Urban3):
17.490248 sec
2012-09-05 13:27:47 +04:00
Takahiro Horikawa
ec45453baa #523 Fix the problem where the MaxSize parameter in cvHaarDetectObjects does not work when the flag CV_HAAR_SCALE_IMAGE is not set. 2012-09-04 20:46:42 -07:00
Ilya Lavrenov
5eac0419b2 changed eps in validate_result function 2012-09-04 22:22:07 +04:00
Ilya Lavrenov
be51e5d1b1 More strict tests for image waring algorithms 2012-09-04 21:52:40 +04:00
Andrey Kamaev
07d92d9e5a Fix android build warnings 2012-09-04 17:44:23 +04:00
Andrey Kamaev
8325a28d09 Merge branch 'android-toolchain' 2012-09-04 17:10:52 +04:00
Andrey Kamaev
02b33792cb Fix precompiled headers support detection for gcc-4.6 toolchain from Android NDK r8b
The version reported by toolchain is 4.6.x-google so regex needs an adjustment.
2012-09-04 16:50:55 +04:00
Andrey Kamaev
b0c7280978 Android toolchain: protect from changes of NDK_CCACHE on subsequent cmake 2012-09-04 16:33:24 +04:00
Andrey Kamaev
af415085d8 Fix Android build with CMake 2.6.3-2.8.3 2012-09-04 16:21:44 +04:00
Andrey Kamaev
53d219c857 Improved CMake warnings about known problems of Android NDKs 2012-09-04 16:21:44 +04:00
Vsevolod Glumov
16717a8641 Partially cleaned 'operations_on_arrays' section of undocumented parameters. 2012-09-04 15:44:21 +04:00
Vadim Pisarevsky
959674618f restored SSE2 and added AVX optimization of the old haar face detector 2012-09-04 14:59:38 +04:00
Vadim Pisarevsky
dea52eb730 fixed 4-channel resizeAreaFast x2 decimation case 2012-09-04 14:51:31 +04:00
Vadim Pisarevsky
bf7295f584 fixed multiple build warnings 2012-09-04 14:15:00 +04:00
Vadim Pisarevsky
e17b70e533 updated documentation with the new PCA functionality 2012-09-04 14:14:24 +04:00
Kevin
93155c6ae0 Overloaded PCA constructor and ( ) operator to implement Feature#2287 - PCA that retains a specified amount of variance from the data. A sample was added to samples/cpp to demonstrate the new functionality. Docs and Tests were also updated 2012-09-04 13:58:59 +04:00
Vadim Pisarevsky
a74a2302aa fixed bug #2331 2012-09-04 13:34:52 +04:00
Alexander Smorkalov
a08290d843 Merge branch 'master' of git://code.opencv.org/opencv 2012-09-04 10:50:35 +04:00
Alexander Smorkalov
457c878538 Issue #2270 OpenCV Manager fails with JNI error fixed.
Local reference table overflow in JNI code fixed.
2012-09-04 10:39:44 +04:00
yao
8f8a69d6f5 fix bug of ocl::canny 2012-09-04 08:51:08 +08:00
Andrey Kamaev
a3125c0b8d Added C++ runtime search for standalone toolchain 2012-09-04 02:08:27 +04:00
Andrey Kamaev
ac808b51a5 Fixing STL support in case of standalone toolchain 2012-09-03 19:13:51 +04:00
Andrey Kamaev
c91850ec2e Fix executable and C objects linking 2012-09-03 18:42:13 +04:00
Vadim Pisarevsky
778c31a1c8 added SSE2-optimized boxfilter by Grigoriy Frolov 2012-09-03 17:31:20 +04:00
Vadim Pisarevsky
67ff95083d added openfabmap code, contributed by Arren Glover. fixed several warnings in the new versions of retina filters 2012-09-03 17:03:31 +04:00
Andrey Kamaev
6ee7ecb617 Merge pull request #28: add openexr to 3rdparty libs 2012-09-03 16:03:25 +04:00
Andrey Kamaev
52581750fc Fix openexr build on Linux 2012-09-03 15:58:30 +04:00
niko
11b403900e add channel 3 for test/main.cpp
add remap
2012-09-03 18:07:31 +08:00
yao
c8bfc0fd89 A little fix to ocl accuracy tests, make them more uniformed 2012-09-03 17:23:13 +08:00
yao
0fdb55a54d update some of the functions in ocl module to the latest version 2012-09-03 17:03:37 +08:00
Andrey Kamaev
e402bb496d Add support for all NDK runtimes 2012-09-03 03:54:06 +04:00
Andrey Kamaev
7280039d8c Update readme for 3rdparty libs 2012-09-02 21:16:57 +04:00
Andrey Kamaev
577d9cdece Fix openexr build on MinGW 2012-09-02 20:44:09 +04:00
Andrey Kamaev
941391c0be Fix openexr build with MSVC 2012-09-02 20:44:07 +04:00
Andrey Kamaev
867777f825 Added OpenEXR library v1.7.1 2012-09-02 20:44:04 +04:00
Andrey Kamaev
21a536f999 Add NDK release detection into CMake toolchain 2012-09-02 19:56:12 +04:00
Andrey Kamaev
c9dbb0d314 Several small fixes in Android CMake toolchain
* fix formatting
* honor Windows-style paths
* suppress warnings inside try_compile
* correct caching of toolchain variables
2012-09-02 18:59:41 +04:00
Andrey Kamaev
3fb3851c7a Remove debug print 2012-09-01 08:42:07 +04:00
Vsevolod Glumov
ce4ac2d74a Cleaned 'old_basic_structures' of undocumented parameters. 2012-08-31 19:32:07 +04:00
kir
44da71daf4 removed duplicated sample (for facedetect) 2012-08-31 18:38:42 +04:00
Andrey Kamaev
f2a486c34b Fix Android samples for devices having front camera only (Nexus 7)
(cherry picked from commit 067744d071)
2012-08-31 18:29:55 +04:00
Andrey Kamaev
58baf2b455 Fix package name of Android color blob detection sample
(cherry picked from commit fc93518449)

Signed-off-by: Andrey Kamaev <andrey.kamaev@itseez.com>
2012-08-31 18:28:44 +04:00
Andrey Kamaev
11bffb0e7d Unify manifest files in Android examples
(cherry picked from commit bd12f636c8)

Signed-off-by: Andrey Kamaev <andrey.kamaev@itseez.com>
2012-08-31 18:28:38 +04:00
Andrey Kamaev
ca0609dde3 Fixed java camera release in Android tutorial-0 sample
(cherry picked from commit cd59cf3ab5)

Signed-off-by: Andrey Kamaev <andrey.kamaev@itseez.com>
2012-08-31 18:28:30 +04:00
Andrey Kamaev
067744d071 Fix Android samples for devices having front camera only (Nexus 7) 2012-08-31 18:25:08 +04:00
Andrey Kamaev
fc93518449 Fix package name of Android color blob detection sample 2012-08-31 17:47:12 +04:00
Andrey Kamaev
bd12f636c8 Unify manifest files in Android examples 2012-08-31 17:47:12 +04:00
Alexandre Benoit
37fe2a252a updated Retina module code for more flexible parallelisation : TBB parallel for loops are replaced by opencv parallel_for_ wrapper... compile error corrected 2012-08-31 14:55:32 +02:00
Alexandre Benoit
5a6114e299 updated code for more flexible parallelisation : TBB parallel for loops are replaced by opencv parallel_for_ wrapper 2012-08-31 14:14:57 +02:00
Vadim Pisarevsky
e5f9f97954 fixed build warnings on Windows 2012-08-31 14:56:28 +04:00
Vadim Pisarevsky
1686b0d9d3 Merge remote-tracking branch 'origin/master' 2012-08-31 14:56:09 +04:00
Yury Zemlyanskiy
1fde184192 Small fixes for SimpleFlow algorithm
+ Fixed warnings
+ Add new function calcOpticalFlow with smaller number of arguments
+ Add asserts to algorithm and remove 'exit(1)'
2012-08-31 14:39:59 +04:00
Yury Zemlyanskiy
784c09d6f9 Updates for SimpleFlow algorithm
+ New format for flow data - CV_32C2
+ Memory optimization
+ Cross Bilateral Filter optimization
+ Minor optimizations
+ Sample for calcOpticalFlowSF improved
2012-08-31 14:39:59 +04:00
Yury Zemlyanskiy
c77d099018 "SimpleFlow" optical flow estimation algorithm (GSoC project) declaration in includes, implementation, usage example, test 2012-08-31 14:39:58 +04:00
OpenCV Buildbot
1a2bbfafba update FFMPEG wrapper binaries 2012-08-31 14:36:22 +04:00
Vadim Pisarevsky
2367a195c5 probably fixed compile error on MacOSX 10.6 2012-08-31 14:35:11 +04:00
Yury Zemlyanskiy
7ad4c25452 Small fixes for SimpleFlow algorithm
+ Fixed warnings
+ Add new function calcOpticalFlow with smaller number of arguments
+ Add asserts to algorithm and remove 'exit(1)'
2012-08-31 13:34:24 +04:00
Alexandre Benoit
2907eec670 Merge branch 'master' of git://code.opencv.org/opencv 2012-08-31 11:20:13 +02:00
Alexandre Benoit
ffb3842ef1 updated retina documentation 2012-08-31 11:19:46 +02:00
niko
6f6e990988 use mutex provided by opencv itself
add getoclcontext and getoclcommandqueue so that other opencl program can interactive with opencv ocl module
correct haar test cases
add face detection sample
2012-08-31 14:08:52 +08:00
Andrey Kamaev
11e16a7204 Merge pull request #27 from sergiud/master 2012-08-30 23:16:49 +04:00
Andrey Kamaev
ecd96c8b18 Fix libjasper build on 32-bit MinGW 2012-08-30 23:14:09 +04:00
Andrey Kamaev
f02c1ad688 Fix MinGW warning on implicit 'exit' declaration 2012-08-30 22:51:03 +04:00
Alexandre Benoit
9f1c10e1c5 Merge branch 'master' of git://code.opencv.org/opencv 2012-08-30 16:02:48 +02:00
Alexandre Benoit
52b4b5b052 added retina module documentation 2012-08-30 16:02:04 +02:00
Vadim Pisarevsky
014106783d fixed building BRISK on Windows 2012-08-30 17:32:47 +04:00
Sergiu Dotenco
85eae7b30d win32: always link to vfw32 2012-08-30 14:52:39 +02:00
Vincent Rabaud
3ca0cc2253 add a scale invariance test for the detector 2012-08-30 16:28:39 +04:00
Vincent Rabaud
84c4797030 revert orientation computation in jeypoint detection for efficiency (like done originally) 2012-08-30 16:28:39 +04:00
Vincent Rabaud
da1921b2fc add const correctness, replace __inline__ and remote a useless release() 2012-08-30 16:28:39 +04:00
Vincent Rabaud
92da6d381b add rotation tests for the descriptors 2012-08-30 16:28:39 +04:00
Vincent Rabaud
b325b2f9a4 add more test to BRISK 2012-08-30 16:28:39 +04:00
Vincent Rabaud
13ded36ecb initial addition of BRISK with some tests 2012-08-30 16:28:39 +04:00
Vincent Rabaud
228070a74c split FAST in order to reuse it in BRISK 2012-08-30 16:28:38 +04:00
Vadim Pisarevsky
a6e2acbfee added a few missing images for tutorials; integrated pull request #26 2012-08-30 16:23:18 +04:00
Vadim Pisarevsky
3d4ca2d709 added ios tutorials by Charu Hans and Eduard Feicho 2012-08-30 15:49:53 +04:00
Andrey Kamaev
b2acf50c81 Fix build warning introduced in commit:424bc609b6f352a2b10f2a01ffcd037483e3591f 2012-08-30 13:04:34 +04:00
niko
b929012583 performance fix of convertC3C4
add OCL 1.2 feature for setTo
bug fix of integral
replace the error code -217 with suitable MACRO
simplify tests, no need apply a new context for each test case
add more control for tests in utility.hpp
2012-08-30 16:14:35 +08:00
Vladislav Vinogradov
44330afc7f fixed build without CUDA 2012-08-30 10:35:32 +04:00
Vladislav Vinogradov
29cdddd845 fixed bug in buildPointList 2012-08-30 10:03:19 +04:00
Andrey Kamaev
3ae2244bd9 3rdparty libs are updated to latest available versions 2012-08-30 00:58:00 +04:00
Andrey Kamaev
a881f165ec Update readme for 3rdparty libs 2012-08-30 00:56:18 +04:00
Andrey Kamaev
d8015fd6ed Fix libjasper build with MSVC 2012-08-30 00:40:40 +04:00
Andrey Kamaev
6e6cfdd024 Add changelog and copyright files from debian libjasper-dev (1.900.1-13) package 2012-08-30 00:40:32 +04:00
Andrey Kamaev
70fed019ae Apply 03-CVE-2011-4516-and-CVE-2011-4517 patch from debian libjasper-dev (1.900.1-13) package 2012-08-30 00:40:29 +04:00
Andrey Kamaev
c7db1c1cc8 Apply 02-fix-filename-buffer-overflow patch from debian libjasper-dev (1.900.1-13) package 2012-08-30 00:40:26 +04:00
Andrey Kamaev
4157a640ba Apply 01-misc-fixes patch from debian libjasper-dev (1.900.1-13) package 2012-08-30 00:40:23 +04:00
Andrey Kamaev
d28af08ef3 Update libjpeg to release 8d 2012-08-30 00:40:18 +04:00
Andrey Kamaev
35a869f6f0 Update libtiff to release v4.0.2 2012-08-30 00:23:45 +04:00
Andrey Kamaev
e9392d1466 Fix Android build with cmake 2.6.3 2012-08-30 00:23:41 +04:00
Andrey Kamaev
90a3d227c9 Enable libpng NEON optimization in Android build for armeabi-v7a with NEON target 2012-08-30 00:23:38 +04:00
Andrey Kamaev
c6d1421f9b Update libpng to release v1.5.12 2012-08-30 00:23:34 +04:00
Andrey Kamaev
ae4718558d Update zlib to release v1.2.7 2012-08-29 23:28:13 +04:00
Anatoly Baksheev
3456238c16 minor 2012-08-29 21:26:00 +04:00
noob
fba081992d Merge branch 'master' of git://code.opencv.org/opencv 2012-08-29 18:14:07 +02:00
noob
424bc609b6 Retina module is now parallelized thanks to the TBB library. Speed increase expected on multicore plateforms 2012-08-29 17:44:21 +02:00
Anatoly Baksheev
0ba01afd83 added GPU bilateral filter + tests
added GPU non local means brute force filter + tests
2012-08-29 19:20:32 +04:00
Anatoly Baksheev
a09679044e renamed device::bilaterl_filter kernel to device::disp_bilaterl_filter for correct naming
fixed some warnings
2012-08-29 19:20:32 +04:00
Andrey Kamaev
3d9018f019 Fix run.py version control detection when used outide of OpenCV build 2012-08-29 19:17:18 +04:00
OpenCV Buildbot
ee2bebf5f7 update FFMPEG wrapper binaries 2012-08-29 18:59:21 +04:00
Andrey Kamaev
429e5367c4 Merge pull request #25 from sergiud/master 2012-08-29 17:54:49 +04:00
Vladislav Vinogradov
14694343cb fixed gpu PyrLKSparse perf test 2012-08-29 10:51:40 +04:00
Andrey Kamaev
0adbead654 Android toolchain: fix CCache program search 2012-08-28 20:39:10 +04:00
Andrey Kamaev
cd59cf3ab5 Fixed java camera release in Android tutorial-0 sample 2012-08-28 20:37:06 +04:00
Sergiu Dotenco
6c3e769f32 eliminated type conversion warnings 2012-08-28 17:21:06 +02:00
Vsevolod Glumov
4d6730dc68 Improved javadoc comments. Minor formatting fix. 2012-08-28 18:51:46 +04:00
Vadim Pisarevsky
633a8bfacc fixed many warnings (modified pull request 13) 2012-08-28 18:15:14 +04:00
Leonid Beynenson
aa2524f41e Changed the file .gitignore
(added vim swap files and tag files)
2012-08-28 17:46:45 +04:00
Leonid Beynenson
8dcf52c90b Added possibility to make subfolders in modules' folders "src/". 2012-08-28 17:44:33 +04:00
Corentin Wallez
18fc11bc04 Fix fixed-point arithmetics in FREAK::meanIntensity 2012-08-28 16:57:20 +04:00
Vsevolod Glumov
dc6fa94118 Improved javadoc comments. 2012-08-28 15:49:50 +04:00
Vincent Rabaud
f56432559e add conversion from/to Matx 2012-08-28 15:13:41 +04:00
Andrey Kamaev
05630b336b Updated package version in Android samples
(cherry picked from commit 47b9640785)

Signed-off-by: Andrey Kamaev <andrey.kamaev@itseez.com>
2012-08-28 15:08:23 +04:00
Andrey Kamaev
47b9640785 Updated package version in Android samples 2012-08-28 15:07:42 +04:00
Andrey Kamaev
7744b1d600 Android camera: fix logging macro part 2 2012-08-28 15:07:42 +04:00
Vsevolod Glumov
396e4517ff Improved javadoc comments. Draft. 2012-08-28 15:01:46 +04:00
marina.kolpakova
a07e33609b added test for caltech images 2012-08-28 14:45:45 +04:00
Vadim Pisarevsky
e2c9e7c3fb applied patches from #2311 2012-08-28 14:19:34 +04:00
Vadim Pisarevsky
0bd68a70f1 fixed #2297, #2300; fixed several warnings 2012-08-28 13:45:35 +04:00
Andrey Kamaev
95d54196db Android camera: fix logging macro 2012-08-28 13:30:11 +04:00
Andrey Kamaev
d421ec26e2 Android toolchain: fixed ccache search 2012-08-28 13:26:57 +04:00
Yury Zemlyanskiy
5ee632fe90 Updates for SimpleFlow algorithm
+ New format for flow data - CV_32C2
+ Memory optimization
+ Cross Bilateral Filter optimization
+ Minor optimizations
+ Sample for calcOpticalFlowSF improved
2012-08-28 04:16:40 +04:00
Yury Zemlyanskiy
cc6f1eb824 "SimpleFlow" optical flow estimation algorithm (GSoC project)
declaration in includes, implementation, usage example, test
2012-08-28 04:16:40 +04:00
Andrey Kamaev
bbbe77e05e Fix Android build for mips platform 2012-08-27 20:16:54 +04:00
Andrey Kamaev
c0786e9d33 Support for the gold linker (NDK r8b is required) 2012-08-27 19:45:24 +04:00
Andrey Kamaev
bcf8dd510f Added CCache support to Android build
To speed up rebuilds, define the NDK_CCACHE environment or CMake variable
to the path to your ccache binary. When declared, the android.cmake.toolchain
automatically uses CCache when compiling any C/C++ source file. For example:

export NDK_CCACHE=ccache
2012-08-27 18:22:00 +04:00
Andrey Kamaev
5c01d13f38 Pass list of modules to javadoc generator
Previously the generator always uses hardcoded list of modules.
This fix replaces hardcoded list with actual set of modules coming from cmake.
2012-08-27 16:48:09 +04:00
Vsevolod Glumov
c78884c780 Improved 'Operations on Arrays" section of 'Core' module documentation. 2012-08-24 19:08:18 +04:00
Anatoly Baksheev
4449efb242 minor 2012-08-24 19:01:13 +04:00
Anatoly Baksheev
d3f4c9b2dc Fixed bug in BP_GPU 2012-08-24 18:38:54 +04:00
Andrey Kamaev
0948f4f863 Merge branch 'android_camera_2.4' into 2.4 2012-08-24 16:55:44 +04:00
Andrey Kamaev
4aa03d4b2b Fix/workaround bogus error in Android samples running on Android 4.1.1 2012-08-24 16:55:12 +04:00
Andrey Kamaev
eaf75dbc95 Fix crash on resume in face detection sample 2012-08-24 16:55:12 +04:00
Andrey Kamaev
c9d078ab00 Fix formatting in detection based tracker 2012-08-24 16:55:12 +04:00
Andrey Kamaev
a4235948a7 Fix Andoid samples: black screen after resume problem 2012-08-24 16:55:12 +04:00
Andrey Kamaev
d849f51023 Android camera: commented logs in frame callback 2012-08-24 16:55:12 +04:00
Andrey Kamaev
4ac2c22776 Fix buffer allocation in Android camera 2012-08-24 16:55:12 +04:00
Andrey Kamaev
a21df069e0 Cherry pick Android-related changes from master till 2012-08-23
* service
* tutorials
* samples
* gitignore
2012-08-24 16:52:30 +04:00
Andrey Kamaev
42a4ed6ebf Merge branch 'android_camera' 2012-08-24 16:44:52 +04:00
Andrey Kamaev
ba862ffdff Fix/workaround bogus error in Android samples running on Android 4.1.1 2012-08-24 16:24:53 +04:00
Andrey Kamaev
e9e0668549 Fix crash on resume in face detection sample 2012-08-24 16:24:53 +04:00
Andrey Kamaev
ce11c0d1eb Fix formatting in detection based tracker 2012-08-24 16:22:18 +04:00
Andrey Kamaev
285af48040 Fix Andoid samples: black screen after resume problem 2012-08-24 16:17:42 +04:00
Andrey Kamaev
71df8906be Android camera: commented logs in frame callback 2012-08-24 16:10:17 +04:00
Andrey Kamaev
ad35f317f6 Fix buffer allocation in Android camera 2012-08-24 16:10:17 +04:00
Andrey Kamaev
dd3b09441f Fix formatting in Android tutorials 2012-08-24 15:59:46 +04:00
Andrey Kamaev
62f9c0e140 Fixed layout in third Android tutorial 2012-08-24 15:59:46 +04:00
Vsevolod Glumov
3c8e151c73 Reviewed 'android_dev_intro' 2012-08-24 15:59:46 +04:00
Andrey Pavlenko
69538c3596 improving android tutorial v2 2012-08-24 15:59:45 +04:00
Andrey Pavlenko
1e25e736f0 improving android tutorial v2 2012-08-24 15:59:45 +04:00
Andrey Pavlenko
efc87105a3 improving android tutorial v2, removing v1 2012-08-24 15:59:45 +04:00
Vsevolod Glumov
526efe6724 Reviewed 'android_dev_intro' and 'O4A_SDK' 2012-08-24 15:59:45 +04:00
Andrey Kamaev
8facfd4fc8 Fixed tutorial link to NVIDIA Tegra platform 2012-08-24 15:59:45 +04:00
Andrey Pavlenko
6946213ecf improving android tutorial v2 2012-08-24 15:59:45 +04:00
Oleg Sklyarov
a053f611a4 ubuntu screenshot png 2012-08-24 15:59:45 +04:00
Oleg Sklyarov
c24549742b Android device recognition in Ubuntu Linux manual 2012-08-24 15:59:45 +04:00
Vsevolod Glumov
5577485755 some minor fixes to the 'android_dev_intro' 2012-08-24 15:59:45 +04:00
Vsevolod Glumov
2eb1a6d9d6 added a short preface to the 'android_dev_intro' doc. 2012-08-24 15:59:44 +04:00
Andrey Pavlenko
2315d5988f android tutorial, part 1 - adding 'device connection via usb' section, sections reordering 2012-08-24 15:59:44 +04:00
Oleg Sklyarov
71f032699d android tutorial minor layout fix (also my first test commit) 2012-08-24 15:59:44 +04:00
Andrey Kamaev
b29a639608 Fixed links in formatting in Android intro tutorial 2012-08-24 15:59:44 +04:00
Andrey Kamaev
5c788df83a Fix several documentation build warnings
Conflicts:
	modules/gpu/doc/video.rst
	modules/ocl/doc/ocl.rst
2012-08-24 15:59:44 +04:00
Andrey Pavlenko
9e171c9e26 android tutorial v2, initial draft commit 2012-08-24 15:59:44 +04:00
Andrey Kamaev
639bbec44a svn repository web references are replaced with links to git 2012-08-24 15:59:43 +04:00
marina.kolpakova
b061d4847f minor in license file 2012-08-24 15:59:43 +04:00
Andrey Pavlenko
afe8fbb018 minor update (pictures resize removed, emulator screen-shot downscaled) 2012-08-24 15:59:43 +04:00
Andrey Pavlenko
7b68271e31 minor updates to android tutorials 2012-08-24 15:59:43 +04:00
Alexander Kapustin
1b5903a719 Laplacian tegra optimized was added 2012-08-24 14:36:16 +04:00
Anatoly Baksheev
70204a8e68 Removed PtrElemStep, Marked DevMem1D as deprecated, now should use PtrStepSz now 2012-08-24 02:02:42 +04:00
Andrey Kamaev
9be63c50dd Merge branch 'norm_Matx' of git://github.com/vrabaud/opencv 2012-08-24 00:38:10 +04:00
Vladislav Vinogradov
56b7ddad09 fixed type for threshold parameter 2012-08-23 17:12:44 +04:00
Vladislav Vinogradov
8c1f9bafdc fixed gpu::integral for Kepler 2012-08-23 17:12:43 +04:00
Vladislav Vinogradov
c3f277b7bc gpu version of HoughCircles 2012-08-23 17:12:43 +04:00
Anatoly Baksheev
e60a50c43c removed /EHa flag for cuda compilation 2012-08-23 16:53:53 +04:00
Anatoly Baksheev
290030d030 possibility to enable /mp compiler flag from cmake
fixed MCVC warnings
2012-08-23 16:53:53 +04:00
Vincent Rabaud
1baf5209c4 fix the compile bug 2012-08-23 14:20:31 +02:00
Vsevolod Glumov
5648e49d59 Merge remote-tracking branch 'origin/master' 2012-08-23 14:58:41 +04:00
Vsevolod Glumov
fc307c87dc Improved the public 'non-optimized' duplicates of 'Tegra-optimized' functions. 2012-08-23 14:56:02 +04:00
marina.kolpakova
c8a54f67d4 minor warning fix 2012-08-23 13:43:42 +04:00
Anatoly Baksheev
d395bf1522 minor fix in FindTBB
added texture_binder
2012-08-23 13:37:27 +04:00
Alexey Spizhevoy
c8b7a8c80c added median-based version of global motion estimation (videostab) 2012-08-23 10:48:24 +04:00
Leonid Beynenson
6a5d996ca8 Removed the header opencv2/photo/denoising.hpp
All the functions from it are moved to the header
opencv2/photo/photo.hpp
2012-08-22 17:51:52 +04:00
Alexander Mordvintesv
4fb15ae1f0 Merge branch 'master' of code.opencv.org:opencv 2012-08-22 16:43:48 +03:00
Alexander Mordvintesv
d9185ec21b added _doc.py -- doc-string ckecking utility
added some sample description
2012-08-22 16:42:19 +03:00
Vadim Pisarevsky
bbf679267a modified facedetect to properly display very oblong objects and optionally flip image horizontally (for profile face detection). Added LBP cascades by Attila Novak for profile face detection and silverware detection (those are results of GSoC 2012) 2012-08-22 15:48:57 +04:00
Vadim Pisarevsky
e95bc7d502 fixed ios camera timing (patch by Eduard Feicho) 2012-08-22 13:33:13 +04:00
Vladislav Vinogradov
da5aaab277 optimized gpu::integral for Kepler 2012-08-22 12:13:34 +04:00
Ilya Lavrenov
92795ba476 parallel version of remap, resize, warpaffine, warpPerspective. Some optimization for 2x decimation in resize algorithm 2012-08-22 11:49:21 +04:00
Andrey Kamaev
f2a02feffa Fix Windows build issues
* No /arch:SSE3 in MSVC
* Warnings fixed or suppressed
2012-08-22 11:21:09 +04:00
Vadim Pisarevsky
793e8b546d fixed build on Ubuntu 2012-08-21 23:11:49 +04:00
Vadim Pisarevsky
64661ea9cd added SSE2-optimized resizeAreaFast for 8-bit images by Grigoriy Frolov 2012-08-21 23:00:50 +04:00
Andrey Kamaev
a840d929ac #2170 fix warning of undefined GTEST_HAS_DEATH_TEST 2012-08-21 18:59:51 +04:00
Andrey Kamaev
10dcf9ea39 Fix Java API build 2012-08-21 18:34:02 +04:00
Vadim Pisarevsky
2f1cc018c9 enabled SSE3 by default; integrated SSE3-optimized bilateral filter (by Grigoriy Frolov); modified API of non-local means (use Input/OutputArrays) 2012-08-21 17:39:40 +04:00
Leonid Beynenson
9f016da484 Merge branch 'master' of git://github.com/vpas/opencv into nonlocal_means 2012-08-21 16:07:18 +04:00
Victor Passichenko
18de45f7bc Add CV_Asserts for channels count 2012-08-21 16:05:18 +04:00
Victor Passichenko
92edd4fc6e Fix building for MS VS C++: remove allocation of arrays of dynamic size in stack 2012-08-21 15:41:51 +04:00
Vadim Pisarevsky
0d2b8f4ba1 fixed the channel ordering of rgba images (by Eduard) 2012-08-21 15:41:05 +04:00
Victor Passichenko
017ab51bf4 Fix wrong memory deallocation 2012-08-21 15:38:38 +04:00
Alexander Smorkalov
5acb80a9b1 ColorBlobDetection Sample, ImageManpulations Sample and Tutorial2 updated. Issues with native camera on Nexus 7 (Android 4.1) fixed. 2012-08-21 15:33:23 +04:00
Alexander Smorkalov
9314e3266c Debug build for Android added. Stripping of debug build turned off. 2012-08-21 15:33:19 +04:00
Alexander Smorkalov
7eb9fa14d3 Warning fix. ifdefs for 4.1.1 added. 2012-08-21 15:32:21 +04:00
Alexander Smorkalov
6bb509b44a Android 4.1.1 native camera fix. BufferQueue class is used instaed of Surface texture. Includes in cmake updated. 2012-08-21 15:31:50 +04:00
Alexander Smorkalov
ca6e85f526 Tegra3 package support enabled;
Version code incremented;
2012-08-21 15:31:07 +04:00
Alexander Smorkalov
48aeaf6239 Tegra detector fixed;
Some aditional logs added;
AndroidManifest version incremented.
2012-08-21 15:30:30 +04:00
Alexander Smorkalov
b1811a8bf6 HW compatibility tests added;
Arm-v7a neon package support enabled.
2012-08-21 15:29:57 +04:00
Alexander Smorkalov
44aeff04ae Package name logic improved;
Aditional tests added;
Some bug fixes with different __SUPPORT_XXX defines.
2012-08-21 15:29:11 +04:00
Alexander Smorkalov
a82fc0a046 Unit tests updated. Version and HW compatiblity tests added;
Tegra3, neon, sseX, x64 support uncomment and guarded by ifdefs
2012-08-21 15:15:40 +04:00
Daniil Osokin
cd062b7cc0 Add ignore for *.user files 2012-08-21 15:05:07 +04:00
Andrey Kamaev
6007bbc82d Added ignore for tbb source tarballs 2012-08-21 15:04:00 +04:00
Vadim Pisarevsky
2c7c9d0915 added gitignore to filter out certain temporary files 2012-08-21 15:03:54 +04:00
Vladislav Vinogradov
81d6400f45 fixed compilation under windows 2012-08-21 14:28:40 +04:00
Andrey Kamaev
94f7c3c592 Fixed FAST algorithm initializer 2012-08-21 01:03:52 +04:00
Andrey Kamaev
35754c0c03 Merge branch 'master' of git://github.com/vpas/opencv into nonlocal_means 2012-08-21 00:23:48 +04:00
marina.kolpakova
ee0dd4d496 disabled -Wunused-but-set-variable because of multiple warnings during building nvcc auto generated files (GCC 4.6) 2012-08-20 23:35:59 +04:00
Andrey Kamaev
682dede87e #2215 Fix dependencies escaping in generated OpenCVConfig.cmake 2012-08-20 19:53:03 +04:00
Andrey Kamaev
4a1ef53deb Fixed gcc build warning 2012-08-20 19:53:03 +04:00
Vadim Pisarevsky
d8b69d750d some tweaks in optimization flags for opencv2.framework 2012-08-20 19:46:52 +04:00
Vadim Pisarevsky
8efb84b5a4 added ios camera support in highgui. turned on optimization in opencv2.framework (ticket #2232) 2012-08-20 19:36:36 +04:00
Vladislav Vinogradov
c26d543e1e gpu::HoughLines : minor code improvements 2012-08-20 16:03:01 +04:00
marina.kolpakova
1e4012079d removed logging from test 2012-08-20 13:26:51 +04:00
Vladislav Vinogradov
3956e42507 Merge branch 'gpu-tests' 2012-08-20 11:29:40 +04:00
Vladislav Vinogradov
ec7f9566e0 minor gpu tests fix 2012-08-20 10:15:36 +04:00
Vladislav Vinogradov
a0aef244d6 removed perf_gpu_cpu from CMake scripts 2012-08-20 09:58:37 +04:00
niko
e7f4dd1a2e temp build fix because the new core.hpp impact on this project 2012-08-20 10:06:41 +08:00
marina.kolpakova
f17f4bda60 more warning fixes for GCC 2012-08-20 03:26:53 +04:00
marina.kolpakova
1521340152 updated CascadeClassifier_GPU documentation 2012-08-20 03:25:52 +04:00
marina.kolpakova
ede3781e3e fixed -Wstrict_alliasing warning for GCC 2012-08-20 02:27:54 +04:00
marina.kolpakova
aeaf1a6f6d refactoring in Emulation 2012-08-20 02:26:23 +04:00
marina.kolpakova
9c13b84e35 fixed unused warnings 2012-08-20 00:06:12 +04:00
marina.kolpakova
66eb96d719 minor warning fix 2012-08-19 22:43:27 +04:00
Alexander Mordvintesv
122f59560c Merge branch 'master' of code.opencv.org:opencv 2012-08-19 20:37:10 +03:00
Alexander Mordvintesv
c9f2ff4487 added texture_flow.py sample 2012-08-19 20:36:50 +03:00
Andrey Kamaev
1a621c2916 Fix build warnings 2012-08-19 19:36:43 +04:00
Andrey Kamaev
7d2b7b801a Merge branch 'sergiud_vs2012rtm_support' 2012-08-19 17:49:54 +04:00
Sergiu Dotenco
ddc7bd7659 fixed compilation errors caused by std::tuple 2012-08-19 15:30:41 +02:00
Sergiu Dotenco
4993748c91 added missing includes 2012-08-19 15:25:07 +02:00
Victor Passichenko
1f42de39a3 Add non-local means denoising algorithm implementatation into photo module 2012-08-19 13:13:58 +04:00
Andrey Kamaev
8e2258c494 Fix Windows build after commit:41b6d25 2012-08-19 00:20:08 +04:00
Alexander Mordvintesv
4c15465fbb Merge branch 'master' of code.opencv.org:opencv 2012-08-18 19:43:46 +03:00
Alexander Mordvintesv
a4bffd96c4 added deconvolution.py sample and example images 2012-08-18 19:43:32 +03:00
Andrey Kamaev
bf4c1df0d0 Fix formatting in Android tutorials 2012-08-17 19:23:45 +04:00
Andrey Kamaev
ff3aa6cbe1 Fix Android build after commit:41b6d25 2012-08-17 18:28:50 +04:00
Andrey Kamaev
9d6ccecfdd Fixed layout in third Android tutorial 2012-08-17 18:15:15 +04:00
Andrey Kamaev
915169e8b7 Fix documentation build warnings in gpu module reference 2012-08-17 18:15:15 +04:00
Vladislav Vinogradov
a507d564a4 merged gpu_perf_cpu into gpu_perf 2012-08-17 17:34:58 +04:00
Vadim Pisarevsky
ec8f926686 small correction for the previous patch in parallel.cpp 2012-08-17 17:34:51 +04:00
Vadim Pisarevsky
38ea339990 Merge remote-tracking branch 'origin/master' 2012-08-17 17:32:20 +04:00
Vadim Pisarevsky
41b6d25bdd added cross-platform Mutex implementation; enable platform-native (GDC/Concurrency) parallel_for_ implementation when TBB is not installed. 2012-08-17 17:32:06 +04:00
Andrey Kamaev
6da9b9f137 Android toolchain: libstdc++ and libsupc are removed from explicit link libraries
# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
#
# Changes to be committed:
#   (use "git reset HEAD^1 <file>..." to unstage)
#
#	modified:   android/android.toolchain.cmake
#
2012-08-17 16:23:57 +04:00
Vladislav Vinogradov
93172bab87 added --cpu flag (run tests on CPU) 2012-08-17 16:12:32 +04:00
Vladislav Vinogradov
00546f24e0 updated mark_nvidia.py script 2012-08-17 15:50:35 +04:00
Vladislav Vinogradov
2634dc6cce removed license comments 2012-08-17 15:22:29 +04:00
Vladislav Vinogradov
362df96cb9 renamed perf_main.cpp to main.cpp 2012-08-17 15:16:45 +04:00
Vladislav Vinogradov
6e4eb722a6 updated gpu performance tests
now it executes only on one device
added posibility to specify device on which tests will be executed
2012-08-17 15:14:14 +04:00
niko
2e685dcf0a performance & bug fix for resize erode dilate sobel remap 2012-08-17 15:47:02 +08:00
Alexander Smorkalov
a1d8091e10 ColorBlobDetection Sample, ImageManpulations Sample and Tutorial2 updated. Issues with native camera on Nexus 7 (Android 4.1) fixed. 2012-08-16 16:52:53 +04:00
bitwangyaoyao
a091f9e4e2 bug fix of "squares" sample for ocl module 2012-08-16 20:34:24 +08:00
Vladislav Vinogradov
ddca47040b updated gpu accuracy tests
added posibility to specify device on which tests will be executed
2012-08-16 16:23:27 +04:00
Vladislav Vinogradov
cfdeb50335 updated mark_nvidia.py script 2012-08-16 12:54:00 +04:00
yao
d363d5589c add an "squares" sample for ocl module 2012-08-16 16:01:40 +08:00
Vladislav Vinogradov
19462c871d Forbid incorrect patchSize values in gpu::ORB 2012-08-15 17:24:53 +04:00
Vladislav Vinogradov
528ddb5647 fixed block size for old CC 2012-08-15 17:24:53 +04:00
Andrey Kamaev
65f8585630 #2229 Fix FREAK build on CentOS 2012-08-15 17:23:07 +04:00
Andrey Kamaev
859ee6087c #2216 Forbid incorrect patchSize values in ORB 2012-08-15 16:54:40 +04:00
Andrey Kamaev
b0927397e9 #2225 Rename getConvertData to getConvertElem to match the headers and documentation 2012-08-15 15:34:33 +04:00
Vsevolod Glumov
e578259a34 Merge remote-tracking branch 'origin/master' 2012-08-15 15:12:48 +04:00
Vsevolod Glumov
8899835886 Reviewed 'android_dev_intro' 2012-08-15 15:10:58 +04:00
Vladislav Vinogradov
a9fba14898 added docs for gpu::HoughLines 2012-08-15 15:07:30 +04:00
Vladislav Vinogradov
97731c152d fixed typo 2012-08-15 15:07:29 +04:00
Vladislav Vinogradov
db79022b85 fixed shared memory size for linesAccumShared 2012-08-15 15:07:29 +04:00
Andrey Kamaev
36fe62d7a5 #2245 Fix BFMatcher::radiusMatchImpl witch Hamming distance (thanks to Jukka Holappa) 2012-08-15 15:02:20 +04:00
Vladislav Vinogradov
456890e9e4 fixed warning C4512 2012-08-15 13:48:28 +04:00
Vladislav Vinogradov
647d4ae1f1 Merge branch 'hough-lines-gpu' 2012-08-15 13:24:46 +04:00
Vladislav Vinogradov
7928cec670 added linesAccumGlobal kernel 2012-08-15 13:18:35 +04:00
Andrey Pavlenko
3b07e977a9 improving android tutorial v2 2012-08-15 12:21:58 +04:00
Andrey Pavlenko
6e07a1346c improving android tutorial v2 2012-08-15 11:47:48 +04:00
Vsevolod Glumov
a4392e4906 Merge remote-tracking branch 'origin/master' 2012-08-15 11:39:54 +04:00
Vsevolod Glumov
5825c60491 Reviewed 'android_dev_intro' and 'O4A_SDK' 2012-08-15 11:39:02 +04:00
Andrey Pavlenko
c004df234f improving android tutorial v2, removing v1 2012-08-15 10:56:50 +04:00
Vladislav Vinogradov
7ae94c571c fixed build without cuda 2012-08-14 17:54:42 +04:00
Vladislav Vinogradov
34b9bd61a2 fixed failure 2012-08-14 17:42:15 +04:00
Andrey Kamaev
d861063159 Fixed tutorial link to NVIDIA Tegra platform 2012-08-14 17:26:00 +04:00
Andrey Pavlenko
37740fa30e improving android tutorial v2 2012-08-14 17:18:24 +04:00
Maria Dimashova
d973d571a4 changed the value that replace NaNs in bilateralFilter_32f 2012-08-14 17:15:03 +04:00
Vladislav Vinogradov
c3fa7974e6 new optimized version 2012-08-14 17:00:57 +04:00
Daniil Osokin
f1d41d8b94 disabled whole perf test for distance transform 2012-08-14 13:01:52 +04:00
Vladislav Vinogradov
9201db32eb fixed overflow bugs, updated perf tests 2012-08-14 12:33:47 +04:00
Daniil Osokin
2b53d2e6a4 Merge branch 'master' of code.opencv.org:opencv 2012-08-14 12:17:44 +04:00
Daniil Osokin
f4d4b0d742 disabled perf test on distance transform 2012-08-14 12:13:42 +04:00
Daniil Osokin
f66ac31d62 Merge branch 'branch1' 2012-08-14 12:10:45 +04:00
Alexander Smorkalov
14fa645026 Debug build for Android added. Stripping of debug build turned off. 2012-08-14 12:03:05 +04:00
Vladislav Vinogradov
1eefc69927 added accuracy and performance tests 2012-08-14 11:36:32 +04:00
Vadim Pisarevsky
70bb857c7e Merge remote-tracking branch 'origin/master' 2012-08-13 21:22:17 +04:00
Vadim Pisarevsky
ff90c3eba6 possibly fixes #2242 and #2257 2012-08-13 21:22:06 +04:00
Andrey Kamaev
d525362cd5 Fixed 2 new Android build warnings 2012-08-13 19:24:31 +04:00
Vladislav Vinogradov
3703722a72 first naive version 2012-08-13 17:44:46 +04:00
Vladislav Vinogradov
941897aa3d fixed build errors in bgfg_gmg 2012-08-13 17:00:21 +04:00
Vsevolod Glumov
2a1e8e3efd Merge remote-tracking branch 'origin/master' 2012-08-13 16:29:08 +04:00
Vsevolod Glumov
27212fdafe some minor fixes to the 'android_dev_intro' 2012-08-13 16:29:00 +04:00
Oleg Sklyarov
85351389f4 ubuntu screenshot png 2012-08-13 16:03:01 +04:00
Oleg Sklyarov
3b70fc6d32 Android device recognition in Ubuntu Linux manual 2012-08-13 16:00:58 +04:00
Alexey Spizhevoy
7992203598 Fixed CMakeLists.txt 2012-08-13 14:44:41 +04:00
Alexey Spizhevoy
27eb5d07cf Added getScale/setScale for image warpers (stitching module) 2012-08-13 14:39:47 +04:00
Vsevolod Glumov
87737c20c1 added a short preface to the 'android_dev_intro' doc. 2012-08-13 13:13:07 +04:00
Vladislav Vinogradov
4dbc7600e7 added support of all types to BackgroundSubtractorGMG 2012-08-13 10:28:42 +04:00
Philipp Wagner
9c75ff43ba Bug #2257: Adding a quick workaround for truncated labels on 64bit machines in the Python FaceRecognizer wrapper code. This is only a temporary bugfix, that will be fixed at a better point as soon as possible. 2012-08-11 22:36:35 +02:00
bitwangyaoyao
fa78459c56 fix ocl/match_template compiling error on Linux 2012-08-11 13:10:43 +08:00
Daniil Osokin
6bc060fddb Add ignore for *.user files 2012-08-10 17:37:52 +04:00
Daniil Osokin
45c49a9088 Added perf test 2012-08-10 17:37:48 +04:00
Daniil Osokin
0609f4e9b4 Added blur16x16 perf test 2012-08-10 17:36:45 +04:00
Daniil Osokin
b97b48ecb6 Added perf tests for histogram 2012-08-10 17:36:45 +04:00
Daniil Osokin
0b54739822 Added perf test for distanceTransform 2012-08-10 17:36:45 +04:00
Daniil Osokin
7a2eb514fa Added color YUV422 perf test 2012-08-10 17:36:39 +04:00
Daniil Osokin
e37b9469da Added perf tests 2012-08-10 17:17:09 +04:00
Daniil Osokin
cfd80152bb test 2012-08-10 17:08:27 +04:00
Daniil Osokin
39d6adea17 Added perf test 2012-08-10 16:39:36 +04:00
Daniil Osokin
4fdff6347f Added blur16x16 perf test 2012-08-10 15:45:18 +04:00
Daniil Osokin
136dff5fe4 Added perf tests for histogram 2012-08-10 15:43:03 +04:00
marina.kolpakova
c3ae08a13d fixed typo in enum 2012-08-10 15:39:45 +04:00
Daniil Osokin
9a408c744d Added perf test for distanceTransform 2012-08-10 15:33:19 +04:00
Daniil Osokin
bbc8605530 Added color YUV422 perf test 2012-08-10 15:32:15 +04:00
Daniil Osokin
8f6a2438a7 Added perf test for remap 2012-08-10 15:04:04 +04:00
marina.kolpakova
575078502f fixed perfomance test for CCL 2012-08-10 15:01:16 +04:00
Evgeny Talanin
19313923cc Use github pat to get data for in python tests (files from code.opencv.org are received truncated sometimes) 2012-08-10 14:09:58 +04:00
Vladislav Vinogradov
7ff04a65f1 fixed build for old compute capabilities 2012-08-10 10:03:35 +04:00
yao
fa5113f303 add Canny to ocl module 2012-08-10 11:59:47 +08:00
Philipp Wagner
6161a3335c Removed writing the test.png, wasn't meant to be commited. 2012-08-09 23:52:09 +02:00
Philipp Wagner
45e44442ad Merge branch 'master' of git://code.opencv.org/opencv 2012-08-09 23:05:07 +02:00
Andrey Pavlenko
a682ee40ad android tutorial, part 1 - adding 'device connection via usb' section, sections reordering 2012-08-09 22:57:06 +04:00
marina.kolpakova
40c76b9de2 1.x related fixes 2012-08-09 18:48:25 +04:00
Oleg Sklyarov
3f68e5bb0e android tutorial minor layout fix (also my first test commit) 2012-08-09 18:21:56 +04:00
Vladislav Vinogradov
79ef454c5f Merge branch 'bgfg-gmg-optimized' into bgfg-gmg-merged 2012-08-09 14:55:36 +04:00
Vladislav Vinogradov
827fa850f6 Merge branch 'bgfg-gmg-gpu' into bgfg-gmg-merged 2012-08-09 14:48:26 +04:00
Vladislav Vinogradov
1ecf491373 added updateBackgroundModel parameter 2012-08-09 14:46:27 +04:00
Vladislav Vinogradov
bfd9e6102a added updateBackgroundModel parameter and release method 2012-08-09 14:37:08 +04:00
Vladislav Vinogradov
7f3296566c added performance tests 2012-08-09 14:14:13 +04:00
Vladislav Vinogradov
77cae11a74 added docs for GMG_GPU 2012-08-09 13:28:28 +04:00
Vladislav Vinogradov
ace7e9d842 added release method to GMG_GPU 2012-08-09 13:13:04 +04:00
Vladislav Vinogradov
beb3e6ff18 added GMG_GPU to bgfg_segm sample 2012-08-09 12:59:18 +04:00
marina.kolpakova
634c9dae46 added performance test fot CCL 2012-08-09 12:42:27 +04:00
Vladislav Vinogradov
55f8310cac fixed number of training mode operation 2012-08-09 12:37:35 +04:00
Vladislav Vinogradov
f7f1fb2bd7 added tests for VIBE_GPU and GMG_GPU 2012-08-09 12:30:55 +04:00
Vladislav Vinogradov
da38a95de6 fixed number of update operation 2012-08-09 12:28:30 +04:00
Vladislav Vinogradov
9ec96597cd gpu version of GMG Background Subtractor 2012-08-09 11:31:08 +04:00
Vladislav Vinogradov
9b16563f44 fixed build warnings 2012-08-09 11:05:27 +04:00
Vladislav Vinogradov
fb5f366459 made BackgroundSubtractorGMG's parameters public 2012-08-09 10:23:24 +04:00
Andrey Kamaev
0ceb9b6a00 Fixed division by zero case in SphericalProjector::mapForward 2012-08-08 20:57:12 +04:00
Vladislav Vinogradov
42c1d4f4b1 new optimized version of BackgroundSubtractorGMG 2012-08-08 18:15:06 +04:00
Andrey Kamaev
017abbd963 Lowered acceptance threshold in Features2d_RotationInvariance_Detector_ORB.regression test 2012-08-08 17:15:46 +04:00
Andrey Pavlenko
c42c3ebc9c duplicating cv::error() message to Android logcat 2012-08-08 16:45:29 +04:00
Andrey Pavlenko
1995b1a06c duplicating cv::error() message to Android logcat 2012-08-08 16:39:24 +04:00
Andrey Kamaev
73f720d470 Fixed links in formatting in Android intro tutorial 2012-08-08 16:28:12 +04:00
marina.kolpakova
5084511fff reserved flags parameter for future usage 2012-08-08 15:51:56 +04:00
marina.kolpakova
3e8c35a347 added perf. test for GFF 2012-08-08 15:17:26 +04:00
marina.kolpakova
cbfee83b06 test: GFF same as cpu greedy implementation 2012-08-08 14:48:06 +04:00
marina.kolpakova
490622231a refactored test code 2012-08-08 14:48:06 +04:00
Vladislav Vinogradov
c5e92c31ba fixed Bug #2252
error in the tutorial Similarity check (PNSR and SSIM) on the GPU
2012-08-08 14:38:14 +04:00
yao
0f4bdcd708 Merge branch 'master' of git://code.opencv.org/opencv 2012-08-08 17:13:30 +08:00
yao
2fed1fcbff add an ocl sample 2012-08-08 17:12:53 +08:00
niko
37ca6d378b add performance test code for ocl module 2012-08-08 17:09:29 +08:00
yao
64e9cf5d75 add SURF and HOG to ocl module 2012-08-08 15:55:39 +08:00
Alexander Mordvintesv
a2df490914 added CV_IN_OUT to img argument of drawing functions 2012-08-08 11:18:52 +03:00
Alexey Spizhevoy
8c3984c5ff Refactored the DP based seam finder 2012-08-07 23:55:06 +04:00
Alexander Mordvintesv
7db1f711f6 Merge branch 'master' of code.opencv.org:opencv
Conflicts:
	samples/python2/common.py
	samples/python2/feature_homography.py
	samples/python2/plane_ar.py
	samples/python2/plane_tracker.py
2012-08-07 23:21:56 +03:00
Alexander Mordvintesv
647b1dd96c comment fixed 2012-08-07 23:19:13 +03:00
Alexander Mordvintesv
a29be81d77 typo fix in features_homography.py 2012-08-07 21:37:46 +03:00
Alexander Mordvintesv
0998669d26 Revert "fixed LshIndex types in its constructor"
This reverts commit 54d68da8e7.
2012-08-07 21:37:19 +03:00
Alexander Mordvintesv
0adf68ae62 work on #2100: pyopencv_to functions now can receive argument information through ArgInfo structure. Non-contiguous input numpy arrays are copied. In case of non-contiguous output array the TypeError is thrown. 2012-08-07 21:03:17 +03:00
Vadim Pisarevsky
e2eb81bcb2 Merge remote-tracking branch 'origin/master' 2012-08-07 18:17:49 +04:00
marina.kolpakova
fc8c65ff15 HAVE_CUDA macro 2012-08-07 18:23:18 +04:00
marina.kolpakova
8e274c886c Greedy Labeling implementation in correctness test 2012-08-07 18:23:18 +04:00
marina.kolpakova
e8e7b94443 test fix 2012-08-07 18:23:18 +04:00
Vadim Pisarevsky
36d3bbff8b added description of FAST 5/8 and FAST 7/12 (by Vincent) 2012-08-07 18:17:30 +04:00
Vadim Pisarevsky
bcb499328d Merge remote-tracking branch 'origin/master' 2012-08-07 18:00:10 +04:00
Andrey Kamaev
8aa2d6cddc Fix several documentation build warnings 2012-08-07 18:00:09 +04:00
Vadim Pisarevsky
4b5f948307 added SSE2-optimized 3x3 invert by Grigoriy Frolov 2012-08-07 17:59:52 +04:00
Andrey Pavlenko
c1571e21ff android tutorial v2, initial draft commit 2012-08-07 17:27:48 +04:00
alexey.spizhevoy
43d46c0e8b Minor fix in the DP based seam estimator 2012-08-07 16:24:21 +04:00
alexey.spizhevoy
7222f2724f Fixed bug 2012-08-07 16:24:21 +04:00
alexey.spizhevoy
85d1c463b9 Minor changes 2012-08-07 16:24:21 +04:00
alexey.spizhevoy
897c2bbd14 Added support of 8UC3 2012-08-07 16:24:21 +04:00
alexey.spizhevoy
a39bce204d implemented DP-based seam estimation method 2012-08-07 16:24:21 +04:00
Vladislav Vinogradov
cd58b7e154 Merge branch 'master' of code.opencv.org:opencv 2012-08-07 16:09:04 +04:00
Vladislav Vinogradov
76d46e20de fixed build with CUDA 4.2 2012-08-07 16:08:22 +04:00
Andrey Kamaev
ce9b97c78c Fixed number of svn->git migration issues 2012-08-07 14:32:57 +04:00
Andrey Kamaev
5100ca7508 svn repository web references are replaced with links to git 2012-08-07 14:30:36 +04:00
Andrey Kamaev
a3527fc4d8 Add git support to run.py 2012-08-07 14:30:36 +04:00
Andrey Kamaev
bd33e166d0 Use git hash instead of svn version in cmake status report 2012-08-07 14:30:36 +04:00
Andrey Kamaev
1852cb7eab Fix tegra build warnings 2012-08-07 14:29:51 +04:00
Vladislav Vinogradov
8624d18ca5 new implementation of gpu debayer
* without border extrapolation
* with aligned write
* process 4 pixels per thread in 8u case
2012-08-07 13:34:11 +04:00
Vladislav Vinogradov
5ce896d9ee added perf tests for new gpu::cvtColor functions 2012-08-07 13:34:11 +04:00
Vladislav Vinogradov
b0461db43f added missed device synchronization 2012-08-07 13:34:11 +04:00
Vladislav Vinogradov
7b025474e2 added debayer to gpu::cvtColor 2012-08-07 13:34:11 +04:00
marina.kolpakova
c0d3adef25 intervales for vector type support 2012-08-07 13:22:41 +04:00
marina.kolpakova
0bf10c9a47 added connectivityMask calculation function 2012-08-07 13:22:41 +04:00
marina.kolpakova
a9764dd910 fixed not defined macro warningds 2012-08-07 13:22:41 +04:00
marina.kolpakova
51433a9331 C.C. Labeling: added stream support 2012-08-07 13:22:41 +04:00
marina.kolpakova
350621057f connected components labeling 2012-08-07 13:22:41 +04:00
marina.kolpakova
2c8d11071c minor in license file 2012-08-07 13:22:41 +04:00
Vadim Pisarevsky
0d5c694ec4 Merge remote-tracking branch 'origin/master' 2012-08-07 12:54:22 +04:00
yao
c03ac12fcd Add dft and gemm to ocl module, using AMD's clAmdFft and clAmdBlas libraries 2012-08-07 16:33:46 +08:00
yao
7741d585f5 Merge branch 'master' of git://code.opencv.org/opencv 2012-08-07 08:37:38 +08:00
Andrey Kamaev
50d13ba5c4 Fixed xml name generation in run.py 2012-08-06 19:10:55 +04:00
Andrey Kamaev
9981b283a6 Fixed build warnings (including error in FAST) 2012-08-06 19:10:55 +04:00
Andrey Kamaev
fdc48abd18 Added ignore for tbb source tarballs 2012-08-06 19:10:55 +04:00
Andrey Kamaev
bc227ab075 Intermediate files generated by Android toolchain are moved into CMakeFiles subfolder 2012-08-06 19:10:55 +04:00
Alexander Mordvintesv
a717b7cbed Merge branch 'master' of code.opencv.org:opencv 2012-08-06 17:17:13 +03:00
Vadim Pisarevsky
2013118971 new/improved Python samples by Alexander Mordvintsev 2012-08-06 16:35:35 +04:00
yao
7d97e8112a fix bugs in tests, set device for each test case
Signed-off-by: yao <bitwangyaoyao@gmail.com>
2012-08-06 15:51:27 +08:00
yao
505cda43d1 Merge branch 'master' of git://code.opencv.org/opencv 2012-08-06 15:01:21 +08:00
yao
0db69fbe19 Add blend, columnsum, pyrUp/down, matchTemplate for ocl module 2012-08-06 15:00:27 +08:00
Philipp Wagner
9db42aca04 Issue #2232: Bugfixes for 64bit Python-compability. 2012-08-06 01:37:43 +02:00
Philipp Wagner
2c2d6fa5fd Issue #2231: Attempt to fix segfault, when copying labels. LDA needed to be updated to generate the Wrapper correctly. 2012-08-06 01:14:51 +02:00
Alexander Mordvintesv
d9dc02541a Added descriptions to PlaneTracker samples 2012-08-05 10:20:42 +03:00
Alexander Mordvintesv
353c69e017 created PlaneTracker (int plane_tracker.py), which implements multitarget planar tracking
rewritten feature_homography.py using it
added plane_ar.py - simple augmented reality sample
2012-08-03 22:17:11 +03:00
Alexander Mordvintesv
2ea3dd391a Merge branch 'master' of code.opencv.org:opencv 2012-08-03 19:21:10 +03:00
Evgeny Talanin
064d022a4b Set correct path to repo in python tests (changed after migration to git) 2012-08-03 17:50:55 +04:00
Vadim Pisarevsky
9c0f556d88 fixed a few compile warnings and errors with VS2010. 2012-08-03 17:12:45 +04:00
andrey.kamaev
5b4297cccf Android CMake toolchain is updated for NDK r8b 2012-08-03 17:00:46 +04:00
Vadim Pisarevsky
310b1ad7b9 moved parallel_for_ and ParallelLoopBody to core.hpp 2012-08-03 16:41:00 +04:00
Vadim Pisarevsky
fd9069422a Merge remote-tracking branch 'origin/master' 2012-08-03 16:14:38 +04:00
yao
687d7639a8 Merge branch 'master' of git://code.opencv.org/opencv 2012-08-03 15:44:15 +08:00
niko
3180bbe3a8 Merge branch 'master' of git://code.opencv.org/opencv 2012-08-03 14:09:04 +08:00
niko
8eeacc8cc8 performance and bug fix for addWeighted cartToPolar div exp log resize setTo
add channel 3 support
add fast way Between CPU and GPU for the data which is aligned
2012-08-03 14:08:36 +08:00
Ilya Lavrenov
27c2aa3a4e parallel version of bilateral filter was implemented using parallel_for_ 2012-08-02 16:25:30 +04:00
marina.kolpakova
8d73bbb8b7 fixed 2228 2012-08-02 13:18:55 +04:00
yao
1eedcea58d for test
Signed-off-by: yao <bitwangyaoyao@gmail.com>
2012-08-02 11:34:11 +08:00
Alexander Mordvintesv
ffa8c32348 work on feature_homography.py: multiple targets 2012-08-01 21:41:03 +03:00
Philipp Wagner
989631c5cc facerec.cpp: Removed Original LBP wrapper, because it is not in use and therefore generates a warning. 2012-07-31 21:54:48 +02:00
Philipp Wagner
4a4f90c406 facerec.cpp: Added an exception to the LBP extraction, so now a meaningful exception is thrown if the wrong image type was given. Thanks to Eric Christiansen for reporting. 2012-07-31 21:50:46 +02:00
Vadim Pisarevsky
fac3d9994c integrated another portion of SSE optimizations from Grigory Frolov 2012-07-31 19:07:55 +04:00
Vadim Pisarevsky
5f2ce22fbf Merge remote-tracking branch 'origin/master' 2012-07-31 17:18:35 +04:00
Vadim Pisarevsky
640408ebe7 added FAST<5/8> & FAST<7/12> (by Vincent Rabaud) 2012-07-31 17:17:58 +04:00
Andrey Pavlenko
73f95e59f3 Tegra3 package support enabled; Service version code incremented.
Android 4.1.1 native camera fix (shared libraries for native Android camera updated).
2012-07-31 15:22:58 +04:00
Alexander Smorkalov
d0608c2cd4 Shared libraries for native Android camera updated. 2012-07-31 13:20:36 +04:00
Alexander Smorkalov
f1e3bc850b Warning fix. ifdefs for 4.1.1 added. 2012-07-31 13:20:36 +04:00
Alexander Smorkalov
7d63f9f680 Android 4.1.1 native camera fix. BufferQueue class is used instaed of Surface texture. Includes in cmake updated. 2012-07-31 13:20:36 +04:00
Vladislav Vinogradov
b43cec3301 added gpu::graphcut for float sources (CUDA 5.0) 2012-07-31 12:46:04 +04:00
Vladislav Vinogradov
4f99f69a29 added gpu alpha premultiplication 2012-07-31 12:46:04 +04:00
Vladislav Vinogradov
79d0dc25f4 added gpu RGB<->Lab and BGR<->Luv conversions 2012-07-31 12:46:04 +04:00
Vladislav Vinogradov
051adcb786 added gpu BGR<->Lab and RGB<->Luv color conversion and gammaCorrection 2012-07-31 12:46:04 +04:00
Andrey Pavlenko
484e83a9b6 minor update (pictures resize removed, emulator screen-shot downscaled) 2012-07-31 12:31:23 +04:00
Philipp Wagner
40e65b9603 facerec_demo.py: Updated contact mail address. 2012-07-30 19:31:49 +02:00
Philipp Wagner
62a8f6783e FaceRecognizer supports updating a model now. Documentation has been updated to reflect latest changes. 2012-07-30 19:31:10 +02:00
Vadim Pisarevsky
b9d7c712f5 made countNonZero SSE code SSE2-compliant and portable 2012-07-30 16:02:49 +04:00
Alexander Mordvintsev
72a4f1924d feature_homography.py:
building descriptor index on target capture
simple AR experiment (work in progress)
2012-07-30 12:39:41 +04:00
Andrey Pavlenko
dea7f92c86 updating URL to Android info start page 2012-07-30 10:39:59 +04:00
Andrey Pavlenko
e2b9c65b35 updating README content 2012-07-30 10:36:23 +04:00
niko
cf04fed369 fix the compilation bugs 2012-07-30 14:34:36 +08:00
Philipp Wagner
c0a4105467 facerec_demo.py: Shortened code. Final version. 2012-07-30 02:24:39 +02:00
Philipp Wagner
4a7e29b3f4 facerec_demo.py: Reworked demo to remove all matplotlib dependencies. 2012-07-30 02:18:27 +02:00
Philipp Wagner
508a029dae Moved the facerec_demo.py to the wrong directory. Now moved to the python2 folder. 2012-07-30 01:18:58 +02:00
Philipp Wagner
1454f3d391 Added the facerec_demo.py to show how to perform Face Recognition with the Python module. 2012-07-30 01:16:38 +02:00
Philipp Wagner
f29d73fe86 Updated the train method to be an InputArrayOfArrays, so the Python wrapper now generates the correct code (and it works). 2012-07-29 23:51:12 +02:00
Philipp Wagner
b2deab2175 Updated the documentation to (1) reflect the latest changes and (2) answer some questions I were asked. 2012-07-29 23:16:51 +02:00
Philipp Wagner
5983f8008f Fixed facerec_eigenfaces.cpp demo sample: it contained hardcoded values, which made wrong element access possible. Fixed unsigned integer/signed integer warnings in facerec.cpp. 2012-07-29 22:41:40 +02:00
Philipp Wagner
f160c49473 Merge branch 'master' of git://code.opencv.org/opencv 2012-07-29 22:20:48 +02:00
Philipp Wagner
79b45b1392 Bug #2214: Fixed bug, when calling the train method multiple times. The Eigenfaces and Fisherfaces method now re-estimate the model, the LBPH method appends the new data to the existing model. 2012-07-29 22:20:07 +02:00
Josh Doe
f1690557bf core/stat: fix build with 32-bit
Optimization introduced in b782d8bb only works for 64-bit builds, but
ifdef failed to check for this.
2012-07-29 14:48:21 -04:00
Alexander Mordvintesv
f8facadc67 print description in mosse.py 2012-07-29 17:24:47 +03:00
Alexander Mordvintesv
f6191cc5bb added MOSSE sample 2012-07-29 17:21:49 +03:00
Alexander Mordvintesv
0f9bbf85e5 spelling corrections, added aero images as a more impressive example for
ASIFT
2012-07-29 16:26:22 +03:00
Alexander Mordvintesv
88a9f8f919 spelling corrections, added aero images as a more impressive example for
ASIFT
2012-07-29 16:15:44 +03:00
marina.kolpakova
22673c161a fixed 2212 2012-07-28 13:05:40 +04:00
marina.kolpakova
4869e846f3 partly merged with sbromle/opencv fixes branch 2012-07-27 13:09:53 +04:00
Eric Christiansen
f08996bd37 asserted in LBPH code that images must have a single channel 2012-07-26 16:55:54 -07:00
Sam Bromley
8506ce06c1 Fix missing remainder of line. 2012-07-26 12:46:51 -02:30
Sam Bromley
fd98520d78 Protect check of CV_SSE4_2 with #if defined. 2012-07-26 12:43:56 -02:30
OpenCV Buildbot
8f41f592d7 update FFMPEG wrapper binaries 2012-07-26 19:11:14 +04:00
Sam Bromley
966a652142 Fix crash when polling for non-existent Kinects.
If no Kinects are present, crash can result from
stepping beyond end of device list. Now we check
to ensure this does not happen.
2012-07-26 12:36:21 -02:30
Sam Bromley
49b55a7245 Protect check for _MSC_VER with #if defined. 2012-07-26 12:35:21 -02:30
Vadim Pisarevsky
318151d75b added gitignore to filter out certain temporary files 2012-07-26 17:11:00 +04:00
Anatoly Baksheev
acd19fe36c test7 2012-07-25 22:20:41 +04:00
Andrey Pavlenko
de90033e93 test 2012-07-25 18:26:07 +04:00
Anatoly Baksheev
29fee9cab3 test2 2012-07-25 18:11:07 +04:00
Anatoly Baksheev
2b0c0e71bb test 2012-07-25 18:05:39 +04:00
Maria Dimashova
a39cf2dd28 updated doc on triangulatePoints (#2167) 2012-07-25 17:51:37 +04:00
marina.kolpakova
e1e0c46639 integrated patch: HOG confidence calculation. Thanks, Wongun. 2012-07-25 15:26:26 +04:00
marina.kolpakova
4fa282e1a9 fixed SURf according to clockwise descriptor convention 2012-07-25 13:08:05 +04:00
marina.kolpakova
afc0cf8c4e fixed surf for upright case 2012-07-25 12:21:35 +04:00
marina.kolpakova
fdfa402428 fixed surf for upright case 2012-07-25 12:19:08 +04:00
marina.kolpakova
cf92e4b4e0 Merge branch 'master' of git://5.9.49.245/opencv 2012-07-25 08:33:51 +04:00
marina.kolpakova
51f7a3ca81 fixed #2190 2012-07-25 08:32:14 +04:00
Andrey Pavlenko
794b07ba11 removing unused files 2012-07-24 23:58:52 +04:00
Andrey Pavlenko
e16ae33a17 removing unused file 2012-07-24 23:55:14 +04:00
Andrey Pavlenko
e1c7bcab3a minor updates to android tutorials 2012-07-24 19:04:38 +04:00
Maria Dimashova
6b7470f683 fixed gcc compilation 2012-07-24 18:25:46 +04:00
Andrey Pavlenko
39554ead21 updating README content 2012-07-24 17:59:55 +04:00
Maria Dimashova
c5dbc06158 fixed bilateralFilter on uniform CV_32F image 2012-07-24 17:51:20 +04:00
Vadim Pisarevsky
b782d8bb53 integrated patch with some SSE2/SSE4.2 optimizations from Grigory Frolov 2012-07-24 17:24:31 +04:00
Maria Dimashova
54d68da8e7 fixed LshIndex types in its constructor 2012-07-24 17:09:24 +04:00
Anatoly Baksheev
1efb3c8235 test 2012-07-24 14:13:43 +04:00
marina.kolpakova
1b7ad93dc9 LBP features integrated in CascadeClassifier_GPU 2012-07-24 13:51:35 +04:00
marina.kolpakova
2dc93574e1 LBP: switched to PImpl pattern 2012-07-24 13:41:19 +04:00
marina.kolpakova
6c3eeb7d7c removed division 2012-07-24 13:35:04 +04:00
marina.kolpakova
8fb1f4093b removed unused code 2012-07-24 13:26:53 +04:00
Maria Dimashova
29f86df585 merged with r9002 (fix for SURF descriptor) 2012-07-17 14:24:54 +00:00
Marina Kolpakova
e63ab8dec5 LBP: multiscale approach; refactored atomics usage 2012-07-17 08:27:34 +00:00
Niko Li
5dc7752d54 fix a bug of detect opencl 2012-07-17 06:49:32 +00:00
Vadim Pisarevsky
9f4efab40a merged ocl module from ocl branch (it's not quite usable yet; at least on Mac) 2012-07-16 17:08:14 +00:00
Maria Dimashova
cfeb28f2ba fixed tests for scale invariance (uncommented sift test, it's ok now) 2012-07-16 16:21:40 +00:00
Alexander Mordvintsev
ea96047f78 small doc fix 2012-07-16 14:17:39 +00:00
Alexander Mordvintsev
200357fdf4 window name changed 2012-07-16 14:16:36 +00:00
Maria Dimashova
2556bb04f0 changed tests for rotation/scale invariance of descriptors 2012-07-16 13:01:55 +00:00
Alexander Mordvintsev
ad7a6ec41f correct unknown feature report in find_obj.py 2012-07-16 12:31:56 +00:00
Alexander Mordvintsev
3ce5b01543 added asift.py sample 2012-07-16 12:29:49 +00:00
Alexander Mordvintsev
99e404fe86 moving data used by sample into a separate folder
small fix in find_obj.py
2012-07-16 11:46:05 +00:00
Alexander Mordvintsev
8610ff1b4d find_obj.py allows to select detector and matcher and explore matching pairs 2012-07-16 11:31:43 +00:00
Maria Dimashova
63d8eedc51 changed the way of HARRIS creation 2012-07-16 09:26:02 +00:00
Maria Dimashova
839761fa3d fixed #2167 2012-07-16 09:00:25 +00:00
Maria Dimashova
5112d74cad revert my incorrect fix of #2167 2012-07-16 08:02:50 +00:00
Alexander Smorkalov
ddcc839519 Tegra3 package support enabled;
Version code incremented;
2012-07-16 07:56:12 +00:00
Maria Dimashova
d65920d2f7 fixed #2167 2012-07-15 19:10:52 +00:00
Maria Dimashova
ec23d9bb5e added tests on scale invariance of detectors and descriptors 2012-07-15 17:42:41 +00:00
Andrey Pavlenko
9f4c5afbbb merging r9039-9040,9044 from trunk (warnings and message in Java) 2012-07-15 13:20:38 +00:00
Andrey Pavlenko
dc68a56bab fixing wording 2012-07-15 05:51:29 +00:00
Marina Kolpakova
336dcbcff7 fixed brocken tests by classifier loger from r9027 2012-07-15 04:11:46 +00:00
Maria Dimashova
e4e00498a8 fixed typo in test class names 2012-07-14 20:32:31 +00:00
Maria Dimashova
0c6480d89b added tests to check rotation invariance of descriptors (features2d and nonfree) 2012-07-14 20:03:07 +00:00
Andrey Pavlenko
92e6aa5f17 customizing the 'Google Market error' message in samples 2012-07-14 19:49:00 +00:00
Andrey Pavlenko
4e4db94b6b removing warnings on deprecated api when targeting to android-15+ 2012-07-14 19:07:27 +00:00
Anatoly Baksheev
a2430afcac minor LBP for GPU 2012-07-14 16:23:56 +00:00
Maria Dimashova
5120d690f0 fixed nonfree rotation invariance tests for detectors 2012-07-14 16:07:48 +00:00
Maria Dimashova
2c0455da17 changed sift angles according to KeyPoint::angle specification in r9034 2012-07-14 16:02:45 +00:00
Marina Kolpakova
b9e53ec8ea fixed build after r9027 2012-07-14 15:50:49 +00:00
Maria Dimashova
6dc5cd15ed specified KeyPoint::angle in rst doc and code comment 2012-07-14 15:36:35 +00:00
Anatoly Baksheev
bfe6e2c4b1 minor in LBP for GPU 2012-07-14 15:36:25 +00:00
Maria Dimashova
eb119959e8 fixed features2d rotation invariance tests 2012-07-14 15:05:41 +00:00
Maria Dimashova
c94974ccb3 fixed mser (angle is -1 now) 2012-07-14 15:03:39 +00:00
Maria Dimashova
2bd86e2541 fixed compile errors under win 2012-07-14 13:25:41 +00:00
Alexander Mordvintsev
7bbc42127e refactored find_obj.py sample:
- handle bad matching case
- use BFMatcher and FlannBasedMatcher (and thus fixing a bug: L2^2 metric was used for flann)
2012-07-13 20:27:54 +00:00
Maria Dimashova
30c611f1d5 added tests to check rotation invariance of detectors 2012-07-13 18:03:20 +00:00
Anatoly Baksheev
9706079ace a bit refactoring in LBP face detection on GPU 2012-07-13 15:47:09 +00:00
Marina Kolpakova
fb3d6ecb98 merged documentation and android service from trunk 2012-07-13 14:27:09 +00:00
Andrey Kamaev
bb51626573 Build pdf for Android Manager documentation 2012-07-13 13:00:29 +00:00
Andrey Pavlenko
be2457c249 removing 'module' directive to eliminate "PYTHON MODULE INDEX" page in PDF 2012-07-13 08:39:31 +00:00
Maria Dimashova
722df6a998 minor change in doc 2012-07-13 06:00:30 +00:00
Maria Dimashova
438c1444eb added test to check keypoints returned by FeatureDetector (center, size, angle) 2012-07-12 17:52:49 +00:00
Maria Dimashova
017895dd93 filtered MSER keypoints that have centers out of image 2012-07-12 17:51:12 +00:00
Vincent Rabaud
fbf1973bac backport 9018 2012-07-12 16:04:51 +00:00
Vincent Rabaud
3df72fe669 fix gcc C++11 bug mentioned in http://answers.opencv.org/question/283 . Bug also fixed in FLANN upstream 2012-07-12 16:02:02 +00:00
Maria Dimashova
507f546158 split file of features2d tests 2012-07-12 13:57:17 +00:00
Alexander Smorkalov
76fdbeee8a Tegra detector fixed;
Some aditional logs added;
AndroidManifest version incremented.
2012-07-12 13:12:16 +00:00
Maria Dimashova
69296c3333 fixed #2165 2012-07-12 12:32:54 +00:00
Maria Dimashova
d38f694275 fixed CvBoost in mll if no tree can be trained. 2012-07-12 12:29:50 +00:00
Alexander Mordvintsev
65e2350606 work on digits_video.py 2012-07-12 11:51:27 +00:00
Alexander Smorkalov
9f0a16c844 HW compatibility tests added;
Arm-v7a neon package support enabled.
2012-07-12 11:50:40 +00:00
Andrey Pavlenko
76cb051082 better wording 2012-07-12 09:21:39 +00:00
Andrey Pavlenko
06a4553a4f minor upd. (formatting and wording) 2012-07-12 09:21:36 +00:00
Andrey Pavlenko
f6a4350ddd updating wording and initDebug() descr 2012-07-12 09:21:32 +00:00
Andrey Pavlenko
cacf1d1ed3 adding java api ref. to top-level index 2012-07-12 09:21:29 +00:00
Marina Kolpakova
58c67ccfea improved LBP indexing 2012-07-12 08:50:41 +00:00
Marina Kolpakova
965109228d added delobal memory version 2012-07-12 08:50:36 +00:00
Alexander Smorkalov
422f650b20 Package name logic improved;
Aditional tests added;
Some bug fixes with different __SUPPORT_XXX defines.
2012-07-12 08:02:41 +00:00
Marina Kolpakova
2aacff4c39 swithed to the fixed size thread block 2012-07-12 07:11:26 +00:00
Alexander Mordvintsev
c5669448a3 work on features2d python interface 2012-07-11 17:13:43 +00:00
Alexander Mordvintsev
ffd283b7d5 fixed SURF orientations, broken in r8892
(see also r8895, r8887 and #2043)
2012-07-11 16:26:52 +00:00
Maria Dimashova
0b4e96d89c updated thresholds in EM test after cv::EM fixing 2012-07-11 13:52:19 +00:00
Maria Dimashova
75e0eeab17 fixed #2160 2012-07-11 13:51:36 +00:00
Alexander Smorkalov
ed0a158cc1 Unit tests updated. Version and HW compatiblity tests added;
Tegra3, neon, sseX, x64 support uncomment and guarded by ifdefs.
2012-07-11 13:30:41 +00:00
Maria Dimashova
994f8710f3 fixed #2159 2012-07-11 13:26:58 +00:00
Maria Dimashova
7c211796e7 more doc details for #2152 2012-07-11 13:23:18 +00:00
Andrey Pavlenko
5ec9909b71 updating include dirs to make CDT project in Eclipse happy 2012-07-11 13:12:37 +00:00
Marina Kolpakova
3c2691ef96 LBP: minor changes 2012-07-11 12:22:28 +00:00
Marina Kolpakova
ed1b293d34 refactored GPU LBP cascade. Added support for big images. Fixed bug in connected components function 2012-07-11 12:22:22 +00:00
Maria Dimashova
469ec7c522 fixed vfw (#2156) 2012-07-11 09:04:25 +00:00
Maria Dimashova
bc3fb347a3 fixed #2155 2012-07-11 08:41:09 +00:00
Maria Dimashova
e68b26e71f fixed doc #2152 2012-07-11 08:05:06 +00:00
Alexander Mordvintsev
84281d284e mdot function in common.py 2012-07-11 05:07:00 +00:00
Vincent Rabaud
185673e9e2 backoprt 8987 2012-07-10 19:09:25 +00:00
Vincent Rabaud
c52d620817 update the docs for cvExtractSURF and initModule_nonfree() 2012-07-10 19:09:00 +00:00
Marina Kolpakova
86d785622b LBP: switched to texture implementation 2012-07-10 11:58:15 +00:00
Marina Kolpakova
b0606b0557 LBP classifer moved to ptr from DevMem2D 2012-07-10 11:58:10 +00:00
Marina Kolpakova
436d2ff1fc LBP classifer moved to ptr from DevMem2D 2012-07-10 11:58:06 +00:00
Andrey Kamaev
c474e27c1d One more fix for zlib search #1902 2012-07-09 19:16:38 +00:00
Leonid Beynenson
6d3db49932 Changed DetectionBasedTracker a bit to make its method addObject to return an integer value -- the id of the new added object. 2012-07-09 14:37:12 +00:00
Alexander Mordvintsev
d9478252e9 show detected keypoints in feature_homography.py 2012-07-09 12:19:59 +00:00
Andrey Kamaev
a5b60fa532 Fixed typo in Java wrapper for FetauresDetector class 2012-07-09 10:52:28 +00:00
Andrey Kamaev
3869d38671 fixed typo in SURF detector #2149 2012-07-09 10:47:09 +00:00
Marina Kolpakova
d88bbb3d9d fixed undefined behaviour in image codecs initialization 2012-07-08 18:26:28 +00:00
Marina Kolpakova
8c9a9f1c94 fixed documentation missmatch for ORB 2012-07-08 18:26:23 +00:00
Marina Kolpakova
33d95642d3 fixed documentation missmatch for polylines function 2012-07-08 18:26:18 +00:00
Marina Kolpakova
f094983d49 reduced the number of registers used in the LBP responce operator 2012-07-08 18:26:13 +00:00
Marina Kolpakova
09269b4cd8 fixed backward compatibility with less than 1.2 CUDA capability 2012-07-07 21:48:53 +00:00
Philipp Wagner
3ac6272c3b Grammar and Formatting fixes. Added link to the Yale Facedatabase A. Added download directive links for linking to the sample source code samples. 2012-07-06 20:42:02 +00:00
Alexander Mordvintsev
a2c3c1800a new feature_homography.py sample 2012-07-06 15:42:42 +00:00
Alexander Mordvintsev
c6705fbe20 exposed ORB features to python 2012-07-06 15:41:57 +00:00
Marina Kolpakova
66aff45e96 fixed #2130 2012-07-05 20:55:55 +00:00
Andrey Kamaev
e900952b87 quiet most of the OSX build warnings 2012-07-05 12:56:31 +00:00
Andrey Kamaev
b712bbe9a5 Android: updated default TBB version to 4.0 update 5 2012-07-05 09:22:52 +00:00
Andrey Kamaev
620d122fc2 Contrib module is added to java wrappers; fixed algorithm initialisation for python bindings 2012-07-05 07:58:40 +00:00
Andrey Kamaev
b1eba01afb Fixed several mistakes in documentation 2012-07-05 07:30:45 +00:00
Andrey Kamaev
5f8715c8b4 Fixed file globbing in documentation parsers 2012-07-05 05:11:15 +00:00
Vadim Pisarevsky
acf356b080 added contrib module support in Python wrappers (thanks to Eric Christiansen) 2012-07-04 17:59:14 +00:00
Marina Kolpakova
bc83011736 removed unnecessary memory allocation in LBP classifier 2012-07-04 16:03:48 +00:00
Marina Kolpakova
eb599f6832 added checking destination matrix size for resize and integral functions 2012-07-04 16:03:43 +00:00
Marina Kolpakova
6c0af66fd8 removed unused class filds 2012-07-04 16:03:40 +00:00
Marina Kolpakova
e496345d33 added lbp cascade test, fixed race conditions problems 2012-07-04 12:11:16 +00:00
Marina Kolpakova
248f39e13e added performance test for LBP classifier. 2012-07-04 12:11:07 +00:00
Alexander Smorkalov
a9718cc79f Messages updated. Samples rebuild is needed. 2012-07-04 09:55:00 +00:00
Andrey Kamaev
51f6127e0a Merged the recent fixes from 2.4 branch 2012-07-04 08:04:31 +00:00
Marina Kolpakova
4128d5782f added hipotesis filtration 2012-07-04 04:51:09 +00:00
Marina Kolpakova
a53f0f397e LBP classifier: tracking of count of detected objects was moved in cascadeclassifier.cpp 2012-07-04 04:51:00 +00:00
Marina Kolpakova
cdbda45125 merged GPU resize became same as CPU implementation 2012-07-03 16:16:24 +00:00
Alexander Shishkov
13735decf3 updated pdfs to 2.4.2 2012-07-03 15:55:39 +00:00
Alexander Shishkov
0ee2662da6 updated docs theme 2012-07-03 15:37:49 +00:00
Alexander Shishkov
7c2270bb3b updated docs theme 2012-07-03 15:31:13 +00:00
Kirill Kornyakov
f0bff1b64f minor fixes for the second Android tutorial 2012-07-03 15:10:40 +00:00
Andrey Pavlenko
4ac3eb04c4 updating pictures; removing redundant 'fix prj prop-s' step 2012-07-03 15:07:20 +00:00
Kirill Kornyakov
892a0e28ad minor fixes for the first Android tutorial 2012-07-03 14:13:05 +00:00
Alexander Smorkalov
01d08208f6 Library name updated. 2012-07-03 13:40:30 +00:00
Alexander Smorkalov
d943c35ef7 Touchscreen requirement turned off. 2012-07-03 13:31:15 +00:00
Alexander Smorkalov
a5c3c1a7de Package name pattern changed. 2012-07-03 13:18:22 +00:00
Kirill Kornyakov
960a03ca65 renamed google group to the OpenCV4Android instead of android-opencv 2012-07-03 13:16:22 +00:00
Andrey Pavlenko
4b8863c933 install bin.apk 2012-07-03 13:15:41 +00:00
Alexander Smorkalov
73a798e718 About message updated.
Version updated.
2012-07-03 13:04:40 +00:00
Alexander Smorkalov
1ba250b69c Message box text updated. 2012-07-03 13:03:38 +00:00
Alexander Smorkalov
50c49f73f8 Icon for binary package updated. 2012-07-03 12:56:53 +00:00
Andrey Pavlenko
94f05241c5 removing windows-specific path from includes 2012-07-03 12:50:36 +00:00
Andrey Kamaev
efdc055fb1 Fixed Java API tests 2012-07-03 12:44:32 +00:00
Andrey Kamaev
5615ec7c97 Fixed code block in android tutorial 2012-07-03 12:02:58 +00:00
Andrey Kamaev
d386667478 Merged the trunk r8927, r8929 2012-07-03 11:52:54 +00:00
Andrey Kamaev
bd394012e8 Eliminated discrepancy between SSE and non-SSE versions of bilinear resize 2012-07-03 11:30:17 +00:00
Andrey Kamaev
aa4cad80a0 Fixed opponent space color conversion 2012-07-03 11:01:56 +00:00
Alexander Smorkalov
a0ce328f98 Internal docs about service were moved to opencv_extra. 2012-07-03 09:19:04 +00:00
Alexander Smorkalov
7294ccba3c Icon for OpenCV Manager updated. 2012-07-03 09:14:54 +00:00
Andrey Pavlenko
9c60412480 starting 2.4.2 O4A packages will be packed with ZIP instead of TAR.BZ2 2012-07-03 08:38:34 +00:00
Alexander Smorkalov
e5067bff41 Typo fix. 2012-07-03 08:12:27 +00:00
Alexander Smorkalov
65b53f96d0 OpenCV 2.4.0 constant version removed. All docs and samples updated for 2.4.2. 2012-07-03 07:58:48 +00:00
Andrey Kamaev
a78bd92b8e Documentation: fixed duplicated appendix reference 2012-07-02 21:39:17 +00:00
Andrey Kamaev
c68eb408c0 Merged the trunk r8917:8919 2012-07-02 21:12:45 +00:00
Andrey Kamaev
cfc593eb0d Fixed run.py bugs 2012-07-02 21:07:32 +00:00
Maria Dimashova
b528348f39 fixed #2118 2012-07-02 20:21:34 +00:00
Philipp Wagner
927523bc3d Bug 2129: Fix for missing citations in FaceRecognizer documentation. 2012-07-02 18:43:20 +00:00
Andrey Kamaev
a4ec89fb2c Merged version references fix 2012-07-02 15:41:14 +00:00
Andrey Kamaev
de153f0154 Fixed several opencv version references 2012-07-02 15:40:18 +00:00
Andrey Kamaev
81a5415417 Merged the trunk r8913 2012-07-02 15:15:40 +00:00
Maria Dimashova
249bf008ab fixed #1834 2012-07-02 14:50:28 +00:00
Andrey Kamaev
d2b36d74cd Merged the trunk r8911 2012-07-02 14:21:51 +00:00
Andrey Kamaev
df262b340c Fixed #2125 2012-07-02 14:20:59 +00:00
Alexander Smorkalov
139cc61001 Application start without service fixed. 2012-07-02 14:19:14 +00:00
Andrey Kamaev
aa911275c3 Merged the trunk r8907, r8908 2012-07-02 14:12:34 +00:00
Andrey Pavlenko
eaddfb32de updating tutorial 2012-07-02 14:10:06 +00:00
Alexander Mordvintsev
1543b46383 HoG and Hellinger-metric preprocess for digit recognition
line breaks in fitline.py description
2012-07-02 13:49:36 +00:00
Andrey Kamaev
af912f4843 Merged the trunk r8901:8904 2012-07-02 13:46:47 +00:00
Alexander Smorkalov
721c24bc1f Typo fix. Name of native library was inconsists with java loadLibrary 2012-07-02 13:39:55 +00:00
Andrey Kamaev
efe139667b Fixed Android package dependencies 2012-07-02 13:26:51 +00:00
Andrey Kamaev
08890118db Fixed Android package dependencies 2012-07-02 13:19:46 +00:00
Andrey Kamaev
4216f3b24c Fixed Android package dependencies 2012-07-02 13:17:12 +00:00
Andrey Pavlenko
e2e6838da3 adding CDT Builder (via ndk-build.cmd) for JNI part 2012-07-02 13:15:16 +00:00
Andrey Kamaev
a66cd5698a Merged the trunk 8892,8894,8898 2012-07-02 13:06:28 +00:00
Vadim Pisarevsky
a1bc11c429 fixed typo in minMaxIdx description (ticket #2081) 2012-07-02 12:59:02 +00:00
Alexander Shishkov
cf97209f95 update FFMPEG wrapper binaries 2012-07-02 12:57:52 +00:00
Alexander Shishkov
76a644372f update FFMPEG wrapper binaries 2012-07-02 12:49:18 +00:00
Maria Dimashova
52ba2e45c4 removed obsolete parameter 'time' in regression test for descriptors 2012-07-02 12:44:41 +00:00
Andrey Kamaev
d4df1e0b5c Merged the trunk r8887, r8891, r8314 2012-07-02 12:33:37 +00:00
Maria Dimashova
9cd0c9033f fixed angles of SURF detector 2012-07-02 12:32:14 +00:00
Andrey Kamaev
565a8dc30d Fixed automatic temporary files cleaning with run.py on Windows 2012-07-02 12:23:57 +00:00
Andrey Kamaev
5a7804d958 Version number is adjusted to 2.4.2 2012-07-02 12:10:13 +00:00
Andrey Kamaev
088a6597bc Merged the trunk 8855,8885,8886 2012-07-02 12:05:06 +00:00
Maria Dimashova
ad6929b6a4 removed y-axis inversion in drawKeypoints (FeatureDetector has to do this) 2012-07-02 12:04:00 +00:00
Maria Dimashova
0f21890d7d added test for opponent descriptor extractor 2012-07-02 11:58:17 +00:00
Andrey Pavlenko
600ad799c7 restoring binary compatibility with 2.4.1 2012-07-02 11:54:24 +00:00
Andrey Kamaev
3a40f27655 Merged facerec from the trunk 2012-07-02 11:48:16 +00:00
Andrey Kamaev
5d6c90e166 Fixed bugs in facerec documentation 2012-07-02 11:46:17 +00:00
Andrey Kamaev
b368f99d03 Merged the trunk r8852:8880 2012-07-02 11:04:43 +00:00
Marina Kolpakova
76354287aa fixed build without CUDA 2012-07-02 10:54:05 +00:00
Alexander Smorkalov
c80d205ecf OpenCV Library renamed. 2012-07-02 10:07:24 +00:00
Alexander Smorkalov
3a88fc5aa9 Android samples renaming was done. Icon updated. 2012-07-02 10:06:08 +00:00
Maria Dimashova
b3f68d29e7 fixed bow sample 2012-07-02 09:21:55 +00:00
Marina Kolpakova
319c20c797 result storing: atomic based 2012-07-02 08:08:17 +00:00
Marina Kolpakova
a9f2f522e7 LBP classifier was refactored, added parameter for max size of detected object 2012-07-02 08:08:11 +00:00
Marina Kolpakova
e6f7e4d83e GPU resize became same as CPU implementation 2012-07-02 08:08:02 +00:00
Marina Kolpakova
60b73e7471 gpu classifier default values became same as to cpu implementation 2012-07-02 08:07:55 +00:00
Marina Kolpakova
e7f5978768 classifier loading has been improved 2012-07-02 08:07:46 +00:00
Alexander Mordvintsev
83ccdbd0ce refactored digits_adjust.py (dataset preprocess in cloud) 2012-07-02 07:49:46 +00:00
Alexander Mordvintsev
6977a89525 descriptions for watershed.py and video.py 2012-07-02 04:44:31 +00:00
Alexander Mordvintsev
d015bf6f5e fitline.py sample added 2012-07-02 03:51:47 +00:00
Maria Dimashova
6042c59495 fixed #1764 2012-07-01 22:40:25 +00:00
Vadim Pisarevsky
31395b0759 added check for false bug report #2081 2012-07-01 21:29:50 +00:00
Vadim Pisarevsky
562838e0b5 partial fix for repeated algorithm registration (patch #2101 by Stephan Reuter) 2012-07-01 21:14:16 +00:00
Maria Dimashova
d56b771963 fixed #2082 2012-07-01 20:59:29 +00:00
Maria Dimashova
8f5b15b1c3 fixed compilation in msvc 2012-07-01 20:58:08 +00:00
Vadim Pisarevsky
e918877bcf fixed bug with uninitialized variable in cvGetOptimalNewCameraMatrix (patch #1731 by floemker) 2012-07-01 20:56:27 +00:00
Vadim Pisarevsky
7ef2114107 added fullscreen mode on Mac (patch #2040 by Takahiro Horikawa) 2012-07-01 20:25:24 +00:00
Vadim Pisarevsky
b5eb318ae3 added support of homogeneous points to calcCorrespondEpilines (ticket #2055) 2012-07-01 20:13:49 +00:00
Andrey Kamaev
dec38e5949 Background subtractor GMG: removed flexitype, fixed build errors. 2012-06-30 20:47:09 +00:00
Andrey Kamaev
afe11f69fb Fixed Windows build warnings and configuration problem. 2012-06-30 20:45:01 +00:00
Andrey Kamaev
27c23b557c Merged few small fixes from 2.4 branch 2012-06-30 13:36:27 +00:00
Marina Kolpakova
304dac7f00 fixed #2113 2012-06-30 09:37:40 +00:00
Marina Kolpakova
cdad4ac7c9 Merge branch 'home' 2012-06-30 09:29:33 +00:00
Leonid Beynenson
6d3fecd490 Fixed small bug in cv::Ptr<_Tp> conversion to cv::Ptr<_Tp2>. Now this conversion is made in a more accurate way. 2012-06-29 16:38:03 +00:00
Andrey Pavlenko
a72f4474b4 fixing bug #1987(android keeps RGBA in alpha pre-multiplied form, Mat <-> Bitmap should handle this correctly) 2012-06-29 15:38:10 +00:00
Andrey Kamaev
2b6b6f12e2 Debug message is turned off 2012-06-29 08:47:38 +00:00
Andrey Kamaev
0584ac525b Quiet MSER tests 2012-06-29 08:34:07 +00:00
Andrey Kamaev
71729a5967 opencv_ts is removed for java API 2012-06-29 08:11:20 +00:00
Andrey Kamaev
17fd1c7c61 Merged recent changes from trunk - 8833,8848,8850 2012-06-29 07:52:34 +00:00
Andrey Kamaev
4d09d62f85 Added Ptr<T> support to AlgorithmInfo; fixed some warnings 2012-06-29 07:46:53 +00:00
Andrey Kamaev
a25c27ca05 Fixed windows build problems of BackgroundSubtractorGMG but code still need more work. 2012-06-28 20:42:26 +00:00
Vadim Pisarevsky
82cb2ab556 fixed bug in SVD, ticket #2027; fixed building highgui with ffmpeg support on MacOSX 2012-06-28 19:45:13 +00:00
Andrey Kamaev
57fb5f0981 Merged Android build fix 2012-06-28 19:32:32 +00:00
Andrey Kamaev
5a2ba94dd6 Fixing parallel build for Android 2012-06-28 19:30:39 +00:00
Andrey Kamaev
35a31e1c35 Fixed few warnings 2012-06-28 18:11:54 +00:00
Andrey Kamaev
2a2092092f Fixed Android build warnings in backgroundsubtractor_gbh 2012-06-28 18:11:10 +00:00
Marina Kolpakova
37a63523e7 fixed merge problem 2012-06-28 17:54:08 +00:00
Andrey Kamaev
a71797c0c4 Reverted some changes in videostab module 2012-06-28 17:48:53 +00:00
Andrey Kamaev
5715d9ef42 Removed incorrectly merged test 2012-06-28 17:41:03 +00:00
Marina Kolpakova
ab69f5e091 merged python samles 2012-06-28 17:33:11 +00:00
Marina Kolpakova
54ee92e3b0 merged trunk r8815:8827 2012-06-28 17:28:27 +00:00
Marina Kolpakova
b28b2428f6 changing package layout after 'make install' for Android build 2012-06-28 17:23:50 +00:00
Marina Kolpakova
2dcb091d94 merged Android samples 2012-06-28 17:14:29 +00:00
Marina Kolpakova
162f9fd7ea merged the trunk r8735:8766, r8769, r8777:8780, r8790 and r8800:8811 2012-06-28 17:07:17 +00:00
Marina Kolpakova
b156e2f7ed added FREAK (by Kirell Benzi, Raphael Ortiz, Alexandre Alahi and Pierre Vandergheynst) 2012-06-28 16:46:29 +00:00
Marina Kolpakova
3def843652 merged the trunk r8719:8731 and 8807 2012-06-28 16:39:53 +00:00
Vadim Pisarevsky
7c778fc043 fixed possible video distortion problem when cap_avfoundation.mm is used to capture video (ticket #1980) 2012-06-28 16:34:53 +00:00
Vadim Pisarevsky
e4b58ebff5 added GMG background segmentation algorithm by Andrew Godbehere, ticket #2065 2012-06-28 16:24:48 +00:00
Marina Kolpakova
01570fa800 merged Android Manager and new java layout 2012-06-28 16:23:19 +00:00
Marina Kolpakova
680a44189c merged the trunk r8704:8716 2012-06-28 16:13:29 +00:00
Leonid Beynenson
35344569bf Added possibility in the class DetectionBasedTracker to work as a tracker only -- without the mainDetector.
In this case new objects will be added into it by the method addObject(const cv::Rect& location).
2012-06-28 16:07:10 +00:00
Marina Kolpakova
2777ebb8a0 merged GPU scan 2012-06-28 16:00:38 +00:00
Vadim Pisarevsky
fd901d8323 fixed #2108 (thanks to Vincent for the report and proposed solution) 2012-06-28 15:52:34 +00:00
Marina Kolpakova
6cca6a4548 merged the trunk r8669:8702 2012-06-28 15:41:27 +00:00
Marina Kolpakova
150aeee58f merged iOS framework from the trunk 2012-06-28 15:13:57 +00:00
Andrey Kamaev
6a13c9efc0 Added cmake for building Android package 2012-06-28 13:42:08 +00:00
Leonid Beynenson
d822989c8b Added template method cv::Algorithm::set(const char* _name, const Ptr<_Tp>& value),
which allows to pass as the second parameter of the method set any cv::Ptr<_Tp> object.
2012-06-28 12:17:11 +00:00
Leonid Beynenson
00b02f9f6d Small addition change in the FileStorage sample. 2012-06-28 11:17:32 +00:00
Andrey Kamaev
e4965b143f Fixed discrepancy between SSE and regular baranches in FREAK 2012-06-28 11:08:11 +00:00
Andrey Kamaev
739da31add Fixed Android build with SDK tools revision 20 2012-06-28 11:06:31 +00:00
Leonid Beynenson
7fc18fe146 Added to the sample, demonstrating FileStorage, how to read/write data from/to std::string. 2012-06-28 10:32:34 +00:00
Andrey Pavlenko
42d830ec23 switching to dynamic linking 2012-06-28 07:51:19 +00:00
Andrey Kamaev
e8b0d27942 Fixed cvExtractSURF in case of no keypoints found #2076 2012-06-28 05:59:30 +00:00
Vadim Pisarevsky
d60b1f2f82 fixed bug #2106; added test 2012-06-27 20:51:48 +00:00
Vadim Pisarevsky
73ce3ef8c1 fixed ios framework build (ticket #2092) 2012-06-27 19:52:59 +00:00
Philipp Wagner
ea0b57cc23 API Link corrected. 2012-06-27 18:37:03 +00:00
Philipp Wagner
d636c677f4 API Link corrected. 2012-06-27 18:35:52 +00:00
Andrey Kamaev
6c3137a8b5 Fixed divide by zero problem in cvStereoRectify (thanks to Philip Van Valkenberg) #2099 2012-06-27 15:15:32 +00:00
Andrey Kamaev
f09ae32796 Fixed Mat::isContinuous for big matrix (thanks to Boris Mansencal) #2103 2012-06-27 14:19:35 +00:00
Andrey Kamaev
15e50420bc Fixed linux and android install 2012-06-27 13:52:29 +00:00
Alexander Mordvintsev
c6685bc9a7 improved recognition accuracy by better region normalization 2012-06-27 13:22:06 +00:00
Alexander Mordvintsev
60dd599aea discard digit's internal contours in digits_video.py 2012-06-27 12:42:21 +00:00
Andrey Pavlenko
8b67adea98 workarounding missing native part in Java tests 2012-06-27 12:38:57 +00:00
Andrey Kamaev
a323da6fd5 Fixed some warnings and install problems on linux 2012-06-27 12:02:31 +00:00
Vladislav Vinogradov
59ce0a9f81 Merged revision(s) 8679 from trunk:
new implementation of gpu::PyrLKOpticalFlow::sparse (1.5 - 2x faster)
........
2012-06-27 10:53:35 +00:00
Alexander Mordvintsev
981564ffe9 work on digits_video.py 2012-06-27 10:09:45 +00:00
Vladislav Vinogradov
5c19c6cb67 Merged revision(s) 8664 from trunk:
new implementation of gpu::PyrLKOpticalFlow::dense (1.5 - 2x faster)
........
2012-06-27 09:58:33 +00:00
Alexander Mordvintsev
c71c82a8f1 work on digits_video.py 2012-06-27 09:46:04 +00:00
Andrey Kamaev
abde1377f3 Fixed mistake in documentation 2012-06-27 09:20:02 +00:00
Alexander Mordvintsev
b987154ebc digits_video.py prints warning if trained classifier (should be created by digits.py) not found 2012-06-27 08:29:22 +00:00
Andrey Pavlenko
3804ca3e20 changing package layout after 'make install' for Android build 2012-06-27 06:22:26 +00:00
Alexander Mordvintsev
6dffc5332d digits_video.py (VERY IMMATURE)
digits.py now saves the resulting SVM classifier for use in digits_video.py
2012-06-27 05:59:16 +00:00
Alexander Mordvintsev
13b30d7428 digits_adjust.py sample added 2012-06-27 05:51:24 +00:00
Alexander Mordvintsev
d636e1128b removed ANN digits recognition
added deskew for SVN and KNearest recognition sample
2012-06-27 04:29:15 +00:00
Philipp Wagner
f2e78eed8c Fixed wrong restructured text directive, when referencing to other documents. 2012-06-26 21:24:19 +00:00
Andrey Kamaev
69b5972e03 Fixed MSVC build with Qt enabled #2096 2012-06-26 21:05:15 +00:00
Philipp Wagner
a15d97b716 Added the cv::FaceRecognizer documentation (API, Face Recognition Guide, Tutorials). 2012-06-26 20:13:11 +00:00
Andrey Pavlenko
9efc1a689b fixing project properties 2012-06-26 15:25:00 +00:00
Andrey Pavlenko
ac6061ee8a hiding extra build-time messages 2012-06-26 13:42:10 +00:00
Alexander Smorkalov
b962bf75cf Sample3-native build fix. Dependency from OpenCV library project added. Scripts updated. 2012-06-26 13:24:12 +00:00
Alexander Smorkalov
369f2c4903 Color blob detection example updated for OpenCV Manager model. 2012-06-26 12:58:46 +00:00
Alexander Smorkalov
109e308763 Sample4-mixed was updated for OpenCV Manager model. 2012-06-26 12:57:43 +00:00
Alexander Smorkalov
0693073b98 Example3-native updated for OpenCV Manager model 2012-06-26 12:44:57 +00:00
Marina Kolpakova
bd500ff0f7 fixed LBP loader test 2012-06-26 12:44:27 +00:00
Alexander Smorkalov
521b89e69d Sample 2 was updated for OpenCV Manager model. 2012-06-26 12:31:04 +00:00
Alexander Smorkalov
207f4fc53c Sample 1 updated for OpenCV Manager model. 2012-06-26 12:26:42 +00:00
Vladislav Vinogradov
e7c35b1852 fixed bug in cv::gpu::HOGDescriptor::detectMultiScale 2012-06-26 12:24:48 +00:00
Alexander Smorkalov
7a858885e6 Image manipulations sample updated for OpenCV Manager model. 2012-06-26 12:20:35 +00:00
Marina Kolpakova
a743eca076 LBP features: GPU representation 2012-06-26 12:15:19 +00:00
Andrey Kamaev
55567582a6 added XIMEA support for linux (by Igor Kuzmin) #2085 2012-06-26 11:48:58 +00:00
Andrey Kamaev
f9418853a0 Applied XIMEA path (by Marian Zajko) with multiple changes #2054 2012-06-26 11:47:49 +00:00
Vladislav Vinogradov
e9e66e5796 added VIBE_GPU (background subtraction) to gpu module 2012-06-26 10:38:15 +00:00
Andrey Kamaev
0f8e271509 Fixing iOS detection in core persistence 2012-06-26 09:21:22 +00:00
Andrey Kamaev
dd7eeea118 Fixing cv::tempfile on Windows #2093 2012-06-26 09:07:37 +00:00
Andrey Kamaev
a142a3b78a Fixed Android Manager build 2012-06-26 08:48:45 +00:00
Andrey Kamaev
ecf6b5a87c Making all dependencies from highgui module optional 2012-06-26 07:29:36 +00:00
Alexander Smorkalov
700b685575 Revision 8725 restored. Android sample FaceDetection updated according DetectionBasedTracker interface. 2012-06-25 17:12:19 +00:00
Alexander Smorkalov
80febef237 revision 8721 vas merged to head. Detection based tracker interface changed. cpp and android samples updated. 2012-06-25 17:01:55 +00:00
Marina Kolpakova
915c81febf fixed build without CUDA 2012-06-25 16:52:54 +00:00
Marina Kolpakova
6801f475ad LBP: implemented first version of device side part 2012-06-25 16:39:50 +00:00
Marina Kolpakova
71f94e12fb LBP: implemented image data preparing 2012-06-25 16:39:45 +00:00
Marina Kolpakova
91ba48c5f9 added lbp related CUDA files 2012-06-25 16:39:40 +00:00
Marina Kolpakova
e637168e44 completed test: load LBP classifier 2012-06-25 16:39:34 +00:00
Marina Kolpakova
143c57064b LBP classifier represintation in GPU memory 2012-06-25 16:39:29 +00:00
Andrey Kamaev
4a0249f865 Minor update for zlib search 2012-06-25 16:03:45 +00:00
Vladislav Vinogradov
4ee236b1b6 added docs for MOG_GPU and MOG2_GPU 2012-06-25 13:19:55 +00:00
Andrey Kamaev
7b806f6008 fixed several documentation errors 2012-06-25 12:56:46 +00:00
Vladislav Vinogradov
d85ef03a42 added background subtraction sample for gpu module 2012-06-25 12:48:54 +00:00
Vladislav Vinogradov
3a4353f04d added FGDStatModel, MOG and MOG2 to gpu performance sample 2012-06-25 11:46:45 +00:00
Vladislav Vinogradov
ed8b6c798b copy 768x576.avi video to sample directory 2012-06-25 11:26:07 +00:00
Andrey Kamaev
d9c74f63e1 All tests writing temporary files are updated to use cv::tempfile() function 2012-06-25 11:24:06 +00:00
Andrey Kamaev
ec3a7665b0 Fixed FREAK on Android 2012-06-25 11:19:11 +00:00
Vladislav Vinogradov
acc031aaba added MOG_GPU and MOG2_GPU (Gaussian Mixture background subtraction) 2012-06-25 11:13:50 +00:00
Alexander Mordvintsev
d49c697fda added comments to contours.py and edge.py samples 2012-06-25 10:58:34 +00:00
Alexander Mordvintsev
a3220a446f added comment to letter_recog.py sample (adopted from c++ version) 2012-06-25 10:52:45 +00:00
Marina Kolpakova
5f6bbcc89a added test for GPU LBP cascade: load cascade 2012-06-25 08:46:34 +00:00
Andrey Pavlenko
715b0d181c adding missing images 2012-06-25 06:44:08 +00:00
Andrey Kamaev
1ee5c95ee9 Updated gtest to upstream rev616 2012-06-24 18:25:58 +00:00
Andrey Kamaev
cfa9aa9206 Search python libs exactly matching to python executable on cmake 2.8.9 and newer 2012-06-24 18:25:01 +00:00
Andrey Kamaev
84d62b69dc Fixed windows build of FREAK 2012-06-24 14:33:30 +00:00
Andrey Kamaev
bd901eb52d Reverted r8721 and r8725 (issue #2080) 2012-06-24 08:50:03 +00:00
Vadim Pisarevsky
74707ec7ae added FREAK (by Kirell Benzi, Raphael Ortiz, Alexandre Alahi and Pierre Vandergheynst) 2012-06-24 01:37:55 +00:00
Andrey Kamaev
a381b95e91 Fixed buggy NEON check inside flann 2012-06-22 16:10:43 +00:00
Andrey Pavlenko
cc54226e12 updating version 2012-06-22 15:19:03 +00:00
Andrey Pavlenko
cf88b9d00c workarounding service-related changes 2012-06-22 15:18:06 +00:00
Vadim Pisarevsky
87d1731714 added synonym CV_COMP_HELLIGNER for CV_COMP_BHATTACHARYAA to reflect the real formula used (bug report #2073) 2012-06-22 15:12:19 +00:00
Marina Kolpakova
1365e28a54 initial support of GPU LBP classifier: added new style xml format loading 2012-06-22 15:00:36 +00:00
Alexander Smorkalov
02170a0a58 Sample updated due to new DetectionBasedTracker interface. 2012-06-22 14:07:54 +00:00
Vadim Pisarevsky
0c65ea976a added the optional output maxima value to phaseCorrelate (patch #2071 by Robert Huitl) 2012-06-22 13:34:03 +00:00
Andrey Kamaev
511d09f587 Fixed tests broken by r8708 2012-06-22 08:36:29 +00:00
Andrey Pavlenko
2984fa751e adding OpenCV Manager 2012-06-21 14:50:05 +00:00
Alexander Smorkalov
a3be73b5cc revisions 8681 and 8688 restored. Warning fixed.
Warning: changes beak binary compatibility
2012-06-21 14:37:28 +00:00
Andrey Pavlenko
0a58d8f139 moving to OpenCVLoader API 2012-06-21 14:06:23 +00:00
Andrey Kamaev
5e0160d711 Fixed few warnings on Linux 2012-06-21 12:44:48 +00:00
Andrey Pavlenko
952b25f86f changing 'java' module layout 2012-06-21 11:44:31 +00:00
Andrey Kamaev
25f70e691a Fixed warnigs from zlib defines 2012-06-21 10:28:57 +00:00
Andrey Pavlenko
3af92a9d92 fixing warnings 2012-06-21 09:14:14 +00:00
Marina Kolpakova
b065c7a296 fixes for the newly added gcc warning keys 2012-06-21 03:48:36 +00:00
Andrey Kamaev
f6ef504ef0 Fixed few more warnings/bugs. 2012-06-20 21:09:27 +00:00
Andrey Kamaev
e94e5866a1 Fixed mingw build warnings 2012-06-20 17:57:26 +00:00
Andrey Kamaev
988c405f79 Fixed build with MSVC 2012-06-20 16:03:03 +00:00
Andrey Kamaev
d48d7b2b46 Updated warning options for GCC; fixed new warnings. 2012-06-20 12:27:02 +00:00
Andrey Pavlenko
779f4e39de adding JNI func-s declarations to eliminate build warnings inside Android tree 2012-06-20 08:58:30 +00:00
Andrey Pavlenko
2c786a47d0 fix for #2048 (artificial 'delete' method had wrong JNI signature) 2012-06-20 08:28:43 +00:00
Andrey Pavlenko
dc93c21962 fix for #2063 ( Mat(Mat m, Rect roi) returns wrong sub-mat) 2012-06-20 07:43:01 +00:00
Marina Kolpakova
43f2682e15 fixed build without CUDA 2012-06-20 07:30:19 +00:00
Marina Kolpakova
e7f6c4b7ef scan operations are moved in separate header 2012-06-20 05:41:16 +00:00
Andrey Kamaev
8748cbc232 Fixed optional dependencies tracking in CMake. Fixed TBB compiler definitions for Android. 2012-06-19 20:08:15 +00:00
Marina Kolpakova
6620c5c92d Merge branch 'work' 2012-06-19 13:41:15 +00:00
Marina Kolpakova
18918a5e44 fix for 1.x compute capabilities 2012-06-19 13:41:08 +00:00
Evgeny Talanin
528da9184c added OpenCVConfig.cmake 2012-06-19 11:28:07 +00:00
Andrey Kamaev
e8d158a5c8 Reverted changes breaking Android build 2012-06-19 08:10:05 +00:00
Andrey Pavlenko
a497e1b37e minor tutorial update 2012-06-18 14:50:49 +00:00
Alexander Mordvintsev
e0df3e27ac added digits2.py sample (work in progress) 2012-06-18 14:42:43 +00:00
Maria Dimashova
9152d3fee2 minor fixing 2012-06-18 14:25:00 +00:00
Maria Dimashova
39f865faf9 set sample param to its default value in function 2012-06-18 14:14:15 +00:00
Andrey Kamaev
7dcbf32532 Fixed WString related build problem in Android build 2012-06-18 13:08:59 +00:00
Alexander Mordvintsev
3b55e0d4e9 added kmeans.py sample 2012-06-18 11:48:04 +00:00
Alexander Mordvintsev
b4dafa6b58 fixed SVM train_auto docs: "train set" <-> "test set" 2012-06-18 11:38:47 +00:00
Alexander Smorkalov
1736cc9739 Code style fix. dbt face detection example turned off for Windows. 2012-06-18 10:59:28 +00:00
Marina Kolpakova
db08656a38 resize area are fixed for scales that aren't divide 128 2012-06-18 10:31:36 +00:00
Andrey Kamaev
0f01d8df1c Fixed Visual Studio precompiled headers 2012-06-18 09:19:57 +00:00
Marina Kolpakova
f7c1d16b38 resize area with block scan 2012-06-18 09:00:36 +00:00
Marina Kolpakova
81c6adb959 resize area with block scan 2012-06-18 09:00:32 +00:00
Marina Kolpakova
9a9f212db0 resize function signature refactoring 2012-06-18 09:00:28 +00:00
Marina Kolpakova
e69c6fdef4 minor formating changes 2012-06-18 09:00:22 +00:00
Alexander Smorkalov
7c160cdc30 Detection based tracker was refactored. Detector interface added. 2012-06-18 08:55:05 +00:00
Andrey Kamaev
a20837fb7c Fixed precompiled headers support detection 2012-06-18 06:53:13 +00:00
Vladislav Vinogradov
f392ab0e08 new implementation of gpu::PyrLKOpticalFlow::sparse (1.5 - 2x faster) 2012-06-18 06:49:10 +00:00
Andrey Kamaev
33d9e2354a Fixed Android build with Eigen. 2012-06-16 14:52:46 +00:00
Philipp Wagner
000bf4af48 Two colormaps removed from the list of colormaps, as they are no visually improved enhancement to a Jet colormap. 2012-06-16 08:33:48 +00:00
Philipp Wagner
2c9e81a3ec The COLORMAP_PINK colormap was missing in applyColorMap. 2012-06-16 08:30:22 +00:00
Marina Kolpakova
5b0d7a65e6 minor formating fixes 2012-06-15 15:57:12 +00:00
Andrey Pavlenko
0942244d6f 'call' added to android.bat call 2012-06-15 15:37:11 +00:00
Marina Kolpakova
5d06788305 fixed more "shadow" warnings 2012-06-15 13:21:27 +00:00
Andrey Kamaev
f666bd221f Merged the trunk r8595:8668 (except iOS and new gpu functionality) 2012-06-15 13:21:26 +00:00
Marina Kolpakova
cd81a13d8b added check for CUDA BLUS support in GEMM tests 2012-06-15 13:19:36 +00:00
Marina Kolpakova
c17bd8c11b fixed "shadow" warnings in nvidia folder 2012-06-15 13:16:43 +00:00
Marina Kolpakova
f33d90220d fixed "shadow" warnings in NVIDIA tests 2012-06-15 13:13:36 +00:00
Andrey Kamaev
bd0e0b5800 Merged the trunk r8589:8653 - all changes related to build warnings 2012-06-15 13:04:17 +00:00
Vladislav Vinogradov
2e2bd55729 new implementation of gpu::PyrLKOpticalFlow::dense (1.5 - 2x faster) 2012-06-15 11:02:33 +00:00
Andrey Pavlenko
af6b2e4e96 minor tutorial update 2012-06-15 10:59:09 +00:00
Andrey Pavlenko
8bc9e52dcc fixing typo that breaks the build 2012-06-15 10:42:32 +00:00
Maria Dimashova
5df3c44d30 added check to weight in rgbd 2012-06-15 09:17:10 +00:00
Andrey Pavlenko
fed67b3719 tutorial updated 2012-06-15 09:08:49 +00:00
Andrey Kamaev
73c152abc4 Merged the trunk r8575:8583 (INTER_AREA interpolation for GPU resize) 2012-06-15 08:52:08 +00:00
Andrey Kamaev
ab20da0f53 Merged the trunk r8547:8574, r8587 2012-06-15 08:36:35 +00:00
Andrey Kamaev
c5df95d5a9 Shortened cmake script for opencv_world 2012-06-15 07:52:20 +00:00
Kirill Kornyakov
58aac7ea98 fixes #2044 2012-06-15 07:07:29 +00:00
Andrey Kamaev
16c94d643f Fixed #2053 2012-06-15 06:40:20 +00:00
Andrey Pavlenko
6e1ea0af71 tutorial updated 2012-06-14 20:03:47 +00:00
Andrey Kamaev
542563c444 Fixed Android build warnings for old NDK 2012-06-14 14:52:00 +00:00
Andrey Kamaev
cddac5d221 Android toolchain: fixed try_compile problem with old cmake versions 2012-06-14 14:38:04 +00:00
Andrey Pavlenko
a82ec18425 tutorial updated 2012-06-14 14:37:41 +00:00
Maria Dimashova
1774e73324 added weighting to rgbd odometry 2012-06-14 14:34:15 +00:00
Andrey Kamaev
913d4541a5 Reduced some tegra stubs 2012-06-14 14:09:04 +00:00
Alexander Mordvintsev
a98d6b6217 exposed parallelized SVM prediction to python (predict_all) 2012-06-14 10:02:49 +00:00
Alexander Shishkov
e4d9d5294e fixed #2047 2012-06-14 00:09:47 +00:00
Marina Kolpakova
f273e54be3 fixed part of shadow warnings 2012-06-13 13:21:51 +00:00
Marina Kolpakova
8c6dc17a9f scan based area interpolation for naive cases 2012-06-13 13:21:08 +00:00
Andrey Kamaev
7cccc93bdf Fixed Android build warnings and few warnings in specific cnfigurations 2012-06-13 13:19:43 +00:00
Marina Kolpakova
9dac223039 fixed part of shadow warnings 2012-06-13 13:12:21 +00:00
Marina Kolpakova
7dd0067792 suppress warning no previous declaration for gpu module 2012-06-13 13:10:11 +00:00
Andrey Kamaev
827d7ba2e9 fixed highgui configuration with QT enabled 2012-06-13 11:49:27 +00:00
Andrey Kamaev
cd19de45d3 Fixed problem with incorrect detection of some compiler flags 2012-06-13 11:40:05 +00:00
Andrey Kamaev
694f0e954f Added linking against AppKit framework when OpenCV is configured with WITH_QUICKTIME=OFF 2012-06-13 10:43:03 +00:00
Maria Dimashova
f363c835ab fixed compilation error and some warnings if with_openni is true 2012-06-13 08:38:30 +00:00
Philipp Wagner
7b544d2a6d Documentation for FaceRecognizer started (not added to toc of contrib/doc/contrib.rst yet). CSV file for the samples/cpp/facerec_demo.cpp added. Added some more exceptions to warn the user, when passing bad aligned data. 2012-06-12 22:49:14 +00:00
Andrey Kamaev
5349fa0302 Fixed target_link_libraries for python bindings 2012-06-12 16:18:14 +00:00
Andrey Kamaev
16b50fcec7 restored -Wno-unnamed-type-template-args 2012-06-12 16:15:14 +00:00
Andrey Kamaev
4ddcf06404 Added own CMake macro for compiler flag checks (to not depend on CMake version) 2012-06-12 16:11:30 +00:00
Andrey Kamaev
37212f5e00 Fixing compiler flags checks. 2012-06-12 15:14:28 +00:00
Andrey Kamaev
c5aba337e9 Fixed number of warnings. Fixed mingw64 build. 2012-06-12 14:46:12 +00:00
Alexander Mordvintsev
02e3afae3a fixed find_obj.py (use detectAndCompute) 2012-06-12 06:31:51 +00:00
Vadim Pisarevsky
dcf2a6b857 updated iOS installation instructions 2012-06-11 10:33:45 +00:00
Alexander Mordvintsev
08b2bd9174 fixed #1974 2012-06-11 07:20:34 +00:00
Philipp Wagner
b3c61ee0fe Minor grammatical correction in comments. 2012-06-10 22:42:20 +00:00
Philipp Wagner
cd7d93f362 Exceptions now go into CV_Error. Added thresholding to the FaceRecognizer and updated the demo accordingly. 2012-06-10 22:23:18 +00:00
Philipp Wagner
ee1b671279 Several exceptions added to the available FaceRecognizer classes and helper methods, so wrong input data is reported to the user. facerec_demo.cpp updated to latest cv::Algorithm changes and commented. 2012-06-10 11:57:33 +00:00
Marina Kolpakova
6727e4cb6d fixed build under android 2012-06-10 09:44:47 +00:00
Alexander Mordvintsev
889df76ea7 added lappyr.py sample 2012-06-10 08:38:25 +00:00
Vadim Pisarevsky
139e790fbf always remove libopencv_world.a before building framework to always include the up-to-date code into the framework binary. 2012-06-10 08:27:48 +00:00
Marina Kolpakova
183e13b359 fixed build without CUDA 2012-06-09 17:03:40 +00:00
Vadim Pisarevsky
76f49f3078 added script to build the universal opencv2.framework for iOS device and simulator. fixed opencv_world cmake script to create static libopencv_world.a for iOS. temporarily disable compressed file storages in the case of iOS (to avoid dependency of zlib) 2012-06-09 16:18:39 +00:00
Marina Kolpakova
09d4d69100 minor warning fixes 2012-06-09 15:24:36 +00:00
Marina Kolpakova
f2c30cd90d resize area for big downscaling integration 2012-06-09 15:24:01 +00:00
Andrey Kamaev
f2d3b9b4a1 Warning fixes continued 2012-06-09 15:00:04 +00:00
Marina Kolpakova
f6b451c607 fixed another piece of warnings 2012-06-09 10:58:32 +00:00
Marina Kolpakova
de23734776 Declaration of color conversion functions are moved in header file to avoid warnings 2012-06-09 09:04:17 +00:00
Marina Kolpakova
324a642a20 Fixed all anomimous warnings 2012-06-09 08:33:25 +00:00
Marina Kolpakova
8eadc49a7b Fixed another one thousand warnings about uninitialized anomimnomous 2012-06-09 08:07:10 +00:00
Vadim Pisarevsky
1e14d84008 possibly fixed crash boost caused by the recent modification; slightly improved mlp params in letter_recog sample 2012-06-09 07:05:24 +00:00
Marina Kolpakova
e86f0aaea1 fixed hundreds of "anonymous" warnings for gpu module. 2012-06-08 17:09:38 +00:00
Andrey Kamaev
ffa44fb114 Fixed precompiled headers build on Linux 2012-06-08 16:04:14 +00:00
Andrey Kamaev
47a4e87784 Ignored warnings from gtest with precompiled headers enabled 2012-06-08 14:54:17 +00:00
Andrey Kamaev
8720b27d87 Fixed build with TBB for Android 2012-06-08 10:32:51 +00:00
Alexander Kapustin
018d85dddb New Tegra Optimized thresh_16s and thresh_32f functions were added 2012-06-08 08:49:59 +00:00
Andrey Kamaev
2f40905548 Fixed Android build 2012-06-08 08:11:17 +00:00
Kirill Kornyakov
ec0ec69307 slightly updated windows_install.rst tutorial 2012-06-08 06:26:16 +00:00
Andrey Kamaev
89e3c461ec Fixed build with TBB 2012-06-08 06:23:28 +00:00
Andrey Kamaev
79df8db76f Fixed recently introduced build problems on some platforms 2012-06-08 06:19:17 +00:00
Andrey Kamaev
f62028dc16 Fixed mingw build. 2012-06-08 03:15:08 +00:00
Alexander Shishkov
bee982b492 update FFMPEG wrapper binaries 2012-06-07 17:25:39 +00:00
Andrey Kamaev
49a1ba6038 Set stricter warning rules for gcc 2012-06-07 17:21:29 +00:00
Anatoly Baksheev
0395f7c63f fixed relative path for stitching/details headers 2012-06-07 13:42:59 +00:00
Marina Kolpakova
16ef01efda set to linear interpolation type for upscaling with area interplation flag 2012-06-06 16:05:31 +00:00
Marina Kolpakova
75eedf8b03 call not NPP version in case of INTER_AREA resize 2012-06-06 15:38:08 +00:00
Marina Kolpakova
9aa3f754b7 fixed accuracy test 2012-06-06 15:29:24 +00:00
Marina Kolpakova
83390ea4e1 performance test for INTER_AREA resize has been added. 2012-06-06 14:45:33 +00:00
Marina Kolpakova
aa8fbc26da fix for down rounded output sizes 2012-06-06 13:25:36 +00:00
Andrey Kamaev
5a41c6509e Fixed build of opencv_world with QT on linux #2012 2012-06-06 13:24:41 +00:00
Marina Kolpakova
8231d0d11d fixed for resize with INTER AREA. Since now we divide by convolved area 2012-06-06 12:12:21 +00:00
Marina Kolpakova
eabd757def fixed build 2012-06-06 10:59:10 +00:00
Marina Kolpakova
d192117e86 GPU resize with INTER_AREA 2012-06-06 10:39:42 +00:00
Vadim Pisarevsky
bc54195199 decreased size of the buffer used in CvBoost::update_weights (ticket #1803) 2012-06-06 10:10:48 +00:00
Vadim Pisarevsky
517fc5e2d2 fixed typo in the tutorial code (thanks to Abid Rahman; ticket #2016) 2012-06-06 10:04:09 +00:00
Andrey Pavlenko
da7920ff85 auto-copy java.so to package 2012-06-06 09:22:53 +00:00
Alexander Shishkov
74786075e3 test commit 2012-06-06 09:21:09 +00:00
Andrey Kamaev
a91745558f Updated link in android readme 2012-06-06 09:15:14 +00:00
Alexander Shishkov
80a4157f11 test commit 2012-06-06 09:12:11 +00:00
Alexander Mordvintsev
455349a0eb comments for digits.py sample 2012-06-06 05:52:28 +00:00
Vladislav Vinogradov
03a14bb525 fixed build under windows, updated 768x576.avi video (other codec) 2012-06-05 14:16:57 +00:00
Alexander Shishkov
f5c7a73143 update FFMPEG wrapper binaries 2012-06-05 14:00:47 +00:00
Vladislav Vinogradov
bfb390e82a added gpu::FGDStatModel (Background/foreground segmentation) 2012-06-05 13:32:04 +00:00
Marina Kolpakova
3c16c9c92d fixed #2019 2012-06-05 10:58:53 +00:00
Vladislav Vinogradov
df1ca974ca made GPU Feature Extractor download/convertKeypoints() methods static (Feature #2007) 2012-06-05 08:37:16 +00:00
Andrey Kamaev
40c779fcf5 phaseCorrelate documentation patch by Will Lucas #2017 2012-06-05 06:02:50 +00:00
Andrey Kamaev
5b2db8e75b Dragonfly BSD build fix #2010 (thanks to Thomas Klausner) 2012-06-04 06:19:56 +00:00
Marina Kolpakova
74ec5d7cbb fix for ORB tests 2012-06-01 15:15:58 +00:00
Marina Kolpakova
4b1724aeb9 fix for ORB tests 2012-06-01 15:12:10 +00:00
Alexander Shishkov
a3c4d1b679 updated pdf's to 2.4.1 2012-06-01 13:44:23 +00:00
Alexander Mordvintsev
3cfa6949d7 work on added digits.py sample (neural network for handwritten digit recognition) 2012-06-01 13:27:56 +00:00
Alexander Shishkov
e0b1697cc9 update FFMPEG wrapper binaries 2012-06-01 11:00:59 +00:00
Andrey Kamaev
059b79f7c2 Merged the trunk r8542:8544 2012-06-01 10:59:27 +00:00
Vadim Pisarevsky
2990f23e0c grid-adapted feature detector made a proper Algorithm (ticket #1874) 2012-06-01 09:10:53 +00:00
Vadim Pisarevsky
6206908868 added nmixtures parameter to BackgroundSubtractorMOG2 (ticket #1914) 2012-06-01 09:00:42 +00:00
Vadim Pisarevsky
677680d82d reverted the original VideoCapture::read() code; moved frame index check to where it should belong: ffmpeg wrapper; applied patch by Rob Reilink (ticket #1971) 2012-06-01 08:55:16 +00:00
Andrey Kamaev
586d5a6024 Merged lda fix from 2.4 branch (Fixed reconstruction, so that the mean is correctly added to the reconstructed image.) 2012-06-01 08:48:38 +00:00
Andrey Kamaev
8159ea3386 Merged the trunk r8537 (fixed pdf documentation build) 2012-06-01 08:46:54 +00:00
Andrey Kamaev
50c2443691 Merged Android samples from trunk r8423 r8533 2012-06-01 08:45:45 +00:00
Andrey Kamaev
b1c2cba07c Fixed pdf documentation build 2012-06-01 08:30:52 +00:00
Philipp Wagner
0bd287a8f2 Fixed reconstruction, so that the mean is correctly added to the reconstructed image. 2012-05-31 20:27:46 +00:00
Alexander Smorkalov
3780685fe6 CodeReview #1512 notes fixed. 2012-05-31 12:26:29 +00:00
Andrey Kamaev
834a0b518c Trunk OpenCV version is set to 2.4.9 2012-05-31 11:59:43 +00:00
Andrey Kamaev
2ee917c646 Version of 2.4 branch is adjusted to 2.4.1 2012-05-31 11:26:23 +00:00
Andrey Kamaev
ca0962c738 Megred fix for pyrhon API generator regression r8528 2012-05-31 11:12:12 +00:00
Andrey Kamaev
dde8455db2 removed debug print 2012-05-31 11:06:06 +00:00
Andrey Kamaev
0809ae562e Fixed regression in python wrappers generator 2012-05-31 11:04:11 +00:00
Alexander Smorkalov
5c528defb8 CodeReview #1511 notes upplied. 2012-05-31 10:54:37 +00:00
Andrey Kamaev
daad7900e2 Merged the trunk r8517:8524 2012-05-31 10:53:28 +00:00
Andrey Kamaev
9ad470ba5c backported API for storing OpenCV data structures to text string and reading them back (r8481, r8516, r8518, r8522) 2012-05-31 10:25:29 +00:00
Andrey Kamaev
314813e51c Added C++ and python signatures for moveWindow, resizeWindow and setMouseCallback 2012-05-31 08:11:47 +00:00
Andrey Kamaev
9399394e6c Fixed #1996 2012-05-31 08:02:52 +00:00
Andrey Kamaev
1a572c8e89 Added test for #1997; fixed build warnings 2012-05-31 06:59:06 +00:00
Vladislav Vinogradov
4e4b96e3d9 Merged revision(s) 8484 from trunk:
fixed some bugs in gpu module under Windows:
* convertTo alignment error
........
2012-05-30 17:06:39 +00:00
Marina Kolpakova
6d498495d3 tegra integration 2012-05-30 15:56:53 +00:00
Andrey Kamaev
bf27889f04 Made reference manual table of contents autogenerated 2012-05-30 14:06:47 +00:00
Vadim Pisarevsky
17d9509e31 changed "void FileStorage::release(string&)" to "string FileStorage::releaseAndGetString()" 2012-05-30 13:02:45 +00:00
Alexander Kapustin
29b9070698 tegra::cvtRGB2HSV function was added 2012-05-30 11:52:53 +00:00
Vadim Pisarevsky
74882fe188 replaced "string FileStorage::release()" with 2 methods to preserve backward compatibility. 2012-05-30 11:29:22 +00:00
Andrey Kamaev
4ddcc31edc Fixed few errors in documentation backporting 2012-05-30 11:20:55 +00:00
Andrey Kamaev
81a5988015 Merged the trunk r8467:8507 (inclusive) (big bunch of documentation fixes) 2012-05-30 11:13:07 +00:00
Andrey Kamaev
052d2dc23a Merged the trunk r8459:8466 (inclusive) 2012-05-30 09:00:32 +00:00
Andrey Kamaev
949c4edf41 Merged the trunk r8408:8457 (inclusive) 2012-05-30 08:47:34 +00:00
Andrey Kamaev
7b5a45eac4 Merged the trunk r8384:8407 (inclusive) 2012-05-30 08:04:37 +00:00
Vladislav Vinogradov
48c3cfdfd0 fixed mark_nvidia.py script (warpAffine and warpPerspective) 2012-05-30 05:44:34 +00:00
Andrey Kamaev
ae3c754bb3 Fixed Java API build 2012-05-29 17:13:24 +00:00
Andrey Kamaev
a20248977c Documentation: fixed class/struc members documentation; added warning on incorrectly documented member 2012-05-29 16:55:46 +00:00
Andrey Kamaev
aaf043e7ba Documentation: fixed operators regex; added varargs support 2012-05-29 15:42:38 +00:00
Andrey Kamaev
cf25f572a6 Documentation: improved correctness checking for superclasses 2012-05-29 14:51:59 +00:00
Andrey Kamaev
dad75658f2 Documentation: added support for multiple superclasses 2012-05-29 14:18:43 +00:00
Andrey Kamaev
bb69e03f12 Documentation: added support for virtual methods 2012-05-29 13:59:49 +00:00
Andrey Kamaev
b69e08cf51 Documentation: added support for superclasses in class definition #1308 2012-05-29 13:42:50 +00:00
Alexander Smorkalov
8c50f3e8ae Native camera libs rebuilt for bug #1989 fix. 2012-05-29 13:11:08 +00:00
Alexander Smorkalov
6903e8f0fd Bug #1989 fixed. NULL pointer check added. 2012-05-29 12:13:51 +00:00
Evgeny Talanin
d3c73071ea Temporarily disable test on Mac 2012-05-29 11:41:24 +00:00
Andrey Kamaev
4800d85011 Fixed documentation generation for function arguments having array type i.e. 'type arg[]' 2012-05-29 11:41:23 +00:00
Vladislav Vinogradov
72d2311edf Merged revision(s) 8495 from trunk:
Bug #1991 : fixed gpu interpolation (remap, resize, warp...)
........
2012-05-29 11:35:30 +00:00
Vladislav Vinogradov
6f32fb025d Bug #1991 : fixed gpu interpolation (remap, resize, warp...) 2012-05-29 11:30:44 +00:00
Andrey Pavlenko
eb4ce67dac fixing Java test and sample after moving drawContours() from Imgproc to Core 2012-05-29 11:04:04 +00:00
Andrey Kamaev
40e8d08e8d Added check for trailing semicolon to rst parser; fixed few documentation build warnings 2012-05-29 10:57:25 +00:00
Andrey Kamaev
05de6302fd Fixed documentation: corrected parameter names 2012-05-29 10:36:19 +00:00
Vladislav Vinogradov
67b718f1cb fixed some bugs in gpu module under Windows:
* convertTo alignment error
* compare with scalars error
2012-05-29 08:03:36 +00:00
Andrey Kamaev
c492dc6a83 Fixed property names in cap_dshow #1993 2012-05-29 05:41:46 +00:00
Andrey Kamaev
6ca618277c More fixes for documentation. 2012-05-28 20:11:38 +00:00
Vadim Pisarevsky
bc929a7d46 added API for storing OpenCV data structures to text string and reading them back 2012-05-28 15:38:58 +00:00
Andrey Kamaev
18a8721f49 Small fixes for documentation checking script 2012-05-28 15:29:21 +00:00
Andrey Kamaev
ddd9a99c66 Added check for documented but missing functions 2012-05-28 14:45:14 +00:00
Andrey Kamaev
78329b0dfe New bunch of documentation fixes 2012-05-28 14:36:15 +00:00
Vladislav Vinogradov
d382fa56c7 Merged revision(s) 8474 from trunk:
fixed several problems with CUDA 5.0
* gpu::LUT, uses device memory instead of host memory
* gpu::multiply, round mod for CV_8U depth
........
2012-05-28 14:04:39 +00:00
Andrey Kamaev
4aaaef5967 remaining C-style planar subdivisions data structures are moved to legacy 2012-05-28 13:57:45 +00:00
Kirill Kornyakov
5c13b8706f added fix_properties scripts for Android samples 2012-05-28 13:31:44 +00:00
Vladislav Vinogradov
2582464e51 fixed several problems with CUDA 5.0
* gpu::LUT, uses device memory instead of host memory
* gpu::multiply, round mod for CV_8U depth
2012-05-28 12:09:40 +00:00
Andrey Kamaev
71625ad458 Fixed more documentation & source discrepancies 2012-05-28 11:22:43 +00:00
Alexander Mordvintsev
a61b730238 compatibility corrections 2012-05-28 09:25:08 +00:00
Marina Kolpakova
00117d2a6e warp Affine tegra integration 2012-05-28 08:53:03 +00:00
Alexander Mordvintsev
e0c1fb5f76 updated video_threaded.py sample:
- switch btw threaded and non-threaded mode
- performance counters
- description
2012-05-28 08:51:50 +00:00
Vladislav Vinogradov
addcd16d8f minor fix of gpu perf tests 2012-05-28 08:08:14 +00:00
Andrey Kamaev
eb2f1f81ed Fixed hundreds of documentation problems 2012-05-28 07:36:14 +00:00
Andrey Kamaev
7e698726e4 Added new script for checking correctness of documentation 2012-05-28 07:34:49 +00:00
Andrey Kamaev
9d73b5f510 Added test for #914 2012-05-25 17:56:28 +00:00
Alexander Mordvintsev
6116049225 video_threaded.py sample now uses multiprocessing module's ThreadPool 2012-05-25 14:38:39 +00:00
Alexander Shishkov
a71e690b5e temp commit 2012-05-25 13:35:14 +00:00
Alexander Shishkov
3165b22a97 temp commit 2012-05-25 13:16:16 +00:00
Andrey Kamaev
eb90882b2d Fixed some build warnings 2012-05-25 13:13:51 +00:00
Andrey Kamaev
ca6d2fe76b Moved 3rd-party libraries detection to separate cmake files 2012-05-25 13:12:02 +00:00
Alexander Shishkov
2ac9338f87 temp commit 2012-05-25 13:11:34 +00:00
Andrey Kamaev
0e9e0a01db Added new perf tests for boxFilter 2012-05-25 11:26:43 +00:00
Anatoly Baksheev
4ce8de5174 Merged revision(s) 8455 from trunk/opencv/modules/gpu/src:
compilation with CUDA5.0 (#1982, thanks to Rodrigo)
........
2012-05-25 09:45:42 +00:00
Anatoly Baksheev
543825f2f5 compilation with CUDA5.0 (#1982, thanks to Rodrigo) 2012-05-25 09:44:00 +00:00
Andrey Kamaev
6c86cce21f Fixed groupRectangles documentation #1817 2012-05-25 09:04:26 +00:00
Andrey Kamaev
ab6f0c4e0b Added tegra stub for cornerEigenValsVecs 2012-05-25 08:20:13 +00:00
Andrey Kamaev
e161f428a0 Fixed PvAPI search on Windows #1927 2012-05-24 20:10:13 +00:00
Anatoly Baksheev
6455488ff4 perf_framework: added TEST_CYCLE_MULTIRUN macros ( invokes function tested several times at each iteration ) 2012-05-24 17:12:14 +00:00
Maria Dimashova
276a3fe01b fixed #1981 2012-05-24 16:52:14 +00:00
Andrey Kamaev
a33d67f48a Updated sanity checks for some imgproc perf tests 2012-05-24 15:42:07 +00:00
Alexander Mordvintsev
eb28bef2db added video_threaded.py sample 2012-05-24 15:40:55 +00:00
Vadim Pisarevsky
513080ea12 some more fixes in Algorithm methods declarations 2012-05-24 11:50:54 +00:00
Andrey Kamaev
0fe0a88108 Minor cmake change 2012-05-23 19:28:41 +00:00
Vladislav Vinogradov
3fe100a093 added mark_nvidia script 2012-05-23 13:55:10 +00:00
Vladislav Vinogradov
77f22fe366 minor fix of gpu perf tests 2012-05-23 13:20:53 +00:00
Vadim Pisarevsky
159cc29bb5 fixed undistortPoints description (ticket #1964) 2012-05-23 13:01:40 +00:00
Vladislav Vinogradov
f07250acf3 updated gpu performance tests 2012-05-23 12:58:01 +00:00
Vadim Pisarevsky
5cc4d23d1e fixed description of cv::invert() (ticket #1972) 2012-05-23 12:52:46 +00:00
Vadim Pisarevsky
01169ec826 fixed description of Algorithm::getList(); added sample, thanks to Shervin Emami (ticket #1972) 2012-05-23 12:35:51 +00:00
Andrey Kamaev
3108423a37 Fixed assert placement in cv::invert 2012-05-23 09:28:26 +00:00
Andrey Kamaev
88c934ea8c Added documentation for buildOpticalFlowPyramid 2012-05-23 08:50:43 +00:00
Vladislav Vinogradov
6d08d04293 compilation 2012-05-22 18:59:26 +00:00
Anatoly Baksheev
671233cd46 gpu: added Cascade and mulAndScaleSpectrums perf tests 2012-05-22 18:58:01 +00:00
Alexander Mordvintsev
e703e8f5a6 exposed MSER to python again 2012-05-22 15:53:39 +00:00
Alexander Smorkalov
fc71745caf cv::Exception handling added. Multithreading bug fixed. 2012-05-22 14:47:40 +00:00
Vladislav Vinogradov
3c7240024e updated filters performance tests in gpu module 2012-05-22 13:59:40 +00:00
Leonid Beynenson
32878f8577 Added a check of the DetectionBasedTracker's inner state in the main thread function of this class.
This change should fix a multithread bug in the class.
2012-05-22 13:24:37 +00:00
Anatoly Baksheev
32c7eeca78 arithm test gpu tests for cpu :) 2012-05-22 13:15:22 +00:00
Alexander Smorkalov
b422d078f8 Face detection example updated. Dtetection base tracker mode added. 2012-05-22 12:21:26 +00:00
Vladislav Vinogradov
9bddac1099 fixed gpu-vs-cpu performance tests 2012-05-22 11:27:45 +00:00
Alexander Mordvintsev
61fd5ed0e1 fixed #1969 2012-05-22 11:21:25 +00:00
Vladislav Vinogradov
1d57911646 updated gpu-vs-cpu performance tests 2012-05-22 10:29:58 +00:00
Alexander Mordvintsev
ddf7fde3b2 fixed gaussian_mix.py sample 2012-05-22 09:11:09 +00:00
Anatoly Baksheev
4793ca8fbb fixed precom for opencv_perf_gpu_cpu 2012-05-22 08:54:48 +00:00
Alexander Mordvintsev
cef18937a2 made video_dmtx.py description visible in demo.py 2012-05-22 08:45:10 +00:00
Alexander Mordvintsev
f4f41df756 removed derivLambda param for LK-tracker
linetype -> lineType
2012-05-22 08:43:42 +00:00
Vladislav Vinogradov
d78aa7c937 added cpu performance test for gpu module 2012-05-22 08:29:08 +00:00
Alexander Mordvintsev
8429c109be FIX: VideoCapture::read() was returning empty image for camera captures 2012-05-22 07:58:31 +00:00
Andrey Kamaev
37d9c3f835 Fixed some corner cases of opencv_world configuration 2012-05-21 20:15:17 +00:00
Andrey Kamaev
13a79c753f Updated to TBB4.0 update 4 for Android build 2012-05-21 19:25:03 +00:00
Vadim Pisarevsky
41c932f306 FaceRecognizer class is now derived from Algorithm, therefore it's possible to set and retrieve the parameters using conventional Algorithm::set and Algorithm::get methods 2012-05-21 15:27:40 +00:00
Vadim Pisarevsky
fd68cc768a fixed 2 build problems on MacOSX (highgui with ffmpeg, opencv_world); added macro CV_INIT_ALGORITHM for simpler algorithm registration (ticket #1876) 2012-05-21 14:56:07 +00:00
Andrey Kamaev
9bc5afd278 Updated tegra optical flow stub 2012-05-21 13:57:36 +00:00
Leonid Beynenson
daec4d88fa Now the DetectionBasedTracker will throw exception if it cannot load cascade detector from a file. 2012-05-21 13:54:42 +00:00
Andrey Kamaev
47f72b538f Added new performance tests for calcOpticalFlowPyrLK and buildOpticalFlowPyramid; extracted private header from lkpyramid.cpp 2012-05-21 13:07:53 +00:00
Andrey Kamaev
ac8f61ee91 Fixed Linux build 2012-05-21 08:53:38 +00:00
Maria Dimashova
608855a322 include nonfree for a couple of f2d samples 2012-05-21 08:47:57 +00:00
Andrey Kamaev
decd6c0fab Restored QuartzCore framework for OS X 2012-05-20 19:05:36 +00:00
Andrey Kamaev
0716ebb7a6 Refactored highgui libraries search (tested on Windows only) 2012-05-20 18:49:57 +00:00
Andrey Kamaev
c9027fecc0 Fixed few MinGW build problems 2012-05-20 18:45:19 +00:00
Andrey Kamaev
5a3cbadfe3 Fixing Android SDK search on OS X. 2012-05-20 08:26:20 +00:00
Maria Dimashova
4d36be8794 skip of table header in MLData (#1962) 2012-05-19 14:34:36 +00:00
Andrey Kamaev
094c32ced7 Refactored CMake status report for video IO libs 2012-05-19 13:48:36 +00:00
Andrey Kamaev
9961658eab Fixing compile on some MinGW platforms 2012-05-19 10:44:43 +00:00
Andrey Kamaev
d069c062a6 Added Windows paths support to Eigen search. 2012-05-19 10:14:10 +00:00
Andrey Kamaev
f8368ba6da MinGW: try -mpreferred-stack-boundary instead of mstackrealign 2012-05-19 08:50:24 +00:00
Andrey Kamaev
18c52c309b Restored -O2 for MinGW 2012-05-18 17:32:55 +00:00
Maria Dimashova
28297c0224 fixed Mat::diag (#1939) 2012-05-18 14:38:54 +00:00
Andrey Kamaev
80f1b1478d Fixed parameter name and copy condition 2012-05-18 13:29:49 +00:00
Andrey Kamaev
e1c4fd9e1f Merged the trunk r8345:8376 2012-05-18 13:18:37 +00:00
Andrey Kamaev
70166820ea Merged the trunk r8324:8345 2012-05-18 12:59:40 +00:00
Andrey Kamaev
aebed446b1 Partly merged the trunk r8322 2012-05-18 12:46:44 +00:00
Andrey Kamaev
c3577a288b Merged the trunk r8291:8321 2012-05-18 12:34:01 +00:00
Andrey Kamaev
50ad690993 Merged the trunk till r8291 2012-05-18 12:18:17 +00:00
Andrey Kamaev
e309c51430 Fixed phaseCorrelate result for not power of 2 size images #1812 (thanks to Jeff Mast) 2012-05-18 08:33:19 +00:00
Andrey Kamaev
b8804ccc17 Fixed problem with manually set PYTHON_PACKAGES_PATH #1891 2012-05-18 07:43:12 +00:00
Andrey Kamaev
639bf3ee8f Fixed accumulateWeighted with mask for multichannel matrices #1959 2012-05-18 06:08:14 +00:00
Andrey Kamaev
4a3141accf #1932 Fixed SSE instability on mingw32 2012-05-17 20:25:12 +00:00
Andrey Kamaev
def87eae19 Fixed MinGW build after r8358 2012-05-17 20:19:48 +00:00
Andrey Pavlenko
e3fc405393 fix for #1954 (typos) 2012-05-17 19:36:38 +00:00
Anatoly Baksheev
caddd398e6 Merged revision(s) 8368 from trunk/opencv/modules/gpu/src/imgproc.cpp:
fixed possible compilation error for macos
........
2012-05-17 15:00:36 +00:00
Anatoly Baksheev
b82b4a640d fixed possible compilation error for macos 2012-05-17 14:55:29 +00:00
Andrey Pavlenko
5855c4905e Android samples are updated: onPause()/onResume() release/open camera, a message is shown on camera open error, minor fixes in code and resources 2012-05-17 14:51:04 +00:00
Andrey Kamaev
0ba3236ce0 Fixed Algorithm usage example #1904 2012-05-17 10:52:07 +00:00
Andrey Kamaev
8f3273bf07 Refactored per-computed pyramid handling in calcOpticalFlowPyrLK #1321 2012-05-17 10:29:53 +00:00
Vadim Pisarevsky
00c30681bc Added Snap-to-Screen Edge feature in the case of multiple monitors (patch by Adi Shavit) 2012-05-16 16:13:24 +00:00
Andrey Kamaev
5f9e295adf Added test and workaround for #1942 2012-05-16 15:11:17 +00:00
Andrey Kamaev
a877ecdcf0 Added option to pass pre-computed pyramid to piramidal LK optical flow #1321 2012-05-16 14:52:46 +00:00
Vadim Pisarevsky
f620f1ce57 fixed building avfoundation on MacOSX with iOS targets 2012-05-15 15:34:53 +00:00
Vadim Pisarevsky
8a5b6ced1a fixed background update in GMM2 algorithm (ticket #1931) 2012-05-15 14:25:07 +00:00
Andrey Kamaev
d2da219ec0 Fixed incorrect CMake variable name 2012-05-15 07:43:00 +00:00
Andrey Kamaev
9275adff81 Applied patch for IPP linking under MinGW (thanks to Philippe FOUBERT) #1906 2012-05-14 14:56:17 +00:00
Andrey Kamaev
26fb7603c0 Fixed typo #1896 2012-05-14 14:51:13 +00:00
Andrey Kamaev
07658aeb74 Fixed replacement of -O3 with -O2 for mingw compiler #1896 2012-05-14 14:19:28 +00:00
Andrey Kamaev
78915e016c Fixed python version issue #1903 2012-05-14 14:05:25 +00:00
Andrey Kamaev
8d135e8ea1 Shortened CMake script for opencv_world. Fixed opencv_world link with non-Visual Studio generators on Windows. 2012-05-13 09:34:33 +00:00
Vadim Pisarevsky
6dde56faf4 fixed building opencv_world with VS2010 2012-05-12 16:27:40 +00:00
Andrey Kamaev
3ec3c59197 Updated sanity threshold for convertTo perf test 2012-05-12 15:12:21 +00:00
Vadim Pisarevsky
9bbcebd6b0 added opencv_world module that combines all the other [selected by user] OpenCV modules, except for opencv_python and opencv_gpu. 2012-05-12 13:54:26 +00:00
Andrey Kamaev
8408499c94 Updated dot profuct function table 2012-05-12 11:44:54 +00:00
Vladislav Vinogradov
9df6e51a5b added gpu::compare with scalars (Feature #1754) 2012-05-12 09:45:21 +00:00
Alexander Smorkalov
abe16352d6 ColorBlobDetection example. Bug fix. Refactoring. 2012-05-12 07:38:31 +00:00
Vladislav Vinogradov
ef478840af added message that timings doesn't include data transfer to gpu performance sample (Issue #1846) 2012-05-12 06:28:51 +00:00
Alexander Smorkalov
e62f147edc ColorBlobDetection example. Bug fix. Refactring. 2012-05-12 06:15:32 +00:00
Alexander Smorkalov
b7c1fd34b9 ColorBlobDetection example. Pyrdown added. Contour area filtering added. 2012-05-12 05:19:17 +00:00
Vadim Pisarevsky
52797a55e2 added support for vector<Mat_<>> in InputArray, OutputArray, split & merge 2012-05-11 13:36:48 +00:00
Vadim Pisarevsky
7a7dae3627 fixed problem with Mat::copyTo() with Mat_<> arguments (ticket #1918) 2012-05-11 12:40:20 +00:00
Vadim Pisarevsky
e794622776 propagated 2 fixed from 2.4 to trunk 2012-05-11 11:48:26 +00:00
Vladislav Vinogradov
2dafc9a853 fixed build under MacOS (disabled video decoding, it's not supported) 2012-05-11 11:48:15 +00:00
Vladislav Vinogradov
91e312958b disabled WITH_OPENGL flag under MacOS 2012-05-10 09:53:57 +00:00
Andrey Kamaev
ba238562c6 Fix for #1902 is merged from trunk 2012-05-07 14:05:06 +00:00
Andrey Kamaev
31723effe7 #1902 added workaround for CMake 2.8.2 bug 2012-05-07 14:01:36 +00:00
Alexander Reshetnikov
57e26bde9f Accelerating the completion of video bypass (bug #1893) 2012-05-05 17:28:05 +00:00
Alexander Reshetnikov
3ec43a11ed Fixed read error in VideoCapture for images (bug #1892); minor fix of ffmpeg wrapper warning 2012-05-05 14:43:03 +00:00
Anatoly Baksheev
1313d8a570 added check for CMake 2.8.3 for CUDA support 2012-05-05 09:43:18 +00:00
Anatoly Baksheev
01e93d57f0 Merged from trunk. 2012-05-05 09:25:37 +00:00
Philipp Wagner
86524b0e4a Fixed facerec_demo.cpp. 2012-05-05 09:16:21 +00:00
Alexander Smorkalov
bae8a88c53 Base version implemented. 2012-05-04 13:46:00 +00:00
Anatoly Baksheev
fe91d1ca57 compilation for Macos 2012-05-04 12:11:01 +00:00
Anatoly Baksheev
70f74b70b7 fixed GPU compilation 2012-05-04 11:07:36 +00:00
Anatoly Baksheev
10459a886b Added check for CUDA toolkit version ( older can't compile Kepler ) 2012-05-04 10:34:57 +00:00
Anatoly Baksheev
962754141a Added check for CUDA toolkit version ( older can't compile Kepler ) 2012-05-04 10:31:40 +00:00
Anatoly Baksheev
215dd2a41b Merged revision(s) 8304 from trunk/opencv/cmake/OpenCVDetectCUDA.cmake:
Added check for CUDA toolkit version ( older can't compile Kepler )
........
2012-05-04 10:24:23 +00:00
Anatoly Baksheev
03f122ca88 Added check for CUDA toolkit version ( older can't compile Kepler ) 2012-05-04 10:20:20 +00:00
Marina Kolpakova
025f6674db update for kepler arch support 2012-05-04 10:09:17 +00:00
Anatoly Baksheev
c05ebdffd8 Added default compilation for Kepler 2012-05-04 09:54:48 +00:00
Vadim Pisarevsky
3f5d722f34 fixed typo in mulSpectrums description (ticket #1868) 2012-05-03 15:14:53 +00:00
Andrey Kamaev
0fecbdde6e Added Android NDK r8 support including new mips ABI 2012-05-03 10:40:29 +00:00
Anatoly Baksheev
ab4025f8de fixed for Kepler 2012-05-03 10:23:23 +00:00
Vladislav Vinogradov
c65b7a9980 removed #include "cap_ffmpeg_impl_v2.hpp" 2012-05-03 08:34:14 +00:00
Andrey Kamaev
860172c626 run.py - fixed java tests launch on Windows 2012-05-03 07:50:24 +00:00
Anatoly Baksheev
a79c52a28f updated printCudaDeviceInfo to support Kepler 2012-05-02 21:55:38 +00:00
Marina Kolpakova
6e6271d995 Debug/Release folders fix for QTCreator build 2012-05-02 20:26:19 +00:00
Andrey Kamaev
3a1f85d4e8 Remerged the 2.4.0 branch 2012-05-02 20:20:14 +00:00
Vladislav Vinogradov
77717e1abc fixed opencv_ffmpeg.dll name in gpu video encoding/decoding 2012-05-02 13:23:11 +00:00
Vladislav Vinogradov
ca57239618 fixed some problems after r8280 (lost code) 2012-05-02 13:07:30 +00:00
Marina Kolpakova
ea3fe441df fix for brute-force matcher with CUDA 4.2. 2012-04-30 19:06:37 +00:00
Alexander Shishkov
06e3c8fe91 update FFMPEG wrapper binaries 2012-04-30 19:05:05 +00:00
Vadim Pisarevsky
d5a0088bbe merged 2.4 into trunk 2012-04-30 14:33:52 +00:00
Vadim Pisarevsky
4a34487a03 get back to single-version ffmpeg wrapper (no more v2); make sure the library builds and the tests pass on Ubuntu 10.04 that includes pretty old version of ffmpeg 2012-04-30 12:39:49 +00:00
Vadim Pisarevsky
2c88791600 get back to single-version ffmpeg wrapper (no more v2); make sure the library builds and the tests pass on Ubuntu 10.04 that includes pretty old version of ffmpeg 2012-04-30 12:39:22 +00:00
Vadim Pisarevsky
09ca294a76 avoid simultanous reading data from 2 videos Highgui_Video.regression, since earlier versions of ffmpeg (or the way our wrapper uses them) can not handle that properly 2012-04-30 12:07:04 +00:00
Vadim Pisarevsky
083cbe999b force BUILD_PNG/JPEG/TIFF/ZLIB on MacOSX, because sometimes the found lib<...> is different from the one used in build. 2012-04-28 22:54:14 +00:00
Alexander Shishkov
4bca91e1da update FFMPEG wrapper binaries 2012-04-28 22:50:25 +00:00
Vadim Pisarevsky
5e2df0d6b0 some more fixes in ffmpeg wrapper; now it handles big videos better. 2012-04-28 22:49:13 +00:00
Alexander Shishkov
24f8c21bba updated pdfs 2012-04-28 20:41:32 +00:00
Alexander Shishkov
409c5e04a1 change docs version 2012-04-28 20:10:16 +00:00
Vadim Pisarevsky
7a3b351357 added documentation for ORB (ticket #1835). updated documentation on features2d (Feature2D class is still to be documented) (ticket #1819) 2012-04-28 17:32:02 +00:00
Alexander Shishkov
d40dc9a928 update FFMPEG wrapper binaries 2012-04-28 16:23:36 +00:00
Vadim Pisarevsky
8bab09de07 temporary reverted av_free_packet() patch. 2012-04-28 16:18:39 +00:00
Alexander Shishkov
78ef76165e moved part of f2d docs to the legacy module 2012-04-28 15:13:59 +00:00
Vadim Pisarevsky
c9dacaa254 added description of Algorithm class (ticket #1818) 2012-04-28 14:59:30 +00:00
Vladislav Vinogradov
1566f85386 fixed PyrLKOpticalFlow.dense (final result size) 2012-04-28 13:18:05 +00:00
Vladislav Vinogradov
3f1c6d7357 fixed PyrLKOpticalFlow.dense (final result size) 2012-04-28 13:12:14 +00:00
Vadim Pisarevsky
bffd77ed87 moved planar subdiv docs to legacy; added Input/OutputArray docs to core 2012-04-28 12:59:21 +00:00
Alexander Shishkov
ab15b5954e fixed #1824 2012-04-28 12:48:23 +00:00
Andrey Pavlenko
c3129190fc Java API: minor fix in javadoc 2012-04-28 12:46:50 +00:00
Andrey Kamaev
50009e1546 Improved javadoc generation scripts 2012-04-28 12:31:53 +00:00
Alexander Smorkalov
b165997e22 Bug #1853 15-puzzles example does not work on Samsung gt-i9100 with Android ICS 4.0.3 fixed. 2012-04-28 12:10:53 +00:00
Alexey Spizhevoy
6a9f934233 Fixed bug #1759 2012-04-28 11:45:29 +00:00
Vadim Pisarevsky
40d8d11f45 fixed RGBD capture with Asus Xtion (by Gary Bradski) 2012-04-28 11:33:01 +00:00
Vadim Pisarevsky
682f31a013 fixed 3-channel output tvecs support in calibrateCamera (patch #1807) 2012-04-28 11:10:30 +00:00
Vadim Pisarevsky
53104e6f43 decreased the number of tests in Core_Eigen, decreased the maximum matrix size in Core_SVD; now those tests take less time to complete 2012-04-28 11:00:34 +00:00
Andrey Pavlenko
4a6346961f Java API: updating OpenCV version, minor Core API improvements, enabling EM. 2012-04-28 09:27:05 +00:00
Andrey Pavlenko
2efa446e81 updating Posterize in 'image manipulation' Java sample 2012-04-28 09:25:07 +00:00
Vladislav Vinogradov
9e868272e9 reverted r8003 (CascadeClassifier_GPU didn't work) 2012-04-28 08:56:17 +00:00
Vladislav Vinogradov
917063b7f7 reverted r8003 (CascadeClassifier_GPU) 2012-04-28 08:41:10 +00:00
Vladislav Vinogradov
76dc827648 added BruteForceMatcher_GPU (for legacy) 2012-04-28 07:41:21 +00:00
Alexander Smorkalov
c1c1a376a1 bad changes reverted. 2012-04-28 05:25:31 +00:00
Alexander Smorkalov
a9d9eb1ab6 Loader classes for OpenCV with Android service added. Library loading in OpenCV API removed. 2012-04-28 05:14:24 +00:00
Alexander Shishkov
ac8f6b02de update FFMPEG wrapper binaries 2012-04-27 19:24:48 +00:00
Alexander Reshetnikov
689c1814a5 Fixed VideoCapture memory leak (bug #1481) 2012-04-27 19:23:26 +00:00
Andrey Kamaev
95e657714f Minor improvements: reduced verbosity of positioning tests; run.py - filter out non-executables on windows 2012-04-27 19:13:58 +00:00
Vadim Pisarevsky
1a9758c0a2 fixed Linemod's Detector write method (removed nested sequence delimiters) 2012-04-27 18:09:57 +00:00
Vadim Pisarevsky
9b382d07f6 modified data matrix detection interface (that does not use any new data structures). Added Python sample for data matrix detection. Ticket #1664 2012-04-27 16:10:10 +00:00
Andrey Kamaev
1046f50acb CMake for new Android example 2012-04-27 15:39:46 +00:00
Andrey Pavlenko
3a922a535c adding one more assertion to a Java test 2012-04-27 14:41:28 +00:00
Andrey Pavlenko
52f5009a4c adding Histogram and Posterize, removing Blur from 'image manipulation' Java sample 2012-04-27 14:40:25 +00:00
Vadim Pisarevsky
7ac713405f put template Distance classes back to features2d, since they are used in GPU; fixed OpenCV build with Xcode 2.3 (which includes new libpng) 2012-04-27 14:11:44 +00:00
Alexander Shishkov
da0080dd15 fixed #1855 2012-04-27 14:08:10 +00:00
Alexander Shishkov
37295d7b35 fixed #1833 2012-04-27 14:00:59 +00:00
Alexander Shishkov
a07724aea2 fixed #1841 2012-04-27 13:37:48 +00:00
Alexander Smorkalov
d015a50d51 Base classes for sample added. 2012-04-27 13:37:45 +00:00
Vadim Pisarevsky
c78d056ef6 added BruteForceMatcher (the older variant of BFMatcher) to legacy (ticket #1796). added test for it. Renamed legacy tests to "Legacy_*" 2012-04-27 13:06:16 +00:00
Alexander Smorkalov
211dfd68fd Base code for new sample added. 2012-04-27 12:49:21 +00:00
Alexey Spizhevoy
30431b94d9 Replaced CV_RANSAC in findHomography with CV_LMEDS (videostab) 2012-04-27 12:38:33 +00:00
Vadim Pisarevsky
d60caea559 added test to check #1737 2012-04-27 12:07:56 +00:00
Andrey Kamaev
2a39128268 Updated latentSVM tests and data 2012-04-27 11:32:40 +00:00
Andrey Kamaev
f14d80ab44 Minor documentation fix 2012-04-27 08:58:29 +00:00
Andrey Kamaev
33134ecb87 Increased test threshold for arm 2012-04-27 08:28:40 +00:00
Gary Bradski
54f92013b0 fix to Detector::write so that it doesn't abort on read 2012-04-27 04:05:33 +00:00
Andrey Kamaev
7bfc50b84d #1854 Fixed Mac OS X build with Clang 2012-04-26 21:40:34 +00:00
Andrey Kamaev
09140c2fc6 Reenabled OpponentSIFT test;
Changed compiler flags for 32-bit MSVC;
Fixed handling of "d" suffix of debug binaries in run.py.
2012-04-26 21:37:27 +00:00
Andrey Pavlenko
fc44b3175e adding VIEW_MODE_PIXELIZE to the 'image manipulations' sample 2012-04-26 15:56:01 +00:00
Vadim Pisarevsky
f87c2e49db added version number to opencv_ffmpeg dlls (it's added only when dll copied to the bin directory); it resolves #1827 2012-04-26 13:32:27 +00:00
Andrey Kamaev
b93d3d7a55 Fixed build warnings 2012-04-26 11:58:06 +00:00
Alexey Spizhevoy
2799f51bf9 Minor changes in videostab module 2012-04-26 11:56:30 +00:00
Alexander Smorkalov
5c6de77fc8 Bug #1822 Native camera does not work on Samsung Galaxy SII with Android ICS 4.0.3 was fixed. All binary libs were rebuilt. 2012-04-26 11:38:07 +00:00
Andrey Kamaev
3d0f4fe167 Fixed compiler flags for debug builds 2012-04-26 11:06:34 +00:00
Andrey Kamaev
f208535bb6 run.py: Automatically enable color output in android tests (posix shell only) 2012-04-26 11:05:36 +00:00
Alexey Spizhevoy
02d34bdac2 Refactored videostab module 2012-04-26 09:01:15 +00:00
Alexander Kapustin
79e2070606 5 functions from addWeighted_func family were Neon Optimized 2012-04-26 08:18:01 +00:00
Alexander Shishkov
dd1edc61c5 update FFMPEG wrapper binaries 2012-04-26 07:39:11 +00:00
Vadim Pisarevsky
fcbfc030ef avoid use of "AVFrame::best_effort_timestamp" 2012-04-26 07:38:35 +00:00
Alexander Kapustin
3e899f6fd7 File perf_addWeited.cpp added 2012-04-26 07:20:13 +00:00
Alexey Spizhevoy
2270c2f5bd Refactored videostab module 2012-04-26 07:11:01 +00:00
Alexander Shishkov
d994923fec update FFMPEG wrapper binaries 2012-04-26 07:08:40 +00:00
Vadim Pisarevsky
bc3c49518d ok, now positioning seem to work well, at least with ffmpeg 0.10.2 on MacOSX 10.7 2012-04-26 07:07:37 +00:00
Vadim Pisarevsky
c9e6efc263 propagated changes for retina filters from trunk to 2.4 2012-04-25 17:32:14 +00:00
Andrey Kamaev
db3f9b139b Fixed SURF behavior - from now it always returns keypoints in the same order 2012-04-25 16:03:01 +00:00
Vadim Pisarevsky
562e404224 fixed HighguiFramecount.regression test (and renamed it to Highgui_Video.framecount) 2012-04-25 14:48:15 +00:00
Vadim Pisarevsky
fb292b1b27 added PSNR function to imgproc; refactored highgui positioning test (which still fails) 2012-04-25 14:31:54 +00:00
Alexandre Benoit
9dfb1f77a0 fixed a dicide by zero potential problem 2012-04-25 13:56:09 +00:00
Alexandre Benoit
18fdc6bf1c user can now use the default retia config auatogenerated file to test their own setup 2012-04-25 13:55:14 +00:00
Alexey Spizhevoy
71391eb76f Added LP based global motion estimation (videostab) 2012-04-25 13:21:38 +00:00
Alexander Shishkov
bd49b9b8aa update FFMPEG wrapper binaries 2012-04-25 12:58:42 +00:00
Vadim Pisarevsky
c0fcfcc7d8 refactored highgui_specificvideo* tests; fixed repeated libswscale context creation in videocapture & videowriter (ticket #1541) 2012-04-25 12:56:09 +00:00
Andrey Kamaev
8d130ff10c Fixed most of the floating-point accuracy problems for x86 gcc 2012-04-25 11:33:11 +00:00
Vladislav Vinogradov
a6c261bebd merged bug fix from r8188 (PyrLKOpticalFlow patch size calculation) 2012-04-25 09:28:22 +00:00
Vladislav Vinogradov
e467ece19c merged bug fix from r8174 (GPU_NVidia/NCV.Visualization test) 2012-04-25 09:26:00 +00:00
Vladislav Vinogradov
916d07cf2c merged bug fix from r8179 (ORB_GPU) 2012-04-25 09:23:16 +00:00
Andrey Pavlenko
ea735a0475 Java API: fixing Mat::put() for non-continuous Mat-s, adding/improving tests 2012-04-25 09:00:50 +00:00
Vadim Pisarevsky
87888984a5 added Matx<4,4>*Scalar operator (ticket #1830) 2012-04-25 08:59:37 +00:00
Vadim Pisarevsky
ed1932dfa1 fixed python version in yet another place. 2012-04-25 08:41:57 +00:00
Vadim Pisarevsky
30f1ab059b make Mat::at<>(i) work with 2d matrices (to retrieve all elements in row-major order) (reported by Kurt) and fixed bug #1804 2012-04-25 08:39:21 +00:00
Vladislav Vinogradov
11eacb9d14 Bug #1823 : fixed patch size calculation in PyrLKOpticalFlow 2012-04-25 07:03:32 +00:00
Vladislav Vinogradov
092c1f98f6 fixed build of gpu demos pack 2012-04-25 06:27:55 +00:00
Andrey Pavlenko
a227746d84 removing extra quotes that causes build failure 2012-04-25 05:25:17 +00:00
Vadim Pisarevsky
866d8c0cfa added special function to patch NaN's in image. call this function from bilateralfilter (should fix bug #1811) 2012-04-24 15:16:21 +00:00
Vadim Pisarevsky
47ee844df6 fixed formula in matchShapes, method=CV_CONTOUR_MATCH_I3 (ticket #1801) 2012-04-24 14:56:56 +00:00
Andrey Kamaev
bf8c4a27be Android build scripts for Windows are updated to recognize ninja 2012-04-24 14:32:25 +00:00
Vadim Pisarevsky
a110dc14ca fixed bug in Python's calcEMD2 (ticket #1763) 2012-04-24 14:22:05 +00:00
Vladislav Vinogradov
4ddde66b48 fixed build without ffmpeg (gpu module) 2012-04-24 14:15:38 +00:00
Vladislav Vinogradov
1fba38d01c updated gpu docs (BFMatcher_GPU) 2012-04-24 13:35:58 +00:00
Vladislav Vinogradov
5bafb372af fixed bug in ORB_GPU, behavior in the absence of keypoints found (Bug #1831) 2012-04-24 13:18:34 +00:00
Vadim Pisarevsky
ad8258f872 avoid infinite loop in CvLevMarq (thanks to João Lima for the patch; ticket #1839) 2012-04-24 13:08:56 +00:00
Vadim Pisarevsky
563fc2d1e5 fixed typo in the installation guide (ticket #1844) 2012-04-24 13:01:47 +00:00
Vadim Pisarevsky
488ae9dd6e corrected typo (ticket #1843). added note about imdecode & imencode 2012-04-24 12:54:49 +00:00
Vadim Pisarevsky
75b1788c6b added "Matx*Vec -> Vec" operator (ticket #1830) 2012-04-24 12:45:19 +00:00
Vladislav Vinogradov
70f8b8b5ec fixed GPU_NVidia/NCV.Visualization test 2012-04-24 12:36:15 +00:00
Alexey Spizhevoy
95efec7539 Added local outlier rejector. Added rigid motion estimator. Refactored videostab module. 2012-04-24 12:23:23 +00:00
Vladislav Vinogradov
6e830cf8f8 added additional tests to gpu::BFMatcher 2012-04-24 11:21:23 +00:00
Marina Kolpakova
476c453ef6 fixed bug #1821 2012-04-24 10:07:14 +00:00
Marina Kolpakova
99aed4713f minor tab fix 2012-04-24 09:30:21 +00:00
Marina Kolpakova
f1a0ab365d fixed duplicated paragraph 2012-04-24 09:26:34 +00:00
Vladislav Vinogradov
44eaeee865 refactored gpu BruteForceMather (made it similar to BFMatcher) 2012-04-24 07:56:33 +00:00
Vladislav Vinogradov
c2935a6532 fixed build of gpu module without CUDA (video encoding/decoding) 2012-04-24 07:49:55 +00:00
Andrey Kamaev
b1bf062671 Configuration name is added to the CMake status report 2012-04-24 07:30:38 +00:00
Andrey Kamaev
019122fba7 Fixed dependencies for cmake status embeeded into opencv core 2012-04-24 07:13:50 +00:00
Andrey Kamaev
b7aacb6a93 Fixed assertions in java tests for ORB 2012-04-24 06:51:21 +00:00
Andrey Kamaev
7c025dfc60 Added CUDA version to CMake status 2012-04-24 06:05:57 +00:00
Alexander Reshetnikov
4b5b7bdb5a Fixed cvRetrieveFrame memory leak under AVFoundation (ticket #1837) 2012-04-23 16:12:24 +00:00
Vladislav Vinogradov
f65d841d6f fixed several warnings (VS2010, Win64)
added getParams method to VideoWriter_GPU
2012-04-23 14:22:02 +00:00
Andrey Kamaev
cddadc04b7 Fixed Android manifest install 2012-04-23 12:39:18 +00:00
Vadim Pisarevsky
b8e70ea6c9 NORM_L2SQR added too (ticket #1840) 2012-04-23 12:29:23 +00:00
Vadim Pisarevsky
40f2c716af added NORM_HAMMING* support to cv::norm (ticket #1840) 2012-04-23 12:19:02 +00:00
Andrey Kamaev
8dae3431c7 Fixed ffmpeg dll copying under mingw 2012-04-23 10:52:27 +00:00
Alexey Spizhevoy
24be840c44 Added GPU version of wobble suppressor (videostab) 2012-04-23 10:37:07 +00:00
Alexander Kapustin
3675ef516a 6 functions from Inrange_func family were Neon Optimized 2012-04-23 09:31:08 +00:00
Alexander Kapustin
0094b468e6 Fail perf_inRange.cpp added 2012-04-23 09:09:30 +00:00
Andrey Kamaev
2c85aa543c Make ocv_include_directories a function to minimize problems with windows backslashes 2012-04-23 08:54:15 +00:00
Vladislav Vinogradov
1eebb4506a removed unnecessary CV_EXPORTS 2012-04-23 08:31:14 +00:00
Andrey Pavlenko
9eded52ce5 fixing compilation for Android 2012-04-23 07:10:58 +00:00
Alexey Spizhevoy
36ef599840 Fixed trim ratio estimation for the case of homographies motion model (videostab) 2012-04-23 06:42:55 +00:00
Andrey Kamaev
e4303dc96f Fixed build with mingw 4.4.0 2012-04-22 14:50:09 +00:00
Andrey Pavlenko
3c0e9d12f7 Java API: fixing Mat::get() for non-continuous Mat-s. 2012-04-22 11:44:16 +00:00
Vadim Pisarevsky
9213bba48a wrapped Algorithm class. 2012-04-20 17:03:02 +00:00
Andrey Kamaev
8b6d1f6e45 Fixed build (noiseSigma of BackgroundSubtractorMOG is now protected) 2012-04-20 16:00:49 +00:00
Andrey Kamaev
d46659f6cc Set sanity thresholds for several performance tests 2012-04-20 15:33:34 +00:00
Vadim Pisarevsky
5b6b30ba0e added dedicated <modname>_init.cpp files with initModule_<modname>() functions and all the relevant structures; made BackgroundSubtractorMOG/MOG2 derivatives from Algorithm; cleaned up MOG2 implementation and made it multi-threaded. 2012-04-20 15:32:54 +00:00
Alexander Reshetnikov
3d108958e7 Added resources release for AVT cameras (ticket #1814) 2012-04-20 13:29:10 +00:00
Andrey Kamaev
624880fd67 Minor update for new Ninja cmake generator 2012-04-20 13:22:19 +00:00
Andrey Morozov
720dc231e8 minor fix in calculate bitrate 2012-04-20 12:18:40 +00:00
Andrey Morozov
742668434c minor fix in calculate bitrate 2012-04-20 11:58:31 +00:00
Alexey Spizhevoy
ae8d377561 Replaced DECOMP_SVD with DECOMP_NORMAL|DECOMP_LU for speed (videostab) 2012-04-20 09:02:39 +00:00
Andrey Kamaev
247e2d085f Updated for cmake 2.8.8 2012-04-19 22:33:46 +00:00
Andrey Kamaev
3a4c14e549 Fixed verbosity of badarg tests 2012-04-19 15:45:40 +00:00
Andrey Pavlenko
dbccc9b129 improving Imgproc.convexityDefects() and Imgproc.convexHull() 2012-04-19 15:27:13 +00:00
Andrey Pavlenko
2ec0efaae5 fixing stability of testBitmapToMat() 2012-04-19 15:01:19 +00:00
Andrey Pavlenko
2513f5d3c7 fixing #1808, Java API improvements 2012-04-19 14:21:56 +00:00
Andrey Pavlenko
13427c0cdf fixing convexityDefects() 2012-04-19 14:03:38 +00:00
Alexey Spizhevoy
e49ea39a1f Fixed parsing cmd args bug (videostab) 2012-04-19 12:16:45 +00:00
Alexey Spizhevoy
f355f798a4 Minor changes in videostab module and sample 2012-04-19 10:27:17 +00:00
Alexey Spizhevoy
f42eea1029 Added timing for main steps (videostab) 2012-04-19 09:29:13 +00:00
Alexey Spizhevoy
ada63d1800 Updated videostab sample 2012-04-19 08:38:42 +00:00
Andrey Kamaev
0905c4f6c6 Minor fix for previous commit 2012-04-18 22:02:17 +00:00
Andrey Kamaev
2bedf5bfd5 Refactored build conditionals in highgui tests 2012-04-18 21:32:56 +00:00
Andrey Kamaev
b14df1c1e7 Restored old behavior for OSX 2012-04-18 19:46:34 +00:00
Alexey Spizhevoy
536d36b05a Refactoring (videostab) 2012-04-18 17:00:07 +00:00
Andrey Kamaev
68aec288c0 Fixed Calc_Hist under 32-bit gcc 2012-04-18 16:16:54 +00:00
Maria Dimashova
423b721d97 fixed AlgorithmInfo::read for read only parameters (thanks to Vadim) 2012-04-18 14:03:35 +00:00
Alexey Spizhevoy
1569c1ed52 Added GPU version of PyrLK based global motion estimator (videostab) 2012-04-18 13:23:41 +00:00
Andrey Kamaev
78ee81c409 Fixed dependency from opencv_nonfree in Java bindings 2012-04-18 12:58:42 +00:00
Vladislav Vinogradov
1351f4c8ef added docs for VideoReader_GPU 2012-04-18 12:46:56 +00:00
Maria Dimashova
f6bddd23af minor doc fix 2012-04-18 12:41:23 +00:00
Maria Dimashova
b4a02fae0b added doc on cv::EM; moved doc on CvEM to legacy/doc 2012-04-18 12:22:46 +00:00
Maria Dimashova
ca8241f6e5 made em params read only; minor renaming 2012-04-18 11:56:50 +00:00
Vladislav Vinogradov
e29d41c885 minor fix in gpu video_writer sample 2012-04-18 11:49:17 +00:00
Maria Dimashova
c2ae452ab9 fixed misspelling in ertrees doc 2012-04-18 11:44:35 +00:00
Vladislav Vinogradov
dd6b11b87d fixed build without CUDA 2012-04-18 11:25:56 +00:00
Vladislav Vinogradov
f4b4665940 added VideoReader_GPU 2012-04-18 11:18:25 +00:00
Andrey Kamaev
80516ecbe6 Fixed typo; removed duplicated call 2012-04-18 08:41:00 +00:00
Andrey Kamaev
11ce8683bb Fixed stitching module tests built without nonfree 2012-04-18 08:00:12 +00:00
Alexander Shishkov
dda338a757 update FFMPEG wrapper binaries 2012-04-18 07:49:43 +00:00
Alexander Shishkov
eb306311f1 fixed FFMPEG wrapper compilation on Windows 2012-04-18 07:48:47 +00:00
Andrey Kamaev
0fd5a9e965 Probably fixed instability of single-precision floating-point RNG 2012-04-18 06:09:31 +00:00
Alexander Reshetnikov
4ec74414bb Fixed error in frame positioning (bug #1815) 2012-04-17 17:18:35 +00:00
Andrey Pavlenko
b0dd192d52 fixing #1800 2012-04-17 15:33:18 +00:00
Andrey Kamaev
72f4386fb9 Probably fixed EM tests failure on x86 platforms (thanks to Maria D.) 2012-04-17 15:28:10 +00:00
Andrey Kamaev
44098b2fbb #1813 fixed compiler options with profiling enabled 2012-04-17 11:45:24 +00:00
Vladislav Vinogradov
ffbee1fe97 added docs for VideoWriter_GPU 2012-04-17 11:36:37 +00:00
Vladislav Vinogradov
70909738f4 added support of different surface formats to VideoWriter_GPU
added key frame handling to ffmpeg wrappers
2012-04-17 11:08:08 +00:00
Alexey Spizhevoy
4c44ccc3c9 Removed unnecessary code (videostab) 2012-04-17 09:30:16 +00:00
Alexey Spizhevoy
dfedaff99b Removed unnecessary code (videostab) 2012-04-17 09:21:09 +00:00
Alexey Spizhevoy
19c30eaa11 Refactored videostab module 2012-04-17 09:12:14 +00:00
Vladislav Vinogradov
2bfaf540a1 added VideoWriter_GPU 2012-04-17 07:12:16 +00:00
Maria Dimashova
3dfa917879 refactored train and predict methods of em 2012-04-17 06:29:40 +00:00
Andrey Kamaev
8f7e5811b6 Fixed 2 failing python tests 2012-04-16 21:18:30 +00:00
Andrey Kamaev
ce32b4792f Made OpenCVConfig.cmake friendly to Windows pack 2012-04-16 19:38:19 +00:00
Andrey Kamaev
24c7bdc3d7 #1809 include unistd.h required for usleep 2012-04-16 18:17:38 +00:00
Andrey Kamaev
73047b6d4e Fixed failing Video_OpticalFlow.accuracy test 2012-04-16 15:56:27 +00:00
Maria Dimashova
cdb3f11d5e fixed test on em (old interface) 2012-04-16 15:19:10 +00:00
Andrey Kamaev
965dbf3620 run.py: try working directory as a build path if no paths provided 2012-04-16 15:18:47 +00:00
Andrey Kamaev
b835c04589 Fixed incorrect asssertion in test 2012-04-16 15:17:30 +00:00
Andrey Kamaev
44a1e79621 Fixed build warnings 2012-04-16 15:00:00 +00:00
Maria Dimashova
7120355e06 updated points_classifier sample to use bayes classifier after distributions estimation by EM 2012-04-16 14:54:56 +00:00
Maria Dimashova
eaf0d38f03 removed changes of r8043; fixed 4 broken ml tests by other way 2012-04-16 13:50:10 +00:00
Andrey Kamaev
6d00182e13 Fixed Android build with correct manifest file 2012-04-16 13:30:35 +00:00
Maria Dimashova
570c8254b2 fixed test on em 2012-04-16 12:15:16 +00:00
Maria Dimashova
30f8d5a7d7 fixed creation of opponent space descriptors (#1805) 2012-04-16 11:50:06 +00:00
Alexey Spizhevoy
0824cf5059 Added info about papers (videostab) 2012-04-16 11:45:08 +00:00
Alexander Kapustin
9bb6e899f3 12 functions from Norm_func family were Neon Optimized 2012-04-16 11:39:38 +00:00
Alexey Spizhevoy
8c4ffc8bb2 Fixed typo (videostab) 2012-04-16 11:14:30 +00:00
Alexey Spizhevoy
306248e444 Added support of Clp for Windows 2012-04-16 11:10:41 +00:00
Maria Dimashova
3ee1a1d83c fixed mistake in method name (#1798) 2012-04-16 11:01:08 +00:00
Maria Dimashova
71d7482aee fixed nan in EM, added new test on EM 2012-04-16 10:30:42 +00:00
Alexander Shishkov
94bcaeb2e9 update theme for online docs (was incorrect in Firefox and Safari) 2012-04-16 10:16:19 +00:00
Andrey Kamaev
f9da906144 Fixed Android manifest generation and Android samples install 2012-04-16 09:14:26 +00:00
Ilya Lysenkov
ed8e4b5bcc Fixed comparison methods in matchShapes (issue #1012) 2012-04-16 08:57:42 +00:00
Andrey Kamaev
00de4b9314 Fixed compiler flags caching in toolchain; fixed zlib search. 2012-04-16 07:24:15 +00:00
Andrey Kamaev
2f88062de7 Fixed Android build warning 2012-04-16 07:22:44 +00:00
Alexey Spizhevoy
601d2843f4 Fixed LP based stabilizer 2012-04-16 07:08:28 +00:00
Alexey Spizhevoy
40e7990b6b Added linear programming based stabilizer (videostab) 2012-04-16 06:41:06 +00:00
Andrey Kamaev
c4af85043a merged few missed changes from 2.4 to trunk 2012-04-15 23:19:57 +00:00
Vadim Pisarevsky
2fd1e2ea57 merged all the latest changes from 2.4 to trunk 2012-04-13 21:50:59 +00:00
Andrey Kamaev
67a336e0be Fixed gcc version parsing. 2012-04-13 19:47:29 +00:00
Andrey Kamaev
5c7e8d775c Fixed 4 broken ml tests. 2012-04-13 19:39:14 +00:00
Ilya Lysenkov
2619221331 Spell checked the documentation with VIM (issue #223) 2012-04-13 19:04:44 +00:00
Alexander Reshetnikov
5d4c194502 Removed stdio include from ffmpeg wrapper 2012-04-13 17:56:45 +00:00
Alexander Reshetnikov
0442b3eae4 Updated diagnostic messages in VideoWriter (for ticket #1736) 2012-04-13 17:39:45 +00:00
Ilya Lysenkov
b07f89dcb1 Removed mentions of TBB optimization if users can't actually use it (thanks to Andrey K.) 2012-04-13 15:57:58 +00:00
Ilya Lysenkov
2f44610ef3 Mentioned in doc if a function is parallelized with the TBB library (issue #421) 2012-04-13 15:31:18 +00:00
Andrey Kamaev
74cc370c74 Added Java tests support to run.py 2012-04-13 14:50:11 +00:00
Andrey Morozov
ee682493fd added support clang compiler 2012-04-13 14:15:17 +00:00
Ilya Lysenkov
131663b709 Documented C++ interfaces of XML/YAML persistence classes (issues #1358, #539) 2012-04-13 13:41:57 +00:00
Alexander Shishkov
73aa0e66b9 minor changes in windows install tutorial 2012-04-13 13:01:43 +00:00
Alexander Shishkov
9b6440b415 removed module index 2012-04-13 12:14:19 +00:00
Alexey Spizhevoy
020f9a6047 Updated Clp library related code in CMakeLists.txt 2012-04-13 11:55:12 +00:00
Andrey Morozov
5a21ac5ee4 increased bitrate of recorded video on 25% 2012-04-13 10:25:29 +00:00
Andrey Morozov
0c273b867e increased bitrate of recorded video on 25% 2012-04-13 09:57:41 +00:00
Alexander Shishkov
d77fb60017 minor changes in documentation 2012-04-13 07:31:10 +00:00
Andrey Kamaev
b6dac61e96 Fixed several documentation warnings and errors. 2012-04-12 17:41:55 +00:00
Maria Dimashova
9d764b4115 fixed #1795 2012-04-12 16:43:37 +00:00
Andrey Kamaev
97835a8f32 Fixed 9 more build warnings 2012-04-12 16:21:08 +00:00
Andrey Kamaev
3b3d1a86ae Fixed ant search on Windows 2012-04-12 15:29:50 +00:00
Alexander Reshetnikov
7f6c487ae0 Added perf test for video output 2012-04-12 14:52:27 +00:00
Maria Dimashova
9783cd985f fixed ERTrees name for writing to/reading from xml 2012-04-12 14:13:15 +00:00
Maria Dimashova
8a8b34667d increased the trees number for ERTrees 2012-04-12 14:05:55 +00:00
Maria Dimashova
14ca8ed03c added ability to read files with different space count 2012-04-12 14:03:35 +00:00
Alexey Spizhevoy
cc0ecf9123 Removed unnecessary line (videostab) 2012-04-12 13:58:25 +00:00
Alexey Spizhevoy
df410ce246 Removed unnecessary line (videostab) 2012-04-12 13:57:28 +00:00
Andrey Kamaev
7a3786bad9 Fixed PvApi wrapper build 2012-04-12 13:50:23 +00:00
Alexander Reshetnikov
5042f5daa7 Fixed compilation error under Linux (memset for pvapi was moved to constructor) 2012-04-12 13:35:48 +00:00
Andrey Kamaev
3d42ebb329 Fixed typo 2012-04-12 13:19:00 +00:00
Andrey Pavlenko
f1e3d4d492 adding test for the bug #1795 2012-04-12 13:06:05 +00:00
Alexander Shishkov
f87660033f changed css for search panel 2012-04-12 13:03:16 +00:00
Vadim Pisarevsky
5f33aecd30 changed 2.3 to 2.4 in some guides & tutorials (ticket #1794) 2012-04-12 12:48:58 +00:00
Vadim Pisarevsky
1371c96935 extended morphological operations to handle arbitrary number of channels and CV_64F type; extended filter2D to handle CV_16S type. added test to check the supported formats; added description of supported formats in various filtering operations. 2012-04-12 12:34:55 +00:00
Alexander Reshetnikov
6d0c022347 Fixed cameras segfault (patch #1771) 2012-04-12 12:11:43 +00:00
Andrey Kamaev
7c33d65b59 Fixed broken by r8007 install target 2012-04-12 11:55:33 +00:00
Alexander Shishkov
4a6d434e7d fixed #1310 2012-04-12 11:53:30 +00:00
Alexander Reshetnikov
2c3a712b43 Minor refactoring of condition for avformat_find_stream_info (ticket #1790) 2012-04-12 11:29:02 +00:00
Andrey Kamaev
b3587c9e34 Fixed problem with headers install patch 2012-04-12 11:11:12 +00:00
Ilya Lysenkov
553ea7510b Documented valid image types in morphology operations (issue #1679) 2012-04-12 10:57:11 +00:00
Ilya Lysenkov
04ac6db04a Added support of CV_16S depth in morphology operations 2012-04-12 10:55:47 +00:00
Marina Kolpakova
d547d9c986 fixed alignment related bugs in gpu/nvidia 2012-04-12 10:09:51 +00:00
Ilya Lysenkov
6de2b1a0e6 Updated doc of flann::hierarchicalClustering (issue #1216) 2012-04-12 09:20:43 +00:00
Ilya Lysenkov
cd407b53a8 Corrected doc of Mat::adjustROI() (issue #1245) 2012-04-12 09:01:03 +00:00
Ilya Lysenkov
e4525860e0 Fixed a typo 2012-04-12 08:23:58 +00:00
Marina Kolpakova
c0f6e219bb calcCovarMatrix cupport fot std::vectors of cv::Mat (#494) 2012-04-12 04:21:32 +00:00
Vadim Pisarevsky
38488cfdf1 probably fixed linemod crash (thanks to Stefan for the report) 2012-04-11 19:40:57 +00:00
Maria Dimashova
04d24a8824 refactored likelihood computing 2012-04-11 15:28:50 +00:00
Andrey Kamaev
51385ac73a Java Tests: filtered VideoCapture tests 2012-04-11 14:46:50 +00:00
Alexander Shishkov
94f82c6a1c changed css for search panel 2012-04-11 14:26:49 +00:00
Alexey Spizhevoy
9d871abd32 Refactored videostab module. Added normalization into motion estimators. 2012-04-11 14:02:10 +00:00
Maria Dimashova
3db7823682 removed unnecessary param 2012-04-11 13:48:20 +00:00
Andrey Kamaev
d8cec20e1b Added perf test for calcOpticalFlowPyrLK 2012-04-11 13:47:55 +00:00
Andrey Kamaev
47148ce275 Added version detection for OpenNI 2012-04-11 13:20:25 +00:00
Andrey Kamaev
e4ca7118f3 #1782 Threading optimization of OpenNI wrapper is disabled for TBB < 3.0 2012-04-11 13:08:17 +00:00
Ilya Lysenkov
a77a93a8e2 Minor doc fix. 2012-04-11 12:44:34 +00:00
Alexander Smorkalov
3c08f7a14d Patch #1789 access to Android camera settings applied. 2012-04-11 12:39:58 +00:00
Ilya Lysenkov
8b65286139 Documented error measures used in calcOpticalFlowPyrLK 2012-04-11 12:38:08 +00:00
Andrey Pavlenko
af198233a9 Java API: fixing more tests 2012-04-11 12:37:24 +00:00
Ilya Lysenkov
258afe7cc2 Added OPTFLOW_LK_GET_MIN_EIGENVALS flag as alias for CV_LKFLOW_GET_MIN_EIGENVALS. 2012-04-11 12:36:16 +00:00
Alexey Spizhevoy
ae839df55d Added WITH_CLP flag support into cmake scripts. 2012-04-11 12:34:30 +00:00
Andrey Kamaev
570ec2f166 Improved status report for Eigen and Ximea, improved search of PvApi headers/libs 2012-04-11 12:05:53 +00:00
Alexander Shishkov
7cd42b8b6a modified reduce test 2012-04-11 11:53:56 +00:00
Andrey Kamaev
b756033206 Fixed several warnings on various platforms 2012-04-11 11:11:39 +00:00
Alexey Spizhevoy
b5a1bad7a4 Added more flags for motion estimation in videostab sample 2012-04-11 10:17:35 +00:00
Andrey Kamaev
07f8bf9226 Attempt to fix windows build failure 2012-04-11 08:31:43 +00:00
Andrey Kamaev
b31f468921 Fixed MSVC warning in Mat::diag 2012-04-10 22:57:01 +00:00
Andrey Kamaev
626afecaf8 Fixed couple of MSVC warnings 2012-04-10 22:21:12 +00:00
Vadim Pisarevsky
b122f7326b fixed Core_Array.expressions test 2012-04-10 21:28:53 +00:00
Vadim Pisarevsky
8b0d9f4f5c excluded dangerously overriden Mat_::reshape() method (ticket #1510) 2012-04-10 20:35:57 +00:00
Vadim Pisarevsky
07750a1c7e extended Sobel & Scharr description (ticket #1555). Added CV_32F/CV_64F format combination in sepFilter2D. 2012-04-10 20:25:22 +00:00
Vadim Pisarevsky
6e5e2aa32f fixed references in calib3d (including the ticket #1627) 2012-04-10 19:54:16 +00:00
Andrey Pavlenko
527ff00720 Java API: fixing more tests 2012-04-10 19:23:53 +00:00
Andrey Pavlenko
700bd454b6 Java API: fixing more tests 2012-04-10 19:17:44 +00:00
Andrey Kamaev
1cf96d36cd Corrected fix of flann deprecation warnings 2012-04-10 19:16:31 +00:00
Alexander Reshetnikov
4507764845 Added video input perf test 2012-04-10 18:02:58 +00:00
Andrey Kamaev
a13f03f61e Fixed/suppressed remaining warnings from the python bindings 2012-04-10 15:50:19 +00:00
Andrey Kamaev
c712f376d5 Fixed warnings about unused return value of fscanf, scanf and system 2012-04-10 15:44:07 +00:00
Andrey Kamaev
7fd1cfc5e7 Fixed warnings about unused return value of fread 2012-04-10 15:12:08 +00:00
Andrey Pavlenko
5f02bbd0d9 Java API: fixing more tests 2012-04-10 15:01:10 +00:00
Vadim Pisarevsky
2c4b5014ac added notice and sample about transparent PNGs support in cv::write (ticket #1438, #1706) 2012-04-10 14:50:52 +00:00
Alexander Shishkov
013e16b445 update search panel for online documentation 2012-04-10 14:43:58 +00:00
Vadim Pisarevsky
9eb0dc5194 minor correction in fx, fy (elements of camera matrix) description (ticket #1779) 2012-04-10 14:33:14 +00:00
Vadim Pisarevsky
c0000f3aed added missing contrib & legacy chapters to the reference manual; fixed (x, y)->(y, x) ordering in Mat.at (ticket #1726) 2012-04-10 14:28:48 +00:00
Andrey Kamaev
f5d327362b Android toolchain is updated for NDK r7c 2012-04-10 14:08:41 +00:00
Maria Dimashova
6cbd36fd1e fixed likelihood computing 2012-04-10 14:03:05 +00:00
Maria Dimashova
411467eab8 fixed likelihood computing 2012-04-10 13:21:32 +00:00
Ilya Lysenkov
74325fe993 Removed unnecessary mat.t() 2012-04-10 13:04:18 +00:00
Ilya Lysenkov
829e558d48 Andrey, Maria and I fixed Mat::diag() 2012-04-10 13:02:58 +00:00
Ilya Lysenkov
ade6388d3a Vadim, Maria, Alex, Andrey and I fixed the EM algorithm 2012-04-10 12:45:07 +00:00
Alexander Shishkov
b8f2011f80 fixed incorrect boundaries in countNonZero test 2012-04-10 12:39:32 +00:00
Andrey Pavlenko
a57bc4feea Java API: fixing more tests 2012-04-10 12:09:14 +00:00
Andrey Kamaev
d29a0d4c43 Fixed Ant search (Android build) 2012-04-10 11:59:00 +00:00
Alexander Shishkov
1b495973b2 remove search tips 2012-04-10 11:54:18 +00:00
Maria Dimashova
39c23ea0bd replaced using cv::exp 2012-04-10 11:06:21 +00:00
Alexander Shishkov
6367867cbc update FFMPEG wrapper binaries 2012-04-10 10:54:08 +00:00
Vadim Pisarevsky
6b0ea0e04e define MIN macro in order to build opencv_ffmpeg*.dll. 2012-04-10 10:53:04 +00:00
Maria Dimashova
3b02ee4b29 modified likelihood computing 2012-04-10 10:52:11 +00:00
Alexey Spizhevoy
b549900fe1 Minor fixes and updates in videostab module and sample 2012-04-10 10:33:19 +00:00
Maria Dimashova
74b38e978b fixed kmeans 2012-04-10 10:06:28 +00:00
Andrey Pavlenko
7e06b18144 workaround for the 'Bug #1784 (cvFloor/cvCeil)'; typos fixed; two more tests for checkRange 2012-04-10 09:48:06 +00:00
Alexey Spizhevoy
673f879ccd Fixed bug in videostab sample. Fixed model size in global estimators. 2012-04-10 09:07:30 +00:00
Alexander Smorkalov
54001572d5 Setting camera parameters on Android 2.2.2 fixed. Old Android does not support continuous-video focus mode. 2012-04-10 09:02:50 +00:00
Vadim Pisarevsky
38befe3336 avoid use of OpenCV functions (like cvRound) in cap_ffmpeg_impl*.hpp 2012-04-10 08:40:50 +00:00
Andrey Kamaev
12d42768f8 Slightly improved cmake status report 2012-04-10 08:28:09 +00:00
Andrey Kamaev
18067c8e9f Fixed flann deprecation warnings from flann itself 2012-04-10 08:27:39 +00:00
Andrey Kamaev
cb1565ebc9 Added Android-specific implementation of getNumberOfCPUs 2012-04-10 08:26:46 +00:00
Andrey Pavlenko
dccfd79da8 #1783: test and fix for the bug 2012-04-10 08:22:33 +00:00
Vadim Pisarevsky
b253665f8c added explicit VideoWriter::release(). Fixed video stream finalization (write remaining frames); Fixed occasional crash in the case of odd-width or odd-height videos; Fixed a few problems in ffmpeg tests. Positioning still does not work well. 2012-04-09 23:12:52 +00:00
Alexander Shishkov
1a1d7baf9a update FFMPEG wrapper binaries 2012-04-09 20:59:19 +00:00
Alexander Shishkov
692b709955 test commit for Buildbot 2012-04-09 20:57:53 +00:00
Alexander Shishkov
bf00eba093 update FFMPEG wrapper binaries 2012-04-09 20:17:58 +00:00
Alexander Shishkov
d277a6a2d4 test commit for Buildbot 2012-04-09 20:17:02 +00:00
Alexander Reshetnikov
6f6d12c2b6 Updated cvconfig.h.cmake 2012-04-09 18:51:03 +00:00
Andrey Kamaev
935222c58f ffmpeg version info for Windows 2012-04-09 18:31:52 +00:00
Alexander Reshetnikov
05abdcd64f Changes of highgui structure 2012-04-09 17:38:46 +00:00
Vadim Pisarevsky
213a23e860 updated ffmpeg to 0.10.2 2012-04-09 17:21:54 +00:00
Vadim Pisarevsky
82db65ae8f avoid compile error of opencv_ffmpeg[_64].dll with v2 of FFMPEG wrappers 2012-04-09 17:18:00 +00:00
Alexander Shishkov
f551b2547e turn on CountNonZero test 2012-04-09 15:40:50 +00:00
Alexander Shishkov
bf250b6fed update FFMPEG wrapper binaries 2012-04-09 15:39:02 +00:00
Alexander Reshetnikov
d9e4ad3f50 Code style refactoring for ffmpeg wrappers 2012-04-09 15:38:37 +00:00
Alexander Shishkov
63a3211314 update FFMPEG wrapper binaries 2012-04-09 15:18:07 +00:00
Alexander Reshetnikov
3514042b29 Updated getProperty method in old ffmpeg wrapper 2012-04-09 15:16:59 +00:00
Andrey Kamaev
6fa2f3b74d Minor formatting fix in status report 2012-04-09 14:56:11 +00:00
Andrey Kamaev
f7853b262b Fixed cmake configuration for Android for case when only one SDK target is available #1781 2012-04-09 14:51:14 +00:00
Vadim Pisarevsky
2a626e1a2d fixed input array initialization in ArithmMaskUninitialized test (thanks to Alexander!) 2012-04-09 14:51:08 +00:00
Andrey Kamaev
97427aa614 Added more version information to cmake status (FFMPEG, GStreamer, Unicap, Xine, V4L, DC1394) 2012-04-09 14:41:18 +00:00
Andrey Pavlenko
d03d54f8c1 updating Eclipse projects settings 2012-04-09 14:14:41 +00:00
Andrey Kamaev
c208b58e6b Fixing TBB search and zlib version detection 2012-04-09 13:47:30 +00:00
Ilya Lysenkov
75ad9b9867 Documented a return value in cvOpenFileStorage (issue #215) 2012-04-09 13:37:44 +00:00
Alexander Shishkov
302ececf6b update FFMPEG wrapper binaries 2012-04-09 13:37:13 +00:00
Alexander Reshetnikov
264dff5231 Fixed ffmpeg encoding error (ticket #1743) 2012-04-09 13:35:48 +00:00
Andrey Kamaev
aa4a45ff3b Added more version information to cmake status (Qt, CUDA, OpenEXR, gcc) 2012-04-09 13:22:52 +00:00
Vadim Pisarevsky
8521f8a5ec fixed crashes in videocapture and videowriter on Ubuntu 11.10 2012-04-09 12:50:29 +00:00
Ilya Lysenkov
4e51c38fa3 Documented a return value in meanShift() and CamShift() (issue #1678) 2012-04-09 12:44:18 +00:00
Ilya Lysenkov
e10d7b262b Updated a comment about return value in meanShift and CamShift 2012-04-09 12:30:14 +00:00
Alexander Shishkov
bc803ec93e nonfree is optional for Python module now 2012-04-09 12:07:47 +00:00
Ilya Lysenkov
9f20d014c6 Added documentation of old Python parameters in cv.DrawContours() (issue #987) 2012-04-09 12:03:01 +00:00
Alexey Spizhevoy
39cd13583f Fixed bug in motion stabilization pipeline and updated wobble stabilizer (videostab) 2012-04-09 11:58:56 +00:00
Alexander Shishkov
b79dfaf078 fixed problem with SURF loading in Python tests 2012-04-09 11:45:36 +00:00
Andrey Pavlenko
a68d0278ba Java API: fixing tests compatibility with API level 8 2012-04-09 11:36:32 +00:00
Andrey Kamaev
d1a8f562b9 Added version detection for zlib, libjpeg, libjasper, libpng, libtiff 2012-04-09 11:32:28 +00:00
Ilya Lysenkov
28cf8cee53 Documented the Python version of findContours (issue #1697) 2012-04-09 11:30:38 +00:00
Maria Dimashova
f2c252f8e7 moved to double in EM; fixed bug 2012-04-09 10:51:50 +00:00
Ilya Lysenkov
b6452f4bcf Added a note that cv::pow() doesn't handle NaN and Inf values (#1739) 2012-04-09 10:50:27 +00:00
Andrey Pavlenko
a9b3a17ae6 Java API: fixing more tests 2012-04-09 08:53:54 +00:00
Andrey Pavlenko
17d88783c2 Java API: fixing more tests 2012-04-09 08:31:28 +00:00
Andrey Pavlenko
bb870a8270 Java API: fixing more tests 2012-04-09 08:20:23 +00:00
Andrey Pavlenko
2e7a9041a7 Java API: fixing more tests 2012-04-09 08:07:18 +00:00
Andrey Kamaev
7ed80d54d7 Added TBB version detection to CMake 2012-04-09 07:53:04 +00:00
Alexander Smorkalov
be20370a3d Autofocus issues on Android ICS fixed. Continuous-video focus mode is set.
Performance problems fixed. Shared camera buffer is used.
2012-04-09 07:36:54 +00:00
Andrey Kamaev
7cc7a3f37d Suppressed hundreds of useless MSVC warnings (can be reenabled setting cmake variable ENABLE_NOISY_WARNINGS to ON). Fixed some of remaining warnings. 2012-04-08 21:49:19 +00:00
Andrey Kamaev
c16a1d86cc Fixed python detection on Windows with both 32bit and 64bit pythons installed. 2012-04-08 17:36:41 +00:00
Andrey Pavlenko
35a7dfbd37 removing Java tests for removed classes 2012-04-08 17:26:17 +00:00
Andrey Pavlenko
d96dcb8a71 fixing Android build error in Java API 2012-04-08 17:10:15 +00:00
Marina Kolpakova
b5f5700911 fixed build with gcc 4.5+ (#1774) 2012-04-07 16:06:47 +00:00
Marina Kolpakova
cf02b2e258 additional android logging for output gtest xml file 2012-04-07 12:51:59 +00:00
Marina Kolpakova
0ff5712d06 fixed few warnings 2012-04-07 12:47:23 +00:00
Marina Kolpakova
fb0611bd51 Fix for #1773 2012-04-07 12:03:02 +00:00
Ivan Korolev
2154fb5a15 Java API: Fixed some bugs in the ImgprocTest.java 2012-04-07 06:00:18 +00:00
Andrey Kamaev
99b24f77c5 Fixed problem with backslashes in embedded build information. 2012-04-06 20:03:21 +00:00
Andrey Kamaev
dcadc4f8fb #1765 Fixed solvePoly for polynomials having coeffs[n] != 1 2012-04-06 19:54:15 +00:00
Maria Dimashova
5ce2997c84 added assert 2012-04-06 17:10:26 +00:00
Maria Dimashova
84aff376a7 fixed em log likelihood 2012-04-06 17:06:35 +00:00
Vadim Pisarevsky
b8c310065c modified EM interface; updated tests & samples 2012-04-06 15:59:30 +00:00
Andrey Kamaev
1c1c6b98f6 #645 Added cv::getBuildInformation function (with sample) to get OpenCV build configuration 2012-04-06 15:43:20 +00:00
Ivan Korolev
89338a38af Fixed some bugs in the ImgprocTest.java module. 2012-04-06 13:45:07 +00:00
Alexander Shishkov
6c308dac10 fixed problem in solvePnPRansac with TBB 2012-04-06 13:33:22 +00:00
Vadim Pisarevsky
61c7c441b9 handle single-point sets in kmeans properly 2012-04-06 13:22:08 +00:00
Maria Dimashova
71d8769314 removed EM from python and java bindings 2012-04-06 12:30:09 +00:00
Alexey Spizhevoy
30b461a506 Added support of homography motion model into vidostab sample 2012-04-06 10:51:46 +00:00
Andrey Kamaev
2854e7b5a2 Fixed perf tests crash in case of corrupted sanity data; added option to control process of generating new sanity records 2012-04-06 10:44:55 +00:00
Alexander Shishkov
a03c6d9d1f fixed RAND test for float values 2012-04-06 10:35:25 +00:00
Vadim Pisarevsky
305b9a25e3 restored resolution in big video writer test 2012-04-06 10:15:52 +00:00
Vadim Pisarevsky
0f1f7b0b4a fixed a few VS2010 warnings in EM 2012-04-06 10:04:22 +00:00
Andrey Pavlenko
2291faedd8 Java API: changing CvVectorXxx to MatOfXxx 2012-04-06 09:32:00 +00:00
Andrey Pavlenko
6c0ab28d8b Java API: changing CvVectorXxx to MatOfXxx 2012-04-06 09:30:42 +00:00
Maria Dimashova
85fa0e7763 added cv::EM, moved CvEM to legacy, added/updated tests 2012-04-06 09:26:11 +00:00
Alexey Spizhevoy
d9d4755387 Updated wobble suppression code in videostab module 2012-04-06 08:52:31 +00:00
Vadim Pisarevsky
cdc5bbc0bc fixed crash in I/O tests on Windows by making sure std::vector is non-empty before taking pointer to its elements 2012-04-05 20:23:53 +00:00
Vadim Pisarevsky
32d72047d5 reduced the video size in video writer tests; retained only most popular codecs. added ffmpeg support on MacOSX. 2012-04-05 18:26:49 +00:00
Alexander Reshetnikov
0ef71c04db Fixed [swscaler ...] bad dst image pointers (tickets ##1708, 1755) 2012-04-05 16:29:42 +00:00
Andrey Kamaev
fa7e7e54dc Fixed ugly bug in AlgorithmInfo initialisation order 2012-04-05 16:06:09 +00:00
Alexander Reshetnikov
56e7852e2f Fixed a problem with AVI reading (removed avcodec_context) 2012-04-05 15:53:03 +00:00
Alexander Smorkalov
a5a3c3139f Native camera shared libraries updated after autofocus fix.
Libs for Android x86 added.
2012-04-05 14:03:20 +00:00
Alexander Smorkalov
f6972542f3 Autofocus issue on Android ICS fixed. 2012-04-05 14:00:36 +00:00
Alexey Spizhevoy
fa09f3d121 Refactored videostab module. Added MoreAccurateMotionWobbleSuppressor class 2012-04-05 13:23:42 +00:00
Vadim Pisarevsky
c6a27b3d2f probably, ultimately fixed the problem of empty clusters in kmeans; added test for singular kmeans cases 2012-04-05 13:01:34 +00:00
Andrey Kamaev
d80651d99a Added option to automatically run all accuracy tests with run.py 2012-04-05 12:53:25 +00:00
Alexey Spizhevoy
f32b645b96 Refactored videostab module, added base class for woobble suppression 2012-04-05 09:15:13 +00:00
Andrey Kamaev
849e3cfac0 Merged the trunk r7844 2012-04-05 09:01:03 +00:00
Andrey Pavlenko
0c45a5add2 Java API: minor bug-fixes and improvements in CvVector-s and tests 2012-04-05 08:41:03 +00:00
Andrey Kamaev
4ee2c486eb #1732 Added YUV422 conversions 2012-04-05 08:29:59 +00:00
Andrey Kamaev
24f82c755a Improved accuracy of SSE-optimized BayerXX2GRAY conversion; added regression test 2012-04-05 07:25:52 +00:00
Marius Muja
fd9a8c609f Bug fix in LSH index 2012-04-05 06:46:42 +00:00
Andrey Pavlenko
dc8c281fa1 fixing compilation 2012-04-05 05:02:24 +00:00
Alexander Shishkov
e04cd1b0cf fixed #227, added support I420 format 2012-04-04 16:06:07 +00:00
Andrey Pavlenko
5c0c81076b Java API: fixing Objdetect tests 2012-04-04 15:10:26 +00:00
Andrey Pavlenko
5fefac7fe3 Java API: fixing Highgui and Video tests 2012-04-04 15:00:35 +00:00
Andrey Pavlenko
cd8dfd6c5d Java API: fixing Calib3d tests 2012-04-04 14:49:56 +00:00
Andrey Pavlenko
51338ec7c3 Java API: fixing Core tests; minor enchantments in CvVector-s API 2012-04-04 14:26:43 +00:00
Alexey Spizhevoy
a7da9681c3 Added motion stabilization pipeline (videostab module) 2012-04-04 13:58:38 +00:00
Andrey Kamaev
5a93b275cd Fix for #1730 2012-04-04 13:42:02 +00:00
Andrey Kamaev
7fb694756b Fixed bug in reading zero-size Mat from FileStorage 2012-04-04 13:25:37 +00:00
Andrey Kamaev
ae00e9074b Added test for reading empty Mat from FileStorage 2012-04-04 13:10:03 +00:00
Andrey Pavlenko
78d92584c3 Java API: changing C++ vector<T> handling;
Java tests fixes are expected shortly
2012-04-04 12:59:53 +00:00
Vadim Pisarevsky
9ac0d4323d make Mat::Mat(CvMat* m) return empty matrix when m is NULL; added utility Mat::initEmpty() method to replace duplicated matrix initializations in different constructors 2012-04-04 12:52:14 +00:00
Vadim Pisarevsky
2fded17f10 added notice about the changed behavior of copyMakeBorder in the case of ROI (ticket #1756) 2012-04-04 12:13:53 +00:00
Alexander Mordvintsev
5ee7596cbc fixed EM sample 2012-04-04 12:06:36 +00:00
Alexey Spizhevoy
9c44715f50 Added asserts into global motion estimation functions (videostab module) 2012-04-04 11:49:48 +00:00
Alexey Spizhevoy
efa0717d01 Added support of homography estimation into videostab module 2012-04-04 11:45:16 +00:00
Vadim Pisarevsky
3f609c89e2 support in-place warpAffine, warpPerspective & remap (feature #1150) 2012-04-04 11:44:09 +00:00
Vadim Pisarevsky
e88ff6837a added test for ticket #1719 and added a note about contour self-intersections to the docs 2012-04-04 11:35:51 +00:00
Andrey Kamaev
41eb91f5f1 Updated performance tests sanity data; fixed some tests 2012-04-04 10:56:17 +00:00
Vadim Pisarevsky
9576133e06 restore support of vector<float> as possible output descriptor container in SURF::operator(). 2012-04-04 10:36:49 +00:00
Alexey Spizhevoy
ecb1f0e288 Fixed some bugs in videostab module and refactored it 2012-04-04 09:28:47 +00:00
Andrey Kamaev
e479a9f619 Removed unneded dependency between objdetect and calib3d 2012-04-04 08:34:30 +00:00
Andrey Kamaev
22630ff8b4 Merged the trunk r7794 2012-04-03 14:24:55 +00:00
Vadim Pisarevsky
a3262c5e51 added initModule_features2d(). Possibly solved problem when the linker excludes seemingly unused detectors/descriptors. 2012-04-03 13:38:54 +00:00
Vadim Pisarevsky
c7d38a3aab restored try-catch in the i/o test 2012-04-03 13:05:16 +00:00
Vadim Pisarevsky
5e15557155 fixed a few bugs in XML/YAML input/output. 2012-04-03 12:23:46 +00:00
Maria Dimashova
85364ac9b1 fixed Algorithm 2012-04-03 10:51:59 +00:00
Vladislav Vinogradov
2659453694 merged revisions r7808 from 2.4 branch 2012-04-03 06:49:13 +00:00
Vladislav Vinogradov
64a5c0b1cf updated gpu docs 2012-04-03 06:45:32 +00:00
Alexander Kapustin
42e0214de5 36 functions of cvtScaleTIPES_func were Neon Optimized 2012-04-03 05:53:26 +00:00
Alexander Shishkov
9bfd50e6ae merged revisions r7802,r7804,r7805 from 2.4 branch 2012-04-03 00:33:33 +00:00
Alexander Shishkov
74504e6c4d fixed #1572 2012-04-03 00:21:09 +00:00
Alexander Shishkov
dc318a868a fixed bug in document theme 2012-04-02 22:21:15 +00:00
Vadim Pisarevsky
ff071d2cf6 added Algorithm::get/set/addParam(vector<Mat>) (to be used by EM) 2012-04-02 17:19:57 +00:00
Alexander Shishkov
6fdf7b4d62 fixed document style for deprecated interfaces
added logo to the online docs
moved quick-search panel
added logo with white sign
2012-04-02 13:16:54 +00:00
Alexey Spizhevoy
56b5e6d8a8 Updated videostab module 2012-04-02 12:26:05 +00:00
Vladislav Vinogradov
1bc9ec0d77 fixed gpu::Laplacian
fixed gpu performance sample
2012-04-02 11:21:45 +00:00
Alexander Smorkalov
abbfa848ba Issue 1119 Build for x86. Build script added. Tests are ok. 2012-04-02 09:44:36 +00:00
Alexey Spizhevoy
3e23bb6df6 Refactored videostab module and sample 2012-04-02 09:25:27 +00:00
Vladislav Vinogradov
5fe493474c minor fix of gpu performance sample 2012-04-02 08:55:04 +00:00
Vladislav Vinogradov
c02c676865 fixed gpu performance sample (SURF usage)
added tests for filter2D
2012-04-02 08:53:06 +00:00
Vladislav Vinogradov
489a1da0ed fixeg gpu::Laplacian 2012-04-02 08:20:23 +00:00
Andrey Kamaev
b880bbcc18 Fixed Java API build 2012-04-01 10:19:54 +00:00
Alexander Shishkov
66fd36f79e changed version to 2.4 2012-04-01 08:58:24 +00:00
Vladislav Vinogradov
82d619a34d fixed gpu::filter2D 2012-04-01 07:32:25 +00:00
Andrey Kamaev
fd31234122 Fixed gcc build 2012-03-31 23:51:59 +00:00
Anatoly Baksheev
e1fd68b21e fixed #1257 ( HaarCascadeApplication GPU test crash ) 2012-03-31 23:49:35 +00:00
Andrey Kamaev
470f6fafeb Fixed conversions from YV12 and IYUV on non-continuous input. Added accuracy and performance tests. 2012-03-31 22:30:18 +00:00
Anatoly Baksheev
a22641aa9c fixed bug #1367 in CSBP 2012-03-31 22:07:16 +00:00
Anatoly Baksheev
d2bc0065a6 minor 2012-03-31 20:01:18 +00:00
Vadim Pisarevsky
eecda6d308 added explicit () to avoid MSVC /analyze warning 2012-03-31 17:39:06 +00:00
Andrey Kamaev
d95721107c Fixed typo. 2012-03-31 17:34:24 +00:00
Vadim Pisarevsky
5c615ec28f added optional dependency stitching->nonfree. When nonfree is available, make sure linker does not throw it away. 2012-03-31 17:25:19 +00:00
Alexander Reshetnikov
1c616f43ba Fixed compilation error with ffmpeg 0.9.x & 0.10.x 2012-03-31 17:06:35 +00:00
Vladislav Vinogradov
4a41107b01 applied patch #1734 2012-03-31 17:05:33 +00:00
Andrey Kamaev
124ceb96a7 #1732 Added yuv420p to RGB conversion. Thanks to Robert Abel. 2012-03-31 15:33:03 +00:00
Alexander Shishkov
445537fb53 update FFMPEG wrapper binaries 2012-03-31 15:28:51 +00:00
Alexander Reshetnikov
4ec2ad91b9 Removed duplicated includes from ffmpeg wrappers 2012-03-31 15:27:48 +00:00
Alexander Reshetnikov
958d5a0caa Solved a problem with VideoWriter in the new wrapper 2012-03-31 15:12:45 +00:00
Alexander Reshetnikov
ab0fc84781 Fixed compilation error under Ubuntu 11.10; added #if-#else-#endif code for some deprecated functions 2012-03-31 15:10:13 +00:00
Andrey Kamaev
c648de0e08 Fixed build error in Android examples when java bindings are excluded from build. 2012-03-31 12:26:03 +00:00
Andrey Kamaev
72f2523d0f Fixed ~20 potential errors identified by the MS complier. 2012-03-31 11:09:16 +00:00
Vadim Pisarevsky
1e5a600d13 fixed video capturing on Mac running Windows (ticket #988) 2012-03-31 08:56:48 +00:00
Vadim Pisarevsky
f309bafe9e another fix for cap_dshow.cpp; fixed warning in facerec_demo 2012-03-30 20:06:06 +00:00
Alexander Reshetnikov
3a564d1ae8 Updated displayOverlay's implementation & documentation (ticket #903) 2012-03-30 19:58:44 +00:00
Andrey Kamaev
7a017973bf Fixed Windows build (MSVC 10 Win32)
internal CV_CAP_PROP_ZOOM is renamed to CV_CAP_PROP_ZOOM_DSHOW
internal CV_CAP_PROP_FOCUS is renamed to CV_CAP_PROP_FOCUS_DSHOW
2012-03-30 19:26:15 +00:00
Vadim Pisarevsky
f0b8b81caa applied big patch #1281 by Martin Beckett (various direct show video capture enhancements) 2012-03-30 18:39:03 +00:00
Vadim Pisarevsky
7fb8e9d328 added borderType to pyrDown, pyrUp & buildPyramid (patch #925) 2012-03-30 16:58:24 +00:00
Alexander Reshetnikov
aff34adf1b Updated new ffmpeg wrapper 2012-03-30 16:57:41 +00:00
Andrey Kamaev
dc6cad3d4b Fixed build with tests disabled 2012-03-30 16:21:46 +00:00
Andrey Kamaev
0d18d19ad6 Fixed Android build warnings 2012-03-30 16:10:52 +00:00
Maria Dimashova
7f2cda6c8c fix the ticket #1234 2012-03-30 15:04:51 +00:00
Alexander Shishkov
51fa895fca update FFMPEG wrapper binaries 2012-03-30 14:31:20 +00:00
Alexander Reshetnikov
e00f1e3911 Fixed a problem with CODEC_ID_RAWVIDEO in FFMPEG (ticket #1400) 2012-03-30 14:30:24 +00:00
Andrey Pavlenko
aea24ffcd5 #796, #1701 fixing doc vs code arg-s naming consistency 2012-03-30 14:22:34 +00:00
Vadim Pisarevsky
38f686252c added video stream positioning in QTKit-based VideoCapture backend (patch #1420) 2012-03-30 14:13:21 +00:00
Andrey Kamaev
a4f5216d52 Fixed gcc build after r7751 2012-03-30 14:03:18 +00:00
Vadim Pisarevsky
22a0d6b7d1 possible fix for #1396 2012-03-30 13:51:15 +00:00
Anatoly Baksheev
406a05316f removed obsolete docs about cuda contexts 2012-03-30 13:43:50 +00:00
Vadim Pisarevsky
68d20301f2 fixed building delaunay.c with MSVC 2012-03-30 12:54:54 +00:00
Ivan Korolev
856aaee8cd Fixed the path to the testdata. 2012-03-30 12:48:47 +00:00
Ivan Korolev
44d4e85d9e Fixed the path to the testdata. 2012-03-30 12:27:17 +00:00
Vadim Pisarevsky
beb7fc3c92 a LOT of obsolete stuff has been moved to the legacy module. 2012-03-30 12:19:25 +00:00
Andrey Kamaev
7e5726e251 Fixed several false-positive warnings in rst_parser.py. (Now it detects 553 undocumented parameters for #1205.) 2012-03-30 12:07:45 +00:00
Alexey Spizhevoy
014accaf31 Fixed default arg value in videostab sample 2012-03-30 09:49:41 +00:00
Alexey Spizhevoy
99f29b75a1 Added linear similarity estimation into videostab module 2012-03-30 09:44:32 +00:00
Andrey Kamaev
1af9b8ecab Applied patch from #1133 2012-03-30 06:19:21 +00:00
Andrey Kamaev
77425edd11 #1532 Debug version of python bindings is excluded from install 2012-03-29 23:10:21 +00:00
Vadim Pisarevsky
2598736ac2 added description of cv::convexityDefect 2012-03-29 19:56:53 +00:00
Vadim Pisarevsky
e36ad50825 added cv::convexityDefects (ticket #796) 2012-03-29 19:42:47 +00:00
Ilya Lysenkov
959c37fccf Partial fix of a cameraCalibration() test 2012-03-29 18:44:55 +00:00
Ilya Lysenkov
e7b4353505 Added termination criteria as a calibrateCamera() parameter 2012-03-29 17:19:15 +00:00
Vadim Pisarevsky
33bc089506 fixed HOGDescriptor::detect and HOGDescriptor::detectMultiScale signatures (ticket #1304) 2012-03-29 17:18:38 +00:00
Vadim Pisarevsky
0b234b7a69 rewritten floodfill in generic style; added CV_32S flavor (ticket #1482) 2012-03-29 17:08:03 +00:00
Alexander Reshetnikov
554e0051e8 Fixed error with color space switching for IEEE1394 cameras (patch #766) 2012-03-29 16:15:55 +00:00
Andrey Pavlenko
6d49b075d9 updating screen resolutions support settings 2012-03-29 15:41:38 +00:00
Andrey Pavlenko
64355e88f1 fixing a typo 2012-03-29 15:40:21 +00:00
Alexander Shishkov
0ac70e6883 fixed #1421 2012-03-29 13:46:54 +00:00
Ilya Lysenkov
ecbf9425e4 Added documentation of correctMaches (#1350) 2012-03-29 13:22:49 +00:00
Ilya Lysenkov
1e1d7496ee Added a test for correctMatches (#1350) 2012-03-29 13:22:22 +00:00
Ilya Lysenkov
f29912b501 Added wrappers of cvCorrectMatches (#1350) 2012-03-29 13:21:24 +00:00
Vadim Pisarevsky
0404b2989e fixed line clipping (ticket #1284) 2012-03-29 13:06:38 +00:00
Alexander Reshetnikov
1564fe9a83 Fixed segfault problem with cap_unicap (ticket #1112) 2012-03-29 12:20:06 +00:00
Vadim Pisarevsky
586ff429ec fixed bug #1318. extended RNG::fill with the optional saturateRange parameter 2012-03-29 12:00:34 +00:00
Alexander Reshetnikov
ee8c4aeb4b Updated close method for ieee1394 cameras 2012-03-29 11:56:53 +00:00
Ilya Lysenkov
857676c610 Added documentation of triangulatePoints() 2012-03-29 11:54:29 +00:00
Andrey Kamaev
8f970caa56 #1349 tbb::mutex is moved to outer scope to be sure that its initialization is completed before the parallel loop 2012-03-29 11:17:35 +00:00
Vadim Pisarevsky
4eda1662aa switched back to FitEllipse algorithm by Dr. Daniel Weiss; improved its accuracy in some cases. It fixes #1638 2012-03-29 10:47:08 +00:00
Ilya Lysenkov
7901879e48 Added a test for the C++ wrapper of cvTriangulatePoints() 2012-03-29 10:39:48 +00:00
Ilya Lysenkov
37db334f8a Added wrappers of cvTriangulatePoints() 2012-03-29 10:39:06 +00:00
Maria Dimashova
8d9d964550 added smoke test on EM, fixed EM reading #1570 (thanks to mr.pppoe), 2012-03-29 08:55:43 +00:00
Andrey Kamaev
ec793df30f #1205 fixed more bugs/typos in parameters 2012-03-29 08:07:57 +00:00
Maria Dimashova
008a1c91fd fixed em test 2012-03-29 07:01:57 +00:00
Andrey Kamaev
94c258cf15 #1205 fixed ~100 of ~700 parameters 2012-03-29 06:50:05 +00:00
Alexander Smorkalov
e74be5a65d Fix for issue #1201 Updated. Focus mode auto was replaced on continuous-video. Libraries were rebuilt. 2012-03-29 05:15:51 +00:00
Andrey Kamaev
d6d1ff0ac5 Added regression test for #1652 2012-03-29 03:33:07 +00:00
Andrey Kamaev
ce89d00fcf Implemented missed AlgorithmInfo for BRIEF 2012-03-29 03:06:59 +00:00
Andrey Kamaev
700c1665c9 Fixed 2 spontaneously failing tests 2012-03-29 03:05:41 +00:00
Marina Kolpakova
f5152500be fixed #1373 2012-03-29 01:16:33 +00:00
Andrey Kamaev
d46f44b48a #1695 fixed arrow key events with the Qt backend 2012-03-28 22:22:02 +00:00
Marina Kolpakova
dd01861de2 test case from ticket #1650 2012-03-28 20:54:58 +00:00
Marina Kolpakova
13c7222238 minor refactoring 2012-03-28 20:50:02 +00:00
Andrey Kamaev
09490188b3 #1365 Fixed numerous bugs in Bayer2RGB_VNG_8u SSE optimization, added simple regression test 2012-03-28 20:20:29 +00:00
Marina Kolpakova
32b9bc1d00 fixed bug for #1496 and correctness tests for function CheckRange 2012-03-28 20:09:13 +00:00
Ilya Lysenkov
8fcd0d9222 Fixed the error message in cvCorrectMatches (fixes #1155) 2012-03-28 17:29:49 +00:00
Alexander Reshetnikov
2a68228b66 changed icvSetVideoSize function (ticket #1067) 2012-03-28 16:14:36 +00:00
Maria Dimashova
84c9990632 fixed cvKMeans2 (#1359) 2012-03-28 15:45:14 +00:00
Andrey Pavlenko
74749fccbf fix for #1724: making Java samples compatible with Android 3.1+ targets 2012-03-28 15:32:01 +00:00
Alexander Reshetnikov
cff117c08b Updated saving paths for highgui tests 2012-03-28 15:27:55 +00:00
Vadim Pisarevsky
56f5fcd28c added Vec Matx::solve(Vec) (ticket #1376) 2012-03-28 15:21:30 +00:00
Alexander Shishkov
c9efcf8d1f fixed #1616 2012-03-28 15:12:12 +00:00
Maria Dimashova
6636d255f7 fixed iter index in kmeans 2012-03-28 14:56:18 +00:00
Vadim Pisarevsky
d62e486b69 avoid empty clusters in k-means in a more elegant way (relates to ticket #7698) 2012-03-28 14:32:23 +00:00
Vadim Pisarevsky
806aab164b save, load & copy HOGDescriptor::nlevels (ticket #1533) 2012-03-28 14:31:03 +00:00
Vladislav Vinogradov
5aae21c037 fixed bug #1640 2012-03-28 14:25:41 +00:00
Alexey Spizhevoy
de27d3e023 Fixed bugs in gpu border extrapolation aux. classes (BORDER_REFLECT case) 2012-03-28 14:13:29 +00:00
Alexander Reshetnikov
76852a499d Minor refactoring of video i/o tests: fixed error with indexes 2012-03-28 14:05:26 +00:00
Andrey Kamaev
63c6e9d6d2 #1537 removed suspicious lines clearing optimization flags 2012-03-28 13:59:48 +00:00
Alexander Reshetnikov
8313095734 Changed saving paths for another highgui tests 2012-03-28 13:49:55 +00:00
Andrey Kamaev
2c2616d46f #1508 prefer architecture-specific install directory for python bindings, when LIB_SUFFIX is used 2012-03-28 13:37:58 +00:00
Vadim Pisarevsky
aed276e67d fixed cvComputeCorrespondEpilines to handle <5 points (ticket #1635) 2012-03-28 13:37:14 +00:00
Ilya Lysenkov
7eab7c197d Modified the test of findChessboardCorners to check examples when there are no chessboards 2012-03-28 13:23:33 +00:00
Vadim Pisarevsky
f014fb0a0e restored the ordering of SURF constructor parameters (ticket #1704) 2012-03-28 13:07:44 +00:00
Vladislav Vinogradov
8e3f1c09d2 added support of 3-channels output to gpu::reprojectImageTo3D
minor refactoring of gpu tests
2012-03-28 12:48:28 +00:00
Alexander Reshetnikov
07ec83cd1f Updated ffmpeg test for big video writing (changed saving paths + added removing files) 2012-03-28 12:15:25 +00:00
Ilya Lysenkov
03cd6072ce Fixed the test of findChessboardCorners (it didn't test accuracy before) 2012-03-28 11:45:50 +00:00
Alexander Reshetnikov
a185302c5d Updated test_video_pos.cpp 2012-03-28 11:33:36 +00:00
Andrey Kamaev
7d51a4ab78 #1416 added option to install OpenCVConfig.cmake i arch-dependent lo 2012-03-28 10:38:50 +00:00
Vadim Pisarevsky
24bc0db1b0 fixed writing huge matrices (ticket #1439) 2012-03-28 09:57:31 +00:00
Alexander Mordvintsev
6848c6d69a reverted revision 7676 (#1725) 2012-03-28 09:44:54 +00:00
Maria Dimashova
9c12cc6b03 added doc on DenseFeatureDetector (#1311) 2012-03-28 09:39:40 +00:00
Vadim Pisarevsky
bf12855007 fixed mask operations with uninitialized output array, added the corresponding test (ticket #1286) 2012-03-28 09:07:00 +00:00
Alexey Spizhevoy
c776bff95b #1713 Added the possibility of setting user_block_size manually for gpu::matchTemplate function (and gpu::convolve). Added a buffer param into these functions. Removed using of 2^n block sizes when it's not necessary. 2012-03-28 07:11:07 +00:00
Vladislav Vinogradov
d1423adbc7 moved gpu cvtColor tests to separate file
added more tests for gpu cvtColor
fixed RGB->YUV conversion
2012-03-28 06:56:42 +00:00
Alexander Mordvintsev
13045dec1d working on python wrappers for stitching 2012-03-28 05:00:41 +00:00
Alexander Mordvintsev
d304a55e1e gpu.hpp:filterSpeckles conflicts with calib3d.hpp -- should it be removed at all? 2012-03-28 04:44:33 +00:00
Andrey Kamaev
9941cf7c95 Fixed MSCV2005 build with TBB enabled. 2012-03-27 23:17:53 +00:00
Andrey Kamaev
8eb788c6e7 #842 #include <sys/mman.h> is moved from public headers closer to usage 2012-03-27 21:29:58 +00:00
Andrey Kamaev
3ac1f31126 Fixed Android tests and samples status in cmake report; restored java tests "coverage calculation". 2012-03-27 21:27:27 +00:00
Andrey Kamaev
176eb83da6 Fixed Windows build 2012-03-27 20:56:30 +00:00
Andrey Kamaev
67838a7a66 Made dependency of opencv_objdetect from opencv_highgui optional. 2012-03-27 20:17:31 +00:00
Ilya Lysenkov
e1378aad79 Added a check that Q reprojects to the same 3D points as reconstructed by triangulation (#1575) 2012-03-27 19:04:43 +00:00
Ilya Lysenkov
bc7b517e41 Added a check that Tx after rectification is equal to distance between cameras 2012-03-27 16:47:19 +00:00
Andrey Kamaev
e72a23243b Reworked build scripts for Android Java API, tests and examples 2012-03-27 16:05:52 +00:00
Ilya Lysenkov
3b5b20b795 Fixed wrong computation of a reprojection matrix Q in stereoRectify (#898) 2012-03-27 15:02:53 +00:00
Ilya Lysenkov
d9001d1a91 Added a check that Q (computed by rectification) reprojects a point before the camera 2012-03-27 15:01:26 +00:00
Vadim Pisarevsky
b6ab96ae0b added special notice about the missing saturation in 32s case (ticket #1529) 2012-03-27 14:58:46 +00:00
Vadim Pisarevsky
af8e5696f0 fixed a few compile problems in SparseMat code; fixed iteration over an empty sparse matrix (ticket #1587) 2012-03-27 14:43:24 +00:00
Maria Dimashova
f262651465 added test case of matching the same descriptors 2012-03-27 13:20:54 +00:00
Vadim Pisarevsky
168d19364f improved description of RTreeParams (ticket #1656; thanks to Nghia Ho) 2012-03-27 12:58:58 +00:00
Vadim Pisarevsky
8513ed08d0 probably fixed multi-threaded capturing from DShow cameras (ticket #1470) 2012-03-27 12:50:56 +00:00
Vladislav Vinogradov
b2a6a257b7 minor modification of gpu video tests
disabled NVidia Visualization test, it's functionality (draw rectangles) doesn't used in gpu module
2012-03-27 12:15:52 +00:00
Vadim Pisarevsky
7a62413c94 added houghcircles sample, improved circle detection (ticket #951) 2012-03-27 12:00:22 +00:00
Vladislav Vinogradov
eaea6782d5 added more assertion on device features to gpu functions and tests
moved TargerArchs and DeviceInfo to core
fixed bug in GpuMat::copy with mask (incorrect index in function tab)
2012-03-27 10:34:30 +00:00
Vadim Pisarevsky
e8fab91d51 added DIST_LABEL_PIXEL labelType to distanceTransform, ticket #1641 (thanks to Mikhail Matrosov for the patch) 2012-03-27 09:06:21 +00:00
Maria Dimashova
f70d171cef changed default parameter 2012-03-27 08:37:39 +00:00
Maria Dimashova
550fd8e57c added image and depth synchronization 2012-03-27 07:41:48 +00:00
Vladislav Vinogradov
bd13e9479b added assertion on device features (global atomics) into gpu tests 2012-03-27 07:33:39 +00:00
Andrey Kamaev
4a996111ea Fixed Android build warnings 2012-03-27 06:16:13 +00:00
Alexander Shishkov
6412e17df6 fixed #1502 2012-03-26 18:58:01 +00:00
Vladislav Vinogradov
089a835c0a fixed octave computation in SURF_GPU
used random images in gpu filter tests
2012-03-26 18:07:03 +00:00
Vadim Pisarevsky
903c05db1a added another contour perimeter test and fixed bug #216 2012-03-26 17:00:48 +00:00
Vladislav Vinogradov
26691e00d4 fixed gpu core tests (added additional check for device's feature support)
added assertion on double types for old devices
2012-03-26 14:33:43 +00:00
Alexander Shishkov
98d7b10c16 update FFMPEG wrapper binaries 2012-03-26 13:51:56 +00:00
Alexander Reshetnikov
1d7e09a9d5 Removed duplicated ifdef code from ffmpeg wrappers 2012-03-26 13:51:05 +00:00
Vadim Pisarevsky
7a59d6c77e improved convergence of minEnclosingCircle algorithm, patch #947 (thanks to Hannes Sommer) 2012-03-26 13:45:49 +00:00
Vadim Pisarevsky
29077f11f8 got rid of "long double" in OpenCV; ticket #1515 2012-03-26 13:36:47 +00:00
Vadim Pisarevsky
0186bd8099 split big assertion in cv::split by parts; patch #829 by Shlomi Fish 2012-03-26 13:32:32 +00:00
Andrey Kamaev
54a4ff033a Fixed #1711 2012-03-26 13:17:18 +00:00
Ilya Lysenkov
3517be757b Added checking whether aspect ratio is valid or not 2012-03-26 13:07:21 +00:00
Andrey Kamaev
4c58fff3f7 Added cvPyrUp signature to the documentation #1670 2012-03-26 13:01:10 +00:00
Alexander Reshetnikov
1a04d09140 Fixed compilation error for ffmpeg tests 2012-03-26 12:27:00 +00:00
Ilya Lysenkov
6d1f4bfba4 Added projectPoints() for 3xN objectPoints and 2xN imagePoints (#1550) 2012-03-26 11:10:34 +00:00
Ilya Lysenkov
4a7efa548f Added points comparison in test_remap 2012-03-26 11:07:27 +00:00
Vladislav Vinogradov
9034a2d6d7 fixed gpu arithm functions (mismatch with cpu version) 2012-03-26 11:02:03 +00:00
Ilya Lysenkov
159022844e Restored and improved the test_remap Python test 2012-03-26 10:25:24 +00:00
Vadim Pisarevsky
a3362864e1 removed unnecessary MIN(); bug #1578 2012-03-26 10:01:30 +00:00
Vadim Pisarevsky
8bb422b1fc fixed potential buffer size overflow in Boost::update_weight, bug #1524 (thanks to benlemna for the patch) 2012-03-26 09:53:52 +00:00
Vadim Pisarevsky
f341ce2665 fixed "Invalid background description file" bug, #1676 2012-03-26 09:48:43 +00:00
Vadim Pisarevsky
afd9523ff2 possibly fixed bug #1453 2012-03-26 09:40:49 +00:00
Vadim Pisarevsky
4ba87233bb fixed the size of output velocity map in OptFlowBM, ticket #1362 (thanks to Takanori Y for the patch) 2012-03-26 09:20:03 +00:00
Alexey Spizhevoy
5434a9a5ec Fixed gpu::matchTemplate for correct handling of big templates. Added tests 2012-03-26 09:19:33 +00:00
Vadim Pisarevsky
098fc1a62e fixed nearest-neighbor remap with constant border, ticket #1681 (thanks to Vlad for the patch) 2012-03-26 09:12:27 +00:00
Vadim Pisarevsky
befa9b3109 fixed chi-square test, ticket #1263 2012-03-26 09:07:02 +00:00
Andrey Kamaev
bfaae7dd93 Input/Output arrays are updated to support fixed-type and fixed-size semantic for all compatible types 2012-03-26 08:18:53 +00:00
Vadim Pisarevsky
e778007d5d applied patch from #1655 (thanks to Changbo Zhou!) 2012-03-26 08:18:10 +00:00
Vadim Pisarevsky
69f5d8c1d3 applied patch from #1712 (thanks to Vlad) 2012-03-26 08:04:27 +00:00
Alexander Shishkov
216ef24b92 fixed Debug compilation on Windows (it works for VS versions > 2005) 2012-03-26 07:33:01 +00:00
Vadim Pisarevsky
5777689fe9 fixed build errors & warnings on VS2010 2012-03-25 22:05:58 +00:00
Andrey Kamaev
8991d323ea Refactored Java wrapper build scripts.
Improved Android SDK search, fixed some bugs.
2012-03-25 19:57:58 +00:00
Vadim Pisarevsky
cec8f719a3 added face recognition algorithms, LDA, colormaps (all by Philipp Wagner) 2012-03-24 22:03:47 +00:00
Vadim Pisarevsky
648669cb81 preliminary version of a multi-level findcontours 2012-03-24 20:07:10 +00:00
Vadim Pisarevsky
f196dd5ff7 preliminary version of a multi-level findcontours 2012-03-24 20:03:07 +00:00
Andrey Kamaev
9b2d7e19db Added "fat" mode for Java wrapper 2012-03-23 17:03:05 +00:00
Alexander Reshetnikov
0aa74f3846 Updated new video positioning test 2012-03-23 16:41:41 +00:00
Andrey Pavlenko
1b2525703e Java API minor fixes 2012-03-23 15:18:05 +00:00
Leonid Beynenson
a97c2c838c Made small change which fixes the situation, when ORB does not find any descriptors on an image. Earlier ORB::operator() crashed in this case, since rowRange method was called for an empty matrix. 2012-03-23 12:06:49 +00:00
Alexander Reshetnikov
c6571249a8 Update FFMPEG wrapper binaries 2012-03-23 10:59:06 +00:00
Alexander Shishkov
5ebc183720 update FFMPEG wrapper binaries 2012-03-23 10:53:49 +00:00
Alexander Shishkov
84ddd6018d fixed wrapper compilation on Windows (opencv_ffmpeg dlls) 2012-03-23 10:52:36 +00:00
Alexander Reshetnikov
e3d0c6515f Added new video posiitioning test 2012-03-23 08:53:56 +00:00
Alexander Reshetnikov
e83ebde210 Fixed ifdef code mistake 2012-03-22 23:17:04 +00:00
Alexander Reshetnikov
7817e11e01 Fixed compilation error under Windows 2012-03-22 22:26:33 +00:00
Alexander Reshetnikov
6de7064836 Updated ffmpeg test for big video writing 2012-03-22 22:18:43 +00:00
Alexander Reshetnikov
b27d1662e6 Separated ffmpeg codecs and wrappers 2012-03-22 21:28:06 +00:00
Vladislav Vinogradov
7057dd8fc0 added test for gpu::Laplacian for CV_32FC1 type
changed epsilon for matrix comparison in gpu::sqrt test
2012-03-22 19:12:42 +00:00
Alexander Shishkov
fc68c18c92 unrolled changes from r7601 (problems with Android,...) 2012-03-22 13:36:07 +00:00
Andrey Pavlenko
23619718ed fixing copy/paste typo 2012-03-22 13:23:11 +00:00
Alexander Reshetnikov
ce8c2892d8 Removed OS conditions from highgui tests 2012-03-22 09:38:44 +00:00
Alexey Spizhevoy
45fd8a6a63 Added load and save motion args into videostab sample 2012-03-22 09:30:28 +00:00
Andrey Kamaev
e64c08d5d9 Fixed build 2012-03-22 08:22:23 +00:00
Alexey Spizhevoy
984583981c Split stabilizer into OnePassStabilizer and TwoPassStabilizer 2012-03-22 07:52:17 +00:00
Andrey Pavlenko
6708869425 updating Java samples to meet Java API changes 2012-03-22 07:25:29 +00:00
Andrey Kamaev
c6e9e9418a More Tegra versions of convertTo 2012-03-22 05:27:30 +00:00
Alexander Reshetnikov
0dd4386d77 Updated new ffmpeg wrapper; restored NEW_FFMPEG in the root cmake file 2012-03-21 18:07:34 +00:00
Andrey Kamaev
41158ab553 Fixed perf test for convertTo 2012-03-21 16:20:44 +00:00
Andrey Pavlenko
f13e54dd72 #921 less signatures for func-s with default arg val-s (aka smart overloads);
moving inpaintTest() to 'photo';
hiding 'Point*' arg in Java signature of Core.checkRange().
2012-03-21 15:07:54 +00:00
Andrey Pavlenko
5c4b984738 fixing arg name according to ref man 2012-03-21 14:59:56 +00:00
Maria Dimashova
499efec5b0 removed debug log 2012-03-21 14:47:13 +00:00
Vladislav Vinogradov
059cef57e6 fixed gpu::filter2D border interpolation for CV_32FC1 type
added additional tests for gpu filters
fixed gpu features2D tests
2012-03-21 14:38:23 +00:00
Maria Dimashova
c1a6cb6221 added oni-files reading 2012-03-21 14:31:40 +00:00
Alexander Reshetnikov
82a2a50f87 Updated new ffmpeg wrapper 2012-03-21 12:54:52 +00:00
Alexander Shishkov
c0506314b2 fixed #1436 2012-03-21 12:06:49 +00:00
Maria Dimashova
fedff0922e removed unnecessary members of CvCapture_OpenNI 2012-03-21 11:58:25 +00:00
Alexander Shishkov
5c23d52618 fixed documentation compilation errors after r7568 2012-03-21 09:48:34 +00:00
Alexey Spizhevoy
68f26cca78 Refactored videostab module 2012-03-21 09:34:27 +00:00
Maria Dimashova
67d7669188 switched to use RunXmlScript always (missing '\n' at the end of xml script was a problem) 2012-03-21 08:56:38 +00:00
Alexey Spizhevoy
faf845d31f Fixed warning 2012-03-21 08:37:24 +00:00
Alexey Spizhevoy
3323ee9d18 Added distance threshold argument into videostab sample 2012-03-21 08:34:00 +00:00
Alexey Spizhevoy
8fc84b7a41 Updated FMM run() signature 2012-03-21 07:53:36 +00:00
Alexey Spizhevoy
5e2bcacba5 Fixed some warnings 2012-03-21 07:35:25 +00:00
Alexander Smorkalov
fa4977dff4 Issue #1201: auto-focus problem was fixed. Binaries were rebuilt. 2012-03-21 06:52:18 +00:00
Gary Bradski
ad2ee1d572 import as cv not cv2. Fixed 2012-03-21 05:13:02 +00:00
Alexander Reshetnikov
5d4a8d0889 Updated license text in highgui files 2012-03-20 16:39:02 +00:00
Maria Dimashova
be1d95b495 added default values of parameters 2012-03-20 14:41:27 +00:00
Vadim Pisarevsky
0c381e2a9f increased the default number of pyramid layers in ORB; updated test data 2012-03-20 14:20:06 +00:00
Alexey Spizhevoy
23398bcb95 Fixed some warnings 2012-03-20 12:46:23 +00:00
Alexey Spizhevoy
dcb5464b3c Added more inpainting methods. Fixed some errors. 2012-03-20 12:24:51 +00:00
Leonid Beynenson
295a9815e8 Removed unrequired type conversions in the function clipLine. 2012-03-20 12:14:41 +00:00
Vladislav Vinogradov
509c910101 refactored and fixed some gpu tests
fixed some bugs in gpu module
2012-03-20 12:03:34 +00:00
Leonid Beynenson
a659832df1 Made the function "clipLine" to work with int64 values instead of int --- otherwise sometimes it returned wrong points coordinates, and it caused the function "line" to crash. 2012-03-20 11:40:05 +00:00
Marina Kolpakova
577dabb8bc fixed bug #1571 2012-03-20 09:44:40 +00:00
Andrey Pavlenko
f1cf411ffe fixing compilation on Windows 2012-03-20 09:18:59 +00:00
Alexander Reshetnikov
4dff974e8c Refactored new ffmpeg wrapper 2012-03-20 09:17:28 +00:00
Marina Kolpakova
d4fb50277e fixed bug #1479 2012-03-20 09:02:01 +00:00
Alexey Spizhevoy
be73f8e29c Added quiet mode into videostab sample 2012-03-20 08:12:58 +00:00
Alexey Spizhevoy
e4651fa697 Fixed ensureInclusionConstraint 2012-03-20 07:30:07 +00:00
Alexey Spizhevoy
3abd941774 Minor changes in videostab sample 2012-03-20 07:16:10 +00:00
Alexey Spizhevoy
bde7456256 Updated videostab sample 2012-03-20 06:52:52 +00:00
Andrey Kamaev
7cabfc5441 Fixed Windows build of videostab module. 2012-03-19 18:58:42 +00:00
Andrey Kamaev
2e03e6c06c Solution folders are turned on by default for MS Visual Studio IDE. 2012-03-19 18:47:27 +00:00
Marina Kolpakova
4eaced12fe fixed bug #1700 2012-03-19 15:59:30 +00:00
Andrey Kamaev
14a1549dac Fixed Android build of new videostab module 2012-03-19 14:21:15 +00:00
Vladislav Vinogradov
844bdea5ac fixed several bugs in gpu arithm functions
refactored tests for them
2012-03-19 14:18:12 +00:00
Alexey Spizhevoy
f58c40bfab Added licence message 2012-03-19 14:13:33 +00:00
Alexey Spizhevoy
404d66d4ef Added missed file 2012-03-19 13:57:38 +00:00
Alexey Spizhevoy
f6e2ad6144 Added missed file 2012-03-19 13:51:20 +00:00
Alexey Spizhevoy
a60dc947b1 Added first version of videostab module 2012-03-19 13:39:23 +00:00
Marina Kolpakova
1d2c6ef410 fixed sample for new signature of calcOpticalFlowPyrLK 2012-03-19 12:55:48 +00:00
Andrey Kamaev
bddff7b386 Fixed Android build warnings in logpolar_bsm 2012-03-19 12:55:44 +00:00
Vadim Pisarevsky
c94c3fb4eb added Manuela Chessa as the co-author of logpolar_bsm. 2012-03-19 12:04:50 +00:00
Alexey Spizhevoy
e87a07e2aa Fixed bug #1693. Also corrected default parameters for stitching. 2012-03-19 11:51:18 +00:00
Marina Kolpakova
e50c0ed4c8 Fixed bug #1629 2012-03-19 11:29:29 +00:00
Vadim Pisarevsky
3228599a35 fixed some more GCC warnings 2012-03-19 11:21:01 +00:00
Alexander Kapustin
c5cc79d4d5 Tegra optimized functions cvt32finttype were temporary deleted due correctness bug 2012-03-19 11:06:16 +00:00
Vladislav Vinogradov
6397fa5b38 fixed gpu::pyrUp (now it matches cpu analog)
fixed several warnings
2012-03-19 09:27:06 +00:00
Alexander Reshetnikov
484fe1d598 Fixed compiling error for ffmpeg with libavcodec less than 53.4.0 2012-03-19 09:05:55 +00:00
Andrey Pavlenko
010e73010c fixing compilation on Windows (M_PI was undefined via math.h) 2012-03-19 06:17:04 +00:00
Gary Bradski
a4de511eb7 Added cv.DestroyAllWindows() to file close 2012-03-18 23:21:54 +00:00
Gary Bradski
5878ab6a0f added destroyAllWindows at end 2012-03-18 23:12:55 +00:00
Gary Bradski
8a48b8dffd added destroy all windows 2012-03-18 23:07:39 +00:00
Gary Bradski
c29f0dfdfa added destroy all windows 2012-03-18 23:01:31 +00:00
Vadim Pisarevsky
c8e206c2ab added LogPolar Blind Spot Model (thanks to Fabio Solari for the contribution) 2012-03-18 22:29:13 +00:00
Marina Kolpakova
d10616775b Fixed bug #1634 2012-03-18 17:28:44 +00:00
Marina Kolpakova
aa19fd500c Fixed bug #1654 2012-03-18 17:17:44 +00:00
Marina Kolpakova
2ca6a50546 Fixed bug #1663 2012-03-18 16:53:00 +00:00
Marina Kolpakova
082e988173 Fixed bug #1666 2012-03-18 16:46:07 +00:00
Vladislav Vinogradov
c510840c45 Fixed build without CUDA 2012-03-18 12:27:10 +00:00
Vladislav Vinogradov
85c904a4ba fixed build in gpu module (SURF and ORB) 2012-03-18 12:05:49 +00:00
Alexander Kapustin
46248851bf 30 functions of cvtTIPES_func were Neon Optimized 2012-03-18 08:58:24 +00:00
Vadim Pisarevsky
fb804cb352 fixed StereoBM crash on MacOSX 10.7 2012-03-17 11:12:24 +00:00
Vadim Pisarevsky
d60623279c switched to non-constant references in Algorithm::addParam, which is more safe. 2012-03-17 09:50:47 +00:00
Vadim Pisarevsky
846e37ded5 fixed many warnings from GCC 4.6.1 2012-03-17 09:22:31 +00:00
Vadim Pisarevsky
4985c1b632 fixed hundreds of warnings from MSVC 2010. 2012-03-16 21:21:04 +00:00
Andrey Pavlenko
20cceb8fdf moving the rest of inpaint() to the 'photo' module, temporary disabling Java test for it, adding 'photo' to Java API 2012-03-16 15:11:56 +00:00
Marina Kolpakova
0bc5140b17 allocate CPU memory if Tegra GPU allocator failed. 2012-03-16 14:11:39 +00:00
Maria Dimashova
baa81de122 renamed property of openni camera 2012-03-16 13:59:08 +00:00
Alexander Shishkov
c9489a8bf3 fixed #1643 2012-03-16 09:50:20 +00:00
Andrey Kamaev
305d024137 CMake status report: list unsatisfied dependencies for automatically disabled modules; fixed few problems with Windows-style paths 2012-03-16 09:16:31 +00:00
Maria Dimashova
00aca7e77a renamed property of openni camera 2012-03-16 09:08:18 +00:00
Alexander Shishkov
cf9a822aba update FFMPEG wrapper binaries 2012-03-15 20:40:07 +00:00
Alexander Shishkov
7f2ddf16eb minor changes in wrapper 5 2012-03-15 20:39:11 +00:00
Alexander Shishkov
cfe4317efa update FFMPEG wrapper binaries 2012-03-15 20:31:35 +00:00
Alexander Shishkov
6546719158 minor changes in wrapper 4 2012-03-15 20:30:21 +00:00
Alexander Shishkov
a12fb7f96c minor changes in wrapper 3 2012-03-15 20:14:59 +00:00
Vadim Pisarevsky
b5a9c9ac77 temporarily turned off the new wrapper. 2012-03-15 19:58:35 +00:00
Maria Dimashova
930c7bf20e minor refactoring CvCapture_OpenNI 2012-03-15 15:55:07 +00:00
Alexander Shishkov
538eeeab1d minor changes in wrapper 2 2012-03-15 15:43:14 +00:00
Vadim Pisarevsky
2d1ef5eea8 fixed build on VS2010 2012-03-15 15:38:54 +00:00
Alexander Shishkov
10b0f29372 minor changes in wrapper 2012-03-15 15:36:14 +00:00
Alexander Shishkov
bf4df828f7 minor changes in wrapper 2012-03-15 15:30:01 +00:00
Andrey Pavlenko
a5ae52fb0c updating func-s arg names according to ref. man. 2012-03-15 15:21:33 +00:00
Alexander Shishkov
7b3ec537b4 minor changes in wrapper 2012-03-15 15:12:52 +00:00
Andrey Kamaev
b538210804 Fixed Linux build with OpenGL but without CUDA 2012-03-15 15:08:21 +00:00
Alexander Shishkov
8fcd060dec update FFMPEG wrapper binaries 2012-03-15 14:45:14 +00:00
Vadim Pisarevsky
957e80abbd lot's of changes; nonfree & photo modules added; SIFT & SURF -> nonfree module; Inpainting -> photo; refactored features2d (ORB is still failing tests), optimized brute-force matcher and made it non-template. 2012-03-15 14:36:01 +00:00
Alexander Shishkov
6300215b94 update FFMPEG wrapper binaries 2012-03-15 14:28:29 +00:00
Alexander Shishkov
7b6af8f429 update FFMPEG wrapper 2012-03-15 14:17:12 +00:00
Maria Dimashova
c13febc4d4 minor refactoring CvCapture_OpenNI::CvCapture_OpenNI 2012-03-15 09:59:23 +00:00
Alexander Reshetnikov
36b2ff3cf3 Fixed compiling error under Ubuntu with ffmpeg 0.7.x and advised under Windows 2012-03-15 09:24:03 +00:00
Andrey Kamaev
ddc4ed4741 Added protection from modules redefinition and globbing recursion 2012-03-15 09:20:16 +00:00
Andrey Pavlenko
32d4d7929e Java API: adding C++ classes inheritance support 2012-03-15 09:11:04 +00:00
Andrey Kamaev
b3f10835a3 run.py: added option to show tests own help 2012-03-15 08:31:57 +00:00
Alexander Shishkov
0ea66a38ff fixed compilation FFMPEG wrapper on Windows 2012-03-15 07:22:31 +00:00
Gary Bradski
c47c1adc94 remove some unneeded imports 2012-03-15 03:50:31 +00:00
Gary Bradski
dfaabd88fc added cv2.destroyAllWindows() 2012-03-15 03:45:15 +00:00
Gary Bradski
41d2a3c832 Examples of using histograms in python 2012-03-14 23:33:16 +00:00
Gary Bradski
9164ccbaaf added 0xFF & in front of every waitKey so that it works on linux 2012-03-14 21:46:34 +00:00
Vladislav Vinogradov
ade7394e77 refactored and fixed bugs in gpu warp functions (remap, resize, warpAffine, warpPerspective)
wrote more complicated tests for them
implemented own version of warpAffine and warpPerspective for different border interpolation types
refactored some gpu tests
2012-03-14 15:54:17 +00:00
Ivan Korolev
6e2507c197 Added some new warpers. 2012-03-14 12:59:23 +00:00
Maria Dimashova
8ec1c2b03a minor change 2012-03-14 11:01:45 +00:00
Andrey Pavlenko
36890cc959 (#1636) Java API: adding undistortPoints() support and smoke test; minor improvements in Java stuff 2012-03-14 07:37:48 +00:00
Andrey Kamaev
b232ffcde7 Android: removed unneeded workaround for library output path initialization. 2012-03-13 15:50:11 +00:00
Maria Dimashova
f67d9d9038 added ability to pass initial transformation to rgbd odometry 2012-03-13 13:07:30 +00:00
Andrey Kamaev
e4307d05f3 Made dependency of features2d and calib3d from highgui optional 2012-03-13 12:33:16 +00:00
Alexander Shishkov
d68311b9eb fixed #1554 2012-03-13 12:24:05 +00:00
Alexander Shishkov
698fb8c1df modified documentation about using OpenNI wrapper #1657 2012-03-13 12:00:25 +00:00
Ilya Lysenkov
207e46b425 Restored findCirclesGridDefault() for backward compatibility 2012-03-13 09:38:00 +00:00
Alexander Reshetnikov
e0b772a392 Added a first version of new ffmpeg wrapper 2012-03-12 17:07:54 +00:00
Vadim Pisarevsky
191e969243 fixed angle check in squares.py (thanks to Abid Rahman) 2012-03-12 16:45:17 +00:00
Andrey Kamaev
603e3e4bc0 Fixed bugs in Android cmake toolchain; added experimantal assembler support to the toolchain 2012-03-12 16:17:42 +00:00
Alexander Shishkov
6051e27a09 added support of Asus XtionPRO (thanks to Gustav Karlsson for his patches) #1657 2012-03-12 16:07:42 +00:00
Ilya Lysenkov
1252671c9d Added a full Python wrapper of findCirclesGrid 2012-03-12 11:40:46 +00:00
Ilya Lysenkov
df6a95ed87 Wraped SimpleBlobDetector for Python 2012-03-12 11:39:48 +00:00
Andrey Kamaev
3df41c1d62 Tegra version of cv::detail:: 2012-03-12 11:24:27 +00:00
Maria Dimashova
fbfc0cc96f added special cases to RGBDOdometry (translation only, rotation only) 2012-03-12 10:40:39 +00:00
Alexander Shishkov
f4e5209d5a fixed compilation on Windows (NAN) 2012-03-12 07:27:04 +00:00
Alexander Shishkov
d95127c279 #1672
updated some more links
2012-03-11 16:01:20 +00:00
Alexander Shishkov
cc881e6393 #1672
updated docs links in tutorials
2012-03-11 15:45:27 +00:00
Andrey Kamaev
628076b7da Fixed broken headers install layout 2012-03-11 15:22:38 +00:00
Andrey Kamaev
4ebb66362c Tegra version of cv::detail::createLaplacePyr 2012-03-11 14:53:13 +00:00
Alexander Shishkov
be63ce723f #1672
updated links in cheatsheet
renamed directory for Mat tutorial 
changed links from willow docs to opencv.itseez.com, from Trac to current Redmine
2012-03-11 14:35:46 +00:00
Andrey Kamaev
805d88a8d2 Tegra version of cv::subtract 2012-03-11 14:28:34 +00:00
Andrey Pavlenko
5cac6340e4 Java API: temp workaround for Java tests compilation, a better fix will be done with inheritance support 2012-03-11 12:40:51 +00:00
Alexander Kapustin
6652b4ce85 Functions cvt8u16s_func, cvt32s16s_func, cvt32f16s_func were Neon Optimized 2012-03-11 12:40:24 +00:00
Maria Dimashova
90f6e319da fixed compilation with eigen2 2012-03-11 11:45:29 +00:00
Andrey Kamaev
57c7604568 Fixed Android build warning 2012-03-11 10:53:42 +00:00
Maria Dimashova
abe2c2fb3f fixed compilation with eigen2 2012-03-11 09:56:23 +00:00
Maria Dimashova
532781e8d2 initial version of rgbd odometry with sample 2012-03-11 09:31:28 +00:00
Andrey Morozov
52b4536d39 fixed module name for mingw compiler under Windows 2012-03-11 07:00:22 +00:00
Alexander Mordvintsev
f6fec7ad2f fixed python GIL reacquire in case of exception 2012-03-10 05:56:40 +00:00
Alexander Shishkov
466345e936 fixed stitching compilation 2012-03-08 08:10:04 +00:00
Andrey Kamaev
49207ce1a0 Minor fix in blender mask conversion. 2012-03-07 20:33:35 +00:00
Vladislav Vinogradov
cd2cc6197f fixed bug in gpu::pyrUp implementation 2012-03-07 14:31:30 +00:00
Andrey Kamaev
679f1dad99 Stitching: added CV_16S weights support to the multiband blender 2012-03-07 14:23:55 +00:00
Vladislav Vinogradov
796f839b75 minor fix in gpu docs (filter2D and convolve) 2012-03-07 14:05:21 +00:00
Vladislav Vinogradov
855feedda7 fixed error calculation in gpu::PyrLKOpticalFlow (Bug #1651) 2012-03-07 13:41:49 +00:00
Vadim Pisarevsky
1a25e58239 fixed patch diff calculation in the end of calcopticalflowpyrlk (thanks to Vlad Vinogradov for the patch) 2012-03-07 13:35:13 +00:00
Vladislav Vinogradov
02f226a981 fixed bug in gpu::pyrDown 2012-03-07 13:14:50 +00:00
Alexander Mordvintsev
0e27c772aa using RAII to manage GIL -- still fails to handle exceptions correctly 2012-03-07 12:46:21 +00:00
Alexander Mordvintsev
58174f6ada Added GIL-release code into python wrappers
Added gabor_threads.py sample
2012-03-07 11:09:27 +00:00
Vladislav Vinogradov
e7dda44a07 updated image for StereoConstantSpaceBP regression test
updated gpu tests for CornerHarris and CornerMinEigen
moved direct convolution implementation to gpu::filter2D, gpu::convolve now use only DFT-based algorithm (Bug #1639)
2012-03-07 09:49:24 +00:00
Andrey Pavlenko
53c1565514 Java API: replacing some manual port with auto-generated stuff (/Map-type classes) 2012-03-07 08:16:43 +00:00
Alexander Mordvintsev
2727a425e4 fixed distrans.py sample (distanceTransform -> distanceTransformWithLabels) 2012-03-06 13:22:55 +00:00
Vladislav Vinogradov
63b5cf6dea temporary disabled optimized version of CascadeClassifier (bug #1640)
fixed HaarCascadeLoader test (incorrect behavior due to macros usage)
2012-03-05 13:49:42 +00:00
Alexander Shishkov
1494da339d fixed #1507 2012-03-05 11:08:59 +00:00
Vladislav Vinogradov
ec5bdc7de8 added patch error calculation to gpu::PyrLKOpticalFlow 2012-03-05 10:36:57 +00:00
Alexander Shishkov
27ecc999cb modified readme.txt (#1609) 2012-03-05 09:20:52 +00:00
Alexander Shishkov
5c10bd5b79 fixed #1477 2012-03-04 22:22:30 +00:00
Alexander Shishkov
e64450ae89 fixed #1466 2012-03-04 21:49:38 +00:00
Andrey Kamaev
90dcd4608c Android: fixed cmake try_compile() for case of STL features detection 2012-03-04 20:36:50 +00:00
Andrey Kamaev
631f72d85d Fixed Android cross-compiling problems:
- missing install_name_tool on OS X
- incorrectly working try_compile() command
2012-03-04 12:30:03 +00:00
Andrey Kamaev
18dbe6b3e5 cmake scripts are updated to prefer includes from the OpenCV source tree 2012-03-03 15:49:23 +00:00
Andrey Kamaev
aeaae8b057 Updated rst configuration to read OpenCV version from sources; fixed several sphinx' warnings 2012-03-02 20:59:13 +00:00
Alexander Shishkov
1956f32aac fixed #1289 2012-03-02 20:19:32 +00:00
Alexander Shishkov
3f0bd34270 updated repository path in gpu/introduction (ticket #1260) 2012-03-02 20:13:03 +00:00
Gary Bradski
bd2014deba added usage on how to actually run video_dmtx.cpp 2012-03-02 19:39:06 +00:00
Alexander Shishkov
f67a0902aa fixed #1618 2012-03-02 18:36:34 +00:00
Alexander Shishkov
042a834d9d #fixed 1644 2012-03-02 18:24:46 +00:00
Alexander Shishkov
defbdcba77 fixed #1645 2012-03-02 18:06:15 +00:00
Anatoly Baksheev
18933c12f7 Disabled BUILD_WITH_DEBUG_INFO flag for MSCV. Now debug info is included in debug configuration 2012-03-02 14:48:35 +00:00
Alexander Shishkov
f5b8af3254 applied patch from #1637 for fixing problems with Intel(tm) compiler 2012-03-02 12:24:03 +00:00
Andrey Kamaev
ab221fb3d6 More accurate cmake flags sets/unsets for 3rdparty libs 2012-03-02 11:36:34 +00:00
Alexander Shishkov
06a6c5851c updated libpng: from 1.4.3 to 1.5.9 #1609 2012-03-02 11:01:10 +00:00
Andrey Kamaev
aa6c677bd8 Added opencv_tests and opencv_perf_tests targets to simplify building tests only 2012-03-02 08:48:33 +00:00
Andrey Kamaev
2f4bb580fc Fixed some build warnings; slightly improved python search 2012-03-02 08:34:54 +00:00
Andrey Kamaev
30d5cdef94 Fixed HAVE_UNISTD_H redefinition warning 2012-03-01 11:41:10 +00:00
Andrey Kamaev
0db570b1ca minor cmake update 2012-03-01 10:44:19 +00:00
Andrey Kamaev
368181bf4e Fixing windows build of libtiff 2012-03-01 09:15:19 +00:00
Andrey Kamaev
e8afcdba0a More flexible tiff library configuration 2012-03-01 09:01:32 +00:00
Alexey Spizhevoy
92d2d74731 Fixed docs for gpu::convolve() 2012-03-01 08:02:34 +00:00
Kirill Kornyakov
4fb9196e83 copied a section with explanation of different border types 2012-03-01 07:45:24 +00:00
Vladislav Vinogradov
2d81ecce23 fixed required CUDA version in OpenCVDetectCUDA.cmake 2012-02-29 20:24:28 +00:00
Alexander Shishkov
bc4f63e5bd updated libtiff: from 3.9.5 to 4.0.1 #1609 2012-02-29 15:01:28 +00:00
Vladislav Vinogradov
d00fa6b817 improved type dispatching in gpu arithm functions 2012-02-29 13:02:25 +00:00
Andrey Pavlenko
60ddaa565e fixin a bug in conversion Mat -> List<List<E>> 2012-02-29 12:40:31 +00:00
Andrey Kamaev
4b5d04f475 Fixed tbb hang in Android apps 2012-02-29 08:11:01 +00:00
Alexander Shishkov
d05b788db4 fixed compilation problems with MinGW after rev7353 2012-02-28 12:39:25 +00:00
Ivan Korolev
f1f045858f Updated a perftest for convertTo 2012-02-28 04:46:48 +00:00
Leonid Beynenson
9794f5977c Changed the class OrbFeaturesFinder to make it work with CV_8UC4 and CV_8UC1 images. 2012-02-27 17:46:53 +00:00
Alexander Reshetnikov
a92e3dcdad Updated positioning test (removed frame reading) 2012-02-27 14:37:20 +00:00
Vladislav Vinogradov
5c0f2f8ea1 reused buffer in GlTexture::copyFrom(GpuMat) 2012-02-27 13:22:41 +00:00
Andrey Kamaev
212ceb3e24 Minor improvement for Android TBB 2012-02-27 12:49:00 +00:00
Alexander Shishkov
0279ba953e fixed warnings in linemod on Windows 2012-02-27 11:42:33 +00:00
Alexander Shishkov
e7e373307b added exports to the LineMod classes
fixed compilation linemod sample on Windows
2012-02-27 11:15:01 +00:00
Andrey Kamaev
32080ece8c Fixed Android build warning 2012-02-27 09:19:30 +00:00
Patrick Mihelich
13456c9840 Removed a finished todo 2012-02-27 08:55:57 +00:00
Andrey Kamaev
cb9823704c #1568 support of building with OpenEXR on Windows 2012-02-27 06:23:14 +00:00
Andrey Kamaev
c6445e2de1 Slightly improved build of TBB for Android 2012-02-27 06:19:25 +00:00
Patrick Mihelich
8b6aec6710 Sample program to train and detect objects using LINE-MOD. 2012-02-27 01:50:22 +00:00
Patrick Mihelich
f483272d09 No longer expose internal LINE-MOD methods like response map computation, linearizing similarities, etc in public header. 2012-02-27 00:07:52 +00:00
Patrick Mihelich
f174b001f3 Initial commit of LINE-MOD source code to objdetect module. 2012-02-26 23:55:18 +00:00
Andrey Kamaev
8df208cf56 Fixed compiler flags for 3rdparty libs. 2012-02-24 21:54:29 +00:00
Andrey Kamaev
22d7e6b741 Scripts for building TBB for Android 2012-02-24 18:16:05 +00:00
Andrey Kamaev
8141a5026c Refactored cmake for 3rdparty libs 2012-02-24 13:53:22 +00:00
Leonid Beynenson
4a299acd48 Added PlanePortraitWarper class. 2012-02-24 13:48:41 +00:00
Andrey Kamaev
216d75ccae Restored missed } 2012-02-24 12:45:23 +00:00
Alexander Reshetnikov
9b5534a6e0 Fixed syntax error in cap_dc1394_v2.cpp 2012-02-24 12:27:20 +00:00
Andrey Kamaev
a8f0c93379 Modified zlib search. Use system zlib on Android by default 2012-02-24 12:23:34 +00:00
Alexander Reshetnikov
b12f18536f Added new VideoCapture properties for ieee1394 cameras 2012-02-24 10:54:52 +00:00
Andrey Kamaev
228b87250a Windows build scripts for Android are updated for SDK r14 and newer 2012-02-24 09:39:28 +00:00
Andrey Kamaev
01b986ef32 Fixed try_compile for Android; Fixed samples build 2012-02-24 09:35:59 +00:00
Andrey Pavlenko
5bea651e81 Java samples updated to be compatible with both old (2.2+) and new (3.0+) Android versions 2012-02-24 08:43:11 +00:00
Patrick Mihelich
b6c2c61ce1 Check for SSSE3 in core/internal.hpp. Define CV_SSSE3, and if enabled include tmmintrin.h. 2012-02-23 21:41:22 +00:00
Andrey Kamaev
aa9eeddd86 Fixed problem with backslashes in cmake status report 2012-02-23 20:05:27 +00:00
Alexander Reshetnikov
d7763d99de Minor code changes in test_video_io.cpp 2012-02-22 22:10:53 +00:00
Andrey Kamaev
d40721e5c0 Suppressed MSVC warnings in zlib 2012-02-22 20:22:29 +00:00
Alexander Reshetnikov
23c2275449 Added conditional compiling for video i/o tests in highgui. 2012-02-22 17:12:25 +00:00
Andrey Kamaev
19ce8c7f12 #1609 zlib is updated to 1.2.6 2012-02-22 15:52:23 +00:00
Leonid Beynenson
b8eeb019db Added spherical and cylindrical warpers, which work in the portrait mode -- when poles are located NOT at (0, -1, 0) and (0, 1, 0) points, BUT at (1, 0, 0) and (-1, 0, 0) points. 2012-02-22 15:44:39 +00:00
Andrey Kamaev
eec70a7793 Architecture dependent library path on unix 2012-02-22 15:29:23 +00:00
Andrey Kamaev
4ac407e76a Small refactoring of OpenCV cmake options 2012-02-22 14:04:59 +00:00
Alexander Reshetnikov
8b7edda6ac Added cvShowImage working with handles under Windows. 2012-02-22 13:30:47 +00:00
Alexander Shishkov
50df95650a fixed #924 2012-02-22 12:16:01 +00:00
Alexander Shishkov
f7866677eb fixed #1615 2012-02-22 12:13:56 +00:00
Vladislav Vinogradov
f0f87ebf36 fixed compilation error under linux 2012-02-22 11:22:31 +00:00
Vladislav Vinogradov
2d30480982 created wrappers for new NPP functions
removed void integral(const GpuMat& src, GpuMat& sum, GpuMat& sqsum, Stream& stream) - it fails with NPP_NOT_IMPLEMENTED error
updated docs, accuracy and performance tests
2012-02-22 10:00:53 +00:00
Andrey Kamaev
e426dfc396 Fixed #1613: removed YUV420i color conversion constants 2012-02-21 15:08:03 +00:00
Andrey Kamaev
9a88aea697 Eliminated all compiler warnings on Android 2012-02-21 14:07:44 +00:00
Andrey Kamaev
a8f27e4a84 Information about cmake and build platform is added to the status report 2012-02-21 12:42:51 +00:00
Victoria Zhislina
0630e7010e CV_USE_UNROLLED for imgproc 2012-02-21 11:31:23 +00:00
Andrey Kamaev
ff2af7d8bb Fixed Canny 2012-02-21 11:16:49 +00:00
Alexander Shishkov
5785a89053 fixed #1614 2012-02-21 04:42:34 +00:00
Andrey Kamaev
b294383199 Added more default search locations for Android NDK and SDK 2012-02-20 14:50:23 +00:00
Andrey Kamaev
30191dbe95 Fixing ffmpeg dll copying on Windows 2012-02-20 13:43:06 +00:00
Andrey Kamaev
469cc42aee Fixing ffmpeg dll copying on Windows 2012-02-20 13:12:13 +00:00
Andrey Kamaev
16fb7d231e Fixed problem with Android native camera helper libraries 2012-02-20 12:51:15 +00:00
Andrey Kamaev
00db5a69a2 More granular build of Java API: it is now possible to build Java wrappers only for the subset of OpenCV modules 2012-02-20 11:50:43 +00:00
Alexander Shishkov
8dc28473c7 fixed #1339 2012-02-20 09:16:19 +00:00
Alexey Spizhevoy
35d63083f9 Added Farneback's optical flow sample 2012-02-20 08:31:10 +00:00
Andrey Kamaev
504262d3d8 Fixed #1608 2012-02-19 21:56:21 +00:00
Andrey Kamaev
4f97b20ff6 Refactored OpenCVConfig.cmake generation code. 2012-02-19 21:30:13 +00:00
Alexander Reshetnikov
f83aa74bc4 Updated ffmpeg implementation (setProperty & getProperty methods) 2012-02-18 12:56:00 +00:00
Andrey Kamaev
a6e8e5dd95 Fixed #1443 2012-02-17 19:09:05 +00:00
Andrey Pavlenko
f59d96cd7f updating inaccurate test (Mat step can be more than width) 2012-02-17 14:51:19 +00:00
Alexander Shishkov
f3be34934e minor changes in chessboard.py sample #1492 2012-02-17 08:48:06 +00:00
Alexander Shishkov
a6602dd75c fixed #1492 2012-02-17 08:42:58 +00:00
Alexander Shishkov
d7031606c2 fixed #1363 2012-02-17 08:35:46 +00:00
Alexey Spizhevoy
2ad7add613 Minor refactoring of the GPU perf. sample 2012-02-17 07:02:11 +00:00
Alexander Shishkov
6ababe7055 fixed #1604 2012-02-17 06:58:02 +00:00
Andrey Kamaev
691d392312 Fixes: Android NDK r7b, android build warnings, build with Visual Studio 2005. 2012-02-16 20:29:35 +00:00
Vincent Rabaud
2219e38192 fix a potential crash when there are no keypoints 2012-02-16 19:21:48 +00:00
Alexey Spizhevoy
630d874e03 Updated the GPU performance sample 2012-02-16 13:08:22 +00:00
Alexey Spizhevoy
c908c50131 Added docs for gpu::FarnebackOpticalFlow 2012-02-16 12:42:44 +00:00
Alexey Spizhevoy
e428a0c681 Fixed a compile-time error 2012-02-16 12:33:42 +00:00
Alexey Spizhevoy
8f215af048 Minor fix -- renamed a variable 2012-02-16 12:07:08 +00:00
Alexey Spizhevoy
b0d457cdb0 Minor refactoring 2012-02-16 12:00:17 +00:00
Alexey Spizhevoy
b0bf54e713 Added a perf. test for gpu::FarnebackOpticalFlow 2012-02-16 11:48:56 +00:00
Alexey Spizhevoy
9f5d97425f Fixed some typos 2012-02-16 11:32:32 +00:00
Alexey Spizhevoy
681ac9beda Added missing files 2012-02-16 11:26:17 +00:00
Alexey Spizhevoy
5c459aa815 Added the GPU version of the Farneback's optical flow 2012-02-16 11:23:51 +00:00
Vadim Pisarevsky
59ff1a4ccb added StereoVar description (by Sergey Kosov) 2012-02-15 22:24:32 +00:00
Vadim Pisarevsky
bb93e3ab8a added color canny; improved Algorithm class implementation 2012-02-15 21:10:11 +00:00
Vadim Pisarevsky
716a5d04ab fixed a few problems detected by Xcode 4.2.1 2012-02-15 19:48:04 +00:00
Vladislav Vinogradov
ada6ab3778 fixed compilation for old compute capabilities 2012-02-15 19:25:29 +00:00
Vladislav Vinogradov
65bef258cb fixed compilation error 2012-02-15 12:27:51 +00:00
Alexander Reshetnikov
deee349ba7 removed highgui video tests execution on macos; also minor code changes 2012-02-15 12:06:46 +00:00
Vladislav Vinogradov
5af529c1bd fixed and updated gpu implementation of separable liner filters
now it supports kernel's size up to 32
2012-02-15 12:05:59 +00:00
Ivan Korolev
b96a556fff Created a perftest for convertTo, updated perftests for arithmetical operations 2012-02-15 10:24:47 +00:00
Andrey Pavlenko
fe991052dc #1283, adding JavaDoc comments for Mat <->Bitmap converters. 2012-02-15 09:08:39 +00:00
Andrey Pavlenko
0588e6261b #1283, Mat <->Bitmap converters Java tests. 2012-02-15 08:19:49 +00:00
Vladislav Vinogradov
6f7e3434ca moved finding CUDA_npp_LIBRARY to OpenCVDetectCUDA.cmake 2012-02-15 06:44:20 +00:00
Andrey Pavlenko
62591a1d5a #1283, Mat <->Bitmap converters are updated to support CV_8UC(1,3,4) & non-continuous Mat-s and RGBA_8888 & RGB_565 Bitmaps; Android samples project files are updated according to the latest SDK req-s. 2012-02-14 14:40:41 +00:00
Vladislav Vinogradov
f7fd7929e1 added docs for GoodFeaturesToTrackDetector_GPU and PyrLKOpticalFlow 2012-02-14 13:18:33 +00:00
Vladislav Vinogradov
a6bc747a54 minor fix : doesn't save outliers 2012-02-14 11:48:40 +00:00
Vladislav Vinogradov
18c48196f8 fixed compile error 2012-02-14 11:29:08 +00:00
Anatoly Baksheev
87bbcccea5 fixed orb bug commited by mistake 2012-02-14 10:27:33 +00:00
Anatoly Baksheev
84db4eb6fa fixed ~200 warnings for windows
minor build system changes (now cuda code in opencv_core is compiled using CUDA_ARCH* cmake variables)
2012-02-14 10:22:34 +00:00
Vladislav Vinogradov
8f4d63913a minor 2012-02-13 13:29:28 +00:00
Vladislav Vinogradov
77f286ada6 fixed build under linux
added PyrLKOpticalFlowDense performance test
2012-02-13 13:19:06 +00:00
Vladislav Vinogradov
a10fed8fd1 added GoodFeaturesToTrackDetector_GPU and PyrLKOpticalFlow to gpu module 2012-02-13 12:57:27 +00:00
Alexander Reshetnikov
edc9d4f951 fixed compiling error under Windows; updated test_video_io.cpp 2012-02-13 12:41:27 +00:00
Alexander Reshetnikov
35c19442a7 updated 3 highgui tests 2012-02-11 15:28:03 +00:00
Gary Bradski
778b51a6a1 Adding python example of mouse interaction and use of correlation on an image 2012-02-11 03:47:40 +00:00
Victoria Zhislina
3e94f77215 2012-02-10 13:47:53 +00:00
Alexandre Benoit
c07d9d75e8 added get methods for retina outputs 2012-02-10 13:25:33 +00:00
Andrey Morozov
ef8c263500 fixed compile under linux 2012-02-10 12:46:34 +00:00
Victoria Zhislina
fbdb93ec79 CV_ENABLE_UNROLLED 2012-02-10 06:05:04 +00:00
Andrey Kamaev
68a54e7f3c Fixed incorrectly merged patch. 2012-02-09 20:22:36 +00:00
Leonid Beynenson
3ef5bfa185 Applied the patch, received from akamaev. Also made some changes in CMake files to fix Android camera issue. 2012-02-09 15:02:21 +00:00
Alexander Shishkov
7c03b301c1 fixed #927 issue 2012-02-09 10:53:16 +00:00
Alexander Reshetnikov
6ead21b1a2 added licenses to some tests; updated new highgui tests 2012-02-09 10:51:53 +00:00
Alexander Shishkov
c761996a28 fixed #927 issue 2012-02-08 15:29:07 +00:00
Vladislav Vinogradov
f883b31cfd updated performance sample 2012-02-08 11:02:32 +00:00
Vadim Pisarevsky
a618b774f2 fixed OpenCVConfig.cmake for creating Xcode projects 2012-02-08 05:45:58 +00:00
Vladislav Vinogradov
237b3ed3a0 fixed createOpticalFlowNeedleMap 2012-02-08 05:45:47 +00:00
Marius Muja
fcf9a224fb Bug fix 2012-02-07 02:18:54 +00:00
Alexander Reshetnikov
46fa7b49c5 updated positioning test for videos 2012-02-06 13:53:25 +00:00
Andrey Kamaev
aa9735f9b5 Fixed mingw build 2012-02-06 13:29:48 +00:00
Alexander Shishkov
792fb3bd64 fixed #1549 issue 2012-02-06 13:26:35 +00:00
Andrey Kamaev
c19d0b17de Fixed typo 2012-02-06 12:45:11 +00:00
Andrey Kamaev
49933c798f Fixed build for desktop 2012-02-06 11:48:15 +00:00
Vladislav Vinogradov
75ac4362ca removed ASSERT_NO_THROW 2012-02-06 11:31:52 +00:00
Andrey Kamaev
23af203e00 Better variant of OpenCVConfig.cmake generation; several smaller changes in the options section and Android build scripts 2012-02-06 11:30:59 +00:00
Alexander Shishkov
863fe3ecf8 fixed bug after const removing in retina 2012-02-06 10:34:00 +00:00
Alexander Shishkov
26ed10993e fixed #1565 issue 2012-02-06 09:31:33 +00:00
Alexander Shishkov
ec12608f5f fixed #1590 2012-02-06 08:38:03 +00:00
Alexander Shishkov
06247b49af fixed issue #1243 2012-02-06 08:13:11 +00:00
Alexander Shishkov
ace6eaef7e added one more test for undistort 2012-02-06 06:47:43 +00:00
Vladislav Vinogradov
014577b433 fixed OpenCVDetectTBB.cmake (WIN32 x86 VS library path) 2012-02-06 06:11:23 +00:00
Vadim Pisarevsky
53c39a7a53 added getGaborKernel function 2012-02-06 01:09:54 +00:00
Andrey Morozov
b3b80bc397 fixed compile under linux 2012-02-05 08:09:00 +00:00
Andrey Kamaev
eac055a27e Fixed ticket #1580 2012-02-04 18:57:41 +00:00
Alexander Reshetnikov
b4895dbcaf completed tests checking positioning & frame count for videos (C interface); added new test videos 2012-02-04 16:17:05 +00:00
Alexander Reshetnikov
89702dc10c File with positioning test was renamed to test_positioning.cpp 2012-02-04 15:55:12 +00:00
Andrey Kamaev
dfb161e9c9 Fixing #1580 2012-02-03 19:18:35 +00:00
Andrey Kamaev
fdc1e87ddf Attempt to fix #1580 - building OpenCV with ffmpeg not in LD_LIBRARY_PATH 2012-02-03 18:52:00 +00:00
Andrey Kamaev
1e79280be1 Fixed OpenCVConfig.cmake generated for build directory 2012-02-03 15:22:54 +00:00
Andrey Kamaev
5eb6ee6290 Fixing build with CUDA enabled 2012-02-03 12:54:52 +00:00
Andrey Kamaev
ee6fefc862 Fixing build with CUDA enabled 2012-02-03 12:35:39 +00:00
Andrey Kamaev
c99253d62d Fixing build on Windows 2012-02-03 12:33:48 +00:00
Andrey Kamaev
3ff438dc7a Fixing build with CUDA enabled 2012-02-03 12:15:27 +00:00
Andrey Kamaev
690bf07a7f Fixing build with CUDA enabled 2012-02-03 11:54:16 +00:00
Andrey Kamaev
d749052d9d Fixing build with Eigen enabled 2012-02-03 11:37:14 +00:00
Andrey Kamaev
984eb99428 Global CMake reorganization:
[~] Automatically tracked dependencies between modules
 [+] Support for optional module dependencies
 [+] Options to choose modules to build
 [~] Removed hardcoded modules lists from OpenCVConfig.cmake, opencv.pc and OpenCV.mk
 [+] Added COMPONENTS support for FIND_PACKAGE(OpenCV)
 [~] haartraining and traincascade are moved outside of modules folder since they aren't the modules
2012-02-03 11:26:49 +00:00
Alexey Spizhevoy
ada9158521 Fixed the building process for (ubuntu 64bit debug cuda4.1) configuration 2012-02-02 14:06:13 +00:00
Alexey Spizhevoy
d8fa374167 Fixed the multi-band blending test 2012-02-01 10:00:38 +00:00
Andrey Morozov
386578bc3f fixed compile error 2012-02-01 09:54:18 +00:00
Alexander Reshetnikov
a41b0902f4 Prepared some videos for future tests. Added first version of common positioning video test. 2012-01-31 21:02:05 +00:00
Vadim Pisarevsky
fef90e2270 fixed a few bugs in mat-mask-operations tutorial (thanks to Shiqi Yu) 2012-01-31 15:58:47 +00:00
Alexey Spizhevoy
c09eae4969 Updated the multi-band blending test 2012-01-31 14:36:55 +00:00
Ethan Rublee
b254358d35 highgui headers were not being installed... 2012-01-30 19:07:14 +00:00
Vladislav Vinogradov
f8aba8608d fixed build under CUDA 4.1 2012-01-30 13:15:20 +00:00
Alexey Spizhevoy
7ddb706b29 Added a test for the multi-band blender 2012-01-30 10:31:10 +00:00
Alexandre Benoit
3892ce1f73 added access methods to retreive retina input and output buffers sizes 2012-01-30 09:40:02 +00:00
Vladislav Vinogradov
bb23288c3d fixed bug in SURF_GPU 2012-01-30 07:59:14 +00:00
Vladislav Vinogradov
d38ca09738 added gpu::printCudaDeviceInfo to all samples 2012-01-30 07:20:09 +00:00
Alexey Spizhevoy
ed038ef9dc Updated the stitching module docs 2012-01-30 07:06:35 +00:00
Alexey Spizhevoy
f5ed96f40c Updated the stitching module docs 2012-01-30 06:53:50 +00:00
Vadim Pisarevsky
00a58c9af8 fixed bug #1422 (thanks to jondo for the patch) 2012-01-29 14:31:10 +00:00
Alexey Spizhevoy
70d137269a Updated the stitching pipeline image 2012-01-28 15:49:35 +00:00
Vadim Pisarevsky
fd084a0a7e fixed bug #1415 2012-01-27 20:36:19 +00:00
Vadim Pisarevsky
b33c9b10bc fixed bug #1566 2012-01-27 20:28:59 +00:00
Vladislav Vinogradov
3ec2f7f5f0 fixed gpu::device::transform with non-aligned sources (Ticket #1567) 2012-01-27 13:10:30 +00:00
Alexey Spizhevoy
aba37e54b3 Updated the stitching module docs 2012-01-27 07:40:23 +00:00
Vadim Pisarevsky
dbfa8408d2 fixed potential bug in cv::eigen() 2012-01-26 19:41:59 +00:00
Alexey Spizhevoy
9187739d18 Updated the stitching module docs 2012-01-26 13:28:04 +00:00
Vladislav Vinogradov
9304d32b82 disabled unnecessary code (it can't be compiled with VS 2008 Ticket #1561) 2012-01-26 12:52:32 +00:00
Alexey Spizhevoy
f0b9c90f79 Updated the stitching module docs 2012-01-26 12:44:32 +00:00
Alexey Spizhevoy
bee271a15c Updated the stitching module docs 2012-01-26 12:02:45 +00:00
Alexey Spizhevoy
a7e7226a02 Updated the stitching module docs 2012-01-26 11:47:33 +00:00
Andrey Morozov
196ac49fcf fixed of the ticket #1442 2012-01-26 11:36:12 +00:00
Andrey Pavlenko
bb33f8dd3c fixing Java test compilation after API change (distanceTransform() -> distanceTransformWithLabels()) 2012-01-26 08:51:16 +00:00
Vadim Pisarevsky
403a7ff391 fixed memory leak in cap_libv4l.cpp (ticket #1518; thanks to gorgen for the patch) 2012-01-26 08:37:24 +00:00
Alexander Reshetnikov
951a3d6c7a fixed a bug which caused incorrect work of function eigen() 2012-01-25 16:01:59 +00:00
Anatoly Baksheev
3c645ae20c fixed CUDA compilation 2012-01-25 15:27:37 +00:00
Alexander Reshetnikov
07fa62f0c4 some design code changes in new tests 2012-01-25 13:41:48 +00:00
Andrey Kamaev
ea5d01558c Updating opencv module definition in cmake (continued) 2012-01-25 13:41:12 +00:00
Vadim Pisarevsky
9469f65094 added tests on cv.CreateImage() (thanks to mythsmith). 2012-01-25 13:32:48 +00:00
Vadim Pisarevsky
d1b5f43700 adjust the header parser to support "public virtual" construction and make a tweak for multiple inheritance, fix potential memory problem with Python's IplImage.tostring() method (ticket #1486) 2012-01-25 13:25:35 +00:00
Andrey Kamaev
c86c6a028c Updating opencv module definition in cmake (continued) 2012-01-25 13:12:11 +00:00
Vadim Pisarevsky
18ce0dff24 fixed bug #1552 2012-01-25 12:43:47 +00:00
Vadim Pisarevsky
4f86af7e16 fixed bug #1531. added separate distanceTransformWithLabels function that returns labels, since normally the labels are not needed. 2012-01-25 12:17:59 +00:00
Andrey Kamaev
82ae0b2c0c Attempt to fix build on Mac OS X 2012-01-25 10:58:55 +00:00
Andrey Kamaev
9d5c24cdc8 Updating opencv module definition in cmake (continued) 2012-01-25 09:04:49 +00:00
Kirill Kornyakov
c946a740bb Optimized version of adaptiveThreshold added 2012-01-25 07:50:47 +00:00
Vladislav Vinogradov
ddf56fa629 added additional error check 2012-01-25 07:32:35 +00:00
Vladislav Vinogradov
79cc05d062 minor fix 2012-01-25 07:31:56 +00:00
Vadim Pisarevsky
676f19233a added the abstract cv::Algorithm class; low-level exp & fastAtan etc. functions for more efficient SIFT implementation; fixed bug #1521 2012-01-24 20:14:07 +00:00
Andrey Kamaev
13f4e70e95 Updating opencv module definition in cmake 2012-01-24 16:55:47 +00:00
Leonid Beynenson
2395654cbf Made changes in the stitching log macros: now the function stitchingLogLevel() may be used to make the stitching classes more/less verbose. 2012-01-24 11:56:32 +00:00
Andrey Kamaev
6f99447fbf Fixed compiler flags caching in cmake 2012-01-24 11:46:11 +00:00
Anatoly Baksheev
2042e99cab gramma 2012-01-24 09:56:55 +00:00
Andrey Kamaev
504a93ed0a Alternative xml naming for performance logs 2012-01-23 16:28:46 +00:00
Andrey Kamaev
da5ee65e4e Fixed build without SSE 2012-01-23 14:40:58 +00:00
Vadim Pisarevsky
04c0783b2f applied patch by Will Lucas; improved separable filter performance (in particular cv::GaussianBlur) on 16s images (for [much] faster SIFT) 2012-01-23 12:14:46 +00:00
Andrey Pavlenko
d0981a628a Tegra optimization for image filtering 2012-01-23 09:16:07 +00:00
Ivan Korolev
88896166cf Corrected perf tests: merge, split. 2012-01-23 07:47:44 +00:00
Vladislav Vinogradov
5e1808c797 fixed bug in gpu::Canny 2012-01-23 07:41:39 +00:00
Vladislav Vinogradov
1d1da9c5d6 added support of BORDER_REFLECT to gpu::cornerHarris and gpu::cornerMinEigenVal 2012-01-23 07:14:45 +00:00
Andrey Kamaev
347a7106ab Added exhaustive perf test for cvtColor instead of several small tests 2012-01-23 07:08:31 +00:00
Vladislav Vinogradov
6c1de21a76 fixed bug in gpu::transformSmart with mask 2012-01-22 13:25:45 +00:00
Alexander Reshetnikov
cec641fb83 completed test for boundingRect function 2012-01-20 16:21:27 +00:00
Andrey Kamaev
ae2e494c7d A number of improvements in android cmake toolchain 2012-01-20 14:35:57 +00:00
Ivan Korolev
754891ec96 Created perf tests for cvtColor_toBGR565, cvtColor_C3toC4_and_back, split, merge. 2012-01-20 13:19:49 +00:00
Alexey Spizhevoy
a9d19b1394 Updated the stitching module docs 2012-01-20 09:07:52 +00:00
Alexey Spizhevoy
0733689583 Updated the stitching module docs 2012-01-20 09:06:53 +00:00
Alexander Reshetnikov
3b92e9518e Several updates of code in countNonZero test 2012-01-19 18:29:32 +00:00
Alexander Reshetnikov
b5bbce5b54 Completed countNonZero test (found that it's already exist, so new implementation isn't used now). 2012-01-19 16:30:35 +00:00
Alexey Spizhevoy
aaace6332f Updated the stitching module docs 2012-01-19 12:56:03 +00:00
Ivan Korolev
513f4128ec account test 2012-01-19 12:20:34 +00:00
Alexey Spizhevoy
8e8beb070e Updated the stitching modudle docs 2012-01-19 12:08:09 +00:00
Andrey Kamaev
f8bd4252db Tegra optimization for split, merge and some color conversions 2012-01-19 11:52:25 +00:00
Alexey Spizhevoy
9fa6edf281 Updated the stitching module docs 2012-01-19 09:48:33 +00:00
Alexey Spizhevoy
69b670bdaa Updated the stitching module docs 2012-01-19 09:43:13 +00:00
Andrey Pavlenko
9c1ec1ce84 fixing compilation; but some code lines look weird,
e.g. "n += abs(sign(value))"  or  "n += sign(cv::norm(value) > eps_64"
2012-01-19 05:22:51 +00:00
Alexander Reshetnikov
a3d2020db0 countNonZero & boundingRect tests - added first versions 2012-01-19 00:22:22 +00:00
Andrey Kamaev
a43c47d6cf First version of native camera support for Android 3.x.x and 4.0.x 2012-01-18 14:33:39 +00:00
Alexey Spizhevoy
2bdd395357 Added the first version of the stitching module docs 2012-01-18 13:43:34 +00:00
Vladislav Vinogradov
cdae0743ab fix OpenGL render functions
fix createOpticalFlowNeedleMap
2012-01-18 08:27:08 +00:00
Alexander Reshetnikov
70820224c3 added checking homography matrix computing for vector <Point2f> 2012-01-17 16:47:23 +00:00
Alexander Reshetnikov
b5034ac33f Completed findHomography test (source data has type CV_32FC2). In plans add the same checking for vector <Point2f>. 2012-01-16 21:13:03 +00:00
Andrey Kamaev
c377804ee8 Refactored YUV420 to RGB/BGR/RGBA/BGRA conversion 2012-01-16 14:38:07 +00:00
Vladislav Vinogradov
e45d5e8a5f added performance test for createOpticalFlowNeedleMap 2012-01-16 13:51:36 +00:00
Kirill Kornyakov
49f29aeb6a Created perf tests for cornerHarris, cornerEigenValsAndVecs, goodFeaturesToTrack, adaptiveThreshold, HoughLines. 2012-01-16 13:35:16 +00:00
Vladislav Vinogradov
59acbb1112 minor 2012-01-16 13:32:06 +00:00
Vladislav Vinogradov
9a2358628b minor fix 2012-01-16 13:22:28 +00:00
Vladislav Vinogradov
6d5171e5b6 fixed gpu docs 2012-01-16 13:10:50 +00:00
Vladislav Vinogradov
c4792c0102 updated optical_flow samples 2012-01-16 09:24:42 +00:00
Andrey Kamaev
c326de43c1 More natural sorting of MatType constants in performance reports. 2012-01-16 07:04:26 +00:00
Andrey Kamaev
61cb83b481 Fixed small bug in summary.py 2012-01-13 12:37:10 +00:00
Alexandre Benoit
555ed03613 corrected retina internal buffers copy methods 2012-01-13 09:52:24 +00:00
Andrey Kamaev
d0b67d3725 fixed Tegra stubs in cvtColor 2012-01-12 13:43:35 +00:00
Andrey Pavlenko
8e48dd5cbd fixing compilation on Android 2012-01-12 11:53:33 +00:00
Andrey Pavlenko
3d54ce55f2 fixing compilation on Windows (std::tr1::tie() is undefined), removing warnings (conversion int to float/double) 2012-01-12 11:50:59 +00:00
Andrey Pavlenko
07d157591a Tegra optimization for warpPerspective() and 2 new perf tests 2012-01-11 14:18:10 +00:00
Andrey Kamaev
9260ad4d70 Fixed Tegra optimization stub for gaussian 2012-01-11 13:16:00 +00:00
Vladislav Vinogradov
a25b027ef7 updated gpu optical_flow sample 2012-01-11 13:05:03 +00:00
Vladislav Vinogradov
3aa537642d minor refactoring of gpu performance sample 2012-01-11 08:58:39 +00:00
Vladislav Vinogradov
4f44d9ea7d added docs for FAST_GPU and ORB_GPU 2012-01-11 07:40:04 +00:00
Vladislav Vinogradov
5860477605 fixed gpu::resize 2012-01-11 06:14:51 +00:00
Vladislav Vinogradov
f0356004bc minor fix 2012-01-11 05:46:32 +00:00
Alexander Shishkov
bf747e6deb modified documentation of solvePnP and solvePnPRansac 2012-01-10 16:01:06 +00:00
Vladislav Vinogradov
af59a75ffc fixed bug with submatrix in some gpu functions
update gpu tests
2012-01-10 11:11:58 +00:00
Alexander Reshetnikov
2ce6dd6870 eigen tests for 1*1 matrix were temporarily removed from common list 2012-01-10 08:24:10 +00:00
Marius Muja
63efa5b2de Fixing ticket #1539 2012-01-09 21:31:51 +00:00
Andrey Kamaev
dd311b8d3c Added perf test for RGB(A)/BGR(A) to YCrCb conversion 2012-01-09 16:38:44 +00:00
Andrey Kamaev
cdac77c2b2 Added test group separators to the html version of performance report. 2012-01-09 07:45:19 +00:00
Andrey Kamaev
7bf091cd98 Fixed modules order in OpenCV.mk.in 2012-01-09 07:43:37 +00:00
Alexander Shishkov
48f3db9787 fixed compilation error on Win 2012-01-07 09:31:57 +00:00
Andrey Pavlenko
185680c7c5 Tegra optimization for some color conversion and warpAffine calls 2012-01-06 16:31:23 +00:00
Alexander Shishkov
11ad582250 done user requirement from yvonnic2m@gmail.com 2012-01-06 15:26:24 +00:00
Kirill Kornyakov
694ea8e0c8 Added threaded versions (enabled only for Tegra at the moment) of threshold, erode/dilate. Slighlty restructured the code of medianBlur. 2012-01-06 14:29:31 +00:00
Andrey Kamaev
40c70d127d Fixed bug in summary.py 2012-01-06 08:44:28 +00:00
Andrey Kamaev
e9901306c2 Fixed files picking code to preserve the order in summary.py script. 2012-01-06 07:41:04 +00:00
Andrey Kamaev
9b350e5e0d Tegra optimization for median blur 2012-01-05 17:36:32 +00:00
Andrey Kamaev
70416be0dd Tegra optimization for GaussianBlur 2012-01-04 18:20:03 +00:00
Alexander Reshetnikov
c53313b06f Complex eigen test was modified.
Fixed some bugs with checking for CV_64FC1 type.
Added eigen tests for 1*1 source matrix.
2012-01-03 19:06:56 +00:00
Andrey Kamaev
8cab65c173 Started top-level CMakeLists.txt file reorganization: cmake scripts are moved to separate folder; refactored BUILD_*, INSTALL_*, ENABLE_*, USE_*, WITH_* options. 2012-01-03 13:48:12 +00:00
Kirill Kornyakov
60eecd4529 doc typo fixed 2012-01-03 13:30:21 +00:00
Andrey Kamaev
22d6827189 Fixed dot product test 2011-12-30 10:42:07 +00:00
Andrey Kamaev
65f5343ed5 Refactored performance tests. TEST_CYCLE macro is renamed to TEST_CYCLE_N; SIMPLE_TEST_CYCLE is renamed to TEST_CYCLE; from now 100 iterations are default for performance tests 2011-12-29 16:46:16 +00:00
Vadim Pisarevsky
80f422a531 added copyright notice for MOG2 algorithm by Z. Zivkovic 2011-12-29 14:08:33 +00:00
Andrey Kamaev
683be58119 Added perf test for INTER_AREA resize 2011-12-29 11:55:26 +00:00
Kirill Kornyakov
7fafa3b00a Optimized version of DotProd8u added 2011-12-29 07:51:01 +00:00
Kirill Kornyakov
a06dcc9e67 Optimized version of sqsum8u added 2011-12-29 07:49:22 +00:00
Andrey Kamaev
58b980ea88 Perf testing: added ERROR_RELATIVE mode to SANITY_CHECK 2011-12-28 14:59:09 +00:00
Andrey Pavlenko
fb051f78de adjusting custom mat allocator when mat type is changed 2011-12-28 14:47:21 +00:00
Kirill Kornyakov
70da780c8e added perf test for dot product (8U, 32S, 32F) 2011-12-28 13:29:27 +00:00
Vladislav Vinogradov
457b8d7bff update gpu perf tests 2011-12-28 12:53:08 +00:00
Vladislav Vinogradov
eccfc90b77 bug fix 2011-12-28 07:56:19 +00:00
Andrey Kamaev
f937d68d60 Fixed build for x64 with sse2 disabled; several improvements in performance testing framework; enabled SANITY_CHECK() for performance tests 2011-12-27 16:37:24 +00:00
Vadim Pisarevsky
e7946d98a9 fixed SSE-optimized cmp_8u (ticket #1530) 2011-12-27 16:07:26 +00:00
Vadim Pisarevsky
dec0af8d79 implemented invert(A, B, DECOMP_EIG) 2011-12-27 15:56:17 +00:00
Andrey Kamaev
abf42e208a Added missed macro 2011-12-27 11:32:56 +00:00
Andrey Kamaev
95d659a3cf Refactored Tegra related macro usage 2011-12-27 11:21:45 +00:00
Vladislav Vinogradov
4fee5ef818 fixed build under linux 2011-12-27 10:30:54 +00:00
Vladislav Vinogradov
5e38cf8042 added FAST_GPU and ORB_GPU classes 2011-12-27 09:33:20 +00:00
Andrey Kamaev
e46e13a775 Fixed typo in android toolchain 2011-12-27 09:11:42 +00:00
Vladislav Vinogradov
e6d820171c added documentation for gpu::BroxOpticalFlow, updated other docs 2011-12-27 08:25:47 +00:00
Vladislav Vinogradov
b398ac7a96 added ImagePyramid class to gpu module 2011-12-27 06:24:31 +00:00
Vladislav Vinogradov
92a682093a fixed compilation error 2011-12-27 06:19:20 +00:00
Andrey Kamaev
8108dfb397 Added perf tests for blur, medianBlur, GaussianBlur 2011-12-26 13:17:35 +00:00
Alexander Shishkov
26aef8c719 added skipped file 2011-12-26 13:08:46 +00:00
Alexander Shishkov
c11551a510 added P3P method
added test for solvePnP
changed test for solvePnPRansac
fixed bug with mutex solvePnPRansac
2011-12-26 12:59:07 +00:00
Leonid Beynenson
6d8f4c6b82 Added small debug insertion. 2011-12-26 12:34:28 +00:00
Andrey Kamaev
5ca24d2ead Added perf tests for cv::compare 2011-12-26 11:30:56 +00:00
Andrey Kamaev
320bee3bfe Fixed border interpolation problem in filter2D 2011-12-26 08:05:33 +00:00
Alexander Reshetnikov
4cfc9dc67e fixed bag in the checking size of matrix and vector for eigen test; all eigen test execution was checked: it works correctly; added first version of homography test for C++ interface 2011-12-23 18:36:04 +00:00
Andrey Kamaev
c29ea1056d Added perf test for cv::threshold 2011-12-23 16:09:53 +00:00
Andrey Kamaev
cb687b9b1e Added performance test for cv::dilate 2011-12-23 15:45:57 +00:00
Maria Dimashova
4fa9c5ae71 added example of vec-file 2011-12-23 08:56:51 +00:00
Maria Dimashova
fbcd2a4e0a added example of vec-file 2011-12-23 07:48:36 +00:00
Andrey Kamaev
bdfd4c3062 Refactored Tegra related macro usage 2011-12-22 12:51:01 +00:00
Maria Dimashova
48ea65e69c fixed traincascade for ordered features 2011-12-22 11:19:27 +00:00
Alexey Spizhevoy
b4f17ab79e Updated motions estimators in the stitching module to be able to set camera intrinsics manually 2011-12-22 09:59:03 +00:00
Kirill Kornyakov
893f75444d Optimized version of ReduceR functions and one ReduceC function added
Attention! Optimized ReduceC function produced the bug
2011-12-22 06:22:16 +00:00
Alexander Reshetnikov
1767049f30 Fixed some errors in test data for eigen. Added test using lowindex & highindex in eigen function. 2011-12-21 19:37:13 +00:00
Andrey Kamaev
ec7bc9e497 Fixed ORB and SURF regression tests 2011-12-21 15:22:22 +00:00
Andrey Kamaev
ef4ce6232a Fixed FAST feature detector Java tests 2011-12-21 12:47:25 +00:00
Andrey Kamaev
3d61f5bdd0 Fixed 2 more tests for Java API 2011-12-21 12:12:58 +00:00
Andrey Kamaev
e9dffe1394 Fixed failed Java API tests for core module 2011-12-21 10:41:49 +00:00
Vladislav Vinogradov
d13a6b74b2 Fixed bug with submatrix in device::transform 2011-12-21 05:59:14 +00:00
Alexander Reshetnikov
dab3586792 first version of Eigen test for C++ interface 2011-12-20 18:59:55 +00:00
Alexander Shishkov
6fa936472e fixed compilation errors in epnp with gcc 2011-12-20 12:10:12 +00:00
Alexander Shishkov
c5d8ec4ac0 first version of ePnP code 2011-12-20 11:33:12 +00:00
Andrey Kamaev
4168a698f6 Fixed highgui tests for Android 2011-12-20 07:45:49 +00:00
Leonid Beynenson
54adb3c9cf Removed unrequired dependency to the header "cvconfig.h". 2011-12-19 18:31:20 +00:00
Alexander Shishkov
0922b3f3be fixed Python description of estimateAffine3D function 2011-12-19 17:45:07 +00:00
Andrey Kamaev
ce81868ba4 Fixed cv::norm accuracy test allowed error 2011-12-19 15:15:40 +00:00
Andrey Morozov
209aaac95c fixed parallel build under Windows 2011-12-19 13:20:34 +00:00
Andrey Kamaev
4aa47ad115 Added multiple connected Android devices support to the run.py script 2011-12-19 07:43:07 +00:00
Andrey Morozov
ca5d28d127 added experimental feature for parallel build solution under Windows 2011-12-16 07:14:55 +00:00
Andrey Kamaev
0744092b21 Fixed build with gcc compiler; couple minor improvements in perf testing framework 2011-12-16 04:42:34 +00:00
Alexandre Benoit
6ee1f6f66e removing some mistakes 2011-12-15 22:45:28 +00:00
Vadim Pisarevsky
eef900e46a optimized cmp and cvtscale(16s->16s) using SSE2 (thanks to Victoria) 2011-12-15 21:15:51 +00:00
Vladislav Vinogradov
677fc3a09f fixed gpu perf tests (out of memory) 2011-12-14 06:39:32 +00:00
Alexandre Benoit
817dca2219 corrected small bu on image sequence tone mapping 2011-12-13 08:42:39 +00:00
Vladislav Vinogradov
6310622be3 minor 2011-12-13 06:25:37 +00:00
Alexandre Benoit
056d015b38 added tone mapping video processing from OpenEXR images sequences 2011-12-12 15:53:05 +00:00
Vladislav Vinogradov
f6d8f4dc6b minor 2011-12-12 13:59:34 +00:00
Vladislav Vinogradov
061f032719 fixed build under linux 2011-12-12 13:57:37 +00:00
Vladislav Vinogradov
3afc97e67e fixed new OpenGL functionality under Qt 2011-12-12 12:52:06 +00:00
Marius Muja
f1efd955b4 Fix to solve conflicts to standalone FLANN 2011-12-12 09:39:02 +00:00
Vadim Pisarevsky
7795cd200f added description of minMaxIdx 2011-12-09 12:13:23 +00:00
Vadim Pisarevsky
5db9e90d66 fixed yet another bug in SVD. Now Core_SVD test passes 2011-12-08 11:10:56 +00:00
Vadim Pisarevsky
72c23e7bbb fixed most of test_core failures (except for SVD) 2011-12-05 22:58:27 +00:00
Vadim Pisarevsky
77dda061a7 fixed fastAtan2 and cardToPolar accuracy (thanks to Andrey Kamaev) 2011-12-04 20:10:35 +00:00
Vadim Pisarevsky
8989e0b07e fixed single-mat input/output in mixChannels() (ticket #1446) 2011-12-03 20:19:33 +00:00
Vadim Pisarevsky
3ae22014a0 fixed description of inRange/inRangeS (ticket #1500) 2011-12-03 20:06:57 +00:00
Vadim Pisarevsky
8a9876bee2 corrected description of goodFeaturesToTrack (ticket #1488) 2011-12-03 20:01:12 +00:00
Vadim Pisarevsky
5353b97605 fixed single-precision SVD accuracy on some very ill-conditioned matrices (ticket #1448) 2011-12-03 19:49:44 +00:00
Vadim Pisarevsky
2547f7554e fixed memory corruption in CvEM::read() (ticket #1399) 2011-12-03 18:55:40 +00:00
Vadim Pisarevsky
b20871ce2d fixed bug in Matx::inv(..., DECOMP_SVD) (ticket #1444) 2011-12-03 18:50:11 +00:00
Leonid Beynenson
0b907d088d Made changes in BundleAdjusterBase class to pass a termination criteria to the Levenberg–Marquardt algorithm. 2011-12-01 13:35:07 +00:00
Andrey Kamaev
d6ef0378a2 Reverted invalid cv::reduce optimization 2011-12-01 12:56:29 +00:00
Andrey Kamaev
4525ce56c3 Fixed Android target setup for OpenCv library project 2011-12-01 12:27:03 +00:00
Kirill Kornyakov
ab2ae86e86 Optimized version of Reduce functions added 2011-12-01 11:07:25 +00:00
Andrey Kamaev
35457afab3 Fixed bug in phaseCorrelate 2011-11-30 15:57:41 +00:00
Andrey Pavlenko
f24e16f54d adding Android-specific linking flags 2011-11-30 13:58:42 +00:00
Andrey Pavlenko
2d815c80a5 adding Android-specific libs 2011-11-30 12:37:25 +00:00
Andrey Kamaev
a67a0c76c5 Fixed logging in perf tests; small bugfix in run.py 2011-11-30 11:30:45 +00:00
Vladislav Vinogradov
a2697b18e2 minor fix 2011-11-30 07:38:45 +00:00
Vladislav Vinogradov
fa93b724ee minor 2011-11-30 07:19:09 +00:00
Vladislav Vinogradov
1a1d167bb8 fixed build under linux 2011-11-30 06:45:46 +00:00
Vladislav Vinogradov
bd4239be7b moved OpenGL wrappers to separate header
added GlBuffer, GlTexture and GpuMat support to InputArray
replaced addTextOpenGl function by render + GlFont
2011-11-30 06:20:29 +00:00
Andrey Morozov
59ea0d8ee8 fixed bug in chart.py 2011-11-29 15:43:46 +00:00
Alexander Mordvintsev
f2d2c8db77 exposed SurfFeatureDetector and SurfDescriptorExtractor to python 2011-11-29 12:24:38 +00:00
Leonid Beynenson
782ccc1844 Made changes in the stitching module to make correct logging on Android. 2011-11-28 20:44:41 +00:00
Andrey Kamaev
5cbec286fc Tegra-optimized pyrUp 2011-11-28 16:38:36 +00:00
Vladislav Vinogradov
0403746636 implemented addTextOpenGl under Gtk 2011-11-28 12:35:05 +00:00
Vladislav Vinogradov
07debd6cb5 minor fix 2011-11-28 12:10:37 +00:00
Vladislav Vinogradov
9817252b23 added addTextOpenGl function 2011-11-28 11:50:46 +00:00
Vladislav Vinogradov
2a4fb155e1 added OpenGL support to Gtk realization of highgui 2011-11-28 08:23:26 +00:00
Andrey Kamaev
fb2fad52a2 Fixed bug in cv::pyrUp. Reenabled accuracy test. 2011-11-27 11:55:59 +00:00
Vladislav Vinogradov
35e69a1ee3 fixed build with Qt 2011-11-27 10:13:08 +00:00
Andrey Pavlenko
467f936459 Adding optimized Mat Allocator 2011-11-25 15:39:24 +00:00
Andrey Kamaev
f05259f28f Tegra-optmized pyrDown 2011-11-25 13:18:40 +00:00
Kirill Kornyakov
7d8f487b03 reverted occasional commit 2011-11-24 12:20:45 +00:00
Kirill Kornyakov
913811836a workaround for the case when perf system is used in external app without TBB 2011-11-24 12:06:38 +00:00
Andrey Kamaev
1c9d75081c Added performance test for pyrUp/pyrDown 2011-11-24 11:39:35 +00:00
Marius Muja
4330777d1c Fixing uint32_t typedef for MSVC 2011-11-23 22:24:36 +00:00
Marius Muja
2c5de6dd59 Fix ticket #1346 2011-11-23 22:01:06 +00:00
Andrey Kamaev
45d36ee0c8 Reenabled Tegra optimization of calcOpticalFlowPyrLK 2011-11-23 15:25:05 +00:00
Alexandre Benoit
42e656542c added cv::Filestorage based setup method for retina model 2011-11-23 15:05:19 +00:00
Vladislav Vinogradov
b33e23138e minor 2011-11-23 13:26:24 +00:00
Kirill Kornyakov
d168c2b902 Optimized version of CountNonZero functions added 2011-11-23 10:16:00 +00:00
Vladislav Vinogradov
6b869f2ec3 minor fix 2011-11-23 10:12:43 +00:00
Vladislav Vinogradov
d7450c2449 added GlArrays class and pointCloudShow function 2011-11-23 10:05:24 +00:00
Vadim Pisarevsky
4acc93df69 removed non-ascii characters (ticket #1468) 2011-11-22 17:07:33 +00:00
Vadim Pisarevsky
3dafdd6a79 added 16s support to cv::threshold. 2011-11-22 15:16:45 +00:00
Andrey Kamaev
7fb5b5f218 Improved sorting in performance reports 2011-11-22 13:57:44 +00:00
Andrey Kamaev
40d82c0720 One more bugfix for calcOpticalFlowPyrLK 2011-11-22 09:50:38 +00:00
Vadim Pisarevsky
0c773ca931 updated ORB: limit the number of output keypoints, use bi-linear interpolation between subsequent layers instead of much slower area-based interpolation between 0-th and i-th layers. 2011-11-22 09:44:37 +00:00
Anton Obukhov
ebc3043c86 [*] Fixed two bugs in reduction functor: out of shared memory bounds access and missing volatile on GF100 and further 2011-11-21 17:46:55 +00:00
Andrey Kamaev
4378f398c7 Fixed border interpolation bug in calcOpticalFlowPyrLK 2011-11-21 16:34:08 +00:00
Vladislav Vinogradov
e01f04885e minor 2011-11-21 13:34:03 +00:00
Andrey Kamaev
00be2cf17f Fixed Android build problem 2011-11-21 13:07:17 +00:00
Vladislav Vinogradov
4d09737a02 fixed compilation error 2011-11-21 12:28:54 +00:00
Vladislav Vinogradov
c2783af781 added OpenGL support to highgui under WIN32 2011-11-21 11:58:52 +00:00
Kirill Kornyakov
03002fff54 Optimized version of 32F Norm function demands bigger MaxErr value, because it calculates norm in floats instead of double. 2011-11-21 11:48:56 +00:00
Andrey Kamaev
d55a56d12d Updated comment 2011-11-21 10:55:55 +00:00
Kirill Kornyakov
9fb9d99bb9 Optimized version of Norm and NormDiff functions with f32 type added 2011-11-21 05:59:49 +00:00
Andrey Kamaev
7172c8cea9 Android cmake toolchain: fixed some compatibility problems with cmake 2.6.x; improved file header.
Fixed small problem in chart.py.
2011-11-19 18:02:00 +00:00
Andrey Kamaev
d45f561ef5 Small improvements in cmake status report 2011-11-18 08:14:42 +00:00
Andrey Kamaev
a13dfc7f70 Fixed perf target 2011-11-18 07:57:14 +00:00
Andrey Kamaev
eb1790e5f1 Fixed Android build on Windows. 2011-11-17 20:43:14 +00:00
Leonid Beynenson
9d8d6ba490 Changed the class DetectionBasedTracker -- changed the system of states in the subclass DetectionBasedTracker::SeparateDetectionWork, made them more logical. 2011-11-17 16:16:09 +00:00
Andrey Kamaev
b114fb54f9 Android cmake toolchain: changed some error messages, fixed error with NDK r5, improved includes and link directories configuration 2011-11-17 15:28:11 +00:00
Leonid Beynenson
e9b9dfe1c2 Made changes in DetectionBasedTracker -- refactored the class. 2011-11-17 15:17:02 +00:00
Leonid Beynenson
01c15db6d2 Committed the first version of DetectionBasedTracker. 2011-11-16 17:29:10 +00:00
Andrey Kamaev
7d190084b3 Fixed #1469 2011-11-16 14:40:13 +00:00
Andrey Kamaev
3bdb53e484 Android cmake toolchain is reworked for NDK r7; added experimental Android x86 support. 2011-11-16 14:32:10 +00:00
Andrey Pavlenko
d51a5262b3 Java API: adding test for HoughLinesP() 2011-11-16 08:36:57 +00:00
Maria Dimashova
44e05308d9 fixed CvCascadeBoost::train 2011-11-16 07:15:42 +00:00
Vladislav Vinogradov
1f3f4599cc fixed gpu performance tests 2011-11-15 07:03:44 +00:00
Vladislav Vinogradov
464b8a570c fixed compilation under linux 2011-11-14 14:57:36 +00:00
Vladislav Vinogradov
2695039a79 moved GpuMat's operations implementation to core module 2011-11-14 14:34:36 +00:00
Vladislav Vinogradov
0f53f2993e removed BEGIN_OPENCV_DEVICE_NAMESPACE macros 2011-11-14 09:02:06 +00:00
Vladislav Vinogradov
d926541311 fixed compilation error 2011-11-14 06:22:42 +00:00
Anton Obukhov
54337fd513 [+] CUDA path for NCVImagePyramid 2011-11-13 20:52:48 +00:00
Andrey Kamaev
4136855ba8 Tegra-optimized Canny 2011-11-11 14:45:53 +00:00
Kirill Kornyakov
330357f7dd Optimized version of NormDiff functions added 2011-11-11 11:23:44 +00:00
Alexandre Benoit
ccdd4ebbb8 update retina module related samples 2011-11-10 13:41:29 +00:00
Maria Dimashova
a3ce652eb4 fixed CvRTrees::read in case nactive_vars==var_count (thanks to Malcolm Reynolds) 2011-11-10 13:40:11 +00:00
Kirill Kornyakov
61515f78c3 user guide on cascade training a bit updated 2011-11-10 12:03:44 +00:00
Vladislav Vinogradov
21f5cc7e6e minor 2011-11-09 14:23:13 +00:00
Vladislav Vinogradov
b873fa818f fixed compilation under linux 2011-11-09 14:05:34 +00:00
Vladislav Vinogradov
8e061ac801 minor fix 2011-11-09 13:33:44 +00:00
Vladislav Vinogradov
d305640749 minor fix 2011-11-09 13:18:23 +00:00
Vladislav Vinogradov
fcfa72081e moved GpuMat and DevMem2D to core module, some code refactoring 2011-11-09 13:13:52 +00:00
Vadim Pisarevsky
8a148e39f0 new sample for the complex detector+descriptor+matcher evaluation 2011-11-08 12:03:37 +00:00
Vadim Pisarevsky
2e9f5c434b added improved ORB implementation, convex-convex polygon intersection, eigen2x2 low-level function ... 2011-11-08 12:01:49 +00:00
Kirill Kornyakov
5a702d7d9d Optimized version of Norm functions added 2011-11-08 07:39:35 +00:00
Kirill Kornyakov
7113122312 integral perf tests renamed for readability 2011-11-07 13:06:48 +00:00
Kirill Kornyakov
7cd4761fc8 integral perf tests renamed for readability 2011-11-07 13:05:52 +00:00
Andrey Kamaev
664cd5460e Tegra-optimized cv::compare 2011-11-07 06:29:34 +00:00
Vladislav Vinogradov
938b1b67d1 fixed optical flow test for devices with cc >= 2.0 2011-11-07 06:23:22 +00:00
Anton Obukhov
2cb9192604 [*] Fixed #1464
[~] NCVPyramid uses tr1 and thus can be compiled with CL, commented out on linux
[+] Moved reduction functors to NCVAlg
[*] Warnings in NCV
2011-11-06 09:43:17 +00:00
Vadim Pisarevsky
325e0b1ab8 fixed ffmpeg backend build on Ubuntu 11.10 2011-11-04 16:44:52 +00:00
Anton Obukhov
3396a2ec1a [~] Refactored device reduction for better reuse (now with functor semantics) 2011-11-04 13:49:05 +00:00
Anton Obukhov
56531c6161 [*] Fixed #1461 2011-11-04 12:41:54 +00:00
Andrey Kamaev
2f1cd91ff3 More performance tests for Sobel and Scharr filters 2011-11-03 16:08:49 +00:00
Alexandre Benoit
9883b2d401 corrected stupid error for retina color mode selection in Retina::run method 2011-11-03 10:58:11 +00:00
Ana Huaman
d97a71f17d Erasing two images from cpp/tutorial folder 2011-11-03 06:09:31 +00:00
Ana Huaman
8c04ae8c30 Added one sample in tutorial_code to use Stereo Block matching 2011-11-03 05:52:35 +00:00
Andrey Kamaev
a612fa1520 Performance testing: added option to get list of all values for CV_ENUM; added perf test for cv::Sobel 2011-11-01 15:41:43 +00:00
Andrey Kamaev
46262b1972 Added performance test for Canny 2011-11-01 09:07:34 +00:00
Andrey Kamaev
41d3a9a192 Minor perf tests framework improvement 2011-11-01 08:13:30 +00:00
Leonid Beynenson
59d89c7a7a Added possibility to configure TBB behavior in Perf tests --- now we can set the number of TBB threads in the perf tests either as console parameter perf_tbb_nthreads or
in a test itself using the method declare.tbb_threads(n).
2011-10-31 16:22:05 +00:00
Andrey Kamaev
1d5e407211 minor 2011-10-31 13:19:12 +00:00
Vladislav Vinogradov
11a5e78042 fixed gpu samples build 2011-10-31 12:39:06 +00:00
Vladislav Vinogradov
804d9b72f6 minor 2011-10-31 09:41:29 +00:00
Vladislav Vinogradov
09ba133ddf prepared GpuMat for moving to core module 2011-10-31 08:51:00 +00:00
Vladislav Vinogradov
0b4e7d6057 fixed remap under cc < 2.0 2011-10-31 08:50:14 +00:00
Andrey Kamaev
583ceef6a5 Terga optimization for integral_8u32s 2011-10-31 08:00:20 +00:00
Kirill Kornyakov
e37930b649 Optimized version of Sum functions added 2011-10-31 07:04:52 +00:00
Vladislav Vinogradov
daf50f8e0d fixed compilation error 2011-10-31 06:43:00 +00:00
Alexander Shishkov
09dd13d02e fixed compilation problems after rev. 6925 2011-10-30 15:08:44 +00:00
Alexandre Benoit
bb329719c6 short change on default retina values setup for warning avoidance 2011-10-30 07:41:50 +00:00
Alexandre Benoit
57159998f0 clarified parameters inputs and outputs at the interface level for better clarity and ease of use, also corrected a mistake at activateContoursProcessing interface method 2011-10-30 07:33:00 +00:00
Andrey Kamaev
3970664e24 Performance test for FAST features detector 2011-10-28 12:52:20 +00:00
Vadim Pisarevsky
448a252776 added compression strategy as a parameter (another request from ticket #1452) 2011-10-28 04:11:02 +00:00
Vadim Pisarevsky
17c3102705 improved png compression ratio (ticket #1452) 2011-10-28 02:22:11 +00:00
Andrey Kamaev
3f22a1c40f Performace tests for ORB 2011-10-27 14:46:12 +00:00
Andrey Kamaev
b720eddd9e Tegra-optimized features matching for Stitching 2011-10-27 14:06:06 +00:00
Anton Obukhov
5afb445283 [+] Pixel types via templates
[+] Color conversions stub via pixel types
[+] Pyramid calculation (required for mipmaps in CUDA 4.1)
[~] Changed C strings to C++ throughout NCV
[~] Fixed a couple of bugs in NCV
2011-10-27 10:13:28 +00:00
Alexey Spizhevoy
0b192cb4ea Fixed warning in the ORB features finder 2011-10-27 09:00:28 +00:00
Andrey Kamaev
d7ff92439d Better NEON Hamming distance 2011-10-26 13:04:53 +00:00
Vladislav Vinogradov
509730c1cd minor 2011-10-26 12:44:38 +00:00
Andrey Kamaev
f1cb2431b8 Fixed small bugs in Stitcher class 2011-10-25 12:42:08 +00:00
Alexey Spizhevoy
28e006ad4f Fixed median focal length estimation in the stitching module 2011-10-24 12:35:11 +00:00
Alexey Spizhevoy
b74e9c101a Fixed bug in the stitching module (some images appeared at result pano center) 2011-10-24 11:52:36 +00:00
Kirill Kornyakov
602ad61967 Optimized versions of Erode and Dilate functions added 2011-10-24 09:12:55 +00:00
Alexey Spizhevoy
a2090a44db Updated CLI for GPU samples 2011-10-24 08:34:15 +00:00
Andrey Kamaev
5656a9dd6b Better default grid size for ORB-based stitching 2011-10-21 15:38:38 +00:00
Leonid Beynenson
9f837d3486 Made changes concerning inserting prefiltering modes into CascadeClassifier class.
Now developers should call the method setFaceDetectionMaskGenerator() to use prefiltering mask generator
implemented for face detection.
2011-10-21 14:56:37 +00:00
Alexey Spizhevoy
b8304ce764 Updated stitcher a little bit 2011-10-21 10:47:48 +00:00
Alexandre Benoit
4685f0e9d6 corrected xml parameters file management in the retina interface 2011-10-21 10:02:09 +00:00
Alexandre Benoit
77cfdab3ff corrected xml parameters file management in the retina interface 2011-10-21 10:01:48 +00:00
Alexandre Benoit
5de07eb784 corrected wrong parameter sent to retina module for color saturation 2011-10-21 08:49:18 +00:00
Andrey Kamaev
94f72ae876 Stitching: added grid option to OrbFeaturesFinder 2011-10-21 08:40:10 +00:00
Andrey Kamaev
21a4a06d8a Fixed bug in KeyPointsFilter::runByImageBorder; added ROI adjustment to ORB 2011-10-21 08:38:47 +00:00
Andrey Kamaev
e8032fa8e9 Fixed Android build with SDK revision 14 2011-10-21 08:35:34 +00:00
Kirill Kornyakov
177618984d dft perf test minor fix 2011-10-21 08:28:33 +00:00
Kirill Kornyakov
11b7127647 minor fix of inpaint perf test 2011-10-21 08:22:11 +00:00
Kirill Kornyakov
f8983e8adf added small resolutions for perf tests 2011-10-21 08:20:51 +00:00
Andrey Pavlenko
9b0cc77cfe Fixing compilation 2011-10-21 05:37:33 +00:00
Alexandre Benoit
75506940eb continuing code correction for windows warning elimination 2011-10-20 13:03:45 +00:00
Kirill Kornyakov
7c83f0dd86 inpaint perf test added 2011-10-20 11:00:29 +00:00
Kirill Kornyakov
3287729c9f added sz2K resolution for perf tests 2011-10-20 07:50:34 +00:00
Kirill Kornyakov
f2b72928cc created perf test for DFT 2011-10-20 07:32:12 +00:00
Vladislav Vinogradov
e7502e7641 implemented gpu::gemm via CUBLAS 2011-10-19 13:29:54 +00:00
Vladislav Vinogradov
90ff3dd990 added cublasSafeCall 2011-10-19 11:49:44 +00:00
Andrey Kamaev
f299bde3a9 Added ORB features finder into stitching module 2011-10-19 10:48:45 +00:00
Vladislav Vinogradov
40ee754e28 added WITH_CUFFT and WITH_CUBLAS flags to cmake scripts
fixed gpu module error reporting
added asynchronous version of some functions
2011-10-19 09:53:22 +00:00
Marius Muja
a73b509b1e Clang compilation fixes, closes #1432 2011-10-18 18:37:47 +00:00
Andrey Kamaev
5eee9e6f6d Several improvements in performance reports 2011-10-18 12:31:08 +00:00
Vladislav Vinogradov
b0536279eb added wrappers for BroxOpticalFlow and interpolateFrames 2011-10-17 13:12:39 +00:00
Vladislav Vinogradov
87f3451ec6 fixed warnings 2011-10-17 06:44:40 +00:00
Anatoly Baksheev
7106513b8a warning under vs2008 2011-10-16 13:45:11 +00:00
Alexey Spizhevoy
8cebb0982b Updated optimal DFT size estimation in gpu::convolve() 2011-10-14 09:42:25 +00:00
Anatoly Baksheev
7076dfd7d6 gpu module: refactored devmem2d.hpp (atomic bomb) 2011-10-13 15:14:04 +00:00
Alexey Spizhevoy
916703c6e5 Updated optimal block size estimation in gpu::convolve() 2011-10-13 13:02:41 +00:00
Andrey Kamaev
e3265b0cfe Added filters to html perf reports generated by summary.py 2011-10-12 14:41:36 +00:00
Vladislav Vinogradov
631d4b483a minor fix 2011-10-12 11:36:10 +00:00
Leonid Beynenson
da3a60a5a7 Made changes in the method of inserting prefilters into the CascadeClassifier class. 2011-10-12 11:32:01 +00:00
Vladislav Vinogradov
8f108b4e7e bug fix 2011-10-12 11:01:11 +00:00
Vladislav Vinogradov
d3c4e90760 new optimized implementation of BruteForceMatcher_GPU (~2-3x faster) 2011-10-12 10:23:03 +00:00
Andrey Kamaev
89be84a396 Fixed Linux build 2011-10-12 06:01:54 +00:00
Vadim Pisarevsky
b74116e694 unified norm computing; added generalized Hamming distance 2011-10-11 15:13:53 +00:00
Andrey Kamaev
c1277b6147 reenabled Tegra optimized resize 2011-10-11 15:00:00 +00:00
Maria Dimashova
eeaf6192e3 minor change of doc 2011-10-11 14:42:49 +00:00
Maria Dimashova
ddc7142ab3 minor change of doc 2011-10-11 10:01:39 +00:00
Maria Dimashova
9e60334f7b added doc on cascade classifier training 2011-10-10 12:50:49 +00:00
Vladislav Vinogradov
f38596b783 implemented brute force convolve for small kernel sizes 2011-10-10 11:58:47 +00:00
Anatoly Baksheev
ee768d4605 fixed bug in ptr in optflow.cu 2011-10-10 09:37:08 +00:00
Vladislav Vinogradov
ed749c4bfe added missing arithm operations to gpu module 2011-10-10 08:19:11 +00:00
Vadim Pisarevsky
f947c2eb96 new, much simpler and SSE2-optimized implementation of FAST 2011-10-09 18:15:13 +00:00
Leonid Beynenson
484e56f31f Fixed small bug in opencv_traincascade application: overflow sometimes happened during calculation of the number of negative samples. 2011-10-07 14:00:19 +00:00
Andrey Kamaev
22bd127365 Added performance tests for cv:phase and cv::SURF 2011-10-07 13:55:26 +00:00
Alexey Spizhevoy
9047ef2cdf Renamed warp of point method into warpPoint 2011-10-07 08:51:01 +00:00
Alexey Spizhevoy
a7fbcad283 Added warp method into the RotationWarper interface, added find() into VoronoiSeamFinder which uses only source image sizes 2011-10-07 08:17:55 +00:00
Andrey Kamaev
9ae8443d37 Tegra optimized FastAtan2 2011-10-07 08:07:25 +00:00
Alexey Kazakov
78bd2133cc Added HOG features to the traincascade module 2011-10-06 16:46:03 +00:00
Kirill Kornyakov
0e9d0f6d06 updated erode perf test 2011-10-06 14:10:29 +00:00
Kirill Kornyakov
20e49c8286 added perf test for cv::erode 2011-10-06 12:42:14 +00:00
Maria Dimashova
71be121edc fixed compilation under MSVC 2011-10-06 12:37:53 +00:00
Maria Dimashova
e6009c1614 added sample on color generation and updated sample on lsvm 2011-10-06 09:43:43 +00:00
Maria Dimashova
408d6b84fa added func to different colors generation 2011-10-06 09:34:35 +00:00
Maria Dimashova
bbdf14b9bb added overlapThreshold param to sample 2011-10-05 13:37:24 +00:00
Leonid Beynenson
630288fdef Added possibility of prefiltering into CascadeClassifier. Now OpenCV users can implement their own mask generators and insert them into CascadeClassifier. 2011-10-05 13:21:28 +00:00
Vadim Pisarevsky
1e6479224a fixed bug #1331 2011-10-05 01:20:52 +00:00
Vadim Pisarevsky
282c3044e6 exported C++ stereoRectify in Python 2011-10-05 00:14:43 +00:00
Andrey Morozov
6138956b5e minor fix 2011-10-04 22:00:57 +00:00
Andrey Morozov
99c2326e51 minor fix 2011-10-04 21:43:37 +00:00
Andrey Morozov
8a06b20ad6 fixed compile for linux 2011-10-04 21:31:52 +00:00
Anatoly Baksheev
f444f9b43e optflow gpu compilation fix under vs2010 2011-10-04 17:37:05 +00:00
Andrey Morozov
f366553a80 improved some methods in the Directory class 2011-10-04 16:46:55 +00:00
Andrey Morozov
d58ff0f478 fixed include on Linux 2011-10-04 12:42:49 +00:00
Maria Dimashova
ba62621534 updated test on lsvm 2011-10-04 12:29:56 +00:00
Andrey Morozov
af730e4bff added class Directory 2011-10-04 12:12:14 +00:00
Maria Dimashova
36967575be Added doc on c++ version of latent svm 2011-10-04 12:10:57 +00:00
Maria Dimashova
a4bc940a50 fixed method clear() 2011-10-04 11:35:39 +00:00
Vladislav Vinogradov
d6d7ac9cee fixed tests for BruteForceMatcher_GPU::radiusMatch 2011-10-04 10:03:52 +00:00
Maria Dimashova
d3cd2cb5c0 removed porting to java of latent svm 2011-10-04 06:47:41 +00:00
Maria Dimashova
ea454e6ee4 uncommented the samples parts compiled under MSVC 2011-10-04 06:32:18 +00:00
Alexander Shishkov
b71bfef702 fixed bug with using not built-in ZLIB library 2011-10-03 17:10:18 +00:00
Alexander Shishkov
bb130d14bd Changed type of OPENCV_BUILD_3RDPARTY_LIBS variable to the INTERNAL on WIndows
(see comments for #1030 ticket https://code.ros.org/trac/opencv/ticket/1030)
2011-10-03 16:59:24 +00:00
Maria Dimashova
a70496e414 added test for c++ version of latent svm and updated testdata 2011-10-03 16:55:49 +00:00
Maria Dimashova
a2ff919a6b added sample for c++ version of latent svm 2011-10-03 16:53:30 +00:00
Maria Dimashova
4d85ee7de1 added c++ wrapper of latent svm 2011-10-03 16:45:46 +00:00
Alexey Spizhevoy
8a799aa89a Updated optimal block size estimation for the convolve() function 2011-10-03 14:05:52 +00:00
Andrey Morozov
bee68e519a fixed several bugs in CommandLineParser 2011-10-03 11:44:31 +00:00
Andrey Morozov
bf636e40bf improved print help in CommandLineParser 2011-10-03 11:17:36 +00:00
Vadim Pisarevsky
60ebe2003f fixed multiple warnings on Windows. fixed bug #1368 2011-10-03 11:00:28 +00:00
Anatoly Baksheev
78e678b1f8 optflow_gpu compilation under ubuntu 2011-10-03 10:14:59 +00:00
Anatoly Baksheev
336e000ecc optical flow sample compilation under ubuntu 2011-10-03 10:05:41 +00:00
Alexey Spizhevoy
74561c5b8e Added createWightMaps function into FeatherBlender (stitching) 2011-10-03 09:44:30 +00:00
Anatoly Baksheev
923f771cfc warnings
optical flow gpu cosmetics
2011-10-03 09:26:00 +00:00
Andrey Kamaev
ee413b8026 Avoid duplicated surf extraction step when same parameters are used for detection and descriptors calculation 2011-10-03 08:44:28 +00:00
Andrey Kamaev
20af242a03 Updated command line arguments in performance tests 2011-10-03 07:43:57 +00:00
Alexey Spizhevoy
dce50b67fc Fixed support of translation in the GPU-based plane warper 2011-10-03 07:42:16 +00:00
Alexey Spizhevoy
607a7fd2c2 Updated GPU warpers interface 2011-10-03 07:10:15 +00:00
Alexey Spizhevoy
404e9cb9d5 Refactored warpers in the stitching module, added buildMaps function into the RotationWarper interface 2011-10-03 06:31:24 +00:00
Andrey Morozov
b7a3d36729 fixed several bugs in CommandLineParser 2011-10-01 10:50:50 +00:00
Andrey Morozov
135b9280f1 improved print help in CommandLineParser 2011-10-01 10:27:19 +00:00
Marius Muja
0e18f066a8 Fixing ticket #1402 2011-09-30 16:39:06 +00:00
Andrey Morozov
97d54612c7 fix print help 2011-09-30 14:49:07 +00:00
Andrey Morozov
d449b0492f fixed several bugs in CommandLineParser 2011-09-30 14:31:32 +00:00
Alexey Spizhevoy
c5357cc17c Added fix for removing too similar images into the stitching module 2011-09-30 12:46:11 +00:00
Andrey Morozov
3d3efe7c07 fixed sub algorithm in CommandLineParser 2011-09-30 12:45:57 +00:00
Anatoly Baksheev
5e831f7fca compilation under ubuntu 2011-09-30 12:00:44 +00:00
Anatoly Baksheev
0fc8fc77c0 eliminated shread_ptr dependency from optical flow gpu. It caused compilation errors. 2011-09-30 11:27:30 +00:00
Maria Dimashova
b3fb4986f2 restored doc on latent svm that was lost in moving to rst 2011-09-30 09:54:31 +00:00
Anatoly Baksheev
b9ea3ef741 compilation under ubuntu 2011-09-30 09:02:03 +00:00
Andrey Kamaev
43ce5e6cc0 Fixed Linux build 2011-09-30 08:06:24 +00:00
Anton Obukhov
42c7aece36 [+] Added Brox optical flow (implementation courtesy of Michael Smirnov) 2011-09-29 14:46:39 +00:00
Anatoly Baksheev
f838db92c7 1) detail source group for stitching
2) warnings
2011-09-29 13:44:27 +00:00
Andrey Kamaev
5d363e67a0 Tegra optimized cvRound; perf test for cvRound; fixed perf test for stitching 2011-09-29 12:11:18 +00:00
Leonid Beynenson
3c9979cd6a Disabled some unfinished optimizations. 2011-09-29 08:51:03 +00:00
Vadim Pisarevsky
bf19d66bc2 re-enabled 16s images in cvSobel & cvLaplace. 2011-09-29 07:32:02 +00:00
Leonid Beynenson
87a21016d8 Implemented the first variant of working with masks in CascadeClassifier. Probably, will be rewritten soon. 2011-09-28 21:14:20 +00:00
Vladislav Vinogradov
4d3b1a4a02 fixed build for compute capability < 2.0 2011-09-28 16:24:51 +00:00
Vladislav Vinogradov
f536dfa439 fixed build under linux 2011-09-28 12:08:17 +00:00
Vladislav Vinogradov
9da6d78989 optimized gpu filters, added buffered version for different filters 2011-09-28 11:52:26 +00:00
Andrey Kamaev
340e23a4f0 Fixed TBB-related bug in YUV420 to RGB conversion 2011-09-28 09:10:24 +00:00
Leonid Beynenson
fcaa587b67 CMake scripts changed a bit: added more accurate variant of the Threading Framework support (it is a lightweight analogue of TBB for ARM-s). 2011-09-27 16:25:13 +00:00
Vadim Pisarevsky
f0759437c0 fixed bug #1364 2011-09-27 15:58:08 +00:00
Vadim Pisarevsky
86882e5dd1 fixed bug #1381 2011-09-27 15:50:17 +00:00
Vadim Pisarevsky
1c738820de fixed resource leak in lsvmparser (ticket #1390) 2011-09-27 15:43:13 +00:00
Vadim Pisarevsky
65e036fe6d fixed bug #1368 2011-09-27 15:34:39 +00:00
Vadim Pisarevsky
a512883170 fixed bug #1388 2011-09-27 15:23:43 +00:00
Vadim Pisarevsky
3535aacc23 fixed bug #1389 2011-09-27 15:17:00 +00:00
Alexey Spizhevoy
e0bf60fd3e Minor changes in stitching module 2011-09-27 07:46:28 +00:00
Vladislav Vinogradov
ea4f65b570 implemented optimized version of bf_radius_match for train collection 2011-09-27 06:45:17 +00:00
Alexey Spizhevoy
e99b090871 Fixed bug in ROI based features finder (stitching) 2011-09-26 13:17:06 +00:00
Vladislav Vinogradov
b119833ad1 implemented optimized version of gpu::bf_radius_match 2011-09-26 11:18:30 +00:00
Andrey Kamaev
961dc4e348 Fixed build error (Linux) 2011-09-26 11:05:56 +00:00
Alexey Spizhevoy
230cc3e0c3 Minor fix in stitching_detailed 2011-09-26 10:04:50 +00:00
Alexey Spizhevoy
a7d053f10d Added handling of ROI in stitching features matchers 2011-09-26 09:59:13 +00:00
Alexey Spizhevoy
b053a3b486 Added matching mask into pairwise matcher from stitching module 2011-09-26 09:24:45 +00:00
Alexey Spizhevoy
551113292b Refactored stitching module 2011-09-26 08:52:31 +00:00
Vladislav Vinogradov
67a9b79433 added performance tests for gpu::reduce 2011-09-26 08:14:31 +00:00
Alexey Spizhevoy
66b41b67f9 Added support of GPU in stitching seam estimators 2011-09-26 07:57:05 +00:00
Alexey Spizhevoy
16f5c67914 Added support of vertical straightening into stitching 2011-09-24 08:20:13 +00:00
Alexey Spizhevoy
48dec9c03a Fixed GPU version of multi-band blending in stitching module 2011-09-24 05:58:29 +00:00
Alexey Spizhevoy
afc894db9f Replaced SVD with eigenval decomposition in waveCorrect func (stitching) 2011-09-23 10:57:20 +00:00
Andrey Kamaev
7ca53cfcd4 Added debug function to project back from pano to original image 2011-09-22 13:58:07 +00:00
Alexander Mordvintsev
39268013d5 frame size specification for video sources in video.py 2011-09-22 12:32:37 +00:00
Andrey Pavlenko
823b6567a3 Java API: fix for Subdiv2D::getTriangleList() and Subdiv2D::getEdgeList(); test for getTriangleList() is added. 2011-09-22 11:22:15 +00:00
Vadim Pisarevsky
1dbe5ccc5f improved phaseCorrelate() performance (thanks to Will Lucas for the patch) 2011-09-22 10:40:48 +00:00
Vadim Pisarevsky
a1d6671451 fixed bug #1370 2011-09-22 09:58:58 +00:00
Alexey Spizhevoy
39533a0b1b Added BA refinement flags into stitching_detailed 2011-09-22 08:58:48 +00:00
Alexander Mordvintsev
0ad1d0afac fixed problem with incorrect distance values returned by FlannBasedMatcher for hamming metric (int's were interpreted as floats) 2011-09-22 08:52:40 +00:00
Vladislav Vinogradov
8b23c79294 implemented gpu::reduce 2011-09-22 07:08:26 +00:00
Vladislav Vinogradov
ce35a6d8be fixed bug in cv::reduce in reduceC_ for multi-channels source 2011-09-22 06:43:52 +00:00
Marius Muja
78bbefec98 Applied fix from #1382 2011-09-22 00:42:51 +00:00
Jose Luis Blanco
5029dfed87 Removed extra "," that raised GCC warnings. 2011-09-22 00:31:45 +00:00
Anatoly Baksheev
25cadb1abd fixed compilation under ubuntu 2011-09-21 18:25:22 +00:00
Alexey Kazakov
50543d627f Added HOG features to cascade detection algorithm.
Added pedestrian detection trained model for HOG cascade detection algorithm.
2011-09-21 18:03:53 +00:00
Alexey Spizhevoy
4ee462c961 Added selction of BA cost function in stitching samples (and added other BA cost func into stitching module) 2011-09-21 13:22:12 +00:00
Alexey Spizhevoy
dbce155874 Refactored motion estimators in stitching module 2011-09-21 12:13:07 +00:00
Alexey Spizhevoy
4a5abc7552 Added translation parameter into stitching module warpers. For now only PlaneWarper and PlaneWarperGpu warpers support it. 2011-09-21 10:53:23 +00:00
Vladislav Vinogradov
0aaaad1ea8 implemented gpu::addWeighted 2011-09-21 08:58:54 +00:00
Vladislav Vinogradov
64119dd924 implemented gpu::copyMakeBorder for all border modes 2011-09-21 07:02:45 +00:00
Ilya Lysenkov
8483f9ce40 Fixed the new version of findCirclesGrid. 2011-09-20 13:45:46 +00:00
Ilya Lysenkov
d105264bad Added tests of findCirclesGrid() with the asymmetric pattern. 2011-09-20 13:35:21 +00:00
Ilya Lysenkov
d263fe2b25 Removed unnecessary variables. 2011-09-20 13:16:54 +00:00
Ilya Lysenkov
0ef4ff8925 Improved robustness of the findCirclesGrid() to affine distortions. 2011-09-20 12:47:24 +00:00
Alexander Mordvintsev
cd9d695f9d fix in RectSelector 2011-09-20 11:49:24 +00:00
Vladislav Vinogradov
5ed65979c1 fixed bug in gpu::HOGDescriptor::getBuffer (ticket #1379) 2011-09-20 06:38:40 +00:00
Andrey Kamaev
f45a886adc Tegra optimization for CirclesGridClusterFinder::hierarchicalClustering 2011-09-19 15:14:14 +00:00
Alexey Spizhevoy
f262f58297 Changed one CLI message in stitching_detailed. 2011-09-19 06:37:22 +00:00
Alexander Mordvintsev
a869838807 RectSelector in common.py 2011-09-19 06:28:39 +00:00
Alexey Spizhevoy
07efb17d12 Fixed warper selection bug in stitching_detailed. Removed estimation of aspect ratio in BA in stitching to avoid stretching of input images. Did minor refactoring. 2011-09-19 06:22:40 +00:00
Andrey Kamaev
fb2c288627 Fixed some cmake 2.6 compatibility issues. 2011-09-18 15:30:36 +00:00
Andrey Kamaev
1554d7ab65 Removed countNonZero call from CirclesGridClusterFinder::hierarchicalClustering 2011-09-16 12:38:41 +00:00
Alexey Spizhevoy
23636433d7 Updated bundle adjustment in stitching module: 1) it minimizes reprojection error now, 2) it minimizes error over focal, aspect, p.p.x, p.p.y parameters. Refactored and updated warpers. 2011-09-16 12:25:23 +00:00
Andrey Kamaev
aebd7ebb75 Perf tests: added option to set affinity mask on Android platform 2011-09-16 11:27:19 +00:00
Andrey Kamaev
6d56105b42 Removed unnecessary comparison from CirclesGridClusterFinder::hierarchicalClustering 2011-09-15 14:43:23 +00:00
Alexander Mordvintsev
028c44531f wrapped FlannBasedMatcher (and extended DescriptorMatcher wrapper)
updated feature_homography.py sample to use new features
2011-09-15 11:10:06 +00:00
Alexander Shishkov
d174c3db04 fixed compilation errors in TeX 2011-09-15 09:52:51 +00:00
Alexander Shishkov
d069396546 fixed problem in rst files
changed OpenCV version to 2.3.2
2011-09-15 08:31:14 +00:00
Alexander Mordvintsev
b679ebc1b4 python DescriptorExtractor.compute now returns filtered keypoints
wrapped StarFeatureDetector and GridAdaptedFeatureDetector
2011-09-15 08:07:37 +00:00
Andrey Kamaev
49d33f6109 Perf tests: linux version of adb search 2011-09-15 07:35:05 +00:00
Andrey Kamaev
db4b72c1ba Perf tests: fixed some bugs with adb tool search 2011-09-15 06:31:59 +00:00
Anatoly Baksheev
ffc5a7b809 minor 2011-09-15 05:51:41 +00:00
Andrey Kamaev
6ff2ae1d3a Tegra-optimized minMaxLoc/minMaxIdx 2011-09-14 16:20:10 +00:00
Vadim Pisarevsky
82da7f18d8 replaced "unsigned int" -> "unsigned" to make Python/Java wrapper generator work correctly 2011-09-14 14:29:30 +00:00
Vadim Pisarevsky
cdbee71f1c always initialize the output values in LSH-based k-nearest search (patch by Alex Mordvintsev) 2011-09-14 10:57:50 +00:00
Andrey Kamaev
255617ffe5 OpenCVConfig.cmake is updated to export OpenCV_SOURCE_PATH when used without "make install" 2011-09-14 09:11:14 +00:00
Vladislav Vinogradov
be8e31f14d minor gpu module refactoring: split big .cu files, disabled unnecessary template instantiation 2011-09-14 06:23:46 +00:00
Leonid Beynenson
d99f4a2beb Since there is no a standard functions cv::min and cv::max which has cv::Scalar argument, removed the performance tests,
calling the functions cv::min and cv::max with cv::Scalar argument.
Instead of them two performance tests were created which call the functions cv::min and cv::max with 'double' argument.
2011-09-13 21:57:42 +00:00
Alexey Spizhevoy
a72da12c80 Added fix for 0 found features in stitching matcher 2011-09-13 14:15:18 +00:00
Andrey Pavlenko
94b3bb154e Perf Tests: default stitching scenario. 2011-09-13 11:19:40 +00:00
Alexander Mordvintsev
069c43835b work on #1360 (custom LshIndex params fixed) 2011-09-13 09:14:49 +00:00
Andrey Kamaev
99d3ce52c5 Added performance tests for findCirclesGrid and solvePnP 2011-09-13 07:54:19 +00:00
Marius Muja
16dd655dd3 Fixing ticket #1366 2011-09-13 06:08:38 +00:00
Marius Muja
281b953815 Fixing include defines 2011-09-12 20:20:49 +00:00
Vadim Pisarevsky
d77cf38896 corrected formula formatting in phaseCorrelate docs (thanks to the author for the patch) 2011-09-12 15:28:04 +00:00
Vladislav Vinogradov
4b46e35287 minor 2011-09-12 15:15:02 +00:00
Vladislav Vinogradov
dac9f69ba4 fixed bug in SURF_GPU (memory access error) 2011-09-12 15:14:02 +00:00
Alexey Spizhevoy
485e71bcc2 Bug in multiply was fixed (by Vlad Vinogradov) 2011-09-12 14:58:56 +00:00
Vladislav Vinogradov
29b9720aab added check if src.size() == dst.size() to gpu::resize 2011-09-12 10:23:20 +00:00
Vladislav Vinogradov
b2079d6de1 implemented gpu::resize for all types 2011-09-12 10:13:14 +00:00
Vladislav Vinogradov
acac27d8fe optimized gpu::multiply 2011-09-12 08:45:56 +00:00
Vladislav Vinogradov
6763bd6d01 added padded performance tests for gpu module 2011-09-12 07:48:09 +00:00
Andrey Kamaev
6167469bbd Fixed fullscreen window mode on Windows. 2011-09-11 18:54:25 +00:00
Alexey Spizhevoy
fd5b0c1f18 Reverted some unnecessary changes in GPU module 2011-09-10 12:30:28 +00:00
Alexey Spizhevoy
a7c6b84390 Added TODOs into GPU module 2011-09-10 12:28:03 +00:00
Alexey Spizhevoy
903f835d9f added support of 8UC4*32FC1 multiply into GPU module 2011-09-10 11:56:55 +00:00
Andrey Kamaev
ab3ec788ce Perf tests: improved reporting when test fails because of exception 2011-09-09 13:21:26 +00:00
Andrey Kamaev
5ab6d5a05a Perf tests reports - added output format with embedded styles 2011-09-09 12:15:09 +00:00
Leonid Beynenson
5c3a93a5b8 Small modification in test parameters. 2011-09-09 11:28:19 +00:00
Andrey Kamaev
c08dab0c52 Fixed modules order in OpenCVConfig.cmake 2011-09-09 10:00:10 +00:00
Alexey Spizhevoy
f515337beb Added handling of stitching module into OpenCVConfig.cmake.in 2011-09-08 15:03:35 +00:00
Andrey Pavlenko
f69bb74202 Fixing static libs build on Windows 2011-09-08 13:13:37 +00:00
Andrey Kamaev
6cb1036e04 Perf tests: method ::perf::TestBase::getDataPath made public static; added base CUDA detection into run.py script 2011-09-08 11:01:45 +00:00
Andrey Kamaev
ccfb3e6a21 Perf tests: fixed some issues 2011-09-08 09:29:27 +00:00
Andrey Pavlenko
6ceb322a47 Fixing Windows build 2011-09-08 08:54:14 +00:00
Andrey Kamaev
1917d8b006 Fixed perf target on Windows. 2011-09-08 06:27:46 +00:00
Leonid Beynenson
6bb15fa711 Made perf test for CascadeClassifier (LBP frontal face cascade). 2011-09-07 19:52:52 +00:00
Kirill Kornyakov
b0535e0456 Neon Optimized Resize added 2011-09-07 15:06:51 +00:00
P. Karasev
6030e029e3 touch stitching app, test/verify svn access 2011-09-07 15:00:27 +00:00
Alexey Spizhevoy
55f38ae8b3 fixed bug in gpu perf. test 2011-09-07 14:01:12 +00:00
Vladislav Vinogradov
8009b5150e added performance tests for gpu module 2011-09-07 13:16:07 +00:00
Andrey Pavlenko
3206945b6d Fixing Windows build 2011-09-07 12:51:41 +00:00
Andrey Pavlenko
b58b04a31c Perf Tests: updates to cvtColor() & integral() perf tests 2011-09-07 12:50:56 +00:00
Alexey Spizhevoy
cbb6ac0c34 refactored features finders in stitching module 2011-09-07 12:48:48 +00:00
Andrey Kamaev
6d09dd5cf7 Perf tests: minor fix in chart.py 2011-09-07 11:41:30 +00:00
Alexey Spizhevoy
505e8e0936 minor refactoring of stitching 2011-09-07 11:22:00 +00:00
Alexey Spizhevoy
c9a41c6802 added first version of public stitching API, added simple sample which uses that API, old sample renamed to stitching_detailed 2011-09-07 11:14:27 +00:00
Andrey Kamaev
1449dd1f02 fixed Java API build (not sure if features2d is wrapped correctly now) 2011-09-07 09:51:26 +00:00
Alexander Mordvintsev
d50cc51070 handling Ptr<> arguments and return values in Python wrappers
partially wrapped features2d framework
added feature_homography.py sample
2011-09-07 09:38:22 +00:00
Andrey Kamaev
2ef4e2eeb7 Perf tests: fixed some bugs in scripts 2011-09-07 09:38:12 +00:00
Andrey Kamaev
52184c8803 Gpu functionality in stitching module is excluded from Android build 2011-09-07 08:59:39 +00:00
Alexey Spizhevoy
95a3ffd0c5 put all old stitching API into detail namespace 2011-09-07 06:34:22 +00:00
Vladislav Vinogradov
bf0081a850 fixed bug in stitching in GpuSurfFeaturesFinder (missing upright parameter) 2011-09-07 06:19:21 +00:00
Andrey Kamaev
5cce038958 Performance testing branch is merged back into trunk 2011-09-06 15:30:28 +00:00
Vladislav Vinogradov
df9f707ff0 fixed bug in gpu::remap under win32 2011-09-06 13:42:50 +00:00
Alexey Spizhevoy
ca8c5b633c minor fixes in stitching module 2011-09-06 09:31:54 +00:00
Alexey Spizhevoy
b0fe660d5b fixed stitching module link error on Windows 2011-09-06 08:41:38 +00:00
Andrey Pavlenko
f2da701723 cvtColor: dst channels number default is set to 4 for RGBA/BGRA cases; added new codes for yuv420 to RGBA/BGRA. 2011-09-06 08:35:31 +00:00
Vladislav Vinogradov
84022779a1 added bicubic interpolation to gpu::remap 2011-09-06 07:01:23 +00:00
Anatoly Baksheev
415978b1c9 warnings 2011-09-05 14:37:27 +00:00
Alexey Spizhevoy
fbe2e6fb01 refactored stitching module 2011-09-05 11:52:30 +00:00
Alexey Spizhevoy
9be4701f24 turned opencv_stitching application to module and sample 2011-09-05 10:41:54 +00:00
Vladislav Vinogradov
30ecb28877 fixed build under windows (replace M_PI with CV_PI) 2011-09-05 09:25:10 +00:00
Alexey Spizhevoy
bcec7a7e35 minor changes in opencv_stitching 2011-09-05 08:20:54 +00:00
Alexey Spizhevoy
3bb0a5e331 minor changes in opencv_stitching 2011-09-05 08:18:45 +00:00
Vladislav Vinogradov
e0c0461787 optimized gpu::remap (use texture memory) 2011-09-05 07:59:59 +00:00
Vadim Pisarevsky
32ed1bf858 added phaseCorrelate function by Will Lucas. 2011-09-05 07:57:18 +00:00
Vladislav Vinogradov
c26b005371 optimized gpu::remap (use texture memory if possible), added stream support to gpu::remap 2011-09-05 07:51:00 +00:00
Vladislav Vinogradov
b2d5839af7 added GpuFeature assertion to gpu::Canny 2011-09-05 06:20:34 +00:00
Vladislav Vinogradov
b371bd68df added assertion for small image sizes to SURF_GPU (ticket #1323) 2011-09-05 06:03:49 +00:00
Vladislav Vinogradov
914ed44e28 fixed CudaMem::createMatHeader (ticket #1353) 2011-09-05 05:45:27 +00:00
Vladislav Vinogradov
ef430882a1 fixed build under linux 2011-09-05 05:40:57 +00:00
Alexandre Benoit
69b8f304d7 memory safety test added 2011-09-04 16:46:56 +00:00
Alexandre Benoit
c02b5f1d45 Updated retina access methods and OpenEXR image tone mapping demo cleaned 2011-09-04 08:00:28 +00:00
Alexandre Benoit
9ea9cbf489 Updated retina access methods and OpenEXR image tone mapping demo cleaned 2011-09-04 08:00:09 +00:00
Alexander Mordvintsev
700ef09a23 opt_flow.py sample fixed 2011-09-02 11:54:02 +00:00
Andrey Kamaev
d4c094745f Android port is updated for NDK r6b 2011-09-02 11:13:32 +00:00
Andrey Kamaev
1f0035d2af Fixed native_camera library build for Androids having version in x.x format 2011-09-01 14:39:26 +00:00
Alexander Mordvintsev
fa7e45897f obj_detect.py sample removed 2011-09-01 07:25:13 +00:00
Artem Myagkov
abdd342d50 modifed minimum required cmake version for ios 2011-08-31 18:42:44 +00:00
Vincent Rabaud
ec6636a664 - add documentation for LshIndexParams 2011-08-31 17:56:33 +00:00
Vladislav Vinogradov
15b1b4e232 switched to gpu::pyrDown and gpu::pyrDown in opencv_stitching 2011-08-31 13:26:33 +00:00
Vladislav Vinogradov
ea2f5b1391 added BORDER_REFLECT and BORDER_WRAP support to gpu module
switched to gpu::remap in opencv_stitching
2011-08-31 13:21:14 +00:00
Vadim Pisarevsky
a5df21bf24 removed problem with duplicated CV_OUT InputOutputArray parameters (ticket #1348) 2011-08-31 12:36:19 +00:00
Alexander Mordvintsev
e61f4c4a4b lk_homography.py sample added 2011-08-31 12:33:25 +00:00
Vladislav Vinogradov
47d68f6967 implemented gpu::remap for all types 2011-08-31 11:42:54 +00:00
Alexander Mordvintsev
785428546b lk_track.py description 2011-08-30 09:34:06 +00:00
Anatoly Baksheev
39373cd9f9 minor update of device layer 2011-08-30 09:08:41 +00:00
Anatoly Baksheev
c19f88853a minor update of device layer 2011-08-30 09:04:31 +00:00
Vladislav Vinogradov
0f5f57561e optimized memory usage in BruteForceMatcher_GPU_base::knnMatch when k==2 2011-08-30 08:49:11 +00:00
Vladislav Vinogradov
837f65784e update gpu docs 2011-08-30 08:27:23 +00:00
Vladislav Vinogradov
50d012b56b fixed gpu::pyrUp implementation 2011-08-29 11:32:18 +00:00
Vladislav Vinogradov
5f9e47a9cd refactored gpu::BruteForceMatcher (moved some utility functions to device layer) 2011-08-29 11:31:52 +00:00
Alexey Spizhevoy
50b72197ab fixed bug in gpu::matchTemplate (added normalization routine to make the GPU version consistent with the CPU one), added test cases from the ticket #1341 2011-08-29 08:06:45 +00:00
Andrey Pavlenko
8bf5c0e7ae typo is fixed 2011-08-29 07:41:56 +00:00
Vadim Pisarevsky
df5c60c50a added missing cv::moveWindow & cv::resizeWindow 2011-08-27 20:05:07 +00:00
Alexander Mordvintsev
6abb46254d mser.py sample added 2011-08-27 19:29:03 +00:00
Alexander Mordvintsev
02788eb32e camshift.py description 2011-08-27 13:43:32 +00:00
Vadim Pisarevsky
714732e9bb fixed some more hybrid tracker build problems on Windows 2011-08-27 10:43:53 +00:00
Andrey Pavlenko
1bae6413c1 Java API: generator script whitespace cleanup, adding statistics gathering code 2011-08-26 15:15:15 +00:00
Andrey Pavlenko
3e323e6ff8 Java API: test for Highgui.imencode() is added 2011-08-26 14:39:04 +00:00
Vadim Pisarevsky
07746b54d6 fixed hybrid tracker build problems on Windows 2011-08-26 13:52:46 +00:00
Vadim Pisarevsky
c593355e42 fixed declaration of imencode to make it usable in Python etc. 2011-08-26 13:06:43 +00:00
Vadim Pisarevsky
df1b04c302 removed irrelevant pyc file 2011-08-26 12:23:19 +00:00
Vadim Pisarevsky
ae83fe7645 added hybrid (feature-based & meanshift-based) tracker (by Pushkar) 2011-08-26 12:22:19 +00:00
Leonid Beynenson
f69aa40310 Added the declaration of the type ConcurrentDoubleVector for TBB case. 2011-08-26 11:05:51 +00:00
Anatoly Baksheev
e90aeb08f9 1) ticket #1332
2) device layer utility
2011-08-26 09:34:49 +00:00
Vladislav Vinogradov
173ac5a64b optimized gpu pyrDown and pyrUp 2011-08-24 11:16:42 +00:00
Artem Myagkov
3a3bc18381 modified capturing building ligic for iOS 2011-08-24 10:53:57 +00:00
Artem Myagkov
8c6782300a modified highgui and ts modules and cmakelists for ios cross-compiling, added ios toolchains, added ios build tutorial 2011-08-23 11:19:58 +00:00
Alexandre Benoit
e268e0704d enhanced input image format support 2011-08-22 20:10:21 +00:00
Alexandre Benoit
a288163d73 enhanced and more robust image input management 2011-08-22 20:09:01 +00:00
Ana Huaman
b3b036fd35 Added theory to a rst Tutorial in tracking motion (Harris corner) 2011-08-22 13:53:12 +00:00
Alexander Mordvintsev
fc771363d3 all video processing samples use camera as default source (and fallback to synth in case of capture error) 2011-08-22 13:36:21 +00:00
Bernat Gabor
df49158863 Added the "Camera calibration With OpenCV" tutorial. Extended with a few global links the conf.py file. Corrected an error in the linux_install.rst and one in the cascade_classifier.rst file. 2011-08-22 12:15:31 +00:00
Vladislav Vinogradov
0ed6d86a49 optimized some gpu::cvtColor functions 2011-08-22 11:07:52 +00:00
Vadim Pisarevsky
628447c251 replaced non-available in MacOSX' numpy deg2rad in motempl.py 2011-08-22 10:22:27 +00:00
Vadim Pisarevsky
8dacbeb157 fixed 2 bugs in python samples (crash in camshift and running samples from within the demo) 2011-08-22 10:10:17 +00:00
Alexander Mordvintsev
fd69c8b34a running demos with enter key 2011-08-21 13:24:49 +00:00
Alexandre Benoit
4408423c9f waiting for optimisation at Retina::_convertCvMat2ValarrayBuffer 2011-08-21 13:12:14 +00:00
Alexandre Benoit
bd198d2b7b updated default parameters, more contrast by default 2011-08-21 12:22:27 +00:00
Alexandre Benoit
05c0cd72d0 updated retina modules : minor misakes correction & changed pixel format to float instead of double to keep some memory, precision is almost sufficient, check for residual mistakes 2011-08-21 11:02:42 +00:00
Alexandre Benoit
66ee335ca9 updated retina modules : minor misakes correction & changed pixel format to float instead of double to keep some memory, precision is almost sufficient, check for residual mistakes 2011-08-21 11:01:53 +00:00
Vadim Pisarevsky
eb9401d353 applied patch #1326 2011-08-21 10:39:38 +00:00
Alexander Mordvintsev
67cbcd2fa6 work on demo.py: sample running 2011-08-21 07:54:54 +00:00
Alexander Mordvintsev
0de8ed1099 demo description url parsing 2011-08-21 07:19:27 +00:00
Alexander Mordvintsev
5b00763bb0 work on demo.py shell 2011-08-20 19:54:03 +00:00
Alexandre Benoit
752eed00f2 updated GUI photoreceptors sensitivity parameter management 2011-08-20 12:41:34 +00:00
Alexandre Benoit
d5d2290ffd updated GUI photoreceptors sensitivity paramaer management 2011-08-20 12:40:04 +00:00
Andrey Kamaev
014ba699a3 Attempt to fix a build problem (ambiguous PixelType error when compiled on Mac x86) 2011-08-19 19:18:32 +00:00
Bernat Gabor
0451779d2c Ticket #1240 resolved. 2011-08-19 10:12:33 +00:00
Vadim Pisarevsky
3b7b833a4e merged latest fixes from 2.3 branch; since 2.3.1 is out, the version in trunk is bumped to 2.3.2 2011-08-17 20:12:11 +00:00
Bernat Gabor
157db88cbd Added the "How to write a tutorial for OpenCV?" tutorial. Made some corrections to the feature2D TOC tree. Small visual improvements for the video-write.rst file. Deleted a definition file that served no purpose. 2011-08-17 17:28:06 +00:00
Vladislav Vinogradov
971e35f283 fixed bug in gpu::cvtColor 2011-08-17 13:46:36 +00:00
Vladislav Vinogradov
5e9ae6b19f added TransformFunctorTraits, optimized some functions that use transform 2011-08-17 11:32:24 +00:00
Vadim Pisarevsky
6ce2277cc7 fixed multi-scale Hough transform (ticket #1320) 2011-08-17 09:19:46 +00:00
Vadim Pisarevsky
d752c2b674 disabled fast-math by default. 2011-08-17 09:05:05 +00:00
Alexander Mordvintsev
b3ae2c181a added flann matching to find_obj.py 2011-08-17 02:00:52 +00:00
Vadim Pisarevsky
d3d55f3234 fixed crashes in parallel HOG detector; avoid use of new POPCNT instruction in ORB (to make it compatible with older CPUs). 2011-08-16 13:52:02 +00:00
Vadim Pisarevsky
3bfd1aa58d updated opencv_ffmpeg build instructions 2011-08-16 13:15:20 +00:00
Alexey Spizhevoy
78bb392088 refactored opencv_stitching 2011-08-16 12:36:11 +00:00
Vadim Pisarevsky
f1e8b43c7a updated opencv_ffmpeg binaries, headers and libs to ffmpeg 0.8.2 2011-08-16 12:27:15 +00:00
Alexey Spizhevoy
b6e9ed4ec5 fixed bug in opencv_stitching (added handling of homography evaluation failure) 2011-08-16 09:51:54 +00:00
Vadim Pisarevsky
c66ed3e02f fixed Ximea constructor call 2011-08-15 14:23:55 +00:00
Alexandre Benoit
cd8d3afe37 enhanced basic error management when input image could not be loaded 2011-08-15 13:24:31 +00:00
Vadim Pisarevsky
fba70ca131 fixed bug #1306 (Vec assignment); added tests for Vec & Matx multiplication 2011-08-15 13:24:13 +00:00
Alexandre Benoit
58c0bea68a added openexr sample file 2011-08-15 13:18:01 +00:00
Alexey Spizhevoy
ee18397f58 added CameraInfo class into opencv_stitching 2011-08-15 13:03:59 +00:00
Alexey Spizhevoy
b97ecdff0d refactored opencv_stitching, added possibility to turn off BA 2011-08-15 12:20:27 +00:00
Vladislav Vinogradov
6e3a1f7b49 implement optimized version of gpu::BruteForceMatcher::knnMatch when k == 2 2011-08-15 12:14:02 +00:00
Alexey Spizhevoy
c92b040c48 updated saving matches graph in opencv_stitching 2011-08-15 09:22:22 +00:00
Alexey Spizhevoy
8b7d74e9f0 minor changes in opencv_stitching 2011-08-15 08:26:11 +00:00
Alexey Spizhevoy
f95e71ea3a added saving of matches graph into opencv_stitching (in DOT format) 2011-08-15 08:19:57 +00:00
Andrey Kamaev
7820c343eb Documentation: fixed CvSlice and FeatureDetector descriptions. 2011-08-15 07:05:04 +00:00
Andrey Kamaev
a69c591927 Fixed Android build. 2011-08-15 07:03:22 +00:00
Alexey Spizhevoy
aba2008711 implemented rotating-only cameras calibration 2011-08-15 06:15:06 +00:00
Ana Huaman
4c289dc166 Slight update in objdetect...still to put Theory 2011-08-15 02:38:23 +00:00
Ana Huaman
eb77bbd626 Fixed more broken links from previous tutorials 2011-08-15 02:35:10 +00:00
Ana Huaman
41f5a9cab9 Fixed more broken links from previous tutorials 2011-08-15 02:29:03 +00:00
Alexander Mordvintsev
5bc5d9a47e camshift.py sample
small cleaning
2011-08-15 01:36:41 +00:00
Ana Huaman
a0d73eadd3 Updated broken links of tutorials in core and fixed weird-looking bullets (error of mine) 2011-08-15 01:25:36 +00:00
Ana Huaman
8b0092eaf5 Commit rst tutorial for Cascade Classifiers 2011-08-15 00:49:59 +00:00
Ana Huaman
dd836f1bdd Modified sample for object detection with LBP in tutorial_code 2011-08-14 22:32:41 +00:00
Ana Huaman
e228b5c70d Added sample for object detection with LBP in tutorial_code 2011-08-14 20:20:35 +00:00
Bernat Gabor
fec995391f Added to the tutorials the "Support Vector Machines for Non-Linearly Separable Data" contributed by Fernando Iglesias García. Corrected a mistake in the gpu-basics-similarity.rst file. 2011-08-14 19:58:20 +00:00
Vadim Pisarevsky
a51a8ad577 fixed tickets #1301, #1303, #1305 2011-08-14 19:46:39 +00:00
Ana Huaman
4c74b28ee3 Sample code simplified for object Detection 2011-08-14 18:44:46 +00:00
Bernat Gabor
695311d709 Added the "Similarity check (PNSR and SSIM) on the GPU" tutorial. Corrected an highgui TOC tree mistake. 2011-08-14 15:05:56 +00:00
Alexandre Benoit
e95618d0b4 nicer default parameters set 2011-08-14 07:01:56 +00:00
Alexander Mordvintsev
a0af870719 added CV_OUT to CvANN_MLP::predict
python cv2 MLP sample done
2011-08-14 04:32:27 +00:00
Alexander Mordvintsev
622bd42224 work on MLP sample in letter_recog.py (in progress...) 2011-08-14 02:26:47 +00:00
Alexandre Benoit
638f3d31cf added more explicit titles on figures and cleaned std output 2011-08-13 21:58:31 +00:00
Andrey Kamaev
d7a9b99b1d Documentation: fixed references for C++ operators 2011-08-13 21:39:10 +00:00
Alexandre Benoit
23c15d562d added comments/contacts link 2011-08-13 18:24:46 +00:00
Alexandre Benoit
9d7c0141bb added comments/contacts link 2011-08-13 18:24:33 +00:00
Andrey Kamaev
6168eaf745 Documentation: fixed "template<class T> const T" case for ".. ocv:function::" macro 2011-08-13 18:05:11 +00:00
Andrey Kamaev
d6e3ccc1b2 Documentation: fixed about 100 cross-referencing errors. 2011-08-13 16:49:40 +00:00
Alexandre Benoit
6395a738cb adding openexr images tone mapping demo 2011-08-13 14:19:17 +00:00
Alexandre Benoit
b4d42ae6f1 optimised input image management 2011-08-13 14:14:28 +00:00
Alexandre Benoit
1a749c5141 optimised input image management 2011-08-13 14:13:41 +00:00
Bernat Gabor
bdfc0201de Added the How to create videos with OpenCV Tutorial. Made some corrections to the feature2d, to get rid of some documentation build errors. 2011-08-13 14:02:18 +00:00
Alexander Mordvintsev
d2da81401f work on camshift.py 2011-08-13 08:54:11 +00:00
Alexander Mordvintsev
8c06a275f7 use default HOG people detector
minor cleaning
2011-08-13 08:52:58 +00:00
Andrey Kamaev
431daf59b6 * Fixed cross-referencing in reference manual (except C++ operator() ).
* Fixed display of struct and class definitions (except classes with base class specified).
* Fixed formatting and referencing errors in several documentation files.
2011-08-12 22:18:04 +00:00
Ana Huaman
6b88d7a898 Added base tutorial for using FlannBasedMatcher with SURF detector + descriptor in rst 2011-08-12 18:30:20 +00:00
Ana Huaman
f803fc259b Added tutorial for features2d using homography to find a planar object (Based on the well known find_obj.cpp 2011-08-12 18:04:44 +00:00
Vadim Pisarevsky
cff30dd2bb added cv.py micro-module for backward compatibility with existing Python scripts using prev-gen Python API. 2011-08-12 18:03:01 +00:00
Ana Huaman
480de445c7 Corrected a commit error -- Added the images for the detection tutorial 2011-08-12 17:06:25 +00:00
Ana Huaman
07754b6309 Added Features2D descriptor tutorial + drawMatches in rst 2011-08-12 17:01:10 +00:00
Ana Huaman
e6d308ca89 Added rst Tutorial for Feature Detection with SURF and drawKeypoints 2011-08-12 15:56:52 +00:00
Vadim Pisarevsky
960fd51cf0 another attempt to fix #1299 2011-08-12 15:19:10 +00:00
Vadim Pisarevsky
d37beb4074 fixed Matx33 * Point3 and Matx22 * Point operators (ticket #1299) 2011-08-12 12:54:38 +00:00
Vadim Pisarevsky
50d70cf9c6 made retina code compile with VS2005/VS2008 2011-08-12 11:28:17 +00:00
Vadim Pisarevsky
6b162ea211 improved list formatting in opencv refman. Updated PDFs. 2011-08-12 10:52:06 +00:00
Andrey Kamaev
6c767b281e Java API: generated test stubs for 2 new functions 2011-08-12 08:14:51 +00:00
Vadim Pisarevsky
02c98152d7 export HOGDescriptor::getDefaultPeopleDetector() to Python (ticket #1298) 2011-08-12 07:50:55 +00:00
Andrey Kamaev
67a98bfd24 Fixed search in html documentation (ticket #1232) 2011-08-12 07:23:54 +00:00
Ana Huaman
ea971df8bf Added SURF_Homography sample codee 2011-08-12 03:33:52 +00:00
Alexander Mordvintsev
d80a41a543 comment 2011-08-12 03:23:44 +00:00
Alexander Mordvintsev
d7a2081230 peopledetect.py sample added (TODO: use builtin svm data instead of people_hog.txt)
some old cv api use cleaning
2011-08-12 03:05:31 +00:00
Ana Huaman
9fba5e8d8c Added code for SURF using FLANN Matcher and drawMatches options 2011-08-12 00:19:42 +00:00
Vadim Pisarevsky
c65c67eff4 preserve alpha channel in PNG, when imread(..., -1) is called (ticket #1107) 2011-08-11 22:38:09 +00:00
Vadim Pisarevsky
6942799669 fixed kmeans center initialization in the case of huge matrices (ticket #1291); fixed warinings in libtiff. 2011-08-11 22:27:18 +00:00
Vadim Pisarevsky
1e6f1cc15c another attempt to fix IPP detection on x64 (ticket #1294) 2011-08-11 22:18:51 +00:00
Vadim Pisarevsky
2fe3ed75c1 fixed building retina code on Windows 2011-08-11 22:02:52 +00:00
Vadim Pisarevsky
411f51367e raised threshold in ORB test; temporarily disabled always failing Opponent SIFT test 2011-08-11 21:35:04 +00:00
Vadim Pisarevsky
907fafce5a fixed retinaDemo compile errors 2011-08-11 20:45:51 +00:00
Vadim Pisarevsky
2842d34611 added retina model, by Alexander Benoit 2011-08-11 20:42:08 +00:00
Ana Huaman
04ebef1be2 Added two sample code for features 2D - SURF descriptor and detector 2011-08-11 20:30:25 +00:00
Andrey Kamaev
8442dab01d Html documentation: fixed text wrapping for sidebar 2011-08-11 19:06:41 +00:00
Vadim Pisarevsky
d1588c0439 added support for Ximea cameras (missing parts in the prev. commit) 2011-08-11 18:06:09 +00:00
Vadim Pisarevsky
bd0d8429ee added support for Ximea cameras (patch by Marian Zajko), fixed GCC warnings in MOG2 background subtractor. 2011-08-11 17:59:30 +00:00
Vadim Pisarevsky
d58459ccdd fixed default maxSize case in cvHaarDetectObjects (ticket #1296) 2011-08-11 13:16:00 +00:00
Vadim Pisarevsky
d3350b50aa avoid infinite loops when 0-area image is filtered (ticket #1295) 2011-08-11 13:12:59 +00:00
Vadim Pisarevsky
c3caaf3b88 fixed IPP detection on 64-bit Windows (ticket #1294) 2011-08-11 11:47:54 +00:00
Bernat Gabor
a0a46b0d70 Added a video input tutorial with PSNR and SSIM. 2011-08-11 09:34:03 +00:00
Andrey Kamaev
caec96a199 Fixed libraries order in Android.mk (thanks to Anush Moorthy for the report) 2011-08-11 08:28:05 +00:00
Andrey Kamaev
7c8a49b475 Java API: Removed meaningless tests 2011-08-11 07:21:28 +00:00
Andrey Morozov
c0cd317284 fixed compile errors in samples 2011-08-11 07:04:27 +00:00
itsyplen
bc64567d37 Update samples using cmd parser 2011-08-11 06:46:09 +00:00
Andrey Kamaev
1863f58a67 Java API: generated test stubs for recently added functions/classes 2011-08-10 16:57:15 +00:00
Andrey Kamaev
ebb08bc015 Java API: Fixed bug in Mat port; fixed/implemented all java tests for core module 2011-08-10 15:56:47 +00:00
Maria Dimashova
04e4eaabaf updated openni finding by cmake (#1190, #1252); updated doc on kinect 2011-08-10 14:58:55 +00:00
Leonid Beynenson
aa78754720 Changed tabulation. 2011-08-10 14:21:20 +00:00
Andrey Kamaev
92afe9e40a Java API: fixed input List<List<smth>> arguments 2011-08-10 14:09:22 +00:00
Vadim Pisarevsky
f9ef92d45a multilib support added (ticket #363) 2011-08-10 12:49:52 +00:00
Vadim Pisarevsky
645bb0bfbc added size check to static Mat::diag() 2011-08-10 12:40:41 +00:00
Andrey Kamaev
25261e6ebc Added new tests written by Hussein Abdinoor; Added support for new classes in features2d and imgproc 2011-08-10 12:35:22 +00:00
itsyplen
d3f8b2eeb7 Updated using new cmd parser 2011-08-10 12:33:03 +00:00
Vadim Pisarevsky
5678464f7d fixed OpenCVConfig.cmake for statically built OpenCV on Mac 2011-08-10 12:08:58 +00:00
Vladislav Vinogradov
bad7dadb75 added remap test, fix compilation error 2011-08-10 12:05:24 +00:00
Maria Dimashova
7f1995f19a fixed cmake status of openni 2011-08-10 11:59:37 +00:00
Maria Dimashova
1d69a3bc6a fixed compile error on ubuntu64 2011-08-10 11:49:10 +00:00
Maria Dimashova
3569e18f0e fixed compile errors and warning on ubuntu64 2011-08-10 11:36:55 +00:00
Vladislav Vinogradov
8bb9e4302e added registerPageLocked/unregisterPageLocked functions
added convert functions to BruteForceMatcher_GPU
other minor fixes
2011-08-10 11:32:48 +00:00
itsyplen
24279c2c11 Updated sample using new cmd parser 2011-08-10 11:29:32 +00:00
itsyplen
49fb4ecbc1 Updated samples using new cmd parser 2011-08-10 10:41:38 +00:00
Vadim Pisarevsky
c9ed7fee34 fixed C++ implementation of Delaunay triangulation and moved it from sample to imgproc. 2011-08-10 10:28:01 +00:00
Anatoly Baksheev
edcfa64d99 experimental kernels for cuda 2011-08-10 09:51:36 +00:00
Andrey Kamaev
50d1d711de Added reference to Nvidia TADP into Android tutorial; refactored both Android tutorials; fixed some rst warnings 2011-08-10 09:45:17 +00:00
Maria Dimashova
6287c113c8 fixed compile errors 2011-08-10 09:43:44 +00:00
Anatoly Baksheev
b535356ec7 experimental kernels for cuda 2011-08-10 09:35:57 +00:00
Maria Dimashova
81cb7b2c5e added read/write methods for SimpleBlobDetector and DenseFeatureDetector; added their creation to FeatureDetector::create method (#1290) 2011-08-10 09:17:37 +00:00
itsyplen
7f32e8131d Updating samples using cmd parser 2011-08-10 08:56:27 +00:00
itsyplen
86cd9fadf3 Fixed some grammatical errors 2011-08-10 08:52:52 +00:00
Maria Dimashova
999481273e fixed memory leak in SIFT wrapper (#1288) 2011-08-10 07:02:50 +00:00
Vladislav Vinogradov
ff1fb9f7cc minor stitching optimization (use cpu matchers instead of gpu matchers on multicore processors) 2011-08-10 06:53:24 +00:00
Vadim Pisarevsky
cfdf464052 initial (buggy) C++ version of Delaunay triangulation 2011-08-09 15:11:32 +00:00
Andrey Kamaev
1248775177 Java API: added JNI_OnLoad to eliminate jvm warnings 2011-08-09 14:58:24 +00:00
Maria Dimashova
1d7877eeaf added doc on supported Kinect properties (#1251) 2011-08-09 14:00:11 +00:00
Maria Dimashova
ec150c24e3 added CV_CAP_PROP_OPENNI_REGISTRATION property for getting 2011-08-09 13:58:05 +00:00
Vladislav Vinogradov
c5adaa717b minor stitching optimization (improve buffer reuse) 2011-08-09 13:08:54 +00:00
Andrey Kamaev
b319e7f403 Java API: added support for BruteforceMatcher-SL2 2011-08-09 12:52:47 +00:00
Andrey Kamaev
e553a37fe7 Removed outdated android-opencv subproject 2011-08-09 11:55:43 +00:00
Andrey Kamaev
d9d74678a9 Java API: corrected names of methods in Utils class; fixed bug in DMatch (thank for Hussein Abdinoor); added new utility method loadResource 2011-08-09 11:46:27 +00:00
Vladislav Vinogradov
13e392763b fixed compilation error without cuda 2011-08-09 11:35:42 +00:00
Maria Dimashova
abd12c052a fixed doc warning 2011-08-09 09:59:44 +00:00
Andrey Kamaev
0a78cdf264 Updated Android tutorials 2011-08-09 09:56:16 +00:00
Maria Dimashova
fd27ba248b added doc on CvERTrees 2011-08-09 09:52:08 +00:00
Vladislav Vinogradov
36bfa6ea1c minor 2011-08-09 09:15:04 +00:00
Vladislav Vinogradov
b2b1d41da8 moved GpuMat class to separate header file 2011-08-09 07:51:48 +00:00
Vladislav Vinogradov
f4f38fcced fixed gpu test failure on empty test data 2011-08-09 06:25:01 +00:00
Bernat Gabor
a5f38806ab Small modifications to the scan tutorial and added the video-input-psnr-ssim sample file. 2011-08-09 05:43:58 +00:00
Maria Dimashova
1f07209f6c fixed CvCapture_OpenNI constructor (removed all exceptions) (#1237) 2011-08-08 15:47:52 +00:00
Maria Dimashova
4839bfb1a5 fixed grammar of the comment 2011-08-08 14:03:37 +00:00
Andrey Kamaev
2ec815be89 Updated android tutorial for native development 2011-08-08 13:26:23 +00:00
Maria Dimashova
fcd999ae6e added SL2 (squared L2 distance) and implemented the descriptors matching in L2 using SL2 2011-08-08 13:18:12 +00:00
Vladislav Vinogradov
a9fdc1bdff added buffered version of cornerHarris, cornerMinEigenVal, histEven and histRange 2011-08-08 13:05:50 +00:00
Vladislav Vinogradov
12b7090a6f fixed some warnings under win64 2011-08-08 13:03:18 +00:00
Maria Dimashova
dc14b45617 minor changes 2011-08-08 12:47:04 +00:00
Anatoly Baksheev
5c691907ed minor improvements in cmake-file for gpu samples 2011-08-08 12:16:23 +00:00
Vladislav Vinogradov
42ced17c2c fixed some warnings under win64 2011-08-08 11:28:14 +00:00
Vladislav Vinogradov
767ac9aa10 added gpu::Canny function 2011-08-08 08:53:55 +00:00
Andrey Kamaev
0a2c7803b6 Fixed mixChannels argument types 2011-08-08 07:08:58 +00:00
Vladislav Vinogradov
dfaa8af6ee fixed #1279 2011-08-08 05:59:09 +00:00
Bernat Gabor
ed801d3e65 Added the "Interoperability with OpenCV 1" tutorial. 2011-08-08 05:58:10 +00:00
Andrey Kamaev
b486a96601 Java API: refactored Core tests 2011-08-08 05:16:31 +00:00
Leonid Beynenson
93a0237b64 Added the tutorial "Using OpenCV Android binary package to compile applications, which use OpenCV from native level". 2011-08-07 20:46:51 +00:00
Vadim Pisarevsky
8ceda8372c corrected PCA::PCA and PCA::operator () description (thanks to Adrian Kaehler) 2011-08-07 17:12:09 +00:00
Vadim Pisarevsky
e5c66b5ed4 fixed pointPolygonTest(). Now it returns -1, 0, 1 when measureDist=false (ticket #1285) 2011-08-07 16:58:29 +00:00
Andrey Kamaev
99e3b5a24e Java API: cleaned imgproc tests; changed signatures of several java functions 2011-08-06 21:19:23 +00:00
Vadim Pisarevsky
e2e4ee2f53 disable implicit numpy array use in old-style Python bindings because of hard-to-fix memory leaks (ticket #1177) 2011-08-06 20:15:29 +00:00
Vadim Pisarevsky
3f40a1d8c3 fixed KeyPoint::convert(keypoints,point2f) (ticket #1282; thanks to cooperz for the patch) 2011-08-06 19:42:29 +00:00
Vadim Pisarevsky
dd1315b22a fixed rank check in 8-point Fundamental Matrix algorithm (patch by F. Devernay; ticket #1273) 2011-08-06 19:38:09 +00:00
Vadim Pisarevsky
04a4e51920 fixed parallel block matching stereo correspondence algorithm (ticket #997; thanks to jbieger for the patch) 2011-08-06 19:28:20 +00:00
Vadim Pisarevsky
cffd89f88f added some missing declarations of the functions, noticed in the ticket ##229 2011-08-06 19:17:14 +00:00
Vadim Pisarevsky
4b94d91955 added _InputArray::_InputArray(const Scalar& s) constructor (ticket #1214) 2011-08-06 18:52:05 +00:00
Vadim Pisarevsky
fc4d64ae6b temporarily fixed #1279 2011-08-06 18:03:08 +00:00
Andrey Kamaev
6aa1eafc27 Java API: added ticket number to failed test 2011-08-06 12:17:00 +00:00
Andrey Kamaev
c16f018afd mc 2011-08-06 10:03:24 +00:00
Anatoly Baksheev
7e2fffb194 ticket #1280 2011-08-06 09:59:51 +00:00
Alexander Mordvintsev
6fdbf15aed updated lt_track.py sample
- continuous feature detection
- track verification by reverse tracking
2011-08-06 09:56:42 +00:00
Andrey Kamaev
1991440cf7 Java API:
* fixed manually ported classes;
* added vector<vector<Point>> support;
* changed argument types for 3 functions;
* finished tests for org.opencv.core.Core class.
2011-08-06 09:22:07 +00:00
Andrey Kamaev
6d9075812f Java tests: fixed 1 test in core and 1 disabled 2011-08-05 16:33:46 +00:00
Andrey Kamaev
cb2b28636f Java tests: removed test_1 2011-08-05 15:49:08 +00:00
Andrey Kamaev
ccc356829c Fixed color conversion bug 2011-08-05 15:46:13 +00:00
Maria Dimashova
7db3dd4f0a fixed comment and doc on L2 2011-08-05 14:05:41 +00:00
Maria Dimashova
0d55ccac74 added check of output image in drawKeypoints() 2011-08-05 14:04:38 +00:00
Andrey Kamaev
a46da86325 Java API: fixed script for coverage calculation 2011-08-05 13:04:14 +00:00
Andrey Kamaev
39c5eb2f66 Java API: new tests for Core and Imgproc from Hussein Abdinoor 2011-08-05 11:59:45 +00:00
Andrey Kamaev
a0590273e9 Java API: fixed problems in video and ml modules; generated test stubs for all exported functions (now we have 1701 tests). 2011-08-05 08:39:28 +00:00
itsyplen
9b1cb7227a fixed errors in cmdparser 2011-08-04 16:12:55 +00:00
itsyplen
6d3e92517c new version of command line parser 2011-08-04 16:09:04 +00:00
Andrey Pavlenko
10444f4e50 Java API: vector_vector support for KeyPoint/DMatch/char
Testing: 1178/4/576
2011-08-04 14:24:30 +00:00
Andrey Kamaev
874196e384 Implemented read/write methods for FlannBasedMatcher; fixed features2d wrappers for java 2011-08-04 14:13:07 +00:00
Vadim Pisarevsky
16b0fcf083 fixed CvHomographyEstimator::runKernel (ticket #1275) 2011-08-04 13:06:08 +00:00
Andrey Pavlenko
70caece001 Java API: fitEllipse arg type is changed to List<Point>, test is updated as well
Testing: 1176/4/580
2011-08-04 12:00:53 +00:00
Andrey Pavlenko
024482adac Java API: (per code review) adding check (data.length % CvType.channels(t) != 0) for Mat:: put/get, adding 2 tests for them
Testing: 1176/4/580
2011-08-04 11:45:48 +00:00
Andrey Pavlenko
3f22bd6dff Java API: fixed wrong JNI name for native delete() 2011-08-04 11:13:09 +00:00
Andrey Kamaev
13185ad8f7 Implemented read/write methods for BriefDescriptorExtractor class 2011-08-04 09:56:10 +00:00
Andrey Kamaev
28732d4300 Java API: added tests for SiftDescriptorExtractor and OrbDescriptorExtractor 2011-08-04 06:21:17 +00:00
Andrey Kamaev
1523cb04d1 Added CV_EXPORTS to OrbDescriptorExtractor (ticket #1276) 2011-08-04 06:19:52 +00:00
Andrey Kamaev
be5328178f Fixed reading/writing parameters for OrbDescriptorExtractor 2011-08-04 06:18:24 +00:00
Andrey Kamaev
ff9da914ec Fixed bug in checkRange - integer Mats were always in range 2011-08-04 06:17:23 +00:00
Andrey Kamaev
6944c0dba4 JavaAPI: fixed typo; some constants are moved to private section; added tests for BruteForceMatcher-Hamming 2011-08-03 19:46:30 +00:00
Andrey Kamaev
cc6b7edf95 Java API: added wrapper for GenericDescriptorMatcher 2011-08-03 16:17:33 +00:00
Kirill Kornyakov
c44cdef24c android tutorial updated: spelling and note about spaces in path to OpenCV package 2011-08-03 16:06:17 +00:00
Andrey Pavlenko
790ff8f42a Java API: minEnclosingCircle() fixed (float& -> float[])
Testing: 1130/0/584
2011-08-03 15:23:33 +00:00
Andrey Kamaev
e1cd84bb25 Java API: added and fixed several tests 2011-08-03 15:14:55 +00:00
Kirill Kornyakov
19c3cf45cc java tests: deleted image writing to sdcard 2011-08-03 14:59:30 +00:00
Kirill Kornyakov
66e79167ee java tests: updated testFillConvexPolyMatMatScalarIntInt, testFitEllipse colorWhite added 2011-08-03 14:18:26 +00:00
Vadim Pisarevsky
c57799a877 fixed 8-point case in findFundamentalMat (ticket #1262). findFundamentalMat needs to be rewritten actually (as well as findHomography) 2011-08-03 14:04:14 +00:00
Andrey Pavlenko
8b16dbe791 Java API: calcOpticalFlowPyrLK() args types are changed to vector<>
Testing: 1130/0/585
2011-08-03 13:31:51 +00:00
Kirill Kornyakov
0595ca7454 reverted 2011-08-03 13:21:21 +00:00
Andrey Kamaev
7d513a6671 Java API: added tests for FlannBased DescriptorMatcher 2011-08-03 13:20:01 +00:00
Kirill Kornyakov
2a47ab6e08 java tests: minor updates 2011-08-03 13:12:39 +00:00
Andrey Kamaev
2d820d2321 Java API: added tests for BruteForceMatcher (L1) 2011-08-03 12:57:19 +00:00
Andrey Kamaev
472820d889 Java API: added tests for BruteForceMatcher (L2) 2011-08-03 12:49:52 +00:00
Vladislav Vinogradov
3fac5d54ca minor fix 2011-08-03 12:30:40 +00:00
Vladislav Vinogradov
5f03548530 minor fix 2011-08-03 12:18:17 +00:00
Vladislav Vinogradov
3ab2728da1 gpu device layer code refactoring 2011-08-03 12:10:36 +00:00
Andrey Pavlenko
fa0daa4809 Java API: fixing converters (copyData=true) and samples compilation
Testing: 1079/0/592
2011-08-03 11:57:00 +00:00
Andrey Kamaev
6935e95c2a Fixed crash in BruteForceMatcher::clone 2011-08-03 11:30:09 +00:00
Kirill Kornyakov
43628ab868 java: bugfix in RotatedRect, one test fixed 2011-08-03 09:43:36 +00:00
Andrey Kamaev
69588dfabf Java API: fixed bugs; added tests for SURF and BRIEF descriptor extractors 2011-08-03 09:27:50 +00:00
Kirill Kornyakov
f81e6f82f5 Android.mk now automatically founds all cpp-files 2011-08-03 09:11:13 +00:00
Andrey Pavlenko
25db453812 Java API: (per code review) renaming and moving utility classes
Testing: 1079/0/584
2011-08-03 08:53:27 +00:00
Andrey Pavlenko
02d5d93c3a Java API: code clean-up
Testing: total 1079, failures 584, errors 0.
2011-08-03 08:19:06 +00:00
Vadim Pisarevsky
29bf7384dc fixed useOptimized(); added checkHardwareSupport description (ticket #1258) 2011-08-03 08:17:58 +00:00
Vadim Pisarevsky
217f345e66 updated libtiff to 3.9.5 (ticket #1271) 2011-08-03 07:51:40 +00:00
Vadim Pisarevsky
c8378fa4c4 added "inclusive" & "exclusive" adjectives to startrow, endrow, startcol, endcol parameter descriptions (ticket #1272) 2011-08-02 19:50:13 +00:00
Andrey Kamaev
1890a0ae9a Java API: added new tests for SURF and STAR feature detectors 2011-08-02 16:10:58 +00:00
Andrey Kamaev
257c0bf413 Java API: Fixed typo 2011-08-02 15:14:13 +00:00
Andrey Pavlenko
f1d24e1868 Java API: adding missing class 2011-08-02 15:00:00 +00:00
Andrey Kamaev
2a6dd2e807 Fixed Android build 2011-08-02 14:56:51 +00:00
Andrey Pavlenko
2c5e79507d Java API: new types and converters are added, jni suffixes changed 2011-08-02 14:56:47 +00:00
Andrey Kamaev
99b8e2db14 Java API: added tests for FAST feature detector 2011-08-02 14:32:43 +00:00
Andrey Morozov
bba4f9e5d6 removed property. added automatically define number of cpus for decoding video 2011-08-02 14:27:21 +00:00
Kirill Kornyakov
d87f513b4f java tests: addede tests for Converter and core classes by Hussein Abdinoor 2011-08-02 13:47:40 +00:00
Andrey Pavlenko
f4e28f87d8 Java API: new converters, findFundamentalMat/cornerSubPix/findHomography/solvePnP/solvePnPRansac and their tests are updated 2011-08-02 13:10:23 +00:00
Vadim Pisarevsky
ce2f4c6a4d propagated fix for EXR from 2.3 branch to trunk 2011-08-02 12:55:05 +00:00
Vadim Pisarevsky
f0b3cb1845 added getNumberOfCPUs() function 2011-08-02 12:42:58 +00:00
Andrey Kamaev
6be846aa52 Java API: string constants for features2d classes are converted to enums 2011-08-02 11:40:41 +00:00
Vadim Pisarevsky
4884c911fb fixed compile warnings in FLANN about too long integer constants 2011-08-02 11:39:31 +00:00
Andrey Kamaev
d5d897b7cb Java API: added support for read/write functions in features2d 2011-08-02 10:58:26 +00:00
Andrey Pavlenko
d86605f6a7 Java API: class KDTree is added to ignore list, JNI funcs names for renamed classes are fixed 2011-08-02 08:45:06 +00:00
Vladislav Vinogradov
6ff975af9e added gpu::equalizeHist function 2011-08-02 08:33:27 +00:00
Andrey Pavlenko
36a5b6e215 Java API: tests are updated after randu/randn args types changes 2011-08-02 07:57:09 +00:00
Andrey Pavlenko
96ca253a00 Java API: added class pointer ret type support, CV_EXPORTS_AS(x) support for classes, vector<T> as ret type support, randu/randn params type changed to double 2011-08-01 16:11:24 +00:00
Andrey Morozov
d0176d69f2 fixed property for ffmpeg 2011-08-01 16:05:34 +00:00
Andrey Kamaev
d8b93b3569 Minor bugfix. 2011-08-01 15:06:11 +00:00
Andrey Kamaev
10ea580fa8 Java API: Added more classes from features2d. 2011-08-01 14:31:38 +00:00
Vladislav Vinogradov
33df5ea07b added gpu::calcHist function 2011-08-01 13:15:37 +00:00
Andrey Kamaev
69352e5241 Java API: Added base port of features2d.DescriptorMatcher class 2011-08-01 12:47:04 +00:00
Vadim Pisarevsky
f85b9754e0 fixed Vec*scalar operations, fixed minEnclosingCircle Python interface. 2011-08-01 12:01:43 +00:00
Kirill Kornyakov
5868875ab9 doc: added maxSize parameter to CascadeClassifier::detectMultiScale 2011-08-01 08:23:03 +00:00
Vladislav Vinogradov
e746b3e8ae added buffered version of pyrDown and pyrUp
added stream support to downsample, upsample, pyrUp and pyrDown
2011-08-01 08:15:31 +00:00
Vladislav Vinogradov
cf42f3088d fixed doc bug in gpu/introduction (ticket #1260) 2011-08-01 05:35:34 +00:00
Andrey Kamaev
5041773f0d Java API: updated Mat port 2011-07-31 20:23:23 +00:00
Andrey Morozov
c697f6a3f8 fixed build ffmpeg v0.8.1 2011-07-31 17:34:31 +00:00
Vadim Pisarevsky
a826a983d3 added EMD to ch7 hist sample, fixed bug with cv::min/cv::max (ticket #1270), fixed mixChannels description 2011-07-31 09:23:05 +00:00
Kirill Kornyakov
edead9a2c2 java tests: added some new asserts, and new tests by Hussein Abdinoor 2011-07-30 12:01:00 +00:00
Kirill Kornyakov
c11a7184c9 minarea.cpp sample reformatted 2011-07-30 11:59:09 +00:00
Andrey Morozov
c55a37ad7c fixed build with ffmpeg 0.5.X 2011-07-30 10:26:37 +00:00
Andrey Morozov
c0a0c881ee minor fix 2011-07-30 07:52:06 +00:00
Andrey Pavlenko
b99c5db124 Java API: tests for polylines() and goodFeaturesToTrack(), fix of GFTT corners arg type 2011-07-29 15:18:04 +00:00
Andrey Morozov
418bc6dbe9 minor fix for ffmpeg 2011-07-29 14:37:54 +00:00
Andrey Pavlenko
750c56cc0e adding arg name (to fix doc reference and wrappers consistency) 2011-07-29 14:31:28 +00:00
Leonid Beynenson
dc13ec205d Made additional internal header modules/objdetect/src/cascadedetect.hpp, and moved
some internal classes and template functions from cascadedetect.cpp to this header.
This will allow to make a child class for such classes as LBPEvaluator, etc.
Also made all "private" fields in LBPEvaluator and HaarEvaluator to be "protected".
2011-07-29 14:18:45 +00:00
Andrey Morozov
d87a56a639 added support new ffmpeg (0.8.X) 2011-07-29 14:17:42 +00:00
Andrey Kamaev
680ec04b53 Fixed regex bug in script for java tests coverage calculation 2011-07-29 14:06:02 +00:00
Andrey Kamaev
387e8c9ef5 Java API: star detector is covered by tests 2011-07-29 12:42:23 +00:00
Andrey Pavlenko
f5008f9cdf Java API generator changes randu/randn/inRange args to Scalar; Java tests are updated. 2011-07-29 08:12:00 +00:00
Andrey Kamaev
b7fc94c251 Java API: Finished SURF tests. 2011-07-29 07:39:56 +00:00
Vadim Pisarevsky
db19eb1586 converted part of ch12 2011-07-28 20:51:05 +00:00
Andrey Kamaev
754a8c1b66 Java API: added more tests 2011-07-28 16:03:16 +00:00
Andrey Pavlenko
6b888ada8a Java API tests are added: fillConvexPoly, mixChannels, drawContours 2011-07-28 15:48:08 +00:00
Andrey Pavlenko
8c328a9e3b Java API: typo in converter is fixed 2011-07-28 15:37:46 +00:00
Vadim Pisarevsky
0c096b3dc2 fixed floodfill with mask parameter when no mask is passed 2011-07-28 14:10:17 +00:00
Andrey Pavlenko
d2080a117e Java API: converter for vector<KeyPoint> is fixed; test for inRange() improved 2011-07-28 14:08:55 +00:00
Andrey Pavlenko
ec1023813f Java API: KeyPoint::toString() is added 2011-07-28 13:09:58 +00:00
Andrey Pavlenko
d2233f9de2 Java API: converters vector<> to/from Mat are fixed 2011-07-28 12:43:22 +00:00
Andrey Kamaev
954f3c1eb9 Java: fixed Mats comparison; added resahpe mathod to core.Mat; fixed test resources extraction. 2011-07-28 12:13:11 +00:00
Andrey Pavlenko
3f5089411a 2 'findContours(...)' tests are added 2011-07-28 11:28:33 +00:00
Vadim Pisarevsky
7c54ebfe1b corrected OpenEXR status in CMakeLists.txt 2011-07-27 20:53:19 +00:00
Vadim Pisarevsky
3636eec789 fixed flow matrix dimensionality in EMD 2011-07-27 20:13:50 +00:00
Vadim Pisarevsky
eebe4860da added minEigThreshold parameter to calcOpticalFlowPyrLK to filter out bad points earlier. 2011-07-27 19:07:45 +00:00
Bernat Gabor
6b5ea5931d Added the "Mask operations on matrices" tutorial (with its sample). Plus modified some other core tutorials. 2011-07-27 17:52:27 +00:00
Andrey Kamaev
eb61a62dbc Added missed import 2011-07-27 17:17:32 +00:00
Andrey Kamaev
eff9eda9a6 Added some new tests for Java API 2011-07-27 17:06:33 +00:00
Andrey Kamaev
e3ede92db6 Added vector_Point3f_to_Mat converter and some java API tests 2011-07-27 16:26:46 +00:00
Andrey Pavlenko
9235a80109 Java API generator: KeyPoint converters from/to Mat 2011-07-27 15:16:24 +00:00
Andrey Kamaev
20b4d0fae9 Added vector_Point2f_to_Mat converter 2011-07-27 15:03:16 +00:00
Andrey Kamaev
c966d077c0 Added some tests; Added assertion for comparing Mats with epsilon. 2011-07-27 14:19:45 +00:00
Andrey Pavlenko
5ba826d297 Java API generator: pointers handling fixed, KeyPoint manual port added 2011-07-27 14:09:49 +00:00
Andrey Kamaev
3b558508be TEGRA optimized add8u, sub8u and logical 8u operations 2011-07-27 13:36:53 +00:00
Vadim Pisarevsky
eac0309324 converted live camera calibration sample 2011-07-27 13:03:59 +00:00
Andrey Kamaev
039fd554f2 Added several Android tests 2011-07-27 12:55:43 +00:00
Bernat Gabor
26bd6b3f5f Added the File Input and Output using XML and YAML files tutorial. 2011-07-27 11:35:11 +00:00
Kirill Kornyakov
f7ff65f5df added java tests for imgproc by Hussein Abdinoor 2011-07-27 07:14:06 +00:00
Andrey Pavlenko
55aab59e26 class & funcs ignore list support is added 2011-07-26 13:40:26 +00:00
Andrey Kamaev
a69c29016c Make build log of Android samples and tests less verbose 2011-07-26 12:59:51 +00:00
Kirill Kornyakov
423ecfb42a added stub java tests 2011-07-26 10:27:51 +00:00
Andrey Kamaev
e22045502d Fixed module detection in gen_javadoc.py script 2011-07-26 09:13:30 +00:00
Andrey Pavlenko
fc7219d1db new tests stubs 2011-07-26 08:17:58 +00:00
Andrey Kamaev
a4af33758d Added Android tests coverage calculation into build 2011-07-26 08:17:52 +00:00
Andrey Pavlenko
d58a5b269d statistic report improved 2011-07-26 07:50:44 +00:00
Andrey Kamaev
617bb92e8c Fixed dependencies for Android projects 2011-07-26 07:32:33 +00:00
Andrey Kamaev
3b59a51347 Fixed pch support on linux 2011-07-26 07:07:38 +00:00
Marius Muja
b5cfe6be32 Specifying correct parameter types for cv::flann::GenericIndex and cv::flann::Index_ 2011-07-25 23:58:54 +00:00
Andrey Pavlenko
55e71a5cd7 a couple of new smoke tests; Mat.java code clean-up 2011-07-25 15:09:16 +00:00
Andrey Kamaev
322b09fc12 Removed outdated stuff from Android build scripts 2011-07-25 13:42:23 +00:00
Andrey Kamaev
e7642f66d9 Fixed install terget for Android examples 2011-07-25 13:17:11 +00:00
Andrey Kamaev
ac7e16fdf6 Fixed camera output format handling 2011-07-25 12:32:33 +00:00
Andrey Pavlenko
4ddc1a6477 script to find Java API methods that not covered by auto-generated JUnit stubs 2011-07-25 12:13:37 +00:00
Andrey Kamaev
b542a38a01 Fixed camera libs setting in Android.mk 2011-07-25 11:18:48 +00:00
Andrey Kamaev
8ab16f66a8 Fixing native camera for Android 2011-07-25 11:16:32 +00:00
Bernat Gabor
2d3606a58f Finished the DFT tutorial for the core section. 2011-07-25 10:06:03 +00:00
Kirill Kornyakov
d0cac8a93a bugfix in cmake for java api 2011-07-25 07:47:18 +00:00
Andrey Kamaev
ddf48c781a Fixed Android build on linux 2011-07-25 07:36:09 +00:00
Bernat Gabor
f25603112a Added Fernandos first tutorial regarding SVMs. Extended the global links (conf.py). Corrected the author names. Minor modification to the dft tutorial. 2011-07-25 07:15:52 +00:00
Andrey Kamaev
f91aad326c Fixed precompiled headers support for opencv_test_gpu 2011-07-24 22:07:43 +00:00
Andrey Kamaev
0f6503d9a9 Fixed precompiled headeds for non-windows systems. 2011-07-24 21:08:36 +00:00
Andrey Kamaev
a17b693aa9 Fixed build of Android samples and tests 2011-07-24 20:44:20 +00:00
Andrey Kamaev
3aea74d408 Fixed precompiled headers support (fixed formatting, fixed dependencies generation) 2011-07-24 19:22:58 +00:00
Maria Dimashova
221422467e fixed priors usage in ertrees 2011-07-24 18:15:53 +00:00
Vadim Pisarevsky
d8417af086 fixed and improving formatting in opencv2refman.pdf. added support for n-channel mask in Mat::copyTo() and n-channel images in cv::compare(). fixed 2 compile warnings in opencv_python. 2011-07-24 10:34:14 +00:00
Vadim Pisarevsky
df78bc04d6 converted book samples from ch4; fixed potential alignment problems in QTKit video capturing module 2011-07-23 19:11:17 +00:00
Andrey Kamaev
98375e1d4b Refactoring of native camera implementation 2011-07-22 15:37:01 +00:00
Bernat Gabor
ffe7a658fb Sample files for image scanning, basic Mat, file I/O. Added Victors removed tutorials back in the system. Some typo fixing.Expanded conf.py with new global links. 2011-07-22 15:11:59 +00:00
Andrey Pavlenko
3d9cb082c9 making CV data type to be int 2011-07-22 15:11:35 +00:00
Andrey Kamaev
8378ba7554 Fixed Android package build 2011-07-22 14:11:16 +00:00
Kirill Kornyakov
387334e991 java tests: imgproc test cleaned 2011-07-22 13:58:53 +00:00
Andrey Pavlenko
e9cd8296af fixed warnings in generated Java code (accurate imports) 2011-07-22 13:53:49 +00:00
Andrey Kamaev
ebf9916242 Fixed android samples; fixed cmake files 2011-07-22 13:34:25 +00:00
Anatoly Baksheev
cb9dd71f82 compilation 2011-07-22 13:26:31 +00:00
Anatoly Baksheev
de204fe413 2011-07-22 13:24:27 +00:00
Andrey Kamaev
712ea05058 Refactored CMakeLists.txt for java module 2011-07-22 13:10:50 +00:00
Vadim Pisarevsky
41df54e75f fixed several typoes and errors in the refman (ticket #1203) 2011-07-22 12:50:49 +00:00
Kirill Kornyakov
1098566a2f java api: fixed ctor in RotatedRect, added 114 tests by Hussein Abdinoor 2011-07-22 12:47:11 +00:00
Andrey Pavlenko
2bc9bca349 classes/files renaming, some code refactoring 2011-07-22 12:35:52 +00:00
Vadim Pisarevsky
b700521b95 fixed trim_weights in boosting (thanks to frankman for the patch; ticket #1231) 2011-07-22 12:20:43 +00:00
Vadim Pisarevsky
216fbc004a fixed printing Mx0 matrices (ticket #1247) 2011-07-22 12:15:22 +00:00
Kirill Kornyakov
ed96af94cc added mk files for NDK-builder of opencv_java project 2011-07-22 10:44:40 +00:00
Andrey Pavlenko
83e2ecd5e1 renaming the class and file to Tiltle case to meet Java conventions 2011-07-22 07:43:33 +00:00
Andrey Pavlenko
e92ad9275d renaming the class and its file 2011-07-22 07:41:22 +00:00
Andrey Pavlenko
a89b4f019c renaming the class and file to Tiltle case to meet Java conventions 2011-07-22 07:40:24 +00:00
Andrey Kamaev
e9458c1f6d Errors from javadoc generator are redirected to log file. 2011-07-22 06:13:04 +00:00
Andrey Kamaev
bba5653bf0 Added option to automatically move constants to private list 2011-07-22 04:54:19 +00:00
Andrey Kamaev
078eae7154 Added cmake dependency on version.hpp. From now cmake will automatically rerun if version.hpp file is changed. 2011-07-21 21:44:48 +00:00
Andrey Kamaev
0067c755dd Minor android.toolchain.cmake enhancement 2011-07-21 21:43:41 +00:00
Vadim Pisarevsky
0bf4d9ec2b fixed Xcode 4.1 compile errors in png codec in highgui 2011-07-21 19:50:20 +00:00
Andrey Kamaev
6d288978ab Fixed typo 2011-07-21 19:05:21 +00:00
Andrey Pavlenko
eb5e22dd74 Java API generator: refactored manual const and funcs handling, collected real 'import' needs for java classes (to eliminate eclipse warnings in java classes) 2011-07-21 17:20:17 +00:00
Vadim Pisarevsky
a28112472c put the smaller opencv_tutorials.pdf to SVN 2011-07-21 13:41:40 +00:00
Vadim Pisarevsky
84862ae5a1 fixed 2 typos in linux_eclipse tutorial 2011-07-21 13:36:32 +00:00
Andrey Kamaev
8782914fc8 Aded setPreviewDisplay call to java camera samples 2011-07-21 09:57:46 +00:00
Maria Dimashova
0d7a37c1e7 added an ability to make push_back to the empty matrix 2011-07-21 09:38:25 +00:00
Anatoly Baksheev
3a1beb1c01 added cv::gpu::pow, ticket #1227 2011-07-21 08:47:44 +00:00
Gary Bradski
c722128ddd edited another way of using eclipse using cmake 2011-07-21 01:03:41 +00:00
Vadim Pisarevsky
bddcc6ffcc fixed xcolor warnings when building opencv_tutorials.pdf 2011-07-20 22:21:32 +00:00
Andrey Kamaev
f6647085cd Restored corrupted images in Android binary package tutorial. 2011-07-20 19:24:21 +00:00
Bernat Gabor
43e083f145 Ok, now optimized the tutorial size for real. Made JPG/PNG optimization for all the images. Modified some tutorial files to follow these size optimizations. Now the tutorial PDF generated is 3.95MB, so enjoy! 2011-07-20 18:08:25 +00:00
Alexey Spizhevoy
a23406ea6c added missing header 2011-07-20 12:56:21 +00:00
Andrey Kamaev
5a2e493d12 Fixed image positioning in tutorial 2011-07-20 11:21:00 +00:00
Andrey Kamaev
27f060c707 Fixed list formatting 2011-07-20 07:54:08 +00:00
Andrey Kamaev
22dcee47d3 Added Android binary package tutorial 2011-07-20 05:39:55 +00:00
Bernat Gabor
a2975f337a 1) Converted all images to JPG to reduce size.
2) Added a raw Latex page break directive after each TOC tree. (For the PDF tutorial look).
3) Two finished tutorials: 
   a) one describing how the Mat data structure works and its output capabilities (format function) (demonstration YouTube video included).
   b) one describing image scanning operations plus the LUT function (demonstration YouTube video included). 
   c) a basic filtering approach (plus multi row image scanning demonstration) in the work.
2011-07-19 22:08:54 +00:00
Andrey Kamaev
f503b029a7 Allowed to build html documentation without pdf documentation. 2011-07-19 20:27:58 +00:00
Andrey Kamaev
05ff8217e0 Removed debug print form cmake 2011-07-19 17:09:44 +00:00
Andrey Kamaev
930b2995eb Fixed Android samples; Fixed bugs in cmake (java module). 2011-07-19 17:07:01 +00:00
Andrey Pavlenko
fd4fe3ef5a Java API generator: updated CvException class path 2011-07-19 16:59:12 +00:00
Andrey Pavlenko
4df98f2c2c Java API generator: class properties support added 2011-07-19 16:47:49 +00:00
Kirill Kornyakov
6b789dd2ea java tests: adopted for the new package structure 2011-07-19 16:08:26 +00:00
Andrey Kamaev
dfdb15be79 Added Java packages support to cmake 2011-07-19 15:37:17 +00:00
Andrey Pavlenko
070579d9c3 Java API generator: fixed consts generation 2011-07-19 15:04:05 +00:00
Andrey Pavlenko
84ec0d2881 Java API packages restructured (require further changes in CMake part to work) 2011-07-19 13:25:40 +00:00
Vadim Pisarevsky
f4f2340039 fixed just introduced compile errors on Mac 2011-07-19 13:07:51 +00:00
Vadim Pisarevsky
ff5e97c8e4 added COVAR_ and SORT_ enums to core.hpp; fixed many, many VS2005, VS2010 and MinGW (GCC 4.5.2) warnings 2011-07-19 12:27:07 +00:00
Kirill Kornyakov
6bb1c07fd4 java tests: COLOR_RGB2GRAY used instead of CV_BGR2GRAY 2011-07-19 12:25:07 +00:00
Andrey Kamaev
6932203349 Fixed Android samples; updated black list of enums. 2011-07-19 12:10:05 +00:00
Kirill Kornyakov
1fc895ff42 java tests: added tests for calcHist, calcBackProject, Mat.size() method renamed 2011-07-19 11:44:30 +00:00
Kirill Kornyakov
e715894ffb fix by Vadim in calcBackProject: additional case is considered 2011-07-19 11:17:03 +00:00
Andrey Kamaev
d445903b31 Added FPS measurement to some Android samples 2011-07-19 11:06:27 +00:00
Andrey Kamaev
9e00cc59af Added face datection Android sample 2011-07-19 09:01:36 +00:00
Andrey Pavlenko
343bba93db Java API: added int64 and Vec3d support; small code refactoring performed 2011-07-19 08:56:31 +00:00
Andrey Kamaev
5e3e283e30 Changed labels for some android samples 2011-07-19 07:40:26 +00:00
Marius Muja
d8ebf22444 Fixes 2011-07-18 22:01:42 +00:00
Marius Muja
ddc1267410 Checking for already defined proprocessor macros 2011-07-18 22:00:06 +00:00
Marius Muja
481256017e Fixing ticket #1230 2011-07-18 21:57:28 +00:00
Kirill Kornyakov
39ec7099e2 java tests: split test, minor improvements 2011-07-18 16:41:17 +00:00
Vadim Pisarevsky
1badec0b2d eliminated opencv_extra_api.hpp (all the functionality is moved to the regular OpenCV headers) 2011-07-18 16:31:30 +00:00
Andrey Kamaev
72541721a1 Added image-manipulations android sample, other samples are updated; added Mat.size method to java API. 2011-07-18 16:17:07 +00:00
Andrey Pavlenko
3119af1c72 Java API: fixed bug in converter vector<Mat> <-> Mat 2011-07-18 16:07:11 +00:00
Andrey Pavlenko
60d59aa9d2 Java API: added missing converter vector<Mat> <-> Mat 2011-07-18 14:23:45 +00:00
Andrey Pavlenko
d989b6c89a Java API: added pointers support (Point*, double*) 2011-07-18 13:56:49 +00:00
Kirill Kornyakov
51922658b6 java tests: added test for OFLK, FD, other improvements 2011-07-18 13:50:36 +00:00
Vadim Pisarevsky
16ba62dcd5 added COLOR_... enumeration to imgproc.hpp and EVENT_... enumeration to highgui.hpp 2011-07-18 13:05:34 +00:00
Andrey Pavlenko
86105b8727 Java API: fix in Mat::put(r,c,double[]vals) method 2011-07-18 09:27:48 +00:00
Andrey Kamaev
cc3c034cf6 Android samples: class SampleViewBase which uses native camera is renamed. 2011-07-18 09:13:05 +00:00
Andrey Pavlenko
1e2880b7aa Java API: fix in Mat::put methods, general improvements 2011-07-18 07:18:35 +00:00
Alexander Mordvintsev
bcac8769b5 fixed broken python cv2.cpp build after rev.6089 2011-07-18 06:48:55 +00:00
Alexander Mordvintsev
af99bee344 adjust cosine threshold in squares.py 2011-07-17 19:23:24 +00:00
Marius Muja
c071f5487e Fixing ticket #1228 2011-07-17 06:26:40 +00:00
Andrey Kamaev
be2c4ddbdd Android:
* Added manual port for getTextSize;
* Fixed bugs in "native camera" sample;
* Added 15-puzzle sample.
2011-07-16 22:31:47 +00:00
Alexander Mordvintsev
ae5dd1d748 math.pi -> np.pi
squares.py sample added
2011-07-16 18:29:51 +00:00
Leonid Beynenson
570041fed5 Fixed bug in modules/java/src/cpp/Mat.cpp
Removed some debugging insertions.
Added test for face detector.
Allowed tests to write on sdcard.
2011-07-16 13:29:20 +00:00
Andrey Pavlenko
75bcb1bcfa Java API generator: implementation of vector<> fixed 2011-07-16 11:40:04 +00:00
Leonid Beynenson
3885772f3e Added lbp cascade to the tests res/raw folder 2011-07-16 11:26:57 +00:00
Leonid Beynenson
bf40a3a5b8 Added functions required for Java API wrappers generating converting Mat-s to/from vectors. 2011-07-16 11:25:33 +00:00
Kirill Kornyakov
e76ad5509c java tests: bugfix in hconcat 2011-07-16 10:35:50 +00:00
Kirill Kornyakov
eafa837e34 java tests: commited tests by Hussein Abdinoor 2011-07-16 10:25:05 +00:00
Vadim Pisarevsky
f2e1a64c1b fixed "import cv" in the new python samples. corrected Python bindings to match the documentation and vice versa (NOTE: in cv2.stereoCalibrate the parameter ordering has been changed) 2011-07-16 09:35:56 +00:00
Andrey Pavlenko
5a5fe40542 Java API generator: implementation of vector<Point> support 2011-07-16 08:25:05 +00:00
Andrey Pavlenko
ecba099754 Java API generator improvements:
- fixed return of complex types (Scalar, Point, etc)
- partial implementation of vector<> support (empty stubs for CPP-side converters)
2011-07-16 07:59:34 +00:00
Kirill Kornyakov
30f265a16a java tests: avoided copy and paste 2011-07-16 07:26:13 +00:00
Vadim Pisarevsky
8f41b2b23b commented off print (due to the report from the mailing list) 2011-07-15 19:43:34 +00:00
Andrey Kamaev
4cf1274327 Finished Android samples renaming 2011-07-15 16:50:41 +00:00
Andrey Kamaev
8288cc108d Continued Android samples renaming 2011-07-15 16:29:10 +00:00
Leonid Beynenson
b1ed277110 Added Java functions, converting vectors to Mats and Mats to vectors. 2011-07-15 16:25:47 +00:00
Andrey Kamaev
7c6fc6e18a Android samples are renamed 2011-07-15 15:56:08 +00:00
Andrey Kamaev
39dab5e0cf Headers are included into opencv_java build 2011-07-15 15:26:29 +00:00
Andrey Pavlenko
4deec6f0f0 partial vector<> support in Java API generator 2011-07-15 15:01:25 +00:00
Andrey Kamaev
cc447448ff Added native camera Android sample; Added manual port of VideoCapture class. 2011-07-15 14:03:53 +00:00
Leonid Beynenson
c3d40ca0dd Changed 2011-07-15 13:59:06 +00:00
Leonid Beynenson
8625b5689d Added setters to Java API 2011-07-15 11:09:23 +00:00
Kirill Kornyakov
c1dab7bf6e updated some java tests 2011-07-15 11:00:32 +00:00
Andrey Kamaev
fae67e0b46 Refactored Android samples 2011-07-15 09:07:01 +00:00
Andrey Kamaev
72a55a4139 Refactored Android sample (1-java) 2011-07-15 07:18:45 +00:00
Evgeniy Kozinov
c3e9d0dd7e fixed parser bug.
fixed TBB version in LatentSVM.
example works ok.
2011-07-15 06:35:12 +00:00
Andrey Kamaev
a9508d2f67 Fixed android sample 2011-07-15 04:46:24 +00:00
Leonid Beynenson
c8a603d853 Fixed bug in the function of search of Android applicvation path. 2011-07-14 18:41:09 +00:00
Andrey Kamaev
b16fb5d518 Fixed Android build. 2011-07-14 16:48:15 +00:00
Vadim Pisarevsky
7702fa4d61 added improved version of the variational stereo correspondence algorithm by Sergey Kosov 2011-07-14 15:30:28 +00:00
Andrey Pavlenko
5f0c312087 - partial 'vector' support in Java API generator
- const ignore mask list added for Java API generator
2011-07-14 15:24:17 +00:00
Vadim Pisarevsky
12715c210d fixed mixed-type arithmetic operations (ticket #1224) 2011-07-14 14:54:05 +00:00
Leonid Beynenson
0db73575a6 Added class TermCriteria. 2011-07-14 14:52:58 +00:00
Vadim Pisarevsky
e33bfb5ebf added haarcascades for ears detection (by Modesto Castrillón Santana) 2011-07-14 14:43:25 +00:00
Kirill Kornyakov
da64ba1bde java tests: found a reason of crash (addWeighted bug #1224), some tests cleaned and added 2011-07-14 14:25:35 +00:00
Vadim Pisarevsky
2dea07f9f8 repaired Python bindings for functions using InputOutputArray 2011-07-14 14:13:10 +00:00
Andrey Kamaev
f97e5f7353 Modified Android samples 2011-07-14 13:39:25 +00:00
Kirill Kornyakov
87ad9b1c3e samples C/C++: fixed compilation problem on Ubuntu 2011-07-14 12:50:07 +00:00
Andrey Kamaev
14bc6e3e6c Modified Android Samples 2011-07-14 12:47:07 +00:00
Vadim Pisarevsky
08f1f5769a ok. enabled TBB in LatentSVM, but need to check if it works 2011-07-14 12:11:18 +00:00
Vadim Pisarevsky
36ba3d691e temporarily switch off TBB 2011-07-14 11:51:43 +00:00
Vadim Pisarevsky
ca2433c212 fixed opencv_flann (with flann 1.6) compile errors on Windows (VS2005 & VS2008) 2011-07-14 11:26:13 +00:00
Andrey Kamaev
c52ab82bbf Minor Android samples fix 2011-07-14 10:48:48 +00:00
Andrey Kamaev
85c8a69fdf Fixed Android packaging script 2011-07-14 10:03:19 +00:00
Andrey Kamaev
20ec29f22e Android samples are included into the Android package 2011-07-14 09:34:57 +00:00
Andrey Kamaev
a70f354c0f Andoid build fixed 2011-07-14 08:57:46 +00:00
Leonid Beynenson
510ca53687 Added the function minMaxLoc to JavaAPI as a manual ported function.
Added test for the function.
2011-07-14 08:36:48 +00:00
Andrey Pavlenko
ab1ff12a71 class ignore list added for Java API generator 2011-07-14 08:15:35 +00:00
Andrey Pavlenko
a99b80b1a9 funcs ignore list added for Java API generator 2011-07-14 08:10:47 +00:00
Andrey Kamaev
0b57d904db Fixed Android compilation on Windows 2011-07-14 07:44:33 +00:00
Andrey Kamaev
87cfcc8ee2 Fixed Android build 2011-07-14 07:04:36 +00:00
Vadim Pisarevsky
562914e33b upgraded to FLANN 1.6. Added miniflann interface, which is now used in the rest of OpenCV. Added Python bindings for FLANN. 2011-07-13 23:04:39 +00:00
Ana Huaman
4e42bf6308 Added reST tutorials for Contours (6 in imgproc) and for Corner Detection (4 in features2D) + links in conf.py 2011-07-13 17:53:45 +00:00
Maria Dimashova
b64bb95860 added ability to reset view point of depth generator to normal one (#1195) 2011-07-13 17:05:57 +00:00
Andrey Kamaev
4d8a261d99 Allowed spaces in path to OpenCV (tested only Android build) 2011-07-13 15:47:04 +00:00
Andrey Kamaev
0b6fed32e3 Allowed spaces in Android NDK path 2011-07-13 14:48:16 +00:00
Andrey Pavlenko
801079e2ba partial implementation of complex out args in Java wrappers 2011-07-13 14:23:47 +00:00
Andrey Kamaev
066039fd15 Improved ANDROID_SDK_TARGET detection; improved NDK detection in android.toolchain.cmake 2011-07-13 13:06:14 +00:00
Ilya Lysenkov
2c2d7d7bbd Fixed findCirclesGrid for the case of working with 'square' asymmetric patterns. 2011-07-13 13:05:41 +00:00
Leonid Beynenson
d60349b1fc Added to Java API classes Range and CvSlice. 2011-07-13 11:23:32 +00:00
Vadim Pisarevsky
a69bd80b99 fixed opencv_video tests 2011-07-13 10:18:13 +00:00
Andrey Kamaev
6c668dd704 Fixed Android SDK searching 2011-07-13 09:17:41 +00:00
Andrey Kamaev
355f6d0a73 Fixed Android SDK searching 2011-07-13 09:10:21 +00:00
Vadim Pisarevsky
5352684647 fixed memleak in Python bindings (ticket #1219) 2011-07-13 08:55:06 +00:00
Vadim Pisarevsky
386f147597 a few minor fixes in Python samples 2011-07-13 06:19:21 +00:00
Ana Huaman
f098d98908 Added moments_demo.cpp 2011-07-13 03:28:23 +00:00
Ana Huaman
bbba2a0608 Added pointPolygonTest_demo code for tutorials 2011-07-13 02:43:02 +00:00
Andrey Pavlenko
fbfddbd3ea - 'c_string' support added to Java API
- improved CV_IN_OUT/CV_OUT handling for generated Python/Java wrappers
2011-07-12 21:13:56 +00:00
Ana Huaman
9aa5e5b000 Added generalContours_demo2.cpp 2011-07-12 21:06:36 +00:00
Ana Huaman
c21b747733 Added hull_demo.cpp code for tutorials 2011-07-12 20:28:50 +00:00
Ana Huaman
edc1bd4c8c Added generalContours_demo1.cpp tutorial code 2011-07-12 19:51:23 +00:00
Evgeniy Kozinov
07eed8c489 refactoring latentSVM 2011-07-12 18:43:41 +00:00
Ana Huaman
ea8e27961e Added sample code for tutorial findContours_demo.cpp 2011-07-12 18:40:51 +00:00
Andrey Kamaev
ecfc8e97db Android toolchain default NDK path is updated for version r6 2011-07-12 17:20:48 +00:00
Leonid Beynenson
0ddc661882 Fixed bug in the operator of cv::Ranges-s intersection (operator &). 2011-07-12 16:33:26 +00:00
Andrey Kamaev
bee4c347ba Fixed bug with ARM_TARGET caching 2011-07-12 16:22:52 +00:00
Andrey Kamaev
6623fe3b08 Added option INSTALL_ANDROID_EXAMPLES (default off); Added option for choosing SDK platform for Android tests and samples. 2011-07-12 15:59:31 +00:00
Vadim Pisarevsky
49c48aabff fixed typo in the license (ticket #1211) 2011-07-12 15:59:15 +00:00
Leonid Beynenson
e59f530338 Added the class RotatedRect to Java API.
Added tests for the class.
2011-07-12 15:39:38 +00:00
Kirill Kornyakov
b58dc21074 java tests: added 2 tests for calib3d, implemented assertMatNotEqual 2011-07-12 15:10:54 +00:00
Kirill Kornyakov
63f8feb2a1 java tests: added a chessboard image 2011-07-12 14:53:09 +00:00
Andrey Pavlenko
7ca50b2b3d org.opencv.utils renamed to org.opencv.android 2011-07-12 13:31:02 +00:00
Andrey Pavlenko
bc9a9b714c adding runtime Android logging in Debug 2011-07-12 13:13:02 +00:00
Andrey Kamaev
7159845021 Added packaging script for Android 2011-07-12 12:59:26 +00:00
Vadim Pisarevsky
569b1ad582 embeded cv Python module into cv2. 2011-07-12 12:56:03 +00:00
Kirill Kornyakov
9b464199d6 java tests: Mat.inv and Mat.cross implemented, almost all Mat tests finished except put, get and dispose 2011-07-12 08:16:01 +00:00
Andrey Kamaev
2dd965b7f5 minor cmake corrections 2011-07-12 07:40:29 +00:00
Ana Huaman
7386269943 Added cornerDetector_Demo.cpp sample for tutorial of cornerMinEigenVal and cornerEigenValsAndVecs 2011-07-12 00:20:06 +00:00
Vadim Pisarevsky
21409de176 optimized sparse LK optical flow (tickets #1062 and #1210) 2011-07-11 23:03:05 +00:00
Ana Huaman
442f6b4100 Added cornerSubPix_Demo.cpp tutorial sample code 2011-07-11 22:03:23 +00:00
Ana Huaman
6c9f4d6423 Added goodFeaturesToTrack_Demo.cpp code for tutorials 2011-07-11 21:08:35 +00:00
Ana Huaman
e2da35dc6e Added Harris corner detection sample tutorial 2011-07-11 19:59:17 +00:00
Andrey Pavlenko
4033d8324c native exception handling added 2011-07-11 15:28:09 +00:00
Kirill Kornyakov
d227079753 java tests: added stubs for calib3d, features2d classes, some other updates 2011-07-11 15:19:53 +00:00
Andrey Kamaev
ec866c5acd Improved rst_parser and javadoc generation scripts 2011-07-11 15:03:42 +00:00
Andrey Kamaev
dfe7708f17 Improved javadoc comments generation scripts; fixed some typos in documentation 2011-07-11 13:33:05 +00:00
Andrey Pavlenko
eea62ca6fb - added missing loadLibrary for inner classes
- added zero check for pointers in utils.cpp
2011-07-11 12:21:58 +00:00
Alexander Mordvintsev
3511bf81de help message printing 2011-07-11 09:59:23 +00:00
Alexander Mordvintsev
c053532be1 sobel -> Sobel 2011-07-11 09:46:36 +00:00
Alexander Mordvintsev
0217ae3a70 faster detection and timing in facedetect.py 2011-07-11 09:21:27 +00:00
Andrey Pavlenko
b5d864f579 'clib3d' support added 2011-07-11 08:33:12 +00:00
Alexander Mordvintsev
2a19db61e7 command line option for avi output in turing.py 2011-07-11 08:06:51 +00:00
Alexander Mordvintsev
848fa23a07 made boundingRects argument of segmentMotion CV_OUT
updated documentation
2011-07-11 07:51:15 +00:00
Alexander Mordvintsev
c9d9d1ec92 lk_track.py window renamed 2011-07-11 07:47:56 +00:00
Alexander Mordvintsev
b175348d93 motempl.py sample works 2011-07-11 07:42:37 +00:00
Alexander Mordvintsev
b509cc2a4d contours.py sample added 2011-07-10 22:06:33 +00:00
Alexander Mordvintsev
514711af14 work on motempl.py sample 2011-07-10 21:23:32 +00:00
Alexey Spizhevoy
8a3d1937c3 fixed BFM GPU test compile-time error on ubuntu x64 in debug mode 2011-07-09 07:32:14 +00:00
Bernat Gabor
4168b75edc Some tutorial extending of the Windows install and usage. Display Image retouching. 2011-07-08 19:43:29 +00:00
Vadim Pisarevsky
6f6c1c75ba use Euler font for the formulas in the online docs too. 2011-07-08 16:25:09 +00:00
Vadim Pisarevsky
3f0c17b592 re-added the opencv_flann documentation 2011-07-08 16:14:13 +00:00
Anatoly Baksheev
e1dd41d1e2 - fixed SetTo tests for GPU (a problem in test code)
- minor refactoring
2011-07-08 16:08:58 +00:00
Maria Dimashova
0b1575c485 fixed SIFT when keypoints vector is empty (#1162) 2011-07-08 15:54:57 +00:00
Andrey Kamaev
fbed6d1d44 Javadoc comments genearion is integrated into the Java API build 2011-07-08 15:29:59 +00:00
Vadim Pisarevsky
eff35f2341 fixed timeScale formula in CvCapture_FFMPEG::setProperty(... CV_CAP_PROP_POS_...) (ticket #1207) 2011-07-08 15:03:28 +00:00
Andrey Kamaev
7c43e7e7e0 Improved rst_parser; added javadoc comments generator; added javadoc markers to handwritten .java files 2011-07-08 15:00:11 +00:00
Alexander Mordvintsev
4151a4590e added lk_track.py sample (currently as a comparison between flow tracker implementations) 2011-07-08 14:58:22 +00:00
Andrey Pavlenko
086643f5a7 finalize() added to ported classes; javadoc anchor added to ported funcs 2011-07-08 14:46:41 +00:00
Maria Dimashova
370130e464 fixed PyramidAdaptedFeatureDetector (when mask is not empty) (#1206) 2011-07-08 14:41:43 +00:00
Maria Dimashova
c380dd579b updated whitelist 2011-07-08 14:34:03 +00:00
Alexey Spizhevoy
abe34e3b33 removed debug func. call 2011-07-08 14:00:54 +00:00
Alexey Spizhevoy
e9837b0aa9 added support of old CC into GPU mean shift routines 2011-07-08 13:59:23 +00:00
Alexander Shishkov
b50428bf65 removed -static-libstdc++ flag for compatibility with old MinGW version 2011-07-08 07:10:37 +00:00
Alexander Shishkov
3a8a729a52 removed CPack
added target package_source (tar or zip)
2011-07-08 07:08:59 +00:00
Vadim Pisarevsky
4e099d2e5c fixed memory leak in CvKNearest::train() and the constructor. 2011-07-08 06:48:18 +00:00
Andrey Kamaev
2cf34c7f46 Fixed few more bugs in rst_parser. Fixed small typos in documentation. 2011-07-08 04:31:13 +00:00
Vadim Pisarevsky
ddd57e7496 commented off debugging print in cap_libv4l.cpp (ticket #807) 2011-07-07 22:58:20 +00:00
Vadim Pisarevsky
b0aae19fb4 probably fixed parallel face detector (i.e. built with TBB), ticket #1185. Thanks to mengw for the patch 2011-07-07 22:52:54 +00:00
Vadim Pisarevsky
af00cd5b75 Disabled -ffast-math in the case of GCC 4.6.x (ticket #1201) 2011-07-07 22:35:34 +00:00
Alexander Mordvintsev
c3ef6e866f facedetect.py sample works 2011-07-07 22:33:36 +00:00
Vadim Pisarevsky
db0dcaffeb fixed #1204 2011-07-07 22:10:13 +00:00
Vadim Pisarevsky
5bb8076d7d added centerPrincipalPoint=false to getOptimalNewCameraMatrix (ticket #1199) 2011-07-07 21:38:21 +00:00
Vadim Pisarevsky
38e0f84876 corrected css style - use the same background color for all text elements. 2011-07-07 17:00:09 +00:00
Vadim Pisarevsky
0940573e8b fixed a few more typos in the docs. 2011-07-07 16:59:09 +00:00
Vadim Pisarevsky
462d4a1dae opencl module is not ready for trunk yet 2011-07-07 16:40:44 +00:00
salmanulhaq
1e691daab4 ocl folder contains the gpu implementations 2011-07-07 16:35:20 +00:00
Andrey Kamaev
426c358352 Fixed bugs in rst_parser.py; added parsing of 'seealso' blocks 2011-07-07 16:33:02 +00:00
salmanulhaq
fe86d25694 renamed gpu to ocl 2011-07-07 16:21:20 +00:00
salmanulhaq
e22ad8050b OclMat implementation 2011-07-07 16:20:43 +00:00
Alexander Mordvintsev
9af213bf60 work on facedetect sample 2011-07-07 16:14:49 +00:00
salmanulhaq
64de562db2 Update OclMat to match GpuMat. Include ref counting, opearators, Scalar initialization. Tested for Intel OCL SDK. 2011-07-07 16:06:26 +00:00
Andrey Pavlenko
7432fc1d2d - 'String' (that is synonym of std::string) is added
- report generation added (<module>.txt)
2011-07-07 15:40:54 +00:00
Andrey Kamaev
ed8a2af9b6 Improved rst parser; fixed bug in hdr_parser; some small fixes in documentation 2011-07-07 14:49:24 +00:00
Kirill Kornyakov
72cc69e431 java tests: split into packages, tests for VideoCapture implemented 2011-07-07 14:35:12 +00:00
Vadim Pisarevsky
5649f35757 some more bugfixed in 2.3 propagated to trunk 2011-07-07 11:43:21 +00:00
Andrey Kamaev
58b5256e05 Fixed C functions parsing in rst parser 2011-07-07 11:32:22 +00:00
Andrey Kamaev
741a689f65 Improved RST parser; fixed small typos found by new parser 2011-07-07 11:23:51 +00:00
Alexander Mordvintsev
edf0b40d42 opt_flow.py demo 2011-07-07 07:55:49 +00:00
Alexander Mordvintsev
136d5b534a work on optical flow sample 2011-07-06 19:02:40 +00:00
Ana Huaman
ff326988a5 Added histogram comparison tutorial in reST 2011-07-06 18:57:39 +00:00
Andrey Pavlenko
9f4df42e24 Initial classes support, improved generated java & cpp code formatting. 2011-07-06 18:56:09 +00:00
Ana Huaman
89115f0fcc Added BackProjection reST tutorial 2011-07-06 17:57:19 +00:00
itsyplen
6aab128afe Java tests: commited some core tests (to be cleaned) 2011-07-06 16:25:33 +00:00
Ana Huaman
9c8aafba27 Fixed small inconsistency in sample code calcBackProject_Demo2.cpp 2011-07-06 14:48:46 +00:00
Ana Huaman
cf62a37f87 Added matchTemplate reST tutorial 2011-07-06 14:15:13 +00:00
Ana Huaman
eac922ebd7 Added calcHist tutorial in reST 2011-07-06 09:33:03 +00:00
Bernat Gabor
7a7011bd4f Corrected(re-added) and extended the ImgProc Tutorial TOC entry. 2011-07-06 09:15:54 +00:00
Ana Huaman
080c6e817d Added Equalized Histogram reST tutorial + corrected Smoothing tutorial (images reduced and fixed link) 2011-07-06 04:22:00 +00:00
Bernat Gabor
e18de3c6ab Added the OpenCV with Visual Studio tutorial. Enhanced, extended the Windows Installation one. Some minor CSS changes to avoid unnecessary large spaces inside enumerations in the tutorials. 2011-07-06 00:01:27 +00:00
Ana Huaman
20dd7b70c0 Added tutorial for BackProject in cpp (demo 2) - tutorial code 2011-07-05 18:08:46 +00:00
Andrey Kamaev
3156f27d41 Added initial version of rst_parser script 2011-07-05 17:29:54 +00:00
Kirill Kornyakov
80f0901dee java tests: merged with new CvType, implemented half of the tests for Mat 2011-07-05 16:26:00 +00:00
Andrey Pavlenko
2ef146c2c6 More code review feedbacks addressed: Mat c-tor and setTo uses Scalar, Java Mat::dispose() calls C++ Mat::release(). 2011-07-05 15:50:54 +00:00
Andrey Pavlenko
2cce7a87b8 Some of code review feedbacks addressed: CvType moved from Mat, new Mat c-tor, samples updated. 2011-07-05 14:50:16 +00:00
Kirill Kornyakov
ec6fb0bee2 java tests: now only OpenCVTestRunner contains android specific stuff 2011-07-05 14:03:28 +00:00
Andrey Kamaev
3fc879075b Fixed typo in features2d doc 2011-07-05 13:02:29 +00:00
Kirill Kornyakov
5688b014e9 JavaAPI: implemented Mat.dump method (analog for C++ stream <<) 2011-07-05 08:37:49 +00:00
Andrey Kamaev
ff8fe39e23 removed duplicated compiler flags assignment 2011-07-05 06:42:56 +00:00
Ana Huaman
4f7a8f6fb0 Added calcBackProject_Demo1.cpp for tutorial sample code 2011-07-05 06:20:39 +00:00
Ana Huaman
cc2bfdec30 Added compareHist_demo.cpp code 2011-07-04 23:12:27 +00:00
Ana Huaman
4ae5de7f1e Added MatchTemplate_Demo.cpp to tutorial sample code 2011-07-04 18:58:57 +00:00
Vadim Pisarevsky
b33224f0b6 merged the latest fixes in 2.3 to trunk 2011-07-04 16:18:12 +00:00
Alexander Mordvintsev
55ba0af2bc use addWeighted for blending 2011-07-04 14:13:57 +00:00
Kirill Kornyakov
85166360f1 java tests updated: now they independent from android, test methods are sorted alphabetically 2011-07-04 12:21:56 +00:00
Andrey Kamaev
f301cda780 Fixed 'Undefined control sequence' error in recently added tutorial 2011-07-04 12:19:40 +00:00
Andrey Kamaev
730622178b Turned off android camera and java wrappers for low Android API levels (android-8 is required for these components) 2011-07-04 11:41:39 +00:00
Andrey Kamaev
53ff93f3f9 Removed unnecessary variable disclosures from version config 2011-07-04 11:40:27 +00:00
Alexander Mordvintsev
e9d63665b4 little simplification 2011-07-04 11:38:53 +00:00
Alexander Mordvintsev
15de28b069 turing.py sample added 2011-07-04 11:25:56 +00:00
Bernat Gabor
6be9fbfa6d Reformatted the TOC tables in tutorials to look just as good in PDFs as in HTML. Updated the default.css_t too for this. Added the "Windows Install" tutorial (with videos). 2011-07-04 11:04:56 +00:00
Kirill Kornyakov
43097c6afb lena added 2011-07-04 10:51:06 +00:00
Kirill Kornyakov
1649c8f6d0 some tests for highgui java added 2011-07-04 09:30:55 +00:00
Alexander Mordvintsev
5596c792bc find_obj.py sample added 2011-07-04 09:05:11 +00:00
Andrey Kamaev
d96f533784 Instroduced separate option for Android examples - BUILD_ANDROID_EXAMPLES 2011-07-04 08:18:02 +00:00
Andrey Kamaev
65cb53aa1e Fixed Android tests and samples build 2011-07-04 06:33:10 +00:00
Ana Huaman
6d549490fb Added calcHist_Demo.cpp tutorial code 2011-07-04 03:22:16 +00:00
Ana Huaman
08724393f4 Added tutorial sample code: EqualizeHist_Demo.cpp 2011-07-03 18:55:47 +00:00
Alexander Mordvintsev
d3da43c8e5 distrans.py sample added 2011-07-02 22:21:19 +00:00
Alexander Mordvintsev
724cc5b481 floodfill.py sample added 2011-07-02 16:03:17 +00:00
Andrey Kamaev
1c96aac52e Fixed several cross-compiling issues. Fixed cmake status report. 2011-07-02 15:12:07 +00:00
itsyplen
e1ad6b27cf several java tests added 2011-07-02 12:17:57 +00:00
Alexander Mordvintsev
afad87b5f2 inpaint.py sample added 2011-07-02 07:13:31 +00:00
Alexander Mordvintsev
f0a4185b1f cv.Line -> cv2.line 2011-07-01 17:50:07 +00:00
Alexander Mordvintsev
84568cb18e python Sketcher utility class 2011-07-01 17:33:29 +00:00
Andrey Pavlenko
ee10a38851 #863: typo fixed, minor changes in cpp generator 2011-07-01 15:58:16 +00:00
Andrey Pavlenko
2b83d416b0 #863: default Mat() c-tor, minor improvements 2011-07-01 15:48:13 +00:00
Alexander Mordvintsev
aa695abad2 watershed.py sample added 2011-07-01 15:09:38 +00:00
Vadim Pisarevsky
f8e1e88ce2 we do not need strmiids.lib anymore 2011-07-01 14:03:03 +00:00
Kirill Kornyakov
e958383225 added some tests to core module 2011-07-01 13:34:23 +00:00
Andrey Kamaev
f8e42721d3 HelloAndroid sample is moved to samples/android 2011-07-01 13:12:05 +00:00
Andrey Kamaev
e005570719 Fixed versioning bug: FIND_PACKAGE( OpenCV ) errors if no version specified 2011-07-01 13:11:16 +00:00
Kirill Kornyakov
7fed582d9f implemented static Mat.eye method 2011-07-01 13:11:03 +00:00
Andrey Kamaev
837b733a0a Modified cmake status report 2011-07-01 12:23:03 +00:00
Vadim Pisarevsky
3cbe53c5d2 got back to the old DLL naming scheme (opencv_core230_vs2001_64d.dll => opencv_core230[d].dll) 2011-07-01 12:14:51 +00:00
Vadim Pisarevsky
a5d53e3e2f some more corrections from Gabor 2011-07-01 12:09:39 +00:00
Andrey Pavlenko
c7a3fc5d4e #863: sample text color changed from Green to Red. 2011-07-01 11:12:55 +00:00
Andrey Pavlenko
3159bd1a74 #863: 'string' args support added 2011-07-01 11:10:20 +00:00
Vadim Pisarevsky
6c8a2b8888 propagated fixes in docs and cap_dshow to trunk 2011-07-01 09:39:22 +00:00
Alexander Mordvintsev
382e154cfd morphology python sample 2011-07-01 08:22:45 +00:00
Alexey Spizhevoy
ad454d83b9 added gpu::buildWarpPlaneMaps and gpu::buildWarpCylindricalMaps functions, integrated into stitching 2011-07-01 07:07:54 +00:00
Andrey Kamaev
68f5a5a904 Reverted change from r5802 (it breaks install target for Android platform) 2011-07-01 06:58:53 +00:00
Alexey Spizhevoy
5f4ba8055f added tests for pyrDown and pyrUp (gpu) 2011-07-01 05:37:20 +00:00
Vincent Rabaud
3e1b0186fe - make sure we don't crash for an empty image 2011-07-01 01:28:14 +00:00
Ethan Rublee
74cc1803c4 Version modifications. 2011-07-01 01:25:27 +00:00
Ethan Rublee
08d3dcc709 minor edits to cmake. 2011-07-01 00:57:00 +00:00
Ethan Rublee
38b5d4ecc9 Adding namemangling to the opencv.pc file. 2011-07-01 00:14:09 +00:00
Andrey Kamaev
529f103456 Merged name suffixes for windows (from 2.3 branch) 2011-06-30 19:45:52 +00:00
Andrey Kamaev
ec90265a08 Fixed compilation problem when building without CUDA 2011-06-30 17:01:15 +00:00
hartmut
7f260a0f0b fix for capture 2011-06-30 14:57:27 +00:00
Andrey Kamaev
01b3266612 Fixed Android target name for Android samples and tests 2011-06-30 14:56:39 +00:00
Kirill Kornyakov
9fbd47ffb1 added several tests for java/core module 2011-06-30 14:47:50 +00:00
Alexey Spizhevoy
5d703abdc2 fix for GPU module compile time (VS2010) error (from 2.3 branch) 2011-06-30 14:47:20 +00:00
Alexey Spizhevoy
674b763395 GPU: updated upsample, downsample functions, added pyrDown, pyrUp, added support of 16S filtering; put spherical warper on GPU (from opencv_stitching) 2011-06-30 14:39:48 +00:00
Andrey Kamaev
a44d6aacc8 Android tests are included into cmake build 2011-06-30 14:35:35 +00:00
Alexander Mordvintsev
7f115db7a7 morphology.py sample stub 2011-06-30 14:17:31 +00:00
Andrey Kamaev
150c2215bb Fixed Android tests resources and settings 2011-06-30 14:16:14 +00:00
Ana Huaman
13bbc9ff71 Added Affine Transformation tutorial in reST 2011-06-30 13:42:46 +00:00
Andrey Kamaev
092699783a Added cmake script to build Android samples 2011-06-30 13:37:56 +00:00
Vadim Pisarevsky
995ce4bdcc :ocv:function => :ocv:cfunction for some old API 2011-06-30 12:25:36 +00:00
Kirill Kornyakov
daa31a0696 autogenerated JUnit stub tests added 2011-06-30 12:07:31 +00:00
Vadim Pisarevsky
cc9a1bb62f propagated some more fixes from 2.3 branch to the trunk 2011-06-30 12:06:26 +00:00
Kirill Kornyakov
f4894d57cd opencv_test package renamed to opencv.test 2011-06-30 09:39:30 +00:00
Kirill Kornyakov
217a782d94 opencv_test package renamed to opencv.test 2011-06-30 09:38:07 +00:00
Bernat Gabor
3ff8831ae9 Updated the TOC tree of the imgproc tutorial section. 2011-06-30 09:37:01 +00:00
Kirill Kornyakov
56e26b9624 initial commit of JavaAPI unit tests 2011-06-30 09:29:35 +00:00
Ana Huaman
64c8d8f2a0 Added Remap tutorial in reST 2011-06-30 09:08:04 +00:00
Andrey Kamaev
aa47802e88 Modified version section to read version number from version.hpp;
Added search for ant and Android SDK (needed for Android tests and samples).
2011-06-30 07:24:35 +00:00
Bernat Gabor
5ee8293e7b Mixed up the linux_eclipse.rst file in the previous commit. Correcting it. 2011-06-30 00:59:47 +00:00
Bernat Gabor
762bc0f8af Some reST syntax correction. Now the PDF documentation builds correctly under Windows using MIKTEX. Some update on the tutorial structure. Some CSS syntax correction. Windows Install Tutorial v0.4. 2011-06-30 00:41:41 +00:00
Vadim Pisarevsky
d8ea8ef98a propagated some more fixes from 2.3 branch to the trunk 2011-06-29 22:34:08 +00:00
Vadim Pisarevsky
d5d0a2f8e0 propagated some more fixes from 2.3 branch to the trunk 2011-06-29 22:26:09 +00:00
Vadim Pisarevsky
b204e73d9a propagated some more fixes from 2.3 branch to the trunk 2011-06-29 22:06:42 +00:00
Vadim Pisarevsky
dacd265424 propagated some more fixes from 2.3 branch to the trunk 2011-06-29 22:04:43 +00:00
Gary Bradski
04830e5dc0 Edit load and save to load, modify and save 2011-06-29 21:34:52 +00:00
Vadim Pisarevsky
7cd48accc2 bump version to 2.3.1 in the header too (ticket #1178) 2011-06-29 17:45:41 +00:00
Ana Huaman
0a14f76731 Added 02 cpp sample files for tutorials: remap and Geometric Transformations (warpAffine and Rotation2D) 2011-06-29 17:39:12 +00:00
Vincent Rabaud
b5754550ab fix #1169 2011-06-29 17:01:23 +00:00
Andrey Kamaev
3df6548c4a Android samples fixed - line endings are converted to unix style; autogenerated folders are added to ignore list 2011-06-29 13:42:46 +00:00
Andrey Kamaev
359b76bdad Fixed native camera support in Android.mk 2011-06-29 13:18:20 +00:00
Andrey Kamaev
d6b6734619 Added new Android sample (Java API + Native) 2011-06-29 13:17:02 +00:00
Andrey Kamaev
4b61683071 Added one more Android sample (using OpenCV from native) 2011-06-29 12:26:27 +00:00
Vladislav Vinogradov
724a3c1473 added CUDA version info to gpu tests 2011-06-29 12:00:00 +00:00
Vladislav Vinogradov
52bdfbc7fc added OS info to gpu tests 2011-06-29 11:53:15 +00:00
Vladislav Vinogradov
e8d2dd212c fixed gpu tests 2011-06-29 11:14:03 +00:00
Vladislav Vinogradov
a4182b5da3 fixed build under linux 2011-06-29 10:57:48 +00:00
Vladislav Vinogradov
d1b4b5f0de refactored gpu module tests 2011-06-29 10:14:16 +00:00
Andrey Kamaev
6e3142f04b Added second sample for Android Java API 2011-06-29 08:46:29 +00:00
Andrey Kamaev
96d29621b7 Fixes for path mangling feature 2011-06-29 06:27:08 +00:00
Andrey Kamaev
334cb1dcd1 Android sample is refactored according to Google code style guidelines for Android developers 2011-06-29 05:38:51 +00:00
Ana Huaman
f27796e8cc Added Hough Circle Tutorial in reST 2011-06-29 04:05:17 +00:00
Ana Huaman
d32a134b0f Added Hough Lines Tutorial in reST 2011-06-29 00:20:05 +00:00
James Bowman
1d335bddfc Fix for SSE swapping bug 2011-06-28 23:29:15 +00:00
Ana Huaman
8f01f2cc9f Added 02 tutorials for Hough Lines and Circle detection in tutorial_code -- based on code existent 2011-06-28 19:32:48 +00:00
Ethan Rublee
773654e11a More work on the mangling of install paths. 2011-06-28 19:24:31 +00:00
Ethan Rublee
4f89292aab fix version in version.cmake 2011-06-28 16:19:35 +00:00
Ethan Rublee
6259c9ac6a First pass at name mangling based on version number, to support
side by side installs of OpenCV2.3.0 OpenCV2.3.1 OpenCV2.4.x, etc...
2011-06-28 16:02:09 +00:00
Andrey Kamaev
d673197d01 Added base Android Java sample 2011-06-28 15:12:14 +00:00
Andrey Kamaev
820cecfa2d Fixed windows compatibility problems in Android.mk 2011-06-28 11:34:41 +00:00
Andrey Kamaev
f60bdb2473 Fixed Android.mk file generation 2011-06-28 08:48:23 +00:00
Andrey Kamaev
822b0bfe22 Minor bugfix 2011-06-28 07:20:30 +00:00
Andrey Kamaev
591cb1b3cf Fixed compiler options in Android build (Windows) 2011-06-28 05:51:41 +00:00
Andrey Kamaev
ba7ee71c20 Numerous small fixes in CMakeLists.txt 2011-06-28 05:18:53 +00:00
Vadim Pisarevsky
2776b42a7b propagated fix for Matx(Matx::diag_type) constructor from branch 2.3 to trunk 2011-06-27 20:01:05 +00:00
Vadim Pisarevsky
25887e693b removed the obsolete tests from the trunk as well. 2011-06-27 19:57:56 +00:00
Ana Huaman
832262e376 Added Laplace and Canny reST tutorials and corrected a small bug in Canny sample code 2011-06-27 17:06:54 +00:00
Andrey Kamaev
cf28846bce Fixed OpenCVConfig.cmake generation for windows 2011-06-27 16:55:10 +00:00
Andrey Kamaev
31fcd406e1 Eliminated cmake warning for case when python is not found. 2011-06-27 16:21:22 +00:00
Andrey Kamaev
b43ae03328 * Install path share/opencv is renamed to share/OpenCV.
* Fixed zlib search.
* Fixed compiler/linker flags caching bug.
* Fixed OpenCVConfig.cmake generation (currently tested only on Unix).
2011-06-27 13:59:03 +00:00
Ana Huaman
20ab3d538b Updated conf.py with the latest added external links for tutorial docs 2011-06-27 13:21:01 +00:00
Ana Huaman
e1aa8eead3 Added reST tutorials for copyMakeBorder, Sobel Operator, updated links in conf.py 2011-06-27 08:31:34 +00:00
Andrey Kamaev
f0227edd2c Minor python search improvements 2011-06-27 08:24:10 +00:00
Ana Huaman
ae649e8c30 Added rst Tutorial for Filter 2D 2011-06-27 04:01:01 +00:00
Ana Huaman
3a0d3ebdde Added Laplace, Canny and Sobel samples in tutorial cpp code 2011-06-26 23:09:04 +00:00
Alexander Mordvintsev
0dbbb89e8d added stereo_match.py sample 2011-06-26 21:34:39 +00:00
Ana Huaman
65575cef7e Added two new sample files for copyMakeBorder and filter2D 2011-06-26 18:36:59 +00:00
Vadim Pisarevsky
d195871904 propagated fix for ticket #1168 to trunk 2011-06-25 09:39:41 +00:00
Vincent Rabaud
7c2e74b649 - fix a bug if the descriptor is used for images of different size 2011-06-24 23:21:39 +00:00
Andrey Kamaev
c1940b4ec7 Modified install layout for Android 2011-06-24 15:40:27 +00:00
Ilya Lysenkov
10065d3321 Trunk: moved contructors implementations from .hpp to .cpp 2011-06-24 12:48:00 +00:00
Ilya Lysenkov
2c958b2598 Trunk: moved contructors implementations from .hpp to .cpp 2011-06-24 12:25:52 +00:00
Andrey Kamaev
2edf764eee Added video.hpp header (for convenience with other modules); added option to specify list of headers for Java API generator 2011-06-24 08:13:02 +00:00
Andrey Kamaev
69b79f89c1 Updated build scripts for better Java module support 2011-06-24 07:48:04 +00:00
Ethan Rublee
2ee4f0de31 Merging back 2.3 cmake changes. 2011-06-24 07:12:34 +00:00
Bernat Gabor
42bd52f046 Corrected the place of accent in the name of Ana Huamán. 2011-06-23 22:28:27 +00:00
Bernat Gabor
9426249a88 New structure (following the documentation) for the tutorials. Normalized image sizes for TOC display. 2011-06-23 21:55:24 +00:00
Bernat Gabor
ea70a5ffd6 Cleaning up the doc/tutorials folder in preparation to add thew new structure. 2011-06-23 21:47:16 +00:00
Andrey Kamaev
b5d73111eb Added new module for Java API 2011-06-23 15:51:51 +00:00
Vadim Pisarevsky
f0624c08dc propagated some more changes from 2.3 to trunk 2011-06-23 12:15:35 +00:00
Vadim Pisarevsky
6e613bca9b propagated some more changes from 2.3 to trunk 2011-06-23 12:13:33 +00:00
Vadim Pisarevsky
49467947ac propagated some fixes from 2.3 to trunk 2011-06-23 12:00:09 +00:00
Vadim Pisarevsky
d4fbb2c4fb added missing bdatypes.h 2011-06-23 11:57:27 +00:00
Vadim Pisarevsky
b1bf1deed0 fixed 2 bugs in reference manuals 2011-06-23 11:46:14 +00:00
Andrey Kamaev
e60b8dfba0 Fixed numpy search on Windows x64 2011-06-23 09:16:55 +00:00
Andrey Kamaev
725d771570 Fixed output paths for Android build 2011-06-22 13:27:28 +00:00
Andrey Kamaev
9600ebadf2 Main CMakeLists.txt merged with 2.3 branch 2011-06-22 11:53:15 +00:00
Andrey Kamaev
76bc9f8c20 Removed SWIG from Android toolchain; always search for python; find_program/find_package cmake functions wrapped for case of cross-compiling. 2011-06-22 10:38:57 +00:00
Ana Huaman
3ac024ff6c Added tutorial for threshold in reST and fixed broken links from previous ImgProc tutorials 2011-06-22 02:05:49 +00:00
Ana Huaman
22e59e933b Added Threshold.cpp in samples/cpp/tutorial_code/ImgProc 2011-06-21 23:50:02 +00:00
Ana Huaman
9ce4e87507 Added reST tutorial documentation for Pyramids and added a few links to conf.py 2011-06-21 22:22:31 +00:00
Ana Huaman
5df9da1576 Added Pyramids.cpp sample tutorial code 2011-06-21 20:33:35 +00:00
Vadim Pisarevsky
677d2e508f fix for ticket #1153 propagated to trunk 2011-06-21 11:10:45 +00:00
Ana Huaman
a8d37509fa Added tutorial in reST for Morphology 2 2011-06-21 08:53:37 +00:00
Ana Huaman
2819438fe6 Reorganized code and added Morphology 2 cpp code 2011-06-21 05:06:25 +00:00
Ana Huaman
ae55138a49 Deleting old tutorial files and put them in folders 2011-06-21 03:30:18 +00:00
Ana Huaman
3162b742a3 Folder Intro 2011-06-21 03:27:26 +00:00
Andrey Kamaev
ea58cdc71d (trunk) Do not use prebuilt Android camera libs for armeabi hardware target 2011-06-20 15:57:42 +00:00
Andrey Kamaev
9c71134caf Added generation of OpenCV.mk file for Android development with ndk-build tool 2011-06-20 15:35:05 +00:00
Ilya Lysenkov
ee2aefc270 Minor doc fix 2011-06-20 13:27:37 +00:00
Ilya Lysenkov
fce7ba4eaf Added destroyAllWindows and docs (ticket #957). 2011-06-20 13:24:48 +00:00
Ilya Lysenkov
233dfd252d Qt: fixed signal of a clicked push button (patch #786) 2011-06-20 09:49:21 +00:00
Ilya Lysenkov
3c7055b9ce Qt minor doc enhancement 2011-06-20 09:29:04 +00:00
3460 changed files with 719172 additions and 220287 deletions

55
.gitattributes vendored Normal file
View File

@@ -0,0 +1,55 @@
.git* export-ignore
* text=auto
* whitespace=!indent,trail,space
*.py text whitespace=tab-in-indent,trail,space,fix
*.cpp text whitespace=tab-in-indent,trail,space,fix
*.hpp text whitespace=tab-in-indent,trail,space,fix
*.cxx text whitespace=tab-in-indent,trail,space,fix
*.hxx text whitespace=tab-in-indent,trail,space,fix
*.mm text whitespace=tab-in-indent,trail,space,fix
*.c text whitespace=tab-in-indent,trail,space,fix
*.h text whitespace=tab-in-indent,trail,space,fix
*.i text whitespace=tab-in-indent,trail,space,fix
*.java text whitespace=tab-in-indent,trail,space,fix
*.cu text whitespace=tab-in-indent,trail,space,fix
*.cl text whitespace=tab-in-indent,trail,space,fix
*.cmake text whitespace=tab-in-indent,trail,space,fix
*.cmakein text whitespace=tab-in-indent,trail,space,fix
*.in text whitespace=tab-in-indent,trail,space,fix
CMakeLists.txt text whitespace=tab-in-indent,trail,space,fix
*.rst text whitespace=tab-in-indent,trail,space,fix
*.png binary
*.jepg binary
*.jpg binary
*.exr binary
*.ico binary
*.a binary
*.so binary
*.dll binary
*.pdf binary
*.pbxproj binary
*.vec binary
*.doc binary
*.css_t text
*.qrc text
*.qss text
*.S text
*.xml -text
*.yml -text
*.vcproj text eol=crlf merge=union
*.cproject text eol=crlf merge=union
*.bat text eol=crlf
*.cmd text eol=crlf
*.cmd.tmpl text eol=crlf
*.sh text eol=lf

8
.gitignore vendored Normal file
View File

@@ -0,0 +1,8 @@
*.pyc
.DS_Store
refman.rst
OpenCV4Tegra/
*.user
.sw[a-z]
.*.swp
tags

View File

@@ -1,18 +0,0 @@
if(NOT ZLIB_FOUND)
add_subdirectory(zlib)
endif()
if(WITH_JASPER AND NOT JASPER_FOUND)
add_subdirectory(libjasper)
endif()
if(WITH_JPEG AND NOT JPEG_FOUND)
add_subdirectory(libjpeg)
endif()
if(WITH_PNG AND NOT PNG_FOUND)
add_subdirectory(libpng)
endif()
if(WITH_TIFF AND NOT TIFF_FOUND)
add_subdirectory(libtiff)
endif()
if(WIN32)
add_subdirectory(ffmpeg)
endif()

View File

@@ -1,20 +0,0 @@
project(opencv_ffmpeg)
if(MSVC64 OR MINGW64)
set(FFMPEG_SUFFIX _64)
endif()
set(module_bare_name "opencv_ffmpeg${FFMPEG_SUFFIX}.dll")
set(module_name "${CMAKE_CURRENT_SOURCE_DIR}/${module_bare_name}")
get_target_property(bin_dir opencv_traincascade LOCATION)
get_filename_component(bin_dir ${bin_dir} PATH)
message(STATUS "ffmpeg output dir: ${bin_dir}")
add_custom_target(opencv_ffmpeg ALL
COMMAND ${CMAKE_COMMAND} -E copy
${module_name} ${bin_dir}/${module_bare_name}
COMMENT "Copying ${module_name} to the output directory")
install(FILES ${module_name} DESTINATION bin COMPONENT main)

11
3rdparty/ffmpeg/ffmpeg_version.cmake vendored Normal file
View File

@@ -0,0 +1,11 @@
set(NEW_FFMPEG 1)
set(HAVE_FFMPEG_CODEC 1)
set(HAVE_FFMPEG_FORMAT 1)
set(HAVE_FFMPEG_UTIL 1)
set(HAVE_FFMPEG_SWSCALE 1)
set(HAVE_GENTOO_FFMPEG 1)
set(ALIASOF_libavcodec_VERSION 53.61.100)
set(ALIASOF_libavformat_VERSION 53.32.100)
set(ALIASOF_libavutil_VERSION 51.35.100)
set(ALIASOF_libswscale_VERSION 2.1.100)

View File

@@ -1,2 +1,2 @@
gcc -Wall -shared -o opencv_ffmpeg.dll -O2 -x c++ -I../include -I../include/ffmpeg_ -I../../modules/highgui/src ffopencv.c -L../lib -lavformat -lavcodec -lavdevice -lswscale -lavutil -lwsock32
set path=c:\apps\mingw64\bin;%path% & gcc -Wall -shared -o opencv_ffmpeg_64.dll -O2 -x c++ -I../include -I../include/ffmpeg_ -I../../modules/highgui/src ffopencv.c -L../lib -lavformat64 -lavcodec64 -lavdevice64 -lswscale64 -lavutil64 -lavcore64 -lwsock32
set path=c:\dev\msys32\bin;%path% & gcc -Wall -shared -o opencv_ffmpeg.dll -O2 -x c++ -I../include -I../include/ffmpeg_ -I../../modules/highgui/src ffopencv.c -L../lib -lavformat -lavcodec -lavdevice -lswscale -lavutil -lwsock32
set path=c:\dev\msys64\bin;%path% & gcc -m64 -Wall -shared -o opencv_ffmpeg_64.dll -O2 -x c++ -I../include -I../include/ffmpeg_ -I../../modules/highgui/src ffopencv.c -L../lib -lavformat64 -lavcodec64 -lavdevice64 -lswscale64 -lavutil64 -lavcore64 -lwsock32 -lws2_32

Binary file not shown.

Binary file not shown.

View File

@@ -7,3 +7,38 @@ Otherwise the produced DLL will likely be dependent on libgcc_s_dw2-1.dll or sim
While we want to make the DLLs with minimum dependencies: Win32 libraries + msvcrt.dll.
ffopencv.c is really a C++ source, hence -x c++ is used.
How to update opencv_ffmpeg.dll and opencv_ffmpeg_64.dll when a new version of FFMPEG is release?
1. Install 32-bit MinGW + MSYS from
http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/
Let's assume, it's installed in C:\MSYS32.
2. Install 64-bit MinGW. http://mingw-w64.sourceforge.net/
Let's assume, it's installed in C:\MSYS64
3. Copy C:\MSYS32\msys to C:\MSYS64\msys. Edit C:\MSYS64\msys\etc\fstab, change C:\MSYS32 to C:\MSYS64.
4. Now you have working MSYS32 and MSYS64 environments.
Launch, one by one, C:\MSYS32\msys\msys.bat and C:\MSYS64\msys\msys.bat to create your home directories.
4. Download ffmpeg-x.y.z.tar.gz (where x.y.z denotes the actual ffmpeg version).
Copy it to C:\MSYS{32|64}\msys\home\<loginname> directory.
5. To build 32-bit ffmpeg libraries, run C:\MSYS32\msys\msys.bat and type the following commands:
5.1. tar -xzf ffmpeg-x.y.z.tar.gz
5.2. mkdir build
5.3. cd build
5.4. ../ffmpeg-x.y.z/configure --enable-w32threads
5.5. make
5.6. make install
5.7. cd /local/lib
5.8. strip -g *.a
6. Then repeat the same for 64-bit case. The output libs: libavcodec.a etc. need to be renamed to libavcodec64.a etc.
7. Then, copy all those libs to <opencv>\3rdparty\lib\, copy the headers to <opencv>\3rdparty\include\ffmpeg_.
8. Then, go to <opencv>\3rdparty\ffmpeg, edit make.bat
(change paths to the actual paths to your msys32 and msys64 distributions) and then run make.bat

123
3rdparty/ilmimf/README vendored
View File

@@ -1,123 +0,0 @@
ABOUT THE OPENEXR LIBRARIES
----------------------------
Half is a class that encapsulates our 16-bit floating-point format.
IlmThread is a thread abstraction library for use with IlmImf. It
currently supports pthreads and Windows threads.
IlmImf is our "EXR" file format for storing 16-bit FP images.
Imath is a math library. IlmImf only uses a subset of it,
but we're releasing the full library because it's easier for us to
maintain, and we think it'll be useful to others.
Iex is an exception-handling library.
See the IlmImfExamples directory for some code that demonstrates how
to use the IlmImf library to read and write OpenEXR files. The doc
directory contains some high-level documentation and history about the
OpenEXR format.
If you have questions about using the OpenEXR libraries, you may want
to join our developer mailing list. See http://www.openexr.com for
details.
LICENSE
-------
The OpenEXR source code distribution is free software. See the file
named COPYING (included in this distribution) for details.
WHAT'S INCLUDED
---------------
Besides the core OpenEXR libraries, the release includes several
utilities for reading, writing, viewing, and manipulating OpenEXR
images. These include:
* exrdisplay, an image viewer.
* exrheader, a utility for dumping header information.
* exrstdattr, a utility for modifying OpenEXR standard attributes.
* exrmaketiled, for generating tiled and rip/mipmapped images.
* exrenvmap, for creating OpenEXR environment maps.
* exrmakepreview, for creating preview images for OpenEXR files.
exrdisplay requires FLTK 1.1 or greater and OpenGL. exrdisplay
supports fragment shaders if you have the Nvidia Cg SDK and a graphics
card capable of running fp30 profile fragment shaders. See
exrdisplay/README for details.
We have also released an OpenEXR display driver for Renderman, a file
I/O plugin for Shake, and a file I/O plugin for Adobe Photoshop (on
both Windows and MacOS). These are packaged separately. Go to
http://www.openexr.com to download them. NOTE: the most recent
versions of these applications now have native support for OpenEXR, so
you should only use our open-source versions of the plugins if you
have an older version of the application.
BUILDING OPENEXR
----------------
Building OpenEXR requires the zlib library. If you want to build the
'exrdisplay' image viewer, you'll also need FLTK 1.1, but this program
is not required to use OpenEXR's libraries in your application.
exrdisplay can also accelerate the display of OpenEXR images if you
have the NVIDIA Cg SDK.
Your OS distribution may already include these libraries, or supply
packages for them. That is the preferred way to obtain them for use
with OpenEXR. If not, you can obtain the source code for zlib and
FLTK from:
http://www.zlib.net
http://www.fltk.org
and you can download the NVIDIA Cg SDK from
http://developer.nvidia.com.
If you're building OpenEXR on a Windows platform, see README.win32 for
instructions on how to build OpenEXR. The remainder of this file
applies only to GNU/Linux or other UNIX-like systems.
After installing the required libraries, to build OpenEXR on
GNU/Linux or other UNIX-like systems, do this:
./configure
make
make install
unless you obtained OpenEXR directly from CVS, in which case you
should first read README.CVS.
If you have the Nvidia Cg SDK and you want to build support for
fragment shaders into exrdisplay, specify the path to the SDK using
the "--with-cg-prefix" flag. There are some additional compile-time
configuration options available; type `./configure --help` for more
information.
See README.OSX for details on building OpenEXR in MacOS X.
Do `make check` to run the OpenEXR confidence tests. They should all
pass; if you find a test that does not pass on your system, please let
us know.
Other UNIX variants haven't been tested, but should be easy to build.
Let us know if you're having problems porting OpenEXR to a particular
platform.
All include files needed to use the OpenEXR libraries are installed in the
OpenEXR subdirectory of the install prefix, e.g. /usr/local/include/OpenEXR.
USING OPENEXR IN YOUR APPLICATIONS
----------------------------------
On systems with support for pkg-config, use `pkg-config --cflags
OpenEXR` for the C++ flags required to compile against OpenEXR
headers; and `pkg-config --libs OpenEXR` for the linker flags required
to link against OpenEXR libraries.

502
3rdparty/include/MultiMon.h vendored Normal file
View File

@@ -0,0 +1,502 @@
//=============================================================================
//
// multimon.h -- Stub module that fakes multiple monitor apis on Win32 OSes
// without them.
//
// By using this header your code will get back default values from
// GetSystemMetrics() for new metrics, and the new multimonitor APIs
// will act like only one display is present on a Win32 OS without
// multimonitor APIs.
//
// Exactly one source must include this with COMPILE_MULTIMON_STUBS defined.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//=============================================================================
#ifdef __cplusplus
extern "C" { // Assume C declarations for C++
#endif // __cplusplus
//
// If we are building with Win95/NT4 headers, we need to declare
// the multimonitor-related metrics and APIs ourselves.
//
#ifndef SM_CMONITORS
#define SM_XVIRTUALSCREEN 76
#define SM_YVIRTUALSCREEN 77
#define SM_CXVIRTUALSCREEN 78
#define SM_CYVIRTUALSCREEN 79
#define SM_CMONITORS 80
#define SM_SAMEDISPLAYFORMAT 81
// HMONITOR is already declared if WINVER >= 0x0500 in windef.h
// This is for components built with an older version number.
//
#if !defined(HMONITOR_DECLARED) && (WINVER < 0x0500)
DECLARE_HANDLE(HMONITOR);
#define HMONITOR_DECLARED
#endif
#define MONITOR_DEFAULTTONULL 0x00000000
#define MONITOR_DEFAULTTOPRIMARY 0x00000001
#define MONITOR_DEFAULTTONEAREST 0x00000002
#define MONITORINFOF_PRIMARY 0x00000001
typedef struct tagMONITORINFO
{
DWORD cbSize;
RECT rcMonitor;
RECT rcWork;
DWORD dwFlags;
} MONITORINFO, *LPMONITORINFO;
#ifndef CCHDEVICENAME
#define CCHDEVICENAME 32
#endif
#ifdef __cplusplus
typedef struct tagMONITORINFOEXA : public tagMONITORINFO
{
CHAR szDevice[CCHDEVICENAME];
} MONITORINFOEXA, *LPMONITORINFOEXA;
typedef struct tagMONITORINFOEXW : public tagMONITORINFO
{
WCHAR szDevice[CCHDEVICENAME];
} MONITORINFOEXW, *LPMONITORINFOEXW;
#ifdef UNICODE
typedef MONITORINFOEXW MONITORINFOEX;
typedef LPMONITORINFOEXW LPMONITORINFOEX;
#else
typedef MONITORINFOEXA MONITORINFOEX;
typedef LPMONITORINFOEXA LPMONITORINFOEX;
#endif // UNICODE
#else // ndef __cplusplus
typedef struct tagMONITORINFOEXA
{
MONITORINFO;
CHAR szDevice[CCHDEVICENAME];
} MONITORINFOEXA, *LPMONITORINFOEXA;
typedef struct tagMONITORINFOEXW
{
MONITORINFO;
WCHAR szDevice[CCHDEVICENAME];
} MONITORINFOEXW, *LPMONITORINFOEXW;
#ifdef UNICODE
typedef MONITORINFOEXW MONITORINFOEX;
typedef LPMONITORINFOEXW LPMONITORINFOEX;
#else
typedef MONITORINFOEXA MONITORINFOEX;
typedef LPMONITORINFOEXA LPMONITORINFOEX;
#endif // UNICODE
#endif
typedef BOOL (CALLBACK* MONITORENUMPROC)(HMONITOR, HDC, LPRECT, LPARAM);
#ifndef DISPLAY_DEVICE_ATTACHED_TO_DESKTOP
typedef struct _DISPLAY_DEVICEA {
DWORD cb;
CHAR DeviceName[32];
CHAR DeviceString[128];
DWORD StateFlags;
CHAR DeviceID[128];
CHAR DeviceKey[128];
} DISPLAY_DEVICEA, *PDISPLAY_DEVICEA, *LPDISPLAY_DEVICEA;
typedef struct _DISPLAY_DEVICEW {
DWORD cb;
WCHAR DeviceName[32];
WCHAR DeviceString[128];
DWORD StateFlags;
WCHAR DeviceID[128];
WCHAR DeviceKey[128];
} DISPLAY_DEVICEW, *PDISPLAY_DEVICEW, *LPDISPLAY_DEVICEW;
#ifdef UNICODE
typedef DISPLAY_DEVICEW DISPLAY_DEVICE;
typedef PDISPLAY_DEVICEW PDISPLAY_DEVICE;
typedef LPDISPLAY_DEVICEW LPDISPLAY_DEVICE;
#else
typedef DISPLAY_DEVICEA DISPLAY_DEVICE;
typedef PDISPLAY_DEVICEA PDISPLAY_DEVICE;
typedef LPDISPLAY_DEVICEA LPDISPLAY_DEVICE;
#endif // UNICODE
#define DISPLAY_DEVICE_ATTACHED_TO_DESKTOP 0x00000001
#define DISPLAY_DEVICE_MULTI_DRIVER 0x00000002
#define DISPLAY_DEVICE_PRIMARY_DEVICE 0x00000004
#define DISPLAY_DEVICE_MIRRORING_DRIVER 0x00000008
#define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010
#endif
#endif // SM_CMONITORS
#undef GetMonitorInfo
#undef GetSystemMetrics
#undef MonitorFromWindow
#undef MonitorFromRect
#undef MonitorFromPoint
#undef EnumDisplayMonitors
#undef EnumDisplayDevices
//
// Define COMPILE_MULTIMON_STUBS to compile the stubs;
// otherwise, you get the declarations.
//
#ifdef COMPILE_MULTIMON_STUBS
//-----------------------------------------------------------------------------
//
// Implement the API stubs.
//
//-----------------------------------------------------------------------------
#ifndef _MULTIMON_USE_SECURE_CRT
#if defined(__GOT_SECURE_LIB__) && __GOT_SECURE_LIB__ >= 200402L
#define _MULTIMON_USE_SECURE_CRT 1
#else
#define _MULTIMON_USE_SECURE_CRT 0
#endif
#endif
#ifndef MULTIMON_FNS_DEFINED
int (WINAPI* g_pfnGetSystemMetrics)(int) = NULL;
HMONITOR (WINAPI* g_pfnMonitorFromWindow)(HWND, DWORD) = NULL;
HMONITOR (WINAPI* g_pfnMonitorFromRect)(LPCRECT, DWORD) = NULL;
HMONITOR (WINAPI* g_pfnMonitorFromPoint)(POINT, DWORD) = NULL;
BOOL (WINAPI* g_pfnGetMonitorInfo)(HMONITOR, LPMONITORINFO) = NULL;
BOOL (WINAPI* g_pfnEnumDisplayMonitors)(HDC, LPCRECT, MONITORENUMPROC, LPARAM) = NULL;
BOOL (WINAPI* g_pfnEnumDisplayDevices)(PVOID, DWORD, PDISPLAY_DEVICE,DWORD) = NULL;
BOOL g_fMultiMonInitDone = FALSE;
BOOL g_fMultimonPlatformNT = FALSE;
#endif
BOOL IsPlatformNT()
{
OSVERSIONINFOA osvi = {0};
osvi.dwOSVersionInfoSize = sizeof(osvi);
GetVersionExA((OSVERSIONINFOA*)&osvi);
return (VER_PLATFORM_WIN32_NT == osvi.dwPlatformId);
}
BOOL InitMultipleMonitorStubs(void)
{
HMODULE hUser32;
if (g_fMultiMonInitDone)
{
return g_pfnGetMonitorInfo != NULL;
}
g_fMultimonPlatformNT = IsPlatformNT();
hUser32 = GetModuleHandle(TEXT("USER32"));
if (hUser32 &&
(*(FARPROC*)&g_pfnGetSystemMetrics = GetProcAddress(hUser32,"GetSystemMetrics")) != NULL &&
(*(FARPROC*)&g_pfnMonitorFromWindow = GetProcAddress(hUser32,"MonitorFromWindow")) != NULL &&
(*(FARPROC*)&g_pfnMonitorFromRect = GetProcAddress(hUser32,"MonitorFromRect")) != NULL &&
(*(FARPROC*)&g_pfnMonitorFromPoint = GetProcAddress(hUser32,"MonitorFromPoint")) != NULL &&
(*(FARPROC*)&g_pfnEnumDisplayMonitors = GetProcAddress(hUser32,"EnumDisplayMonitors")) != NULL &&
#ifdef UNICODE
(*(FARPROC*)&g_pfnEnumDisplayDevices = GetProcAddress(hUser32,"EnumDisplayDevicesW")) != NULL &&
(*(FARPROC*)&g_pfnGetMonitorInfo = g_fMultimonPlatformNT ? GetProcAddress(hUser32,"GetMonitorInfoW") :
GetProcAddress(hUser32,"GetMonitorInfoA")) != NULL
#else
(*(FARPROC*)&g_pfnGetMonitorInfo = GetProcAddress(hUser32,"GetMonitorInfoA")) != NULL &&
(*(FARPROC*)&g_pfnEnumDisplayDevices = GetProcAddress(hUser32,"EnumDisplayDevicesA")) != NULL
#endif
) {
g_fMultiMonInitDone = TRUE;
return TRUE;
}
else
{
g_pfnGetSystemMetrics = NULL;
g_pfnMonitorFromWindow = NULL;
g_pfnMonitorFromRect = NULL;
g_pfnMonitorFromPoint = NULL;
g_pfnGetMonitorInfo = NULL;
g_pfnEnumDisplayMonitors = NULL;
g_pfnEnumDisplayDevices = NULL;
g_fMultiMonInitDone = TRUE;
return FALSE;
}
}
//-----------------------------------------------------------------------------
//
// fake implementations of Monitor APIs that work with the primary display
// no special parameter validation is made since these run in client code
//
//-----------------------------------------------------------------------------
int WINAPI
xGetSystemMetrics(int nIndex)
{
if (InitMultipleMonitorStubs())
return g_pfnGetSystemMetrics(nIndex);
switch (nIndex)
{
case SM_CMONITORS:
case SM_SAMEDISPLAYFORMAT:
return 1;
case SM_XVIRTUALSCREEN:
case SM_YVIRTUALSCREEN:
return 0;
case SM_CXVIRTUALSCREEN:
nIndex = SM_CXSCREEN;
break;
case SM_CYVIRTUALSCREEN:
nIndex = SM_CYSCREEN;
break;
}
return GetSystemMetrics(nIndex);
}
#define xPRIMARY_MONITOR ((HMONITOR)0x12340042)
HMONITOR WINAPI
xMonitorFromPoint(POINT ptScreenCoords, DWORD dwFlags)
{
if (InitMultipleMonitorStubs())
return g_pfnMonitorFromPoint(ptScreenCoords, dwFlags);
if ((dwFlags & (MONITOR_DEFAULTTOPRIMARY | MONITOR_DEFAULTTONEAREST)) ||
((ptScreenCoords.x >= 0) &&
(ptScreenCoords.x < GetSystemMetrics(SM_CXSCREEN)) &&
(ptScreenCoords.y >= 0) &&
(ptScreenCoords.y < GetSystemMetrics(SM_CYSCREEN))))
{
return xPRIMARY_MONITOR;
}
return NULL;
}
HMONITOR WINAPI
xMonitorFromRect(LPCRECT lprcScreenCoords, DWORD dwFlags)
{
if (InitMultipleMonitorStubs())
return g_pfnMonitorFromRect(lprcScreenCoords, dwFlags);
if ((dwFlags & (MONITOR_DEFAULTTOPRIMARY | MONITOR_DEFAULTTONEAREST)) ||
((lprcScreenCoords->right > 0) &&
(lprcScreenCoords->bottom > 0) &&
(lprcScreenCoords->left < GetSystemMetrics(SM_CXSCREEN)) &&
(lprcScreenCoords->top < GetSystemMetrics(SM_CYSCREEN))))
{
return xPRIMARY_MONITOR;
}
return NULL;
}
HMONITOR WINAPI
xMonitorFromWindow(HWND hWnd, DWORD dwFlags)
{
WINDOWPLACEMENT wp;
if (InitMultipleMonitorStubs())
return g_pfnMonitorFromWindow(hWnd, dwFlags);
if (dwFlags & (MONITOR_DEFAULTTOPRIMARY | MONITOR_DEFAULTTONEAREST))
return xPRIMARY_MONITOR;
if (IsIconic(hWnd) ?
GetWindowPlacement(hWnd, &wp) :
GetWindowRect(hWnd, &wp.rcNormalPosition)) {
return xMonitorFromRect(&wp.rcNormalPosition, dwFlags);
}
return NULL;
}
BOOL WINAPI
xGetMonitorInfo(HMONITOR hMonitor, __inout LPMONITORINFO lpMonitorInfo)
{
RECT rcWork;
if (InitMultipleMonitorStubs())
{
BOOL f = g_pfnGetMonitorInfo(hMonitor, lpMonitorInfo);
#ifdef UNICODE
if (f && !g_fMultimonPlatformNT && (lpMonitorInfo->cbSize >= sizeof(MONITORINFOEX)))
{
MultiByteToWideChar(CP_ACP, 0,
(LPSTR)((MONITORINFOEX*)lpMonitorInfo)->szDevice, -1,
((MONITORINFOEX*)lpMonitorInfo)->szDevice, (sizeof(((MONITORINFOEX*)lpMonitorInfo)->szDevice)/sizeof(TCHAR)));
}
#endif
return f;
}
if ((hMonitor == xPRIMARY_MONITOR) &&
lpMonitorInfo &&
(lpMonitorInfo->cbSize >= sizeof(MONITORINFO)) &&
SystemParametersInfoA(SPI_GETWORKAREA, 0, &rcWork, 0))
{
lpMonitorInfo->rcMonitor.left = 0;
lpMonitorInfo->rcMonitor.top = 0;
lpMonitorInfo->rcMonitor.right = GetSystemMetrics(SM_CXSCREEN);
lpMonitorInfo->rcMonitor.bottom = GetSystemMetrics(SM_CYSCREEN);
lpMonitorInfo->rcWork = rcWork;
lpMonitorInfo->dwFlags = MONITORINFOF_PRIMARY;
if (lpMonitorInfo->cbSize >= sizeof(MONITORINFOEX))
{
#ifdef UNICODE
MultiByteToWideChar(CP_ACP, 0, "DISPLAY", -1, ((MONITORINFOEX*)lpMonitorInfo)->szDevice, (sizeof(((MONITORINFOEX*)lpMonitorInfo)->szDevice)/sizeof(TCHAR)));
#else // UNICODE
#if _MULTIMON_USE_SECURE_CRT
strncpy_s(((MONITORINFOEX*)lpMonitorInfo)->szDevice, (sizeof(((MONITORINFOEX*)lpMonitorInfo)->szDevice)/sizeof(TCHAR)), TEXT("DISPLAY"), (sizeof(((MONITORINFOEX*)lpMonitorInfo)->szDevice)/sizeof(TCHAR)) - 1);
#else
lstrcpyn(((MONITORINFOEX*)lpMonitorInfo)->szDevice, TEXT("DISPLAY"), (sizeof(((MONITORINFOEX*)lpMonitorInfo)->szDevice)/sizeof(TCHAR)));
#endif // _MULTIMON_USE_SECURE_CRT
#endif // UNICODE
}
return TRUE;
}
return FALSE;
}
BOOL WINAPI
xEnumDisplayMonitors(
HDC hdcOptionalForPainting,
LPCRECT lprcEnumMonitorsThatIntersect,
MONITORENUMPROC lpfnEnumProc,
LPARAM dwData)
{
RECT rcLimit;
if (InitMultipleMonitorStubs()) {
return g_pfnEnumDisplayMonitors(
hdcOptionalForPainting,
lprcEnumMonitorsThatIntersect,
lpfnEnumProc,
dwData);
}
if (!lpfnEnumProc)
return FALSE;
rcLimit.left = 0;
rcLimit.top = 0;
rcLimit.right = GetSystemMetrics(SM_CXSCREEN);
rcLimit.bottom = GetSystemMetrics(SM_CYSCREEN);
if (hdcOptionalForPainting)
{
RECT rcClip;
POINT ptOrg;
switch (GetClipBox(hdcOptionalForPainting, &rcClip))
{
default:
if (!GetDCOrgEx(hdcOptionalForPainting, &ptOrg))
return FALSE;
OffsetRect(&rcLimit, -ptOrg.x, -ptOrg.y);
if (IntersectRect(&rcLimit, &rcLimit, &rcClip) &&
(!lprcEnumMonitorsThatIntersect ||
IntersectRect(&rcLimit, &rcLimit, lprcEnumMonitorsThatIntersect))) {
break;
}
//fall thru
case NULLREGION:
return TRUE;
case ERROR:
return FALSE;
}
} else {
if ( lprcEnumMonitorsThatIntersect &&
!IntersectRect(&rcLimit, &rcLimit, lprcEnumMonitorsThatIntersect)) {
return TRUE;
}
}
return lpfnEnumProc(
xPRIMARY_MONITOR,
hdcOptionalForPainting,
&rcLimit,
dwData);
}
BOOL WINAPI
xEnumDisplayDevices(
PVOID Unused,
DWORD iDevNum,
__inout PDISPLAY_DEVICE lpDisplayDevice,
DWORD dwFlags)
{
if (InitMultipleMonitorStubs())
return g_pfnEnumDisplayDevices(Unused, iDevNum, lpDisplayDevice, dwFlags);
if (Unused != NULL)
return FALSE;
if (iDevNum != 0)
return FALSE;
if (lpDisplayDevice == NULL || lpDisplayDevice->cb < sizeof(DISPLAY_DEVICE))
return FALSE;
#ifdef UNICODE
MultiByteToWideChar(CP_ACP, 0, "DISPLAY", -1, lpDisplayDevice->DeviceName, (sizeof(lpDisplayDevice->DeviceName)/sizeof(TCHAR)));
MultiByteToWideChar(CP_ACP, 0, "DISPLAY", -1, lpDisplayDevice->DeviceString, (sizeof(lpDisplayDevice->DeviceString)/sizeof(TCHAR)));
#else // UNICODE
#if _MULTIMON_USE_SECURE_CRT
strncpy_s((LPTSTR)lpDisplayDevice->DeviceName, (sizeof(lpDisplayDevice->DeviceName)/sizeof(TCHAR)), TEXT("DISPLAY"), (sizeof(lpDisplayDevice->DeviceName)/sizeof(TCHAR)) - 1);
strncpy_s((LPTSTR)lpDisplayDevice->DeviceString, (sizeof(lpDisplayDevice->DeviceString)/sizeof(TCHAR)), TEXT("DISPLAY"), (sizeof(lpDisplayDevice->DeviceName)/sizeof(TCHAR)) - 1);
#else
lstrcpyn((LPTSTR)lpDisplayDevice->DeviceName, TEXT("DISPLAY"), (sizeof(lpDisplayDevice->DeviceName)/sizeof(TCHAR)));
lstrcpyn((LPTSTR)lpDisplayDevice->DeviceString, TEXT("DISPLAY"), (sizeof(lpDisplayDevice->DeviceString)/sizeof(TCHAR)));
#endif // _MULTIMON_USE_SECURE_CRT
#endif // UNICODE
lpDisplayDevice->StateFlags = DISPLAY_DEVICE_ATTACHED_TO_DESKTOP | DISPLAY_DEVICE_PRIMARY_DEVICE;
return TRUE;
}
#undef xPRIMARY_MONITOR
#undef COMPILE_MULTIMON_STUBS
#else // COMPILE_MULTIMON_STUBS
extern int WINAPI xGetSystemMetrics(int);
extern HMONITOR WINAPI xMonitorFromWindow(HWND, DWORD);
extern HMONITOR WINAPI xMonitorFromRect(LPCRECT, DWORD);
extern HMONITOR WINAPI xMonitorFromPoint(POINT, DWORD);
extern BOOL WINAPI xGetMonitorInfo(HMONITOR, LPMONITORINFO);
extern BOOL WINAPI xEnumDisplayMonitors(HDC, LPCRECT, MONITORENUMPROC, LPARAM);
extern BOOL WINAPI xEnumDisplayDevices(PVOID, DWORD, PDISPLAY_DEVICE, DWORD);
#endif // COMPILE_MULTIMON_STUBS
//
// build defines that replace the regular APIs with our versions
//
#define GetSystemMetrics xGetSystemMetrics
#define MonitorFromWindow xMonitorFromWindow
#define MonitorFromRect xMonitorFromRect
#define MonitorFromPoint xMonitorFromPoint
#define GetMonitorInfo xGetMonitorInfo
#define EnumDisplayMonitors xEnumDisplayMonitors
#define EnumDisplayDevices xEnumDisplayDevices
#ifdef __cplusplus
}
#endif // __cplusplus

View File

@@ -9,20 +9,20 @@ extern "C" {
#endif
typedef enum _tagSND_DEVICE_ERROR {
SNDDEV_ERROR_Open = 1,
SNDDEV_ERROR_Close = 2,
SNDDEV_ERROR_GetCaps = 3,
SNDDEV_ERROR_PrepareHeader = 4,
SNDDEV_ERROR_UnprepareHeader = 5,
SNDDEV_ERROR_Reset = 6,
SNDDEV_ERROR_Restart = 7,
SNDDEV_ERROR_GetPosition = 8,
SNDDEV_ERROR_Write = 9,
SNDDEV_ERROR_Pause = 10,
SNDDEV_ERROR_Stop = 11,
SNDDEV_ERROR_Start = 12,
SNDDEV_ERROR_AddBuffer = 13,
SNDDEV_ERROR_Query = 14
SNDDEV_ERROR_Open = 1,
SNDDEV_ERROR_Close = 2,
SNDDEV_ERROR_GetCaps = 3,
SNDDEV_ERROR_PrepareHeader = 4,
SNDDEV_ERROR_UnprepareHeader = 5,
SNDDEV_ERROR_Reset = 6,
SNDDEV_ERROR_Restart = 7,
SNDDEV_ERROR_GetPosition = 8,
SNDDEV_ERROR_Write = 9,
SNDDEV_ERROR_Pause = 10,
SNDDEV_ERROR_Stop = 11,
SNDDEV_ERROR_Start = 12,
SNDDEV_ERROR_AddBuffer = 13,
SNDDEV_ERROR_Query = 14
} SNDDEV_ERR;
#ifdef __cplusplus

18
3rdparty/include/dshow/bdatypes.h vendored Executable file → Normal file
View File

@@ -10,20 +10,20 @@ extern "C" {
/*--- DirectShow Reference - DirectShow Enumerated Types */
typedef enum {
MEDIA_TRANSPORT_PACKET,
MEDIA_ELEMENTARY_STREAM,
MEDIA_MPEG2_PSI,
MEDIA_TRANSPORT_PAYLOAD
MEDIA_TRANSPORT_PACKET,
MEDIA_ELEMENTARY_STREAM,
MEDIA_MPEG2_PSI,
MEDIA_TRANSPORT_PAYLOAD
} MEDIA_SAMPLE_CONTENT;
/*--- DirectShow Reference - DirectShow Structures */
typedef struct {
DWORD dwOffset;
DWORD dwPacketLength;
DWORD dwStride;
DWORD dwOffset;
DWORD dwPacketLength;
DWORD dwStride;
} MPEG2_TRANSPORT_STRIDE;
typedef struct {
ULONG ulPID;
MEDIA_SAMPLE_CONTENT MediaSampleContent ;
ULONG ulPID;
MEDIA_SAMPLE_CONTENT MediaSampleContent ;
} PID_MAP;
#ifdef __cplusplus

View File

@@ -322,7 +322,7 @@ typedef struct IDirectDrawGammaControl *LPDIRECTDRAWGAMMACONTROL;
#define DDSCAPS_OPTIMIZED 0x80000000
typedef struct _DDSCAPS {
DWORD dwCaps; /* capabilities of surface wanted */
DWORD dwCaps; /* capabilities of surface wanted */
} DDSCAPS,*LPDDSCAPS;
/* DDSCAPS2.dwCaps2 */
@@ -368,21 +368,21 @@ typedef struct _DDSCAPS {
#define DDSCAPS2_STEREOSURFACELEFT 0x00080000
typedef struct _DDSCAPS2 {
DWORD dwCaps; /* capabilities of surface wanted */
DWORD dwCaps2; /* additional capabilities */
DWORD dwCaps3; /* reserved capabilities */
__extension__ union {
DWORD dwCaps4; /* low word is the depth for a volume texture */
DWORD dwVolumeDepth;
} DUMMYUNIONNAME1;
DWORD dwCaps; /* capabilities of surface wanted */
DWORD dwCaps2; /* additional capabilities */
DWORD dwCaps3; /* reserved capabilities */
__extension__ union {
DWORD dwCaps4; /* low word is the depth for a volume texture */
DWORD dwVolumeDepth;
} DUMMYUNIONNAME1;
} DDSCAPS2,*LPDDSCAPS2;
typedef struct _DDSCAPSEX {
DWORD dwCaps2;
DWORD dwCaps3;
__extension__ union {
DWORD dwCaps4;
DWORD dwVolumeDepth;
DWORD dwCaps4;
DWORD dwVolumeDepth;
} DUMMYUNIONNAME1;
} DDSCAPSEX,*LPDDSCAPSEX;
@@ -712,12 +712,12 @@ typedef DDCAPS *LPDDCAPS;
typedef struct _DDCOLORKEY
{
DWORD dwColorSpaceLowValue;/* low boundary of color space that is to
DWORD dwColorSpaceLowValue;/* low boundary of color space that is to
* be treated as Color Key, inclusive
*/
DWORD dwColorSpaceHighValue;/* high boundary of color space that is
*/
DWORD dwColorSpaceHighValue;/* high boundary of color space that is
* to be treated as Color Key, inclusive
*/
*/
} DDCOLORKEY,*LPDDCOLORKEY;
/* ddCKEYCAPS bits */
@@ -746,40 +746,40 @@ typedef struct _DDPIXELFORMAT {
DWORD dwFlags; /* 4: pixel format flags */
DWORD dwFourCC; /* 8: (FOURCC code) */
__extension__ union {
DWORD dwRGBBitCount; /* C: how many bits per pixel */
DWORD dwYUVBitCount; /* C: how many bits per pixel */
DWORD dwZBufferBitDepth; /* C: how many bits for z buffers */
DWORD dwAlphaBitDepth; /* C: how many bits for alpha channels*/
DWORD dwLuminanceBitCount;
DWORD dwBumpBitCount;
DWORD dwRGBBitCount; /* C: how many bits per pixel */
DWORD dwYUVBitCount; /* C: how many bits per pixel */
DWORD dwZBufferBitDepth; /* C: how many bits for z buffers */
DWORD dwAlphaBitDepth; /* C: how many bits for alpha channels*/
DWORD dwLuminanceBitCount;
DWORD dwBumpBitCount;
} DUMMYUNIONNAME1;
__extension__ union {
DWORD dwRBitMask; /* 10: mask for red bit*/
DWORD dwYBitMask; /* 10: mask for Y bits*/
DWORD dwStencilBitDepth;
DWORD dwLuminanceBitMask;
DWORD dwBumpDuBitMask;
DWORD dwRBitMask; /* 10: mask for red bit*/
DWORD dwYBitMask; /* 10: mask for Y bits*/
DWORD dwStencilBitDepth;
DWORD dwLuminanceBitMask;
DWORD dwBumpDuBitMask;
} DUMMYUNIONNAME2;
__extension__ union {
DWORD dwGBitMask; /* 14: mask for green bits*/
DWORD dwUBitMask; /* 14: mask for U bits*/
DWORD dwZBitMask;
DWORD dwBumpDvBitMask;
DWORD dwGBitMask; /* 14: mask for green bits*/
DWORD dwUBitMask; /* 14: mask for U bits*/
DWORD dwZBitMask;
DWORD dwBumpDvBitMask;
} DUMMYUNIONNAME3;
__extension__ union {
DWORD dwBBitMask; /* 18: mask for blue bits*/
DWORD dwVBitMask; /* 18: mask for V bits*/
DWORD dwStencilBitMask;
DWORD dwBumpLuminanceBitMask;
DWORD dwBBitMask; /* 18: mask for blue bits*/
DWORD dwVBitMask; /* 18: mask for V bits*/
DWORD dwStencilBitMask;
DWORD dwBumpLuminanceBitMask;
} DUMMYUNIONNAME4;
__extension__ union {
DWORD dwRGBAlphaBitMask; /* 1C: mask for alpha channel */
DWORD dwYUVAlphaBitMask; /* 1C: mask for alpha channel */
DWORD dwLuminanceAlphaBitMask;
DWORD dwRGBZBitMask; /* 1C: mask for Z channel */
DWORD dwYUVZBitMask; /* 1C: mask for Z channel */
DWORD dwRGBAlphaBitMask; /* 1C: mask for alpha channel */
DWORD dwYUVAlphaBitMask; /* 1C: mask for alpha channel */
DWORD dwLuminanceAlphaBitMask;
DWORD dwRGBZBitMask; /* 1C: mask for Z channel */
DWORD dwYUVZBitMask; /* 1C: mask for Z channel */
} DUMMYUNIONNAME5;
/* 20: next structure */
/* 20: next structure */
} DDPIXELFORMAT,*LPDDPIXELFORMAT;
#ifndef MAKEFOURCC
@@ -980,79 +980,79 @@ typedef struct _DDPIXELFORMAT {
typedef struct _DDSURFACEDESC
{
DWORD dwSize; /* 0: size of the DDSURFACEDESC structure*/
DWORD dwFlags; /* 4: determines what fields are valid*/
DWORD dwHeight; /* 8: height of surface to be created*/
DWORD dwWidth; /* C: width of input surface*/
__extension__ union {
LONG lPitch; /* 10: distance to start of next line (return value only)*/
DWORD dwLinearSize;
} DUMMYUNIONNAME1;
DWORD dwBackBufferCount;/* 14: number of back buffers requested*/
__extension__ union {
DWORD dwMipMapCount;/* 18:number of mip-map levels requested*/
DWORD dwZBufferBitDepth;/*18: depth of Z buffer requested*/
DWORD dwRefreshRate;/* 18:refresh rate (used when display mode is described)*/
} DUMMYUNIONNAME2;
DWORD dwAlphaBitDepth;/* 1C:depth of alpha buffer requested*/
DWORD dwReserved; /* 20:reserved*/
LPVOID lpSurface; /* 24:pointer to the associated surface memory*/
DDCOLORKEY ddckCKDestOverlay;/* 28: CK for dest overlay use*/
DDCOLORKEY ddckCKDestBlt; /* 30: CK for destination blt use*/
DDCOLORKEY ddckCKSrcOverlay;/* 38: CK for source overlay use*/
DDCOLORKEY ddckCKSrcBlt; /* 40: CK for source blt use*/
DDPIXELFORMAT ddpfPixelFormat;/* 48: pixel format description of the surface*/
DDSCAPS ddsCaps; /* 68: direct draw surface caps */
DWORD dwSize; /* 0: size of the DDSURFACEDESC structure*/
DWORD dwFlags; /* 4: determines what fields are valid*/
DWORD dwHeight; /* 8: height of surface to be created*/
DWORD dwWidth; /* C: width of input surface*/
__extension__ union {
LONG lPitch; /* 10: distance to start of next line (return value only)*/
DWORD dwLinearSize;
} DUMMYUNIONNAME1;
DWORD dwBackBufferCount;/* 14: number of back buffers requested*/
__extension__ union {
DWORD dwMipMapCount;/* 18:number of mip-map levels requested*/
DWORD dwZBufferBitDepth;/*18: depth of Z buffer requested*/
DWORD dwRefreshRate;/* 18:refresh rate (used when display mode is described)*/
} DUMMYUNIONNAME2;
DWORD dwAlphaBitDepth;/* 1C:depth of alpha buffer requested*/
DWORD dwReserved; /* 20:reserved*/
LPVOID lpSurface; /* 24:pointer to the associated surface memory*/
DDCOLORKEY ddckCKDestOverlay;/* 28: CK for dest overlay use*/
DDCOLORKEY ddckCKDestBlt; /* 30: CK for destination blt use*/
DDCOLORKEY ddckCKSrcOverlay;/* 38: CK for source overlay use*/
DDCOLORKEY ddckCKSrcBlt; /* 40: CK for source blt use*/
DDPIXELFORMAT ddpfPixelFormat;/* 48: pixel format description of the surface*/
DDSCAPS ddsCaps; /* 68: direct draw surface caps */
} DDSURFACEDESC,*LPDDSURFACEDESC;
typedef struct _DDSURFACEDESC2
{
DWORD dwSize; /* 0: size of the DDSURFACEDESC2 structure*/
DWORD dwFlags; /* 4: determines what fields are valid*/
DWORD dwHeight; /* 8: height of surface to be created*/
DWORD dwWidth; /* C: width of input surface*/
__extension__ union {
LONG lPitch; /*10: distance to start of next line (return value only)*/
DWORD dwLinearSize; /*10: formless late-allocated optimized surface size */
} DUMMYUNIONNAME1;
DWORD dwBackBufferCount;/* 14: number of back buffers requested*/
__extension__ union {
DWORD dwMipMapCount;/* 18:number of mip-map levels requested*/
DWORD dwRefreshRate;/* 18:refresh rate (used when display mode is described)*/
DWORD dwSrcVBHandle;/* 18:source used in VB::Optimize */
} DUMMYUNIONNAME2;
DWORD dwAlphaBitDepth;/* 1C:depth of alpha buffer requested*/
DWORD dwReserved; /* 20:reserved*/
LPVOID lpSurface; /* 24:pointer to the associated surface memory*/
__extension__ union {
DDCOLORKEY ddckCKDestOverlay; /* 28: CK for dest overlay use*/
DWORD dwEmptyFaceColor; /* 28: color for empty cubemap faces */
} DUMMYUNIONNAME3;
DDCOLORKEY ddckCKDestBlt; /* 30: CK for destination blt use*/
DDCOLORKEY ddckCKSrcOverlay;/* 38: CK for source overlay use*/
DDCOLORKEY ddckCKSrcBlt; /* 40: CK for source blt use*/
DWORD dwSize; /* 0: size of the DDSURFACEDESC2 structure*/
DWORD dwFlags; /* 4: determines what fields are valid*/
DWORD dwHeight; /* 8: height of surface to be created*/
DWORD dwWidth; /* C: width of input surface*/
__extension__ union {
LONG lPitch; /*10: distance to start of next line (return value only)*/
DWORD dwLinearSize; /*10: formless late-allocated optimized surface size */
} DUMMYUNIONNAME1;
DWORD dwBackBufferCount;/* 14: number of back buffers requested*/
__extension__ union {
DWORD dwMipMapCount;/* 18:number of mip-map levels requested*/
DWORD dwRefreshRate;/* 18:refresh rate (used when display mode is described)*/
DWORD dwSrcVBHandle;/* 18:source used in VB::Optimize */
} DUMMYUNIONNAME2;
DWORD dwAlphaBitDepth;/* 1C:depth of alpha buffer requested*/
DWORD dwReserved; /* 20:reserved*/
LPVOID lpSurface; /* 24:pointer to the associated surface memory*/
__extension__ union {
DDCOLORKEY ddckCKDestOverlay; /* 28: CK for dest overlay use*/
DWORD dwEmptyFaceColor; /* 28: color for empty cubemap faces */
} DUMMYUNIONNAME3;
DDCOLORKEY ddckCKDestBlt; /* 30: CK for destination blt use*/
DDCOLORKEY ddckCKSrcOverlay;/* 38: CK for source overlay use*/
DDCOLORKEY ddckCKSrcBlt; /* 40: CK for source blt use*/
__extension__ union {
DDPIXELFORMAT ddpfPixelFormat;/* 48: pixel format description of the surface*/
DWORD dwFVF; /* 48: vertex format description of vertex buffers */
} DUMMYUNIONNAME4;
DDSCAPS2 ddsCaps; /* 68: DDraw surface caps */
DWORD dwTextureStage; /* 78: stage in multitexture cascade */
__extension__ union {
DDPIXELFORMAT ddpfPixelFormat;/* 48: pixel format description of the surface*/
DWORD dwFVF; /* 48: vertex format description of vertex buffers */
} DUMMYUNIONNAME4;
DDSCAPS2 ddsCaps; /* 68: DDraw surface caps */
DWORD dwTextureStage; /* 78: stage in multitexture cascade */
} DDSURFACEDESC2,*LPDDSURFACEDESC2;
typedef struct _DDARGB {
BYTE blue;
BYTE green;
BYTE red;
BYTE alpha;
BYTE blue;
BYTE green;
BYTE red;
BYTE alpha;
} DDARGB, *LPDDARGB;
typedef struct _DDRGBA {
BYTE red;
BYTE green;
BYTE blue;
BYTE alpha;
BYTE red;
BYTE green;
BYTE blue;
BYTE alpha;
} DDRGBA, *LPDDRGBA;
@@ -1066,22 +1066,22 @@ typedef struct _DDRGBA {
#define DDCOLOR_COLORENABLE 0x00000040
typedef struct {
DWORD dwSize;
DWORD dwFlags;
LONG lBrightness;
LONG lContrast;
LONG lHue;
LONG lSaturation;
LONG lSharpness;
LONG lGamma;
LONG lColorEnable;
DWORD dwReserved1;
DWORD dwSize;
DWORD dwFlags;
LONG lBrightness;
LONG lContrast;
LONG lHue;
LONG lSaturation;
LONG lSharpness;
LONG lGamma;
LONG lColorEnable;
DWORD dwReserved1;
} DDCOLORCONTROL,*LPDDCOLORCONTROL;
typedef struct {
WORD red[256];
WORD green[256];
WORD blue[256];
WORD red[256];
WORD green[256];
WORD blue[256];
} DDGAMMARAMP,*LPDDGAMMARAMP;
typedef BOOL (CALLBACK *LPDDENUMCALLBACKA)(GUID *, LPSTR, LPSTR, LPVOID);
@@ -1161,7 +1161,7 @@ typedef struct _DDBLTFX
{
DWORD dwFillColor; /* color in RGB or Palettized */
DWORD dwFillDepth; /* depth value for z-buffer */
DWORD dwFillPixel; /* pixel val for RGBA or RGBZ */
DWORD dwFillPixel; /* pixel val for RGBA or RGBZ */
LPDIRECTDRAWSURFACE lpDDSPattern; /* Surface to use as pattern */
} DUMMYUNIONNAME5;
DDCOLORKEY ddckDestColorkey; /* DestColorkey override */

View File

@@ -932,14 +932,14 @@ DECLARE_INTERFACE_(IDirectSoundNotify,IUnknown)
#define DS3D_DEFAULTCONEOUTSIDEVOLUME DSBVOLUME_MAX
typedef struct _DS3DLISTENER {
DWORD dwSize;
D3DVECTOR vPosition;
D3DVECTOR vVelocity;
D3DVECTOR vOrientFront;
D3DVECTOR vOrientTop;
D3DVALUE flDistanceFactor;
D3DVALUE flRolloffFactor;
D3DVALUE flDopplerFactor;
DWORD dwSize;
D3DVECTOR vPosition;
D3DVECTOR vVelocity;
D3DVECTOR vOrientFront;
D3DVECTOR vOrientTop;
D3DVALUE flDistanceFactor;
D3DVALUE flRolloffFactor;
D3DVALUE flDopplerFactor;
} DS3DLISTENER, *LPDS3DLISTENER;
typedef const DS3DLISTENER *LPCDS3DLISTENER;
@@ -1019,16 +1019,16 @@ DECLARE_INTERFACE_(IDirectSound3DListener,IUnknown)
* IDirectSound3DBuffer interface
*/
typedef struct _DS3DBUFFER {
DWORD dwSize;
D3DVECTOR vPosition;
D3DVECTOR vVelocity;
DWORD dwInsideConeAngle;
DWORD dwOutsideConeAngle;
D3DVECTOR vConeOrientation;
LONG lConeOutsideVolume;
D3DVALUE flMinDistance;
D3DVALUE flMaxDistance;
DWORD dwMode;
DWORD dwSize;
D3DVECTOR vPosition;
D3DVECTOR vVelocity;
DWORD dwInsideConeAngle;
DWORD dwOutsideConeAngle;
D3DVECTOR vConeOrientation;
LONG lConeOutsideVolume;
D3DVALUE flMinDistance;
D3DVALUE flMaxDistance;
DWORD dwMode;
} DS3DBUFFER, *LPDS3DBUFFER;
typedef const DS3DBUFFER *LPCDS3DBUFFER;

View File

@@ -24,24 +24,24 @@
#define AMCONTROL_PAD_TO_16x9 0x00000004
enum AM_MPEG2Level {
AM_MPEG2Level_Low = 1,
AM_MPEG2Level_Main,
AM_MPEG2Level_High1440,
AM_MPEG2Level_High
AM_MPEG2Level_Low = 1,
AM_MPEG2Level_Main,
AM_MPEG2Level_High1440,
AM_MPEG2Level_High
};
enum AM_MPEG2Profile {
AM_MPEG2Profile_Simple = 1,
AM_MPEG2Profile_Main,
AM_MPEG2Profile_SNRScalable,
AM_MPEG2Profile_SpatiallyScalable,
AM_MPEG2Profile_High
AM_MPEG2Profile_Simple = 1,
AM_MPEG2Profile_Main,
AM_MPEG2Profile_SNRScalable,
AM_MPEG2Profile_SpatiallyScalable,
AM_MPEG2Profile_High
};
typedef enum {
AM_RATE_ChangeRate = 1,
AM_RATE_FullDataRateMax = 2,
AM_RATE_ReverseDecode = 3,
AM_RATE_DecoderPosition = 4,
AM_RATE_DecoderVersion = 5
AM_RATE_ChangeRate = 1,
AM_RATE_FullDataRateMax = 2,
AM_RATE_ReverseDecode = 3,
AM_RATE_DecoderPosition = 4,
AM_RATE_DecoderVersion = 5
} AM_PROPERTY_DVD_RATE_CHANGE;
typedef struct tagVIDEOINFOHEADER2 {

View File

@@ -58,8 +58,8 @@ extern "C" {
#define EC_USER 0x8000
/*--- DirectShow Reference - DirectShow Structures */
typedef struct {
HRESULT hrStatus;
void *pData;
HRESULT hrStatus;
void *pData;
} AM_WMT_EVENT_DATA;
#ifdef __cplusplus

View File

@@ -5,187 +5,187 @@
*/
OUR_GUID_ENTRY(MEDIATYPE_MPEG2_PACK,
0x36523B13,0x8EE5,0x11d1,0x8C,0xA3,0x00,0x60,0xB0,0x57,0x66,0x4A)
0x36523B13,0x8EE5,0x11d1,0x8C,0xA3,0x00,0x60,0xB0,0x57,0x66,0x4A)
OUR_GUID_ENTRY(MEDIATYPE_MPEG2_PES,
0xe06d8020,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x5f,0x6c,0xbb,0xea)
0xe06d8020,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x5f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_WMDRM_TRANSPORT,
0x18BEC4EA,0x4676,0x450e,0xB4,0x78,0x0C,0xD8,0x4C,0x54,0xB3,0x27)
0x18BEC4EA,0x4676,0x450e,0xB4,0x78,0x0C,0xD8,0x4C,0x54,0xB3,0x27)
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_VIDEO,
0xe06d8026,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x5f,0x6c,0xbb,0xea)
0xe06d8026,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x5f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(FORMAT_MPEG2_VIDEO,
0xe06d80e3,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x5f,0x6c,0xbb,0xea)
0xe06d80e3,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x5f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(FORMAT_VIDEOINFO2,
0xf72a76A0L,0xeb0a,0x11d0,0xac,0xe4,0x0,0x0,0xc0,0xcc,0x16,0xba)
0xf72a76A0L,0xeb0a,0x11d0,0xac,0xe4,0x0,0x0,0xc0,0xcc,0x16,0xba)
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_PROGRAM,
0xe06d8022,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d8022,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_TRANSPORT,
0xe06d8023,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d8023,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_AUDIO,
0xe06d802b,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d802b,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(MEDIASUBTYPE_DOLBY_AC3,
0xe06d802c,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d802c,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(MEDIASUBTYPE_DVD_SUBPICTURE,
0xe06d802d,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d802d,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(MEDIASUBTYPE_DVD_LPCM_AUDIO,
0xe06d8032,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d8032,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(MEDIATYPE_DVD_ENCRYPTED_PACK,
0xed0b916a,0x044d,0x11d1,0xaa,0x78,0x00,0xc0,0x04f,0xc3,0x1d,0x60)
0xed0b916a,0x044d,0x11d1,0xaa,0x78,0x00,0xc0,0x04f,0xc3,0x1d,0x60)
OUR_GUID_ENTRY(MEDIATYPE_DVD_NAVIGATION,
0xe06d802e,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d802e,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(MEDIASUBTYPE_DVD_NAVIGATION_PCI,
0xe06d802f,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d802f,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(MEDIASUBTYPE_DVD_NAVIGATION_DSI,
0xe06d8030,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d8030,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(MEDIASUBTYPE_DVD_NAVIGATION_PROVIDER,
0xe06d8031,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d8031,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(FORMAT_MPEG2Video,
0xe06d80e3,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d80e3,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(FORMAT_DolbyAC3,
0xe06d80e4,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d80e4,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(FORMAT_MPEG2Audio,
0xe06d80e5,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d80e5,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(FORMAT_DVD_LPCMAudio,
0xe06d80e6,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d80e6,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(AM_KSPROPSETID_AC3,
0xBFABE720,0x6E1F,0x11D0,0xBC,0xF2,0x44,0x45,0x53,0x54,0x00,0x00)
0xBFABE720,0x6E1F,0x11D0,0xBC,0xF2,0x44,0x45,0x53,0x54,0x00,0x00)
OUR_GUID_ENTRY(AM_KSPROPSETID_DvdSubPic,
0xac390460,0x43af,0x11d0,0xbd,0x6a,0x00,0x35,0x05,0xc1,0x03,0xa9)
0xac390460,0x43af,0x11d0,0xbd,0x6a,0x00,0x35,0x05,0xc1,0x03,0xa9)
OUR_GUID_ENTRY(AM_KSPROPSETID_CopyProt,
0x0E8A0A40,0x6AEF,0x11D0,0x9E,0xD0,0x00,0xA0,0x24,0xCA,0x19,0xB3)
0x0E8A0A40,0x6AEF,0x11D0,0x9E,0xD0,0x00,0xA0,0x24,0xCA,0x19,0xB3)
OUR_GUID_ENTRY(AM_KSPROPSETID_TSRateChange,
0xa503c5c0,0x1d1d,0x11d1,0xad,0x80,0x44,0x45,0x53,0x54,0x0,0x0)
0xa503c5c0,0x1d1d,0x11d1,0xad,0x80,0x44,0x45,0x53,0x54,0x0,0x0)
OUR_GUID_ENTRY(AM_KSPROPSETID_MPEG4_MediaType_Attributes,
0xff6c4bfa,0x7a9,0x4c7b,0xa2,0x37,0x67,0x2f,0x9d,0x68,0x6,0x5f)
0xff6c4bfa,0x7a9,0x4c7b,0xa2,0x37,0x67,0x2f,0x9d,0x68,0x6,0x5f)
OUR_GUID_ENTRY(AM_KSCATEGORY_CAPTURE,
0x65E8773DL,0x8F56,0x11D0,0xA3,0xB9,0x00,0xA0,0xC9,0x22,0x31,0x96)
0x65E8773DL,0x8F56,0x11D0,0xA3,0xB9,0x00,0xA0,0xC9,0x22,0x31,0x96)
OUR_GUID_ENTRY(AM_KSCATEGORY_RENDER,
0x65E8773EL,0x8F56,0x11D0,0xA3,0xB9,0x00,0xA0,0xC9,0x22,0x31,0x96)
0x65E8773EL,0x8F56,0x11D0,0xA3,0xB9,0x00,0xA0,0xC9,0x22,0x31,0x96)
OUR_GUID_ENTRY(AM_KSCATEGORY_DATACOMPRESSOR,
0x1E84C900L,0x7E70,0x11D0,0xA5,0xD6,0x28,0xDB,0x04,0xC1,0x00,0x00)
0x1E84C900L,0x7E70,0x11D0,0xA5,0xD6,0x28,0xDB,0x04,0xC1,0x00,0x00)
OUR_GUID_ENTRY(AM_KSCATEGORY_AUDIO,
0x6994AD04L,0x93EF,0x11D0,0xA3,0xCC,0x00,0xA0,0xC9,0x22,0x31,0x96)
0x6994AD04L,0x93EF,0x11D0,0xA3,0xCC,0x00,0xA0,0xC9,0x22,0x31,0x96)
OUR_GUID_ENTRY(AM_KSCATEGORY_VIDEO,
0x6994AD05L,0x93EF,0x11D0,0xA3,0xCC,0x00,0xA0,0xC9,0x22,0x31,0x96)
0x6994AD05L,0x93EF,0x11D0,0xA3,0xCC,0x00,0xA0,0xC9,0x22,0x31,0x96)
OUR_GUID_ENTRY(AM_KSCATEGORY_TVTUNER,
0xa799a800L,0xa46d,0x11d0,0xa1,0x8c,0x00,0xa0,0x24,0x01,0xdc,0xd4)
0xa799a800L,0xa46d,0x11d0,0xa1,0x8c,0x00,0xa0,0x24,0x01,0xdc,0xd4)
OUR_GUID_ENTRY(AM_KSCATEGORY_CROSSBAR,
0xa799a801L,0xa46d,0x11d0,0xa1,0x8c,0x00,0xa0,0x24,0x01,0xdc,0xd4)
0xa799a801L,0xa46d,0x11d0,0xa1,0x8c,0x00,0xa0,0x24,0x01,0xdc,0xd4)
OUR_GUID_ENTRY(AM_KSCATEGORY_TVAUDIO,
0xa799a802L,0xa46d,0x11d0,0xa1,0x8c,0x00,0xa0,0x24,0x01,0xdc,0xd4)
0xa799a802L,0xa46d,0x11d0,0xa1,0x8c,0x00,0xa0,0x24,0x01,0xdc,0xd4)
OUR_GUID_ENTRY(AM_KSCATEGORY_VBICODEC,
0x07dad660L,0x22f1,0x11d1,0xa9,0xf4,0x00,0xc0,0x4f,0xbb,0xde,0x8f)
0x07dad660L,0x22f1,0x11d1,0xa9,0xf4,0x00,0xc0,0x4f,0xbb,0xde,0x8f)
OUR_GUID_ENTRY(AM_KSCATEGORY_SPLITTER,
0x0A4252A0L,0x7E70,0x11D0,0xA5,0xD6,0x28,0xDB,0x04,0xC1,0x00,0x00)
0x0A4252A0L,0x7E70,0x11D0,0xA5,0xD6,0x28,0xDB,0x04,0xC1,0x00,0x00)
OUR_GUID_ENTRY(IID_IKsInterfaceHandler,
0xD3ABC7E0L,0x9A61,0x11D0,0xA4,0x0D,0x00,0xA0,0xC9,0x22,0x31,0x96)
0xD3ABC7E0L,0x9A61,0x11D0,0xA4,0x0D,0x00,0xA0,0xC9,0x22,0x31,0x96)
OUR_GUID_ENTRY(IID_IKsDataTypeHandler,
0x5FFBAA02L,0x49A3,0x11D0,0x9F,0x36,0x00,0xAA,0x00,0xA2,0x16,0xA1)
0x5FFBAA02L,0x49A3,0x11D0,0x9F,0x36,0x00,0xAA,0x00,0xA2,0x16,0xA1)
OUR_GUID_ENTRY(IID_IKsPin,
0xb61178d1L,0xa2d9,0x11cf,0x9e,0x53,0x00,0xaa,0x00,0xa2,0x16,0xa1)
0xb61178d1L,0xa2d9,0x11cf,0x9e,0x53,0x00,0xaa,0x00,0xa2,0x16,0xa1)
OUR_GUID_ENTRY(IID_IKsControl,
0x28F54685L,0x06FD,0x11D2,0xB2,0x7A,0x00,0xA0,0xC9,0x22,0x31,0x96)
0x28F54685L,0x06FD,0x11D2,0xB2,0x7A,0x00,0xA0,0xC9,0x22,0x31,0x96)
OUR_GUID_ENTRY(IID_IKsPinFactory,
0xCD5EBE6BL,0x8B6E,0x11D1,0x8A,0xE0,0x00,0xA0,0xC9,0x22,0x31,0x96)
0xCD5EBE6BL,0x8B6E,0x11D1,0x8A,0xE0,0x00,0xA0,0xC9,0x22,0x31,0x96)
OUR_GUID_ENTRY(AM_INTERFACESETID_Standard,
0x1A8766A0L,0x62CE,0x11CF,0xA5,0xD6,0x28,0xDB,0x04,0xC1,0x00,0x00)
0x1A8766A0L,0x62CE,0x11CF,0xA5,0xD6,0x28,0xDB,0x04,0xC1,0x00,0x00)
#if ( (NTDDI_VERSION >= NTDDI_WINXPSP2) && (NTDDI_VERSION < NTDDI_WS03) ) || (NTDDI_VERSION >= NTDDI_WS03SP1)
OUR_GUID_ENTRY(MEDIATYPE_MPEG2_SECTIONS,
0x455f176c,0x4b06,0x47ce,0x9a,0xef,0x8c,0xae,0xf7,0x3d,0xf7,0xb5)
0x455f176c,0x4b06,0x47ce,0x9a,0xef,0x8c,0xae,0xf7,0x3d,0xf7,0xb5)
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_VERSIONED_TABLES,
0x1ed988b0,0x3ffc,0x4523,0x87,0x25,0x34,0x7b,0xee,0xc1,0xa8,0xa0)
0x1ed988b0,0x3ffc,0x4523,0x87,0x25,0x34,0x7b,0xee,0xc1,0xa8,0xa0)
OUR_GUID_ENTRY(MEDIASUBTYPE_ATSC_SI,
0xb3c7397c,0xd303,0x414d,0xb3,0x3c,0x4e,0xd2,0xc9,0xd2,0x97,0x33)
0xb3c7397c,0xd303,0x414d,0xb3,0x3c,0x4e,0xd2,0xc9,0xd2,0x97,0x33)
OUR_GUID_ENTRY(MEDIASUBTYPE_DVB_SI,
0xe9dd31a3,0x221d,0x4adb,0x85,0x32,0x9a,0xf3,0x9,0xc1,0xa4,0x8)
0xe9dd31a3,0x221d,0x4adb,0x85,0x32,0x9a,0xf3,0x9,0xc1,0xa4,0x8)
OUR_GUID_ENTRY(MEDIASUBTYPE_ISDB_SI,
0xe89ad298,0x3601,0x4b06,0xaa,0xec,0x9d,0xde,0xed,0xcc,0x5b,0xd0)
0xe89ad298,0x3601,0x4b06,0xaa,0xec,0x9d,0xde,0xed,0xcc,0x5b,0xd0)
OUR_GUID_ENTRY(MEDIASUBTYPE_TIF_SI,
0xec232eb2,0xcb96,0x4191,0xb2,0x26,0xe,0xa1,0x29,0xf3,0x82,0x50)
0xec232eb2,0xcb96,0x4191,0xb2,0x26,0xe,0xa1,0x29,0xf3,0x82,0x50)
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2DATA,
0xc892e55b,0x252d,0x42b5,0xa3,0x16,0xd9,0x97,0xe7,0xa5,0xd9,0x95)
0xc892e55b,0x252d,0x42b5,0xa3,0x16,0xd9,0x97,0xe7,0xa5,0xd9,0x95)
#endif
/* ( (NTDDI_VERSION >= NTDDI_WINXPSP2) && (NTDDI_VERSION < NTDDI_WS03) ) ||
(NTDDI_VERSION >= NTDDI_WS03SP1) */
(NTDDI_VERSION >= NTDDI_WS03SP1) */
#if (NTDDI_VERSION >= NTDDI_WINXP)
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_TRANSPORT_STRIDE,
0x138aa9a4,0x1ee2,0x4c5b,0x98,0x8e,0x19,0xab,0xfd,0xbc,0x8a,0x11)
0x138aa9a4,0x1ee2,0x4c5b,0x98,0x8e,0x19,0xab,0xfd,0xbc,0x8a,0x11)
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_UDCR_TRANSPORT,
0x18BEC4EA,0x4676,0x450e,0xB4,0x78,0x0C,0xD8,0x4C,0x54,0xB3,0x27)
0x18BEC4EA,0x4676,0x450e,0xB4,0x78,0x0C,0xD8,0x4C,0x54,0xB3,0x27)
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_PBDA_TRANSPORT_RAW,
0x0d7aed42,0xcb9a,0x11db,0x97,0x5,0x0,0x50,0x56,0xc0,0x0,0x8)
0x0d7aed42,0xcb9a,0x11db,0x97,0x5,0x0,0x50,0x56,0xc0,0x0,0x8)
OUR_GUID_ENTRY(MEDIASUBTYPE_MPEG2_PBDA_TRANSPORT_PROCESSED,
0xaf748dd4,0xd80,0x11db,0x97,0x5,0x0,0x50,0x56,0xc0,0x0,0x8)
0xaf748dd4,0xd80,0x11db,0x97,0x5,0x0,0x50,0x56,0xc0,0x0,0x8)
OUR_GUID_ENTRY(MEDIASUBTYPE_DTS,
0xe06d8033,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d8033,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(MEDIASUBTYPE_SDDS,
0xe06d8034,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
0xe06d8034,0xdb46,0x11cf,0xb4,0xd1,0x00,0x80,0x05f,0x6c,0xbb,0xea)
OUR_GUID_ENTRY(AM_KSPROPSETID_DVD_RateChange,
0x3577eb09,0x9582,0x477f,0xb2,0x9c,0xb0,0xc4,0x52,0xa4,0xff,0x9a)
0x3577eb09,0x9582,0x477f,0xb2,0x9c,0xb0,0xc4,0x52,0xa4,0xff,0x9a)
OUR_GUID_ENTRY(AM_KSPROPSETID_DvdKaraoke,
0xae4720ae,0xaa71,0x42d8,0xb8,0x2a,0xff,0xfd,0xf5,0x8b,0x76,0xfd)
0xae4720ae,0xaa71,0x42d8,0xb8,0x2a,0xff,0xfd,0xf5,0x8b,0x76,0xfd)
OUR_GUID_ENTRY(AM_KSPROPSETID_FrameStep,
0xc830acbd,0xab07,0x492f,0x88,0x52,0x45,0xb6,0x98,0x7c,0x29,0x79)
0xc830acbd,0xab07,0x492f,0x88,0x52,0x45,0xb6,0x98,0x7c,0x29,0x79)
#endif /* NTDDI_VERSION >= NTDDI_WINXP */
#if (NTDDI_VERSION >= NTDDI_WS03SP1)
OUR_GUID_ENTRY(AM_KSCATEGORY_VBICODEC_MI,
0x9c24a977,0x951,0x451a,0x80,0x6,0xe,0x49,0xbd,0x28,0xcd,0x5f)
0x9c24a977,0x951,0x451a,0x80,0x6,0xe,0x49,0xbd,0x28,0xcd,0x5f)
#endif /* NTDDI_VERSION >= NTDDI_WS03SP1 */

View File

@@ -2097,12 +2097,12 @@ typedef LONGLONG REFERENCE_TIME;
DWORD dwMerit;
union {
struct {
ULONG cPins;
const REGFILTERPINS *rgPins;
ULONG cPins;
const REGFILTERPINS *rgPins;
};
struct {
ULONG cPins2;
const REGFILTERPINS2 *rgPins2;
ULONG cPins2;
const REGFILTERPINS2 *rgPins2;
};
};
} REGFILTER2;

File diff suppressed because it is too large Load Diff

View File

@@ -85,7 +85,7 @@ enum DCTTransformType {
};
/**
* Sets up DCT.
* Set up DCT.
* @param nbits size of the input array:
* (1 << nbits) for DCT-II, DCT-III and DST-I
* (1 << nbits) + 1 for DCT-I

View File

@@ -23,10 +23,13 @@
#ifndef AVCODEC_DXVA_H
#define AVCODEC_DXVA_H
#include <msc_stdint.h>
#include <stdint.h>
#include <d3d9.h>
#include <dxva2api.h>
#define FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG 1 ///< Work around for DXVA2 and old UVD/UVD+ ATI video cards
/**
* This structure is used to provides the necessary configurations and data
* to the DXVA2 FFmpeg HWAccel implementation.

View File

@@ -1,211 +1,34 @@
/*
* AVOptions
* copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at>
* This file is part of Libav.
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* Libav is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/**
* @file
* This header is provided for compatibility only and will be removed
* on next major bump
*/
#ifndef AVCODEC_OPT_H
#define AVCODEC_OPT_H
/**
* @file
* AVOptions
*/
#include "libavcodec/version.h"
#include "libavutil/rational.h"
#include "avcodec.h"
enum AVOptionType{
FF_OPT_TYPE_FLAGS,
FF_OPT_TYPE_INT,
FF_OPT_TYPE_INT64,
FF_OPT_TYPE_DOUBLE,
FF_OPT_TYPE_FLOAT,
FF_OPT_TYPE_STRING,
FF_OPT_TYPE_RATIONAL,
FF_OPT_TYPE_BINARY, ///< offset must point to a pointer immediately followed by an int for the length
FF_OPT_TYPE_CONST=128,
};
/**
* AVOption
*/
typedef struct AVOption {
const char *name;
/**
* short English help text
* @todo What about other languages?
*/
const char *help;
/**
* The offset relative to the context structure where the option
* value is stored. It should be 0 for named constants.
*/
int offset;
enum AVOptionType type;
/**
* the default value for scalar options
*/
double default_val;
double min; ///< minimum valid value for the option
double max; ///< maximum valid value for the option
int flags;
#define AV_OPT_FLAG_ENCODING_PARAM 1 ///< a generic parameter which can be set by the user for muxing or encoding
#define AV_OPT_FLAG_DECODING_PARAM 2 ///< a generic parameter which can be set by the user for demuxing or decoding
#define AV_OPT_FLAG_METADATA 4 ///< some data extracted or inserted into the file like title, comment, ...
#define AV_OPT_FLAG_AUDIO_PARAM 8
#define AV_OPT_FLAG_VIDEO_PARAM 16
#define AV_OPT_FLAG_SUBTITLE_PARAM 32
//FIXME think about enc-audio, ... style flags
/**
* The logical unit to which the option belongs. Non-constant
* options and corresponding named constants share the same
* unit. May be NULL.
*/
const char *unit;
} AVOption;
/**
* AVOption2.
* THIS IS NOT PART OF THE API/ABI YET!
* This is identical to AVOption except that default_val was replaced by
* an union, it should be compatible with AVOption on normal platforms.
*/
typedef struct AVOption2 {
const char *name;
/**
* short English help text
* @todo What about other languages?
*/
const char *help;
/**
* The offset relative to the context structure where the option
* value is stored. It should be 0 for named constants.
*/
int offset;
enum AVOptionType type;
/**
* the default value for scalar options
*/
union {
double dbl;
const char *str;
} default_val;
double min; ///< minimum valid value for the option
double max; ///< maximum valid value for the option
int flags;
/*
#define AV_OPT_FLAG_ENCODING_PARAM 1 ///< a generic parameter which can be set by the user for muxing or encoding
#define AV_OPT_FLAG_DECODING_PARAM 2 ///< a generic parameter which can be set by the user for demuxing or decoding
#define AV_OPT_FLAG_METADATA 4 ///< some data extracted or inserted into the file like title, comment, ...
#define AV_OPT_FLAG_AUDIO_PARAM 8
#define AV_OPT_FLAG_VIDEO_PARAM 16
#define AV_OPT_FLAG_SUBTITLE_PARAM 32
*/
//FIXME think about enc-audio, ... style flags
/**
* The logical unit to which the option belongs. Non-constant
* options and corresponding named constants share the same
* unit. May be NULL.
*/
const char *unit;
} AVOption2;
/**
* Looks for an option in obj. Looks only for the options which
* have the flags set as specified in mask and flags (that is,
* for which it is the case that opt->flags & mask == flags).
*
* @param[in] obj a pointer to a struct whose first element is a
* pointer to an AVClass
* @param[in] name the name of the option to look for
* @param[in] unit the unit of the option to look for, or any if NULL
* @return a pointer to the option found, or NULL if no option
* has been found
*/
const AVOption *av_find_opt(void *obj, const char *name, const char *unit, int mask, int flags);
#if LIBAVCODEC_VERSION_MAJOR < 53
/**
* @see av_set_string2()
*/
attribute_deprecated const AVOption *av_set_string(void *obj, const char *name, const char *val);
/**
* @return a pointer to the AVOption corresponding to the field set or
* NULL if no matching AVOption exists, or if the value val is not
* valid
* @see av_set_string3()
*/
attribute_deprecated const AVOption *av_set_string2(void *obj, const char *name, const char *val, int alloc);
#if FF_API_OPT_H
#include "libavutil/opt.h"
#endif
/**
* Sets the field of obj with the given name to value.
*
* @param[in] obj A struct whose first element is a pointer to an
* AVClass.
* @param[in] name the name of the field to set
* @param[in] val The value to set. If the field is not of a string
* type, then the given string is parsed.
* SI postfixes and some named scalars are supported.
* If the field is of a numeric type, it has to be a numeric or named
* scalar. Behavior with more than one scalar and +- infix operators
* is undefined.
* If the field is of a flags type, it has to be a sequence of numeric
* scalars or named flags separated by '+' or '-'. Prefixing a flag
* with '+' causes it to be set without affecting the other flags;
* similarly, '-' unsets a flag.
* @param[out] o_out if non-NULL put here a pointer to the AVOption
* found
* @param alloc when 1 then the old value will be av_freed() and the
* new av_strduped()
* when 0 then no av_free() nor av_strdup() will be used
* @return 0 if the value has been set, or an AVERROR code in case of
* error:
* AVERROR(ENOENT) if no matching option exists
* AVERROR(ERANGE) if the value is out of range
* AVERROR(EINVAL) if the value is not valid
*/
int av_set_string3(void *obj, const char *name, const char *val, int alloc, const AVOption **o_out);
const AVOption *av_set_double(void *obj, const char *name, double n);
const AVOption *av_set_q(void *obj, const char *name, AVRational n);
const AVOption *av_set_int(void *obj, const char *name, int64_t n);
double av_get_double(void *obj, const char *name, const AVOption **o_out);
AVRational av_get_q(void *obj, const char *name, const AVOption **o_out);
int64_t av_get_int(void *obj, const char *name, const AVOption **o_out);
const char *av_get_string(void *obj, const char *name, const AVOption **o_out, char *buf, int buf_len);
const AVOption *av_next_option(void *obj, const AVOption *last);
int av_opt_show(void *obj, void *av_log_obj);
void av_opt_set_defaults(void *s);
void av_opt_set_defaults2(void *s, int mask, int flags);
#endif /* AVCODEC_OPT_H */

View File

@@ -24,11 +24,11 @@
#ifndef AVCODEC_VAAPI_H
#define AVCODEC_VAAPI_H
#include <msc_stdint.h>
#include <stdint.h>
/**
* \defgroup VAAPI_Decoding VA API Decoding
* \ingroup Decoder
* @defgroup VAAPI_Decoding VA API Decoding
* @ingroup Decoder
* @{
*/

View File

@@ -0,0 +1,168 @@
/*
* VDA HW acceleration
*
* copyright (c) 2011 Sebastien Zwickert
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVCODEC_VDA_H
#define AVCODEC_VDA_H
#include <pthread.h>
#include <stdint.h>
// emmintrin.h is unable to compile with -std=c99 -Werror=missing-prototypes
// http://openradar.appspot.com/8026390
#undef __GNUC_STDC_INLINE__
#define Picture QuickdrawPicture
#include <VideoDecodeAcceleration/VDADecoder.h>
#undef Picture
/**
* This structure is used to store a decoded frame information and data.
*/
typedef struct {
/**
* The PTS of the frame.
*
* - encoding: unused
* - decoding: Set/Unset by libavcodec.
*/
int64_t pts;
/**
* The CoreVideo buffer that contains the decoded data.
*
* - encoding: unused
* - decoding: Set/Unset by libavcodec.
*/
CVPixelBufferRef cv_buffer;
/**
* A pointer to the next frame.
*
* - encoding: unused
* - decoding: Set/Unset by libavcodec.
*/
struct vda_frame *next_frame;
} vda_frame;
/**
* This structure is used to provide the necessary configurations and data
* to the VDA FFmpeg HWAccel implementation.
*
* The application must make it available as AVCodecContext.hwaccel_context.
*/
struct vda_context {
/**
* VDA decoder object.
*
* - encoding: unused
* - decoding: Set/Unset by libavcodec.
*/
VDADecoder decoder;
/**
* VDA frames queue ordered by presentation timestamp.
*
* - encoding: unused
* - decoding: Set/Unset by libavcodec.
*/
vda_frame *queue;
/**
* Mutex for locking queue operations.
*
* - encoding: unused
* - decoding: Set/Unset by libavcodec.
*/
pthread_mutex_t queue_mutex;
/**
* The frame width.
*
* - encoding: unused
* - decoding: Set/Unset by user.
*/
int width;
/**
* The frame height.
*
* - encoding: unused
* - decoding: Set/Unset by user.
*/
int height;
/**
* The frame format.
*
* - encoding: unused
* - decoding: Set/Unset by user.
*/
int format;
/**
* The pixel format for output image buffers.
*
* - encoding: unused
* - decoding: Set/Unset by user.
*/
OSType cv_pix_fmt_type;
/**
* The current bitstream buffer.
*
* - encoding: unused
* - decoding: Set/Unset by libavcodec.
*/
uint8_t *bitstream;
/**
* The current size of the bitstream.
*
* - encoding: unused
* - decoding: Set/Unset by libavcodec.
*/
int bitstream_size;
/**
* The reference size used for fast reallocation.
*
* - encoding: unused
* - decoding: Set/Unset by libavcodec.
*/
int ref_size;
};
/** Create the video decoder. */
int ff_vda_create_decoder(struct vda_context *vda_ctx,
uint8_t *extradata,
int extradata_size);
/** Destroy the video decoder. */
int ff_vda_destroy_decoder(struct vda_context *vda_ctx);
/** Return the top frame of the queue. */
vda_frame *ff_vda_queue_pop(struct vda_context *vda_ctx);
/** Release the given frame. */
void ff_vda_release_vda_frame(vda_frame *frame);
#endif /* AVCODEC_VDA_H */

View File

@@ -25,7 +25,7 @@
#define AVCODEC_VDPAU_H
/**
* \defgroup Decoder VDPAU Decoder and Renderer
* @defgroup Decoder VDPAU Decoder and Renderer
*
* VDPAU hardware acceleration has two modules
* - VDPAU decoding
@@ -38,26 +38,25 @@
* and rendering (API calls) are done as part of the VDPAU
* presentation (vo_vdpau.c) module.
*
* @{
* \defgroup VDPAU_Decoding VDPAU Decoding
* \ingroup Decoder
* @defgroup VDPAU_Decoding VDPAU Decoding
* @ingroup Decoder
* @{
*/
#include <vdpau/vdpau.h>
#include <vdpau/vdpau_x11.h>
/** \brief The videoSurface is used for rendering. */
/** @brief The videoSurface is used for rendering. */
#define FF_VDPAU_STATE_USED_FOR_RENDER 1
/**
* \brief The videoSurface is needed for reference/prediction.
* @brief The videoSurface is needed for reference/prediction.
* The codec manipulates this.
*/
#define FF_VDPAU_STATE_USED_FOR_REFERENCE 2
/**
* \brief This structure is used as a callback between the FFmpeg
* @brief This structure is used as a callback between the FFmpeg
* decoder (vd_) and presentation (vo_) module.
* This is used for defining a video frame containing surface,
* picture parameter, bitstream information etc which are passed
@@ -68,6 +67,13 @@ struct vdpau_render_state {
int state; ///< Holds FF_VDPAU_STATE_* values.
/** Describe size/location of the compressed video data.
Set to 0 when freeing bitstream_buffers. */
int bitstream_buffers_allocated;
int bitstream_buffers_used;
/** The user is responsible for freeing this buffer using av_freep(). */
VdpBitstreamBuffer *bitstream_buffers;
/** picture parameter information for all supported codecs */
union VdpPictureInfo {
VdpPictureInfoH264 h264;
@@ -75,13 +81,6 @@ struct vdpau_render_state {
VdpPictureInfoVC1 vc1;
VdpPictureInfoMPEG4Part2 mpeg4;
} info;
/** Describe size/location of the compressed video data.
Set to 0 when freeing bitstream_buffers. */
int bitstream_buffers_allocated;
int bitstream_buffers_used;
/** The user is responsible for freeing this buffer using av_freep(). */
VdpBitstreamBuffer *bitstream_buffers;
};
/* @}*/

View File

@@ -0,0 +1,130 @@
/*
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVCODEC_VERSION_H
#define AVCODEC_VERSION_H
#define LIBAVCODEC_VERSION_MAJOR 53
#define LIBAVCODEC_VERSION_MINOR 61
#define LIBAVCODEC_VERSION_MICRO 100
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
LIBAVCODEC_VERSION_MICRO)
#define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
LIBAVCODEC_VERSION_MICRO)
#define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
#define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
/**
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
*/
#ifndef FF_API_PALETTE_CONTROL
#define FF_API_PALETTE_CONTROL (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_OLD_SAMPLE_FMT
#define FF_API_OLD_SAMPLE_FMT (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_OLD_AUDIOCONVERT
#define FF_API_OLD_AUDIOCONVERT (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_ANTIALIAS_ALGO
#define FF_API_ANTIALIAS_ALGO (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_REQUEST_CHANNELS
#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55)
#endif
#ifndef FF_API_OPT_H
#define FF_API_OPT_H (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_THREAD_INIT
#define FF_API_THREAD_INIT (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_OLD_FF_PICT_TYPES
#define FF_API_OLD_FF_PICT_TYPES (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_FLAC_GLOBAL_OPTS
#define FF_API_FLAC_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_GET_PIX_FMT_NAME
#define FF_API_GET_PIX_FMT_NAME (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_ALLOC_CONTEXT
#define FF_API_ALLOC_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_AVCODEC_OPEN
#define FF_API_AVCODEC_OPEN (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_DRC_SCALE
#define FF_API_DRC_SCALE (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_ER
#define FF_API_ER (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_AVCODEC_INIT
#define FF_API_AVCODEC_INIT (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_X264_GLOBAL_OPTS
#define FF_API_X264_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_MPEGVIDEO_GLOBAL_OPTS
#define FF_API_MPEGVIDEO_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_LAME_GLOBAL_OPTS
#define FF_API_LAME_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_SNOW_GLOBAL_OPTS
#define FF_API_SNOW_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_MJPEG_GLOBAL_OPTS
#define FF_API_MJPEG_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_GET_ALPHA_INFO
#define FF_API_GET_ALPHA_INFO (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_PARSE_FRAME
#define FF_API_PARSE_FRAME (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_INTERNAL_CONTEXT
#define FF_API_INTERNAL_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_TIFFENC_COMPLEVEL
#define FF_API_TIFFENC_COMPLEVEL (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_DATA_POINTERS
#define FF_API_DATA_POINTERS (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_OLD_DECODE_AUDIO
#define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
#endif
#ifndef FF_API_OLD_TIMECODE
#define FF_API_OLD_TIMECODE (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_AVFRAME_AGE
#define FF_API_AVFRAME_AGE (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_OLD_ENCODE_AUDIO
#define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
#endif
#endif /* AVCODEC_VERSION_H */

View File

@@ -25,11 +25,6 @@
#include "avcodec.h"
#if LIBAVCODEC_VERSION_MAJOR < 53
#define AV_XVMC_STATE_DISPLAY_PENDING 1 /** the surface should be shown, the video driver manipulates this */
#define AV_XVMC_STATE_PREDICTION 2 /** the surface is needed for prediction, the codec manipulates this */
#define AV_XVMC_STATE_OSD_SOURCE 4 /** the surface is needed for subpicture rendering */
#endif
#define AV_XVMC_ID 0x1DC711C0 /**< special value to ensure that regular pixel routines haven't corrupted the struct
the number is 1337 speak for the letters IDCT MCo (motion compensation) */
@@ -71,7 +66,7 @@ struct xvmc_pix_fmt {
*/
int allocated_data_blocks;
/** Indicates that the hardware would interpret data_blocks as IDCT
/** Indicate that the hardware would interpret data_blocks as IDCT
coefficients and perform IDCT on them.
- application - set during initialization
- libavcodec - unchanged
@@ -151,22 +146,6 @@ struct xvmc_pix_fmt {
of coded blocks it contains.
*/
int next_free_data_block_num;
/** extensions may be placed here */
#if LIBAVCODEC_VERSION_MAJOR < 53
//@{
/** State flags used to work around limitations in the MPlayer video system.
0 - Surface is not used.
1 - Surface is still held in application to be displayed or is
still visible.
2 - Surface is still held in libavcodec buffer for prediction.
*/
int state;
/** pointer to the surface where the subpicture is rendered */
void* p_osd_target_surface_render;
//}@
#endif
};
#endif /* AVCODEC_XVMC_H */

View File

@@ -19,11 +19,34 @@
#ifndef AVDEVICE_AVDEVICE_H
#define AVDEVICE_AVDEVICE_H
#include "libavutil/avutil.h"
/**
* @file
* @ingroup lavd
* Main libavdevice API header
*/
#define LIBAVDEVICE_VERSION_MAJOR 52
#define LIBAVDEVICE_VERSION_MINOR 2
#define LIBAVDEVICE_VERSION_MICRO 0
/**
* @defgroup lavd Special devices muxing/demuxing library
* @{
* Libavdevice is a complementary library to @ref libavf "libavformat". It
* provides various "special" platform-specific muxers and demuxers, e.g. for
* grabbing devices, audio capture and playback etc. As a consequence, the
* (de)muxers in libavdevice are of the AVFMT_NOFILE type (they use their own
* I/O functions). The filename passed to avformat_open_input() often does not
* refer to an actually existing file, but has some special device-specific
* meaning - e.g. for the x11grab device it is the display name.
*
* To use libavdevice, simply call avdevice_register_all() to register all
* compiled muxers and demuxers. They all use standard libavformat API.
* @}
*/
#include "libavutil/avutil.h"
#include "libavformat/avformat.h"
#define LIBAVDEVICE_VERSION_MAJOR 53
#define LIBAVDEVICE_VERSION_MINOR 4
#define LIBAVDEVICE_VERSION_MICRO 100
#define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \
LIBAVDEVICE_VERSION_MINOR, \
@@ -34,17 +57,17 @@
#define LIBAVDEVICE_BUILD LIBAVDEVICE_VERSION_INT
/**
* Returns the LIBAVDEVICE_VERSION_INT constant.
* Return the LIBAVDEVICE_VERSION_INT constant.
*/
unsigned avdevice_version(void);
/**
* Returns the libavdevice build-time configuration.
* Return the libavdevice build-time configuration.
*/
const char *avdevice_configuration(void);
/**
* Returns the libavdevice license.
* Return the libavdevice license.
*/
const char *avdevice_license(void);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,129 @@
/*
* Version macros.
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVFORMAT_VERSION_H
#define AVFORMAT_VERSION_H
/**
* @file
* @ingroup libavf
* Libavformat version macros
*/
#include "libavutil/avutil.h"
#define LIBAVFORMAT_VERSION_MAJOR 53
#define LIBAVFORMAT_VERSION_MINOR 32
#define LIBAVFORMAT_VERSION_MICRO 100
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \
LIBAVFORMAT_VERSION_MICRO)
#define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_MAJOR, \
LIBAVFORMAT_VERSION_MINOR, \
LIBAVFORMAT_VERSION_MICRO)
#define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT
#define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
/**
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
*/
#ifndef FF_API_OLD_METADATA2
#define FF_API_OLD_METADATA2 (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_OLD_AVIO
#define FF_API_OLD_AVIO (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_DUMP_FORMAT
#define FF_API_DUMP_FORMAT (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_PARSE_DATE
#define FF_API_PARSE_DATE (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_FIND_INFO_TAG
#define FF_API_FIND_INFO_TAG (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_PKT_DUMP
#define FF_API_PKT_DUMP (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_GUESS_IMG2_CODEC
#define FF_API_GUESS_IMG2_CODEC (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_SDP_CREATE
#define FF_API_SDP_CREATE (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_ALLOC_OUTPUT_CONTEXT
#define FF_API_ALLOC_OUTPUT_CONTEXT (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_FORMAT_PARAMETERS
#define FF_API_FORMAT_PARAMETERS (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_FLAG_RTP_HINT
#define FF_API_FLAG_RTP_HINT (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_AVSTREAM_QUALITY
#define FF_API_AVSTREAM_QUALITY (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_LOOP_INPUT
#define FF_API_LOOP_INPUT (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_LOOP_OUTPUT
#define FF_API_LOOP_OUTPUT (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_TIMESTAMP
#define FF_API_TIMESTAMP (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_FILESIZE
#define FF_API_FILESIZE (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_MUXRATE
#define FF_API_MUXRATE (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_RTSP_URL_OPTIONS
#define FF_API_RTSP_URL_OPTIONS (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_NEW_STREAM
#define FF_API_NEW_STREAM (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_PRELOAD
#define FF_API_PRELOAD (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_STREAM_COPY
#define FF_API_STREAM_COPY (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_SEEK_PUBLIC
#define FF_API_SEEK_PUBLIC (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_REORDER_PRIVATE
#define FF_API_REORDER_PRIVATE (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_OLD_INTERRUPT_CB
#define FF_API_OLD_INTERRUPT_CB (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_SET_PTS_INFO
#define FF_API_SET_PTS_INFO (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_CLOSE_INPUT_FILE
#define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 55)
#endif
#endif /* AVFORMAT_VERSION_H */

View File

@@ -21,9 +21,22 @@
#ifndef AVUTIL_ADLER32_H
#define AVUTIL_ADLER32_H
#include <msc_stdint.h>
#include <stdint.h>
#include "attributes.h"
/**
* @ingroup lavu_crypto
* Calculate the Adler32 checksum of a buffer.
*
* Passing the return value to a subsequent av_adler32_update() call
* allows the checksum of multiple buffers to be calculated as though
* they were concatenated.
*
* @param adler initial checksum value
* @param buf pointer to input buffer
* @param len size of input buffer
* @return updated checksum
*/
unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf,
unsigned int len) av_pure;

View File

@@ -0,0 +1,57 @@
/*
* copyright (c) 2007 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_AES_H
#define AVUTIL_AES_H
#include <stdint.h>
/**
* @defgroup lavu_aes AES
* @ingroup lavu_crypto
* @{
*/
extern const int av_aes_size;
struct AVAES;
/**
* Initialize an AVAES context.
* @param key_bits 128, 192 or 256
* @param decrypt 0 for encryption, 1 for decryption
*/
int av_aes_init(struct AVAES *a, const uint8_t *key, int key_bits, int decrypt);
/**
* Encrypt or decrypt a buffer using a previously initialized context.
* @param count number of 16 byte blocks
* @param dst destination array, can be equal to src
* @param src source array, can be equal to dst
* @param iv initialization vector for CBC mode, if NULL then ECB will be used
* @param decrypt 0 for encryption, 1 for decryption
*/
void av_aes_crypt(struct AVAES *a, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt);
/**
* @}
*/
#endif /* AVUTIL_AES_H */

View File

@@ -40,6 +40,14 @@
#endif
#endif
#ifndef av_noreturn
#if AV_GCC_VERSION_AT_LEAST(2,5)
# define av_noreturn __attribute__((noreturn))
#else
# define av_noreturn
#endif
#endif
#ifndef av_noinline
#if AV_GCC_VERSION_AT_LEAST(3,1)
# define av_noinline __attribute__((noinline))
@@ -65,7 +73,7 @@
#endif
#ifndef av_cold
#if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,3)
#if AV_GCC_VERSION_AT_LEAST(4,3)
# define av_cold __attribute__((cold))
#else
# define av_cold
@@ -73,7 +81,7 @@
#endif
#ifndef av_flatten
#if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,1)
#if AV_GCC_VERSION_AT_LEAST(4,1)
# define av_flatten __attribute__((flatten))
#else
# define av_flatten
@@ -88,6 +96,24 @@
#endif
#endif
/**
* Disable warnings about deprecated features
* This is useful for sections of code kept for backward compatibility and
* scheduled for removal.
*/
#ifndef AV_NOWARN_DEPRECATED
#if AV_GCC_VERSION_AT_LEAST(4,6)
# define AV_NOWARN_DEPRECATED(code) \
_Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \
code \
_Pragma("GCC diagnostic pop")
#else
# define AV_NOWARN_DEPRECATED(code) code
#endif
#endif
#ifndef av_unused
#if defined(__GNUC__)
# define av_unused __attribute__((unused))
@@ -96,8 +122,29 @@
#endif
#endif
/**
* Mark a variable as used and prevent the compiler from optimizing it
* away. This is useful for variables accessed only from inline
* assembler without the compiler being aware.
*/
#ifndef av_used
#if AV_GCC_VERSION_AT_LEAST(3,1)
# define av_used __attribute__((used))
#else
# define av_used
#endif
#endif
#ifndef av_alias
#if AV_GCC_VERSION_AT_LEAST(3,3)
# define av_alias __attribute__((may_alias))
#else
# define av_alias
#endif
#endif
#ifndef av_uninit
#if defined(__GNUC__) && !defined(__ICC)
#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
# define av_uninit(x) x=x
#else
# define av_uninit(x) x
@@ -106,8 +153,10 @@
#ifdef __GNUC__
# define av_builtin_constant_p __builtin_constant_p
# define av_printf_format(fmtpos, attrpos) __attribute__((__format__(__printf__, fmtpos, attrpos)))
#else
# define av_builtin_constant_p(x) 0
# define av_printf_format(fmtpos, attrpos)
#endif
#endif /* AVUTIL_ATTRIBUTES_H */

View File

@@ -0,0 +1,147 @@
/*
* Copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at>
* Copyright (c) 2008 Peter Ross
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_AUDIOCONVERT_H
#define AVUTIL_AUDIOCONVERT_H
#include <stdint.h>
/**
* @file
* audio conversion routines
*/
/**
* @addtogroup lavu_audio
* @{
*/
/**
* @defgroup channel_masks Audio channel masks
* @{
*/
#define AV_CH_FRONT_LEFT 0x00000001
#define AV_CH_FRONT_RIGHT 0x00000002
#define AV_CH_FRONT_CENTER 0x00000004
#define AV_CH_LOW_FREQUENCY 0x00000008
#define AV_CH_BACK_LEFT 0x00000010
#define AV_CH_BACK_RIGHT 0x00000020
#define AV_CH_FRONT_LEFT_OF_CENTER 0x00000040
#define AV_CH_FRONT_RIGHT_OF_CENTER 0x00000080
#define AV_CH_BACK_CENTER 0x00000100
#define AV_CH_SIDE_LEFT 0x00000200
#define AV_CH_SIDE_RIGHT 0x00000400
#define AV_CH_TOP_CENTER 0x00000800
#define AV_CH_TOP_FRONT_LEFT 0x00001000
#define AV_CH_TOP_FRONT_CENTER 0x00002000
#define AV_CH_TOP_FRONT_RIGHT 0x00004000
#define AV_CH_TOP_BACK_LEFT 0x00008000
#define AV_CH_TOP_BACK_CENTER 0x00010000
#define AV_CH_TOP_BACK_RIGHT 0x00020000
#define AV_CH_STEREO_LEFT 0x20000000 ///< Stereo downmix.
#define AV_CH_STEREO_RIGHT 0x40000000 ///< See AV_CH_STEREO_LEFT.
#define AV_CH_WIDE_LEFT 0x0000000080000000ULL
#define AV_CH_WIDE_RIGHT 0x0000000100000000ULL
#define AV_CH_SURROUND_DIRECT_LEFT 0x0000000200000000ULL
#define AV_CH_SURROUND_DIRECT_RIGHT 0x0000000400000000ULL
/** Channel mask value used for AVCodecContext.request_channel_layout
to indicate that the user requests the channel order of the decoder output
to be the native codec channel order. */
#define AV_CH_LAYOUT_NATIVE 0x8000000000000000ULL
/**
* @}
* @defgroup channel_mask_c Audio channel convenience macros
* @{
* */
#define AV_CH_LAYOUT_MONO (AV_CH_FRONT_CENTER)
#define AV_CH_LAYOUT_STEREO (AV_CH_FRONT_LEFT|AV_CH_FRONT_RIGHT)
#define AV_CH_LAYOUT_2POINT1 (AV_CH_LAYOUT_STEREO|AV_CH_LOW_FREQUENCY)
#define AV_CH_LAYOUT_2_1 (AV_CH_LAYOUT_STEREO|AV_CH_BACK_CENTER)
#define AV_CH_LAYOUT_SURROUND (AV_CH_LAYOUT_STEREO|AV_CH_FRONT_CENTER)
#define AV_CH_LAYOUT_3POINT1 (AV_CH_LAYOUT_SURROUND|AV_CH_LOW_FREQUENCY)
#define AV_CH_LAYOUT_4POINT0 (AV_CH_LAYOUT_SURROUND|AV_CH_BACK_CENTER)
#define AV_CH_LAYOUT_4POINT1 (AV_CH_LAYOUT_4POINT0|AV_CH_LOW_FREQUENCY)
#define AV_CH_LAYOUT_2_2 (AV_CH_LAYOUT_STEREO|AV_CH_SIDE_LEFT|AV_CH_SIDE_RIGHT)
#define AV_CH_LAYOUT_QUAD (AV_CH_LAYOUT_STEREO|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT)
#define AV_CH_LAYOUT_5POINT0 (AV_CH_LAYOUT_SURROUND|AV_CH_SIDE_LEFT|AV_CH_SIDE_RIGHT)
#define AV_CH_LAYOUT_5POINT1 (AV_CH_LAYOUT_5POINT0|AV_CH_LOW_FREQUENCY)
#define AV_CH_LAYOUT_5POINT0_BACK (AV_CH_LAYOUT_SURROUND|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT)
#define AV_CH_LAYOUT_5POINT1_BACK (AV_CH_LAYOUT_5POINT0_BACK|AV_CH_LOW_FREQUENCY)
#define AV_CH_LAYOUT_6POINT0 (AV_CH_LAYOUT_5POINT0|AV_CH_BACK_CENTER)
#define AV_CH_LAYOUT_6POINT0_FRONT (AV_CH_LAYOUT_2_2|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER)
#define AV_CH_LAYOUT_HEXAGONAL (AV_CH_LAYOUT_5POINT0_BACK|AV_CH_BACK_CENTER)
#define AV_CH_LAYOUT_6POINT1 (AV_CH_LAYOUT_5POINT1|AV_CH_BACK_CENTER)
#define AV_CH_LAYOUT_6POINT1_BACK (AV_CH_LAYOUT_5POINT1_BACK|AV_CH_BACK_CENTER)
#define AV_CH_LAYOUT_6POINT1_FRONT (AV_CH_LAYOUT_6POINT0_FRONT|AV_CH_LOW_FREQUENCY)
#define AV_CH_LAYOUT_7POINT0 (AV_CH_LAYOUT_5POINT0|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT)
#define AV_CH_LAYOUT_7POINT0_FRONT (AV_CH_LAYOUT_5POINT0|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER)
#define AV_CH_LAYOUT_7POINT1 (AV_CH_LAYOUT_5POINT1|AV_CH_BACK_LEFT|AV_CH_BACK_RIGHT)
#define AV_CH_LAYOUT_7POINT1_WIDE (AV_CH_LAYOUT_5POINT1|AV_CH_FRONT_LEFT_OF_CENTER|AV_CH_FRONT_RIGHT_OF_CENTER)
#define AV_CH_LAYOUT_OCTAGONAL (AV_CH_LAYOUT_5POINT0|AV_CH_BACK_LEFT|AV_CH_BACK_CENTER|AV_CH_BACK_RIGHT)
#define AV_CH_LAYOUT_STEREO_DOWNMIX (AV_CH_STEREO_LEFT|AV_CH_STEREO_RIGHT)
/**
* @}
*/
/**
* Return a channel layout id that matches name, 0 if no match.
* name can be one or several of the following notations,
* separated by '+' or '|':
* - the name of an usual channel layout (mono, stereo, 4.0, quad, 5.0,
* 5.0(side), 5.1, 5.1(side), 7.1, 7.1(wide), downmix);
* - the name of a single channel (FL, FR, FC, LFE, BL, BR, FLC, FRC, BC,
* SL, SR, TC, TFL, TFC, TFR, TBL, TBC, TBR, DL, DR);
* - a number of channels, in decimal, optionnally followed by 'c', yielding
* the default channel layout for that number of channels (@see
* av_get_default_channel_layout);
* - a channel layout mask, in hexadecimal starting with "0x" (see the
* AV_CH_* macros).
+ Example: "stereo+FC" = "2+FC" = "2c+1c" = "0x7"
*/
uint64_t av_get_channel_layout(const char *name);
/**
* Return a description of a channel layout.
* If nb_channels is <= 0, it is guessed from the channel_layout.
*
* @param buf put here the string containing the channel layout
* @param buf_size size in bytes of the buffer
*/
void av_get_channel_layout_string(char *buf, int buf_size, int nb_channels, uint64_t channel_layout);
/**
* Return the number of channels in the channel layout.
*/
int av_get_channel_layout_nb_channels(uint64_t channel_layout);
/**
* Return default channel layout for a given number of channels.
*/
int64_t av_get_default_channel_layout(int nb_channels);
/**
* @}
*/
#endif /* AVUTIL_AUDIOCONVERT_H */

View File

@@ -0,0 +1,66 @@
/*
* copyright (c) 2010 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/**
* @file
* simple assert() macros that are a bit more flexible than ISO C assert().
* @author Michael Niedermayer <michaelni@gmx.at>
*/
#ifndef AVUTIL_AVASSERT_H
#define AVUTIL_AVASSERT_H
#include <stdlib.h>
#include "avutil.h"
#include "log.h"
/**
* assert() equivalent, that is always enabled.
*/
#define av_assert0(cond) do { \
if (!(cond)) { \
av_log(NULL, AV_LOG_FATAL, "Assertion %s failed at %s:%d\n", \
AV_STRINGIFY(cond), __FILE__, __LINE__); \
abort(); \
} \
} while (0)
/**
* assert() equivalent, that does not lie in speed critical code.
* These asserts() thus can be enabled without fearing speedloss.
*/
#if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 0
#define av_assert1(cond) av_assert0(cond)
#else
#define av_assert1(cond) ((void)0)
#endif
/**
* assert() equivalent, that does lie in speed critical code.
*/
#if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 1
#define av_assert2(cond) av_assert0(cond)
#else
#define av_assert2(cond) ((void)0)
#endif
#endif /* AVUTIL_AVASSERT_H */

View File

@@ -2,4 +2,5 @@
#ifndef AVUTIL_AVCONFIG_H
#define AVUTIL_AVCONFIG_H
#define AV_HAVE_BIGENDIAN 0
#define AV_HAVE_FAST_UNALIGNED 1
#endif /* AVUTIL_AVCONFIG_H */

View File

@@ -22,6 +22,12 @@
#define AVUTIL_AVSTRING_H
#include <stddef.h>
#include "attributes.h"
/**
* @addtogroup lavu_string
* @{
*/
/**
* Return non-zero if pfx is a prefix of str. If it is, *ptr is set to
@@ -71,7 +77,7 @@ char *av_stristr(const char *haystack, const char *needle);
* @param size size of destination buffer
* @return the length of src
*
* WARNING: since the return value is the length of src, src absolutely
* @warning since the return value is the length of src, src absolutely
* _must_ be a properly 0-terminated string, otherwise this will read beyond
* the end of the buffer and possibly crash.
*/
@@ -89,9 +95,9 @@ size_t av_strlcpy(char *dst, const char *src, size_t size);
* @param size size of destination buffer
* @return the total length of src and dst
*
* WARNING: since the return value use the length of src and dst, these absolutely
* _must_ be a properly 0-terminated strings, otherwise this will read beyond
* the end of the buffer and possibly crash.
* @warning since the return value use the length of src and dst, these
* absolutely _must_ be a properly 0-terminated strings, otherwise this
* will read beyond the end of the buffer and possibly crash.
*/
size_t av_strlcat(char *dst, const char *src, size_t size);
@@ -107,11 +113,97 @@ size_t av_strlcat(char *dst, const char *src, size_t size);
* @return the length of the string that would have been generated
* if enough space had been available
*/
size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...);
size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...) av_printf_format(3, 4);
/**
* Print arguments following specified format into a large enough auto
* allocated buffer. It is similar to GNU asprintf().
* @param fmt printf-compatible format string, specifying how the
* following parameters are used.
* @return the allocated string
* @note You have to free the string yourself with av_free().
*/
char *av_asprintf(const char *fmt, ...) av_printf_format(1, 2);
/**
* Convert a number to a av_malloced string.
*/
char *av_d2str(double d);
/**
* Unescape the given string until a non escaped terminating char,
* and return the token corresponding to the unescaped string.
*
* The normal \ and ' escaping is supported. Leading and trailing
* whitespaces are removed, unless they are escaped with '\' or are
* enclosed between ''.
*
* @param buf the buffer to parse, buf will be updated to point to the
* terminating char
* @param term a 0-terminated list of terminating chars
* @return the malloced unescaped string, which must be av_freed by
* the user, NULL in case of allocation failure
*/
char *av_get_token(const char **buf, const char *term);
/**
* Split the string into several tokens which can be accessed by
* successive calls to av_strtok().
*
* A token is defined as a sequence of characters not belonging to the
* set specified in delim.
*
* On the first call to av_strtok(), s should point to the string to
* parse, and the value of saveptr is ignored. In subsequent calls, s
* should be NULL, and saveptr should be unchanged since the previous
* call.
*
* This function is similar to strtok_r() defined in POSIX.1.
*
* @param s the string to parse, may be NULL
* @param delim 0-terminated list of token delimiters, must be non-NULL
* @param saveptr user-provided pointer which points to stored
* information necessary for av_strtok() to continue scanning the same
* string. saveptr is updated to point to the next character after the
* first delimiter found, or to NULL if the string was terminated
* @return the found token, or NULL when no token is found
*/
char *av_strtok(char *s, const char *delim, char **saveptr);
/**
* Locale-independent conversion of ASCII characters to uppercase.
*/
static inline int av_toupper(int c)
{
if (c >= 'a' && c <= 'z')
c ^= 0x20;
return c;
}
/**
* Locale-independent conversion of ASCII characters to lowercase.
*/
static inline int av_tolower(int c)
{
if (c >= 'A' && c <= 'Z')
c ^= 0x20;
return c;
}
/**
* Locale-independent case-insensitive compare.
* @note This means only ASCII-range characters are case-insensitive
*/
int av_strcasecmp(const char *a, const char *b);
/**
* Locale-independent case-insensitive compare.
* @note This means only ASCII-range characters are case-insensitive
*/
int av_strncasecmp(const char *a, const char *b, size_t n);
/**
* @}
*/
#endif /* AVUTIL_AVSTRING_H */

View File

@@ -26,6 +26,96 @@
* external API header
*/
/**
* @mainpage
*
* @section libav_intro Introduction
*
* This document describe the usage of the different libraries
* provided by FFmpeg.
*
* @li @ref libavc "libavcodec" encoding/decoding library
* @li @subpage libavfilter graph based frame editing library
* @li @ref libavf "libavformat" I/O and muxing/demuxing library
* @li @ref lavd "libavdevice" special devices muxing/demuxing library
* @li @ref lavu "libavutil" common utility library
* @li @subpage libpostproc post processing library
* @li @subpage libswscale color conversion and scaling library
*
*/
/**
* @defgroup lavu Common utility functions
*
* @brief
* libavutil contains the code shared across all the other FFmpeg
* libraries
*
* @note In order to use the functions provided by avutil you must include
* the specific header.
*
* @{
*
* @defgroup lavu_crypto Crypto and Hashing
*
* @{
* @}
*
* @defgroup lavu_math Maths
* @{
*
* @}
*
* @defgroup lavu_string String Manipulation
*
* @{
*
* @}
*
* @defgroup lavu_mem Memory Management
*
* @{
*
* @}
*
* @defgroup lavu_data Data Structures
* @{
*
* @}
*
* @defgroup lavu_audio Audio related
*
* @{
*
* @}
*
* @defgroup lavu_error Error Codes
*
* @{
*
* @}
*
* @defgroup lavu_misc Other
*
* @{
*
* @defgroup lavu_internal Internal
*
* Not exported functions, for internal usage only
*
* @{
*
* @}
*/
/**
* @defgroup preproc_misc Preprocessor String Macros
*
* String manipulation macros
*
* @{
*/
#define AV_STRINGIFY(s) AV_TOSTRING(s)
#define AV_TOSTRING(s) #s
@@ -35,13 +125,37 @@
#define AV_PRAGMA(s) _Pragma(#s)
/**
* @}
*/
/**
* @defgroup version_utils Library Version Macros
*
* Useful to check and match library version in order to maintain
* backward compatibility.
*
* @{
*/
#define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
#define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c
#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
#define LIBAVUTIL_VERSION_MAJOR 50
#define LIBAVUTIL_VERSION_MINOR 15
#define LIBAVUTIL_VERSION_MICRO 1
/**
* @}
*
* @defgroup lavu_ver Version and Build diagnostics
*
* Macros and function useful to check at compiletime and at runtime
* which version of libavutil is in use.
*
* @{
*/
#define LIBAVUTIL_VERSION_MAJOR 51
#define LIBAVUTIL_VERSION_MINOR 35
#define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
LIBAVUTIL_VERSION_MINOR, \
@@ -54,30 +168,163 @@
#define LIBAVUTIL_IDENT "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)
/**
* Returns the LIBAVUTIL_VERSION_INT constant.
* @}
*
* @defgroup depr_guards Deprecation guards
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
*
* They are used mostly internally to mark code that will be removed
* on the next major version.
*
* @{
*/
#ifndef FF_API_OLD_EVAL_NAMES
#define FF_API_OLD_EVAL_NAMES (LIBAVUTIL_VERSION_MAJOR < 52)
#endif
#ifndef FF_API_GET_BITS_PER_SAMPLE_FMT
#define FF_API_GET_BITS_PER_SAMPLE_FMT (LIBAVUTIL_VERSION_MAJOR < 52)
#endif
#ifndef FF_API_FIND_OPT
#define FF_API_FIND_OPT (LIBAVUTIL_VERSION_MAJOR < 52)
#endif
#ifndef FF_API_AV_FIFO_PEEK
#define FF_API_AV_FIFO_PEEK (LIBAVUTIL_VERSION_MAJOR < 52)
#endif
#ifndef FF_API_OLD_AVOPTIONS
#define FF_API_OLD_AVOPTIONS (LIBAVUTIL_VERSION_MAJOR < 52)
#endif
/**
* @}
*/
/**
* @addtogroup lavu_ver
* @{
*/
/**
* Return the LIBAVUTIL_VERSION_INT constant.
*/
unsigned avutil_version(void);
/**
* Returns the libavutil build-time configuration.
* Return the libavutil build-time configuration.
*/
const char *avutil_configuration(void);
/**
* Returns the libavutil license.
* Return the libavutil license.
*/
const char *avutil_license(void);
/**
* @}
*/
/**
* @addtogroup lavu_media Media Type
* @brief Media Type
*/
enum AVMediaType {
AVMEDIA_TYPE_UNKNOWN = -1,
AVMEDIA_TYPE_UNKNOWN = -1, ///< Usually treated as AVMEDIA_TYPE_DATA
AVMEDIA_TYPE_VIDEO,
AVMEDIA_TYPE_AUDIO,
AVMEDIA_TYPE_DATA,
AVMEDIA_TYPE_DATA, ///< Opaque data information usually continuous
AVMEDIA_TYPE_SUBTITLE,
AVMEDIA_TYPE_ATTACHMENT,
AVMEDIA_TYPE_ATTACHMENT, ///< Opaque data information usually sparse
AVMEDIA_TYPE_NB
};
/**
* Return a string describing the media_type enum, NULL if media_type
* is unknown.
*/
const char *av_get_media_type_string(enum AVMediaType media_type);
/**
* @defgroup lavu_const Constants
* @{
*
* @defgroup lavu_enc Encoding specific
*
* @note those definition should move to avcodec
* @{
*/
#define FF_LAMBDA_SHIFT 7
#define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
#define FF_QP2LAMBDA 118 ///< factor to convert from H.263 QP to lambda
#define FF_LAMBDA_MAX (256*128-1)
#define FF_QUALITY_SCALE FF_LAMBDA_SCALE //FIXME maybe remove
/**
* @}
* @defgroup lavu_time Timestamp specific
*
* FFmpeg internal timebase and timestamp definitions
*
* @{
*/
/**
* @brief Undefined timestamp value
*
* Usually reported by demuxer that work on containers that do not provide
* either pts or dts.
*/
#define AV_NOPTS_VALUE INT64_C(0x8000000000000000)
/**
* Internal time base represented as integer
*/
#define AV_TIME_BASE 1000000
/**
* Internal time base represented as fractional value
*/
#define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
/**
* @}
* @}
* @defgroup lavu_picture Image related
*
* AVPicture types, pixel formats and basic image planes manipulation.
*
* @{
*/
enum AVPictureType {
AV_PICTURE_TYPE_NONE = 0, ///< Undefined
AV_PICTURE_TYPE_I, ///< Intra
AV_PICTURE_TYPE_P, ///< Predicted
AV_PICTURE_TYPE_B, ///< Bi-dir predicted
AV_PICTURE_TYPE_S, ///< S(GMC)-VOP MPEG4
AV_PICTURE_TYPE_SI, ///< Switching Intra
AV_PICTURE_TYPE_SP, ///< Switching Predicted
AV_PICTURE_TYPE_BI, ///< BI type
};
/**
* Return a single letter to describe the given picture type
* pict_type.
*
* @param[in] pict_type the picture type @return a single character
* representing the picture type, '?' if pict_type is unknown
*/
char av_get_picture_type_char(enum AVPictureType pict_type);
/**
* @}
*/
#include "common.h"
#include "error.h"
#include "mathematics.h"
@@ -86,4 +333,17 @@ enum AVMediaType {
#include "log.h"
#include "pixfmt.h"
/**
* Return x default pointer in case p is NULL.
*/
static inline void *av_x_if_null(const void *p, const void *x)
{
return (void *)(intptr_t)(p ? p : x);
}
/**
* @}
* @}
*/
#endif /* AVUTIL_AVUTIL_H */

View File

@@ -21,29 +21,45 @@
#ifndef AVUTIL_BASE64_H
#define AVUTIL_BASE64_H
#include <msc_stdint.h>
#include <stdint.h>
/**
* Decodes the base64-encoded string in in and puts the decoded
* data in out.
* @defgroup lavu_base64 Base64
* @ingroup lavu_crypto
* @{
*/
/**
* Decode a base64-encoded string.
*
* @param out_size size in bytes of the out buffer, it should be at
* least 3/4 of the length of in
* @return the number of bytes written, or a negative value in case of
* error
* @param out buffer for decoded data
* @param in null-terminated input string
* @param out_size size in bytes of the out buffer, must be at
* least 3/4 of the length of in
* @return number of bytes written, or a negative value in case of
* invalid input
*/
int av_base64_decode(uint8_t *out, const char *in, int out_size);
/**
* Encodes in base64 the data in in and puts the resulting string
* in out.
* Encode data to base64 and null-terminate.
*
* @param out_size size in bytes of the out string, it should be at
* least ((in_size + 2) / 3) * 4 + 1
* @param in_size size in bytes of the in buffer
* @return the string containing the encoded data, or NULL in case of
* error
* @param out buffer for encoded data
* @param out_size size in bytes of the output buffer, must be at
* least AV_BASE64_SIZE(in_size)
* @param in_size size in bytes of the 'in' buffer
* @return 'out' or NULL in case of error
*/
char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size);
/**
* Calculate the output size needed to base64-encode x bytes.
*/
#define AV_BASE64_SIZE(x) (((x)+2) / 3 * 4 + 1)
/**
* @}
*/
#endif /* AVUTIL_BASE64_H */

View File

@@ -0,0 +1,109 @@
/*
* copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/**
* @file
* byte swapping routines
*/
#ifndef AVUTIL_BSWAP_H
#define AVUTIL_BSWAP_H
#include <stdint.h>
#include "libavutil/avconfig.h"
#include "attributes.h"
#ifdef HAVE_AV_CONFIG_H
#include "config.h"
#if ARCH_ARM
# include "arm/bswap.h"
#elif ARCH_AVR32
# include "avr32/bswap.h"
#elif ARCH_BFIN
# include "bfin/bswap.h"
#elif ARCH_SH4
# include "sh4/bswap.h"
#elif ARCH_X86
# include "x86/bswap.h"
#endif
#endif /* HAVE_AV_CONFIG_H */
#define AV_BSWAP16C(x) (((x) << 8 & 0xff00) | ((x) >> 8 & 0x00ff))
#define AV_BSWAP32C(x) (AV_BSWAP16C(x) << 16 | AV_BSWAP16C((x) >> 16))
#define AV_BSWAP64C(x) (AV_BSWAP32C(x) << 32 | AV_BSWAP32C((x) >> 32))
#define AV_BSWAPC(s, x) AV_BSWAP##s##C(x)
#ifndef av_bswap16
static av_always_inline av_const uint16_t av_bswap16(uint16_t x)
{
x= (x>>8) | (x<<8);
return x;
}
#endif
#ifndef av_bswap32
static av_always_inline av_const uint32_t av_bswap32(uint32_t x)
{
return AV_BSWAP32C(x);
}
#endif
#ifndef av_bswap64
static inline uint64_t av_const av_bswap64(uint64_t x)
{
return (uint64_t)av_bswap32(x) << 32 | av_bswap32(x >> 32);
}
#endif
// be2ne ... big-endian to native-endian
// le2ne ... little-endian to native-endian
#if AV_HAVE_BIGENDIAN
#define av_be2ne16(x) (x)
#define av_be2ne32(x) (x)
#define av_be2ne64(x) (x)
#define av_le2ne16(x) av_bswap16(x)
#define av_le2ne32(x) av_bswap32(x)
#define av_le2ne64(x) av_bswap64(x)
#define AV_BE2NEC(s, x) (x)
#define AV_LE2NEC(s, x) AV_BSWAPC(s, x)
#else
#define av_be2ne16(x) av_bswap16(x)
#define av_be2ne32(x) av_bswap32(x)
#define av_be2ne64(x) av_bswap64(x)
#define av_le2ne16(x) (x)
#define av_le2ne32(x) (x)
#define av_le2ne64(x) (x)
#define AV_BE2NEC(s, x) AV_BSWAPC(s, x)
#define AV_LE2NEC(s, x) (x)
#endif
#define AV_BE2NE16C(x) AV_BE2NEC(16, x)
#define AV_BE2NE32C(x) AV_BE2NEC(32, x)
#define AV_BE2NE64C(x) AV_BE2NEC(64, x)
#define AV_LE2NE16C(x) AV_LE2NEC(16, x)
#define AV_LE2NE32C(x) AV_LE2NEC(32, x)
#define AV_LE2NE64C(x) AV_LE2NEC(64, x)
#endif /* AVUTIL_BSWAP_H */

View File

@@ -28,22 +28,27 @@
#include <ctype.h>
#include <errno.h>
#ifdef _MSC_VER
#include <msc_inttypes.h>
#else
#include <inttypes.h>
#endif
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "attributes.h"
#include "libavutil/avconfig.h"
#if AV_HAVE_BIGENDIAN
# define AV_NE(be, le) (be)
#else
# define AV_NE(be, le) (le)
#endif
//rounded division & shift
#define RSHIFT(a,b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b))
/* assume b>0 */
#define ROUNDED_DIV(a,b) (((a)>0 ? (a) + ((b)>>1) : (a) - ((b)>>1))/(b))
#define FFUDIV(a,b) (((a)>0 ?(a):(a)-(b)+1) / (b))
#define FFUMOD(a,b) ((a)-(b)*FFUDIV(a,b))
#define FFABS(a) ((a) >= 0 ? (a) : (-(a)))
#define FFSIGN(a) ((a) > 0 ? 1 : -1)
@@ -61,7 +66,7 @@ extern const uint8_t ff_log2_tab[256];
extern const uint8_t av_reverse[256];
static inline av_const int av_log2_c(unsigned int v)
static av_always_inline av_const int av_log2_c(unsigned int v)
{
int n = 0;
if (v & 0xffff0000) {
@@ -77,7 +82,7 @@ static inline av_const int av_log2_c(unsigned int v)
return n;
}
static inline av_const int av_log2_16bit_c(unsigned int v)
static av_always_inline av_const int av_log2_16bit_c(unsigned int v)
{
int n = 0;
if (v & 0xff00) {
@@ -94,21 +99,17 @@ static inline av_const int av_log2_16bit_c(unsigned int v)
# include "intmath.h"
#endif
#ifndef av_log2
# define av_log2 av_log2_c
#endif
#ifndef av_log2_16bit
# define av_log2_16bit av_log2_16bit_c
#endif
/* Pull in unguarded fallback defines at the end of this file. */
#include "common.h"
/**
* Clips a signed integer value into the amin-amax range.
* Clip a signed integer value into the amin-amax range.
* @param a value to clip
* @param amin minimum value of the clip range
* @param amax maximum value of the clip range
* @return clipped value
*/
static inline av_const int av_clip(int a, int amin, int amax)
static av_always_inline av_const int av_clip_c(int a, int amin, int amax)
{
if (a < amin) return amin;
else if (a > amax) return amax;
@@ -116,87 +117,132 @@ static inline av_const int av_clip(int a, int amin, int amax)
}
/**
* Clips a signed integer value into the 0-255 range.
* Clip a signed integer value into the 0-255 range.
* @param a value to clip
* @return clipped value
*/
static inline av_const uint8_t av_clip_uint8(int a)
static av_always_inline av_const uint8_t av_clip_uint8_c(int a)
{
if (a&(~0xFF)) return (-a)>>31;
else return a;
}
/**
* Clips a signed integer value into the 0-65535 range.
* Clip a signed integer value into the -128,127 range.
* @param a value to clip
* @return clipped value
*/
static inline av_const uint16_t av_clip_uint16(int a)
static av_always_inline av_const int8_t av_clip_int8_c(int a)
{
if ((a+0x80) & ~0xFF) return (a>>31) ^ 0x7F;
else return a;
}
/**
* Clip a signed integer value into the 0-65535 range.
* @param a value to clip
* @return clipped value
*/
static av_always_inline av_const uint16_t av_clip_uint16_c(int a)
{
if (a&(~0xFFFF)) return (-a)>>31;
else return a;
}
/**
* Clips a signed integer value into the -32768,32767 range.
* Clip a signed integer value into the -32768,32767 range.
* @param a value to clip
* @return clipped value
*/
static inline av_const int16_t av_clip_int16(int a)
static av_always_inline av_const int16_t av_clip_int16_c(int a)
{
if ((a+0x8000) & ~0xFFFF) return (a>>31) ^ 0x7FFF;
else return a;
}
/**
* Clips a signed 64-bit integer value into the -2147483648,2147483647 range.
* Clip a signed 64-bit integer value into the -2147483648,2147483647 range.
* @param a value to clip
* @return clipped value
*/
static inline av_const int32_t av_clipl_int32(int64_t a)
static av_always_inline av_const int32_t av_clipl_int32_c(int64_t a)
{
if ((a+0x80000000u) & ~UINT64_C(0xFFFFFFFF)) return (a>>63) ^ 0x7FFFFFFF;
else return a;
}
/**
* Clips a float value into the amin-amax range.
* Clip a signed integer to an unsigned power of two range.
* @param a value to clip
* @param p bit position to clip at
* @return clipped value
*/
static av_always_inline av_const unsigned av_clip_uintp2_c(int a, int p)
{
if (a & ~((1<<p) - 1)) return -a >> 31 & ((1<<p) - 1);
else return a;
}
/**
* Clip a float value into the amin-amax range.
* @param a value to clip
* @param amin minimum value of the clip range
* @param amax maximum value of the clip range
* @return clipped value
*/
static inline av_const float av_clipf(float a, float amin, float amax)
static av_always_inline av_const float av_clipf_c(float a, float amin, float amax)
{
if (a < amin) return amin;
else if (a > amax) return amax;
else return a;
}
/** Computes ceil(log2(x)).
/** Compute ceil(log2(x)).
* @param x value used to compute ceil(log2(x))
* @return computed ceiling of log2(x)
*/
static inline av_const int av_ceil_log2(int x)
static av_always_inline av_const int av_ceil_log2_c(int x)
{
return av_log2((x - 1) << 1);
}
#define MKTAG(a,b,c,d) (a | (b << 8) | (c << 16) | (d << 24))
#define MKBETAG(a,b,c,d) (d | (c << 8) | (b << 16) | (a << 24))
/**
* Count number of bits set to one in x
* @param x value to count bits of
* @return the number of bits set to one in x
*/
static av_always_inline av_const int av_popcount_c(uint32_t x)
{
x -= (x >> 1) & 0x55555555;
x = (x & 0x33333333) + ((x >> 2) & 0x33333333);
x = (x + (x >> 4)) & 0x0F0F0F0F;
x += x >> 8;
return (x + (x >> 16)) & 0x3F;
}
/*!
* \def GET_UTF8(val, GET_BYTE, ERROR)
* Converts a UTF-8 character (up to 4 bytes long) to its 32-bit UCS-4 encoded form
* \param val is the output and should be of type uint32_t. It holds the converted
* UCS-4 character and should be a left value.
* \param GET_BYTE gets UTF-8 encoded bytes from any proper source. It can be
* a function or a statement whose return value or evaluated value is of type
* uint8_t. It will be executed up to 4 times for values in the valid UTF-8 range,
* and up to 7 times in the general case.
* \param ERROR action that should be taken when an invalid UTF-8 byte is returned
* from GET_BYTE. It should be a statement that jumps out of the macro,
* like exit(), goto, return, break, or continue.
/**
* Count number of bits set to one in x
* @param x value to count bits of
* @return the number of bits set to one in x
*/
static av_always_inline av_const int av_popcount64_c(uint64_t x)
{
return av_popcount(x) + av_popcount(x >> 32);
}
#define MKTAG(a,b,c,d) ((a) | ((b) << 8) | ((c) << 16) | ((unsigned)(d) << 24))
#define MKBETAG(a,b,c,d) ((d) | ((c) << 8) | ((b) << 16) | ((unsigned)(a) << 24))
/**
* Convert a UTF-8 character (up to 4 bytes) to its 32-bit UCS-4 encoded form.
*
* @param val Output value, must be an lvalue of type uint32_t.
* @param GET_BYTE Expression reading one byte from the input.
* Evaluated up to 7 times (4 for the currently
* assigned Unicode range). With a memory buffer
* input, this could be *ptr++.
* @param ERROR Expression to be evaluated on invalid input,
* typically a goto statement.
*/
#define GET_UTF8(val, GET_BYTE, ERROR)\
val= GET_BYTE;\
@@ -213,17 +259,14 @@ static inline av_const int av_ceil_log2(int x)
}\
}
/*!
* \def GET_UTF16(val, GET_16BIT, ERROR)
* Converts a UTF-16 character (2 or 4 bytes) to its 32-bit UCS-4 encoded form
* \param val is the output and should be of type uint32_t. It holds the converted
* UCS-4 character and should be a left value.
* \param GET_16BIT gets two bytes of UTF-16 encoded data converted to native endianness.
* It can be a function or a statement whose return value or evaluated value is of type
* uint16_t. It will be executed up to 2 times.
* \param ERROR action that should be taken when an invalid UTF-16 surrogate is
* returned from GET_BYTE. It should be a statement that jumps out of the macro,
* like exit(), goto, return, break, or continue.
/**
* Convert a UTF-16 character (2 or 4 bytes) to its 32-bit UCS-4 encoded form.
*
* @param val Output value, must be an lvalue of type uint32_t.
* @param GET_16BIT Expression returning two bytes of UTF-16 data converted
* to native byte order. Evaluated one or two times.
* @param ERROR Expression to be evaluated on invalid input,
* typically a goto statement.
*/
#define GET_UTF16(val, GET_16BIT, ERROR)\
val = GET_16BIT;\
@@ -237,16 +280,16 @@ static inline av_const int av_ceil_log2(int x)
}\
}\
/*!
* \def PUT_UTF8(val, tmp, PUT_BYTE)
* Converts a 32-bit Unicode character to its UTF-8 encoded form (up to 4 bytes long).
* \param val is an input-only argument and should be of type uint32_t. It holds
/**
* @def PUT_UTF8(val, tmp, PUT_BYTE)
* Convert a 32-bit Unicode character to its UTF-8 encoded form (up to 4 bytes long).
* @param val is an input-only argument and should be of type uint32_t. It holds
* a UCS-4 encoded Unicode character that is to be converted to UTF-8. If
* val is given as a function it is executed only once.
* \param tmp is a temporary variable and should be of type uint8_t. It
* @param tmp is a temporary variable and should be of type uint8_t. It
* represents an intermediate value during conversion that is to be
* output by PUT_BYTE.
* \param PUT_BYTE writes the converted UTF-8 bytes to any proper destination.
* @param PUT_BYTE writes the converted UTF-8 bytes to any proper destination.
* It could be a function or a statement, and uses tmp as the input byte.
* For example, PUT_BYTE could be "*output++ = tmp;" PUT_BYTE will be
* executed up to 4 times for values in the valid UTF-8 range and up to
@@ -273,16 +316,16 @@ static inline av_const int av_ceil_log2(int x)
}\
}
/*!
* \def PUT_UTF16(val, tmp, PUT_16BIT)
* Converts a 32-bit Unicode character to its UTF-16 encoded form (2 or 4 bytes).
* \param val is an input-only argument and should be of type uint32_t. It holds
/**
* @def PUT_UTF16(val, tmp, PUT_16BIT)
* Convert a 32-bit Unicode character to its UTF-16 encoded form (2 or 4 bytes).
* @param val is an input-only argument and should be of type uint32_t. It holds
* a UCS-4 encoded Unicode character that is to be converted to UTF-16. If
* val is given as a function it is executed only once.
* \param tmp is a temporary variable and should be of type uint16_t. It
* @param tmp is a temporary variable and should be of type uint16_t. It
* represents an intermediate value during conversion that is to be
* output by PUT_16BIT.
* \param PUT_16BIT writes the converted UTF-16 data to any proper destination
* @param PUT_16BIT writes the converted UTF-16 data to any proper destination
* in desired endianness. It could be a function or a statement, and uses tmp
* as the input byte. For example, PUT_BYTE could be "*output++ = tmp;"
* PUT_BYTE will be executed 1 or 2 times depending on input character.
@@ -310,3 +353,48 @@ static inline av_const int av_ceil_log2(int x)
#endif /* HAVE_AV_CONFIG_H */
#endif /* AVUTIL_COMMON_H */
/*
* The following definitions are outside the multiple inclusion guard
* to ensure they are immediately available in intmath.h.
*/
#ifndef av_log2
# define av_log2 av_log2_c
#endif
#ifndef av_log2_16bit
# define av_log2_16bit av_log2_16bit_c
#endif
#ifndef av_ceil_log2
# define av_ceil_log2 av_ceil_log2_c
#endif
#ifndef av_clip
# define av_clip av_clip_c
#endif
#ifndef av_clip_uint8
# define av_clip_uint8 av_clip_uint8_c
#endif
#ifndef av_clip_int8
# define av_clip_int8 av_clip_int8_c
#endif
#ifndef av_clip_uint16
# define av_clip_uint16 av_clip_uint16_c
#endif
#ifndef av_clip_int16
# define av_clip_int16 av_clip_int16_c
#endif
#ifndef av_clipl_int32
# define av_clipl_int32 av_clipl_int32_c
#endif
#ifndef av_clip_uintp2
# define av_clip_uintp2 av_clip_uintp2_c
#endif
#ifndef av_clipf
# define av_clipf av_clipf_c
#endif
#ifndef av_popcount
# define av_popcount av_popcount_c
#endif
#ifndef av_popcount64
# define av_popcount64 av_popcount64_c
#endif

View File

@@ -0,0 +1,63 @@
/*
* Copyright (c) 2000, 2001, 2002 Fabrice Bellard
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_CPU_H
#define AVUTIL_CPU_H
#define AV_CPU_FLAG_FORCE 0x80000000 /* force usage of selected flags (OR) */
/* lower 16 bits - CPU features */
#define AV_CPU_FLAG_MMX 0x0001 ///< standard MMX
#define AV_CPU_FLAG_MMX2 0x0002 ///< SSE integer functions or AMD MMX ext
#define AV_CPU_FLAG_3DNOW 0x0004 ///< AMD 3DNOW
#define AV_CPU_FLAG_SSE 0x0008 ///< SSE functions
#define AV_CPU_FLAG_SSE2 0x0010 ///< PIV SSE2 functions
#define AV_CPU_FLAG_SSE2SLOW 0x40000000 ///< SSE2 supported, but usually not faster
#define AV_CPU_FLAG_3DNOWEXT 0x0020 ///< AMD 3DNowExt
#define AV_CPU_FLAG_SSE3 0x0040 ///< Prescott SSE3 functions
#define AV_CPU_FLAG_SSE3SLOW 0x20000000 ///< SSE3 supported, but usually not faster
#define AV_CPU_FLAG_SSSE3 0x0080 ///< Conroe SSSE3 functions
#define AV_CPU_FLAG_ATOM 0x10000000 ///< Atom processor, some SSSE3 instructions are slower
#define AV_CPU_FLAG_SSE4 0x0100 ///< Penryn SSE4.1 functions
#define AV_CPU_FLAG_SSE42 0x0200 ///< Nehalem SSE4.2 functions
#define AV_CPU_FLAG_AVX 0x4000 ///< AVX functions: requires OS support even if YMM registers aren't used
#define AV_CPU_FLAG_XOP 0x0400 ///< Bulldozer XOP functions
#define AV_CPU_FLAG_FMA4 0x0800 ///< Bulldozer FMA4 functions
#define AV_CPU_FLAG_IWMMXT 0x0100 ///< XScale IWMMXT
#define AV_CPU_FLAG_ALTIVEC 0x0001 ///< standard
/**
* Return the flags which specify extensions supported by the CPU.
*/
int av_get_cpu_flags(void);
/**
* Disables cpu detection and forces the specified flags.
*/
void av_force_cpu_flags(int flags);
/* The following CPU-specific functions shall not be called directly. */
int ff_get_cpu_flags_arm(void);
int ff_get_cpu_flags_ppc(void);
int ff_get_cpu_flags_x86(void);
#endif /* AVUTIL_CPU_H */

View File

@@ -21,7 +21,7 @@
#ifndef AVUTIL_CRC_H
#define AVUTIL_CRC_H
#include <msc_stdint.h>
#include <stdint.h>
#include <stddef.h>
#include "attributes.h"

View File

@@ -0,0 +1,127 @@
/*
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/**
* @file
* Public dictionary API.
* @deprecated
* AVDictionary is provided for compatibility with libav. It is both in
* implementation as well as API inefficient. It does not scale and is
* extremely slow with large dictionaries.
* It is recommended that new code uses our tree container from tree.c/h
* where applicable, which uses AVL trees to achieve O(log n) performance.
*/
#ifndef AVUTIL_DICT_H
#define AVUTIL_DICT_H
/**
* @addtogroup lavu_dict AVDictionary
* @ingroup lavu_data
*
* @brief Simple key:value store
*
* @{
* Dictionaries are used for storing key:value pairs. To create
* an AVDictionary, simply pass an address of a NULL pointer to
* av_dict_set(). NULL can be used as an empty dictionary wherever
* a pointer to an AVDictionary is required.
* Use av_dict_get() to retrieve an entry or iterate over all
* entries and finally av_dict_free() to free the dictionary
* and all its contents.
*
* @code
* AVDictionary *d = NULL; // "create" an empty dictionary
* av_dict_set(&d, "foo", "bar", 0); // add an entry
*
* char *k = av_strdup("key"); // if your strings are already allocated,
* char *v = av_strdup("value"); // you can avoid copying them like this
* av_dict_set(&d, k, v, AV_DICT_DONT_STRDUP_KEY | AV_DICT_DONT_STRDUP_VAL);
*
* AVDictionaryEntry *t = NULL;
* while (t = av_dict_get(d, "", t, AV_DICT_IGNORE_SUFFIX)) {
* <....> // iterate over all entries in d
* }
*
* av_dict_free(&d);
* @endcode
*
*/
#define AV_DICT_MATCH_CASE 1
#define AV_DICT_IGNORE_SUFFIX 2
#define AV_DICT_DONT_STRDUP_KEY 4 /**< Take ownership of a key that's been
allocated with av_malloc() and children. */
#define AV_DICT_DONT_STRDUP_VAL 8 /**< Take ownership of a value that's been
allocated with av_malloc() and chilren. */
#define AV_DICT_DONT_OVERWRITE 16 ///< Don't overwrite existing entries.
#define AV_DICT_APPEND 32 /**< If the entry already exists, append to it. Note that no
delimiter is added, the strings are simply concatenated. */
typedef struct {
char *key;
char *value;
} AVDictionaryEntry;
typedef struct AVDictionary AVDictionary;
/**
* Get a dictionary entry with matching key.
*
* @param prev Set to the previous matching element to find the next.
* If set to NULL the first matching element is returned.
* @param flags Allows case as well as suffix-insensitive comparisons.
* @return Found entry or NULL, changing key or value leads to undefined behavior.
*/
AVDictionaryEntry *
av_dict_get(AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags);
/**
* Set the given entry in *pm, overwriting an existing entry.
*
* @param pm pointer to a pointer to a dictionary struct. If *pm is NULL
* a dictionary struct is allocated and put in *pm.
* @param key entry key to add to *pm (will be av_strduped depending on flags)
* @param value entry value to add to *pm (will be av_strduped depending on flags).
* Passing a NULL value will cause an existing tag to be deleted.
* @return >= 0 on success otherwise an error code <0
*/
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
/**
* Copy entries from one AVDictionary struct into another.
* @param dst pointer to a pointer to a AVDictionary struct. If *dst is NULL,
* this function will allocate a struct for you and put it in *dst
* @param src pointer to source AVDictionary struct
* @param flags flags to use when setting entries in *dst
* @note metadata is read using the AV_DICT_IGNORE_SUFFIX flag
*/
void av_dict_copy(AVDictionary **dst, AVDictionary *src, int flags);
/**
* Free all the memory allocated for an AVDictionary struct
* and all keys and values.
*/
void av_dict_free(AVDictionary **m);
/**
* @}
*/
#endif // AVUTIL_DICT_H

View File

@@ -27,6 +27,13 @@
#include <errno.h>
#include "avutil.h"
/**
* @addtogroup lavu_error
*
* @{
*/
/* error handling */
#if EDOM > 0
#define AVERROR(e) (-(e)) ///< Returns a negative error code from a POSIX error code, to return from library functions.
@@ -37,36 +44,44 @@
#define AVUNERROR(e) (e)
#endif
#if LIBAVUTIL_VERSION_MAJOR < 51
#define AVERROR_INVALIDDATA AVERROR(EINVAL) ///< Invalid data found when processing input
#define AVERROR_IO AVERROR(EIO) ///< I/O error
#define AVERROR_NOENT AVERROR(ENOENT) ///< No such file or directory
#define AVERROR_NOFMT AVERROR(EILSEQ) ///< Unknown format
#define AVERROR_NOMEM AVERROR(ENOMEM) ///< Not enough memory
#define AVERROR_NOTSUPP AVERROR(ENOSYS) ///< Operation not supported
#define AVERROR_NUMEXPECTED AVERROR(EDOM) ///< Number syntax expected in filename
#define AVERROR_UNKNOWN AVERROR(EINVAL) ///< Unknown error
#endif
#define AVERROR_EOF AVERROR(EPIPE) ///< End of file
#define AVERROR_PATCHWELCOME (-MKTAG('P','A','W','E')) ///< Not yet implemented in FFmpeg, patches welcome
#if LIBAVUTIL_VERSION_MAJOR > 50
#define AVERROR_INVALIDDATA (-MKTAG('I','N','D','A')) ///< Invalid data found when processing input
#define AVERROR_NUMEXPECTED (-MKTAG('N','U','E','X')) ///< Number syntax expected in filename
#endif
#define AVERROR_BSF_NOT_FOUND (-MKTAG(0xF8,'B','S','F')) ///< Bitstream filter not found
#define AVERROR_BUG (-MKTAG( 'B','U','G','!')) ///< Internal bug, also see AVERROR_BUG2
#define AVERROR_DECODER_NOT_FOUND (-MKTAG(0xF8,'D','E','C')) ///< Decoder not found
#define AVERROR_DEMUXER_NOT_FOUND (-MKTAG(0xF8,'D','E','M')) ///< Demuxer not found
#define AVERROR_ENCODER_NOT_FOUND (-MKTAG(0xF8,'E','N','C')) ///< Encoder not found
#define AVERROR_EOF (-MKTAG( 'E','O','F',' ')) ///< End of file
#define AVERROR_EXIT (-MKTAG( 'E','X','I','T')) ///< Immediate exit was requested; the called function should not be restarted
#define AVERROR_FILTER_NOT_FOUND (-MKTAG(0xF8,'F','I','L')) ///< Filter not found
#define AVERROR_INVALIDDATA (-MKTAG( 'I','N','D','A')) ///< Invalid data found when processing input
#define AVERROR_MUXER_NOT_FOUND (-MKTAG(0xF8,'M','U','X')) ///< Muxer not found
#define AVERROR_OPTION_NOT_FOUND (-MKTAG(0xF8,'O','P','T')) ///< Option not found
#define AVERROR_PATCHWELCOME (-MKTAG( 'P','A','W','E')) ///< Not yet implemented in FFmpeg, patches welcome
#define AVERROR_PROTOCOL_NOT_FOUND (-MKTAG(0xF8,'P','R','O')) ///< Protocol not found
#define AVERROR_STREAM_NOT_FOUND (-MKTAG(0xF8,'S','T','R')) ///< Stream not found
/**
* Puts a description of the AVERROR code errnum in errbuf.
* This is semantically identical to AVERROR_BUG
* it has been introduced in Libav after our AVERROR_BUG and with a modified value.
*/
#define AVERROR_BUG2 (-MKTAG( 'B','U','G',' '))
#define AVERROR_UNKNOWN (-MKTAG( 'U','N','K','N')) ///< Unknown error, typically from an external library
/**
* Put a description of the AVERROR code errnum in errbuf.
* In case of failure the global variable errno is set to indicate the
* error. Even in case of failure av_strerror() will print a generic
* error message indicating the errnum provided to errbuf.
*
* @param errnum error code to describe
* @param errbuf buffer to which description is written
* @param errbuf_size the size in bytes of errbuf
* @return 0 on success, a negative value if a description for errnum
* cannot be found
*/
int av_strerror(int errnum, char *errbuf, size_t errbuf_size);
/**
* @}
*/
#endif /* AVUTIL_ERROR_H */

View File

@@ -0,0 +1,146 @@
/*
* Copyright (c) 2002 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/**
* @file
* simple arithmetic expression evaluator
*/
#ifndef AVUTIL_EVAL_H
#define AVUTIL_EVAL_H
#include "avutil.h"
typedef struct AVExpr AVExpr;
/**
* Parse and evaluate an expression.
* Note, this is significantly slower than av_expr_eval().
*
* @param res a pointer to a double where is put the result value of
* the expression, or NAN in case of error
* @param s expression as a zero terminated string, for example "1+2^3+5*5+sin(2/3)"
* @param const_names NULL terminated array of zero terminated strings of constant identifiers, for example {"PI", "E", 0}
* @param const_values a zero terminated array of values for the identifiers from const_names
* @param func1_names NULL terminated array of zero terminated strings of funcs1 identifiers
* @param funcs1 NULL terminated array of function pointers for functions which take 1 argument
* @param func2_names NULL terminated array of zero terminated strings of funcs2 identifiers
* @param funcs2 NULL terminated array of function pointers for functions which take 2 arguments
* @param opaque a pointer which will be passed to all functions from funcs1 and funcs2
* @param log_ctx parent logging context
* @return 0 in case of success, a negative value corresponding to an
* AVERROR code otherwise
*/
int av_expr_parse_and_eval(double *res, const char *s,
const char * const *const_names, const double *const_values,
const char * const *func1_names, double (* const *funcs1)(void *, double),
const char * const *func2_names, double (* const *funcs2)(void *, double, double),
void *opaque, int log_offset, void *log_ctx);
/**
* Parse an expression.
*
* @param expr a pointer where is put an AVExpr containing the parsed
* value in case of successful parsing, or NULL otherwise.
* The pointed to AVExpr must be freed with av_expr_free() by the user
* when it is not needed anymore.
* @param s expression as a zero terminated string, for example "1+2^3+5*5+sin(2/3)"
* @param const_names NULL terminated array of zero terminated strings of constant identifiers, for example {"PI", "E", 0}
* @param func1_names NULL terminated array of zero terminated strings of funcs1 identifiers
* @param funcs1 NULL terminated array of function pointers for functions which take 1 argument
* @param func2_names NULL terminated array of zero terminated strings of funcs2 identifiers
* @param funcs2 NULL terminated array of function pointers for functions which take 2 arguments
* @param log_ctx parent logging context
* @return 0 in case of success, a negative value corresponding to an
* AVERROR code otherwise
*/
int av_expr_parse(AVExpr **expr, const char *s,
const char * const *const_names,
const char * const *func1_names, double (* const *funcs1)(void *, double),
const char * const *func2_names, double (* const *funcs2)(void *, double, double),
int log_offset, void *log_ctx);
/**
* Evaluate a previously parsed expression.
*
* @param const_values a zero terminated array of values for the identifiers from av_expr_parse() const_names
* @param opaque a pointer which will be passed to all functions from funcs1 and funcs2
* @return the value of the expression
*/
double av_expr_eval(AVExpr *e, const double *const_values, void *opaque);
/**
* Free a parsed expression previously created with av_expr_parse().
*/
void av_expr_free(AVExpr *e);
#if FF_API_OLD_EVAL_NAMES
/**
* @deprecated Deprecated in favor of av_expr_parse_and_eval().
*/
attribute_deprecated
int av_parse_and_eval_expr(double *res, const char *s,
const char * const *const_names, const double *const_values,
const char * const *func1_names, double (* const *funcs1)(void *, double),
const char * const *func2_names, double (* const *funcs2)(void *, double, double),
void *opaque, int log_offset, void *log_ctx);
/**
* @deprecated Deprecated in favor of av_expr_parse().
*/
attribute_deprecated
int av_parse_expr(AVExpr **expr, const char *s,
const char * const *const_names,
const char * const *func1_names, double (* const *funcs1)(void *, double),
const char * const *func2_names, double (* const *funcs2)(void *, double, double),
int log_offset, void *log_ctx);
/**
* @deprecated Deprecated in favor of av_expr_eval().
*/
attribute_deprecated
double av_eval_expr(AVExpr *e, const double *const_values, void *opaque);
/**
* @deprecated Deprecated in favor of av_expr_free().
*/
attribute_deprecated
void av_free_expr(AVExpr *e);
#endif /* FF_API_OLD_EVAL_NAMES */
/**
* Parse the string in numstr and return its value as a double. If
* the string is empty, contains only whitespaces, or does not contain
* an initial substring that has the expected syntax for a
* floating-point number, no conversion is performed. In this case,
* returns a value of zero and the value returned in tail is the value
* of numstr.
*
* @param numstr a string representing a number, may contain one of
* the International System number postfixes, for example 'K', 'M',
* 'G'. If 'i' is appended after the postfix, powers of 2 are used
* instead of powers of 10. The 'B' postfix multiplies the value for
* 8, and can be appended after another postfix or used alone. This
* allows using for example 'KB', 'MiB', 'G' and 'B' as postfix.
* @param tail if non-NULL puts here the pointer to the char next
* after the last parsed character
*/
double av_strtod(const char *numstr, char **tail);
#endif /* AVUTIL_EVAL_H */

View File

@@ -24,7 +24,8 @@
#ifndef AVUTIL_FIFO_H
#define AVUTIL_FIFO_H
#include <msc_stdint.h>
#include <stdint.h>
#include "avutil.h"
typedef struct AVFifoBuffer {
uint8_t *buffer;
@@ -33,56 +34,56 @@ typedef struct AVFifoBuffer {
} AVFifoBuffer;
/**
* Initializes an AVFifoBuffer.
* Initialize an AVFifoBuffer.
* @param size of FIFO
* @return AVFifoBuffer or NULL in case of memory allocation failure
*/
AVFifoBuffer *av_fifo_alloc(unsigned int size);
/**
* Frees an AVFifoBuffer.
* @param *f AVFifoBuffer to free
* Free an AVFifoBuffer.
* @param f AVFifoBuffer to free
*/
void av_fifo_free(AVFifoBuffer *f);
/**
* Resets the AVFifoBuffer to the state right after av_fifo_alloc, in particular it is emptied.
* @param *f AVFifoBuffer to reset
* Reset the AVFifoBuffer to the state right after av_fifo_alloc, in particular it is emptied.
* @param f AVFifoBuffer to reset
*/
void av_fifo_reset(AVFifoBuffer *f);
/**
* Returns the amount of data in bytes in the AVFifoBuffer, that is the
* Return the amount of data in bytes in the AVFifoBuffer, that is the
* amount of data you can read from it.
* @param *f AVFifoBuffer to read from
* @param f AVFifoBuffer to read from
* @return size
*/
int av_fifo_size(AVFifoBuffer *f);
/**
* Returns the amount of space in bytes in the AVFifoBuffer, that is the
* Return the amount of space in bytes in the AVFifoBuffer, that is the
* amount of data you can write into it.
* @param *f AVFifoBuffer to write into
* @param f AVFifoBuffer to write into
* @return size
*/
int av_fifo_space(AVFifoBuffer *f);
/**
* Feeds data from an AVFifoBuffer to a user-supplied callback.
* @param *f AVFifoBuffer to read from
* Feed data from an AVFifoBuffer to a user-supplied callback.
* @param f AVFifoBuffer to read from
* @param buf_size number of bytes to read
* @param *func generic read function
* @param *dest data destination
* @param func generic read function
* @param dest data destination
*/
int av_fifo_generic_read(AVFifoBuffer *f, void *dest, int buf_size, void (*func)(void*, void*, int));
/**
* Feeds data from a user-supplied callback to an AVFifoBuffer.
* @param *f AVFifoBuffer to write to
* @param *src data source; non-const since it may be used as a
* Feed data from a user-supplied callback to an AVFifoBuffer.
* @param f AVFifoBuffer to write to
* @param src data source; non-const since it may be used as a
* modifiable context by the function defined in func
* @param size number of bytes to write
* @param *func generic write function; the first parameter is src,
* @param func generic write function; the first parameter is src,
* the second is dest_buf, the third is dest_buf_size.
* func must return the number of bytes written to dest_buf, or <= 0 to
* indicate no more data available to write.
@@ -92,25 +93,51 @@ int av_fifo_generic_read(AVFifoBuffer *f, void *dest, int buf_size, void (*func)
int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void*, void*, int));
/**
* Resizes an AVFifoBuffer.
* @param *f AVFifoBuffer to resize
* Resize an AVFifoBuffer.
* In case of reallocation failure, the old FIFO is kept unchanged.
*
* @param f AVFifoBuffer to resize
* @param size new AVFifoBuffer size in bytes
* @return <0 for failure, >=0 otherwise
*/
int av_fifo_realloc2(AVFifoBuffer *f, unsigned int size);
/**
* Reads and discards the specified amount of data from an AVFifoBuffer.
* @param *f AVFifoBuffer to read from
* Read and discard the specified amount of data from an AVFifoBuffer.
* @param f AVFifoBuffer to read from
* @param size amount of data to read in bytes
*/
void av_fifo_drain(AVFifoBuffer *f, int size);
static inline uint8_t av_fifo_peek(AVFifoBuffer *f, int offs)
/**
* Return a pointer to the data stored in a FIFO buffer at a certain offset.
* The FIFO buffer is not modified.
*
* @param f AVFifoBuffer to peek at, f must be non-NULL
* @param offs an offset in bytes, its absolute value must be less
* than the used buffer size or the returned pointer will
* point outside to the buffer data.
* The used buffer size can be checked with av_fifo_size().
*/
static inline uint8_t *av_fifo_peek2(const AVFifoBuffer *f, int offs)
{
uint8_t *ptr = f->rptr + offs;
if (ptr >= f->end)
ptr -= f->end - f->buffer;
return *ptr;
ptr = f->buffer + (ptr - f->end);
else if (ptr < f->buffer)
ptr = f->end - (f->buffer - ptr);
return ptr;
}
#if FF_API_AV_FIFO_PEEK
/**
* @deprecated Use av_fifo_peek2() instead.
*/
attribute_deprecated
static inline uint8_t av_fifo_peek(AVFifoBuffer *f, int offs)
{
return *av_fifo_peek2(f, offs);
}
#endif
#endif /* AVUTIL_FIFO_H */

View File

@@ -0,0 +1,61 @@
/*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_FILE_H
#define AVUTIL_FILE_H
#include "avutil.h"
/**
* @file
* Misc file utilities.
*/
/**
* Read the file with name filename, and put its content in a newly
* allocated buffer or map it with mmap() when available.
* In case of success set *bufptr to the read or mmapped buffer, and
* *size to the size in bytes of the buffer in *bufptr.
* The returned buffer must be released with av_file_unmap().
*
* @param log_offset loglevel offset used for logging
* @param log_ctx context used for logging
* @return a non negative number in case of success, a negative value
* corresponding to an AVERROR error code in case of failure
*/
int av_file_map(const char *filename, uint8_t **bufptr, size_t *size,
int log_offset, void *log_ctx);
/**
* Unmap or free the buffer bufptr created by av_file_map().
*
* @param size size in bytes of bufptr, must be the same as returned
* by av_file_map()
*/
void av_file_unmap(uint8_t *bufptr, size_t size);
/**
* Wrapper to work around the lack of mkstemp() on mingw.
* Also, tries to create file in /tmp first, if possible.
* *prefix can be a character constant; *filename will be allocated internally.
* @return file descriptor of opened file (or -1 on error)
* and opened file name in **filename.
*/
int av_tempfile(const char *prefix, char **filename, int log_offset, void *log_ctx);
#endif /* AVUTIL_FILE_H */

View File

@@ -0,0 +1,138 @@
/*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_IMGUTILS_H
#define AVUTIL_IMGUTILS_H
/**
* @file
* misc image utilities
*
* @addtogroup lavu_picture
* @{
*/
#include "avutil.h"
#include "pixdesc.h"
/**
* Compute the max pixel step for each plane of an image with a
* format described by pixdesc.
*
* The pixel step is the distance in bytes between the first byte of
* the group of bytes which describe a pixel component and the first
* byte of the successive group in the same plane for the same
* component.
*
* @param max_pixsteps an array which is filled with the max pixel step
* for each plane. Since a plane may contain different pixel
* components, the computed max_pixsteps[plane] is relative to the
* component in the plane with the max pixel step.
* @param max_pixstep_comps an array which is filled with the component
* for each plane which has the max pixel step. May be NULL.
*/
void av_image_fill_max_pixsteps(int max_pixsteps[4], int max_pixstep_comps[4],
const AVPixFmtDescriptor *pixdesc);
/**
* Compute the size of an image line with format pix_fmt and width
* width for the plane plane.
*
* @return the computed size in bytes
*/
int av_image_get_linesize(enum PixelFormat pix_fmt, int width, int plane);
/**
* Fill plane linesizes for an image with pixel format pix_fmt and
* width width.
*
* @param linesizes array to be filled with the linesize for each plane
* @return >= 0 in case of success, a negative error code otherwise
*/
int av_image_fill_linesizes(int linesizes[4], enum PixelFormat pix_fmt, int width);
/**
* Fill plane data pointers for an image with pixel format pix_fmt and
* height height.
*
* @param data pointers array to be filled with the pointer for each image plane
* @param ptr the pointer to a buffer which will contain the image
* @param linesizes the array containing the linesize for each
* plane, should be filled by av_image_fill_linesizes()
* @return the size in bytes required for the image buffer, a negative
* error code in case of failure
*/
int av_image_fill_pointers(uint8_t *data[4], enum PixelFormat pix_fmt, int height,
uint8_t *ptr, const int linesizes[4]);
/**
* Allocate an image with size w and h and pixel format pix_fmt, and
* fill pointers and linesizes accordingly.
* The allocated image buffer has to be freed by using
* av_freep(&pointers[0]).
*
* @param align the value to use for buffer size alignment
* @return the size in bytes required for the image buffer, a negative
* error code in case of failure
*/
int av_image_alloc(uint8_t *pointers[4], int linesizes[4],
int w, int h, enum PixelFormat pix_fmt, int align);
/**
* Copy image plane from src to dst.
* That is, copy "height" number of lines of "bytewidth" bytes each.
* The first byte of each successive line is separated by *_linesize
* bytes.
*
* @param dst_linesize linesize for the image plane in dst
* @param src_linesize linesize for the image plane in src
*/
void av_image_copy_plane(uint8_t *dst, int dst_linesize,
const uint8_t *src, int src_linesize,
int bytewidth, int height);
/**
* Copy image in src_data to dst_data.
*
* @param dst_linesizes linesizes for the image in dst_data
* @param src_linesizes linesizes for the image in src_data
*/
void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4],
const uint8_t *src_data[4], const int src_linesizes[4],
enum PixelFormat pix_fmt, int width, int height);
/**
* Check if the given dimension of an image is valid, meaning that all
* bytes of the image can be addressed with a signed int.
*
* @param w the width of the picture
* @param h the height of the picture
* @param log_offset the offset to sum to the log level for logging with log_ctx
* @param log_ctx the parent logging context, it may be NULL
* @return >= 0 if valid, a negative error code otherwise
*/
int av_image_check_size(unsigned int w, unsigned int h, int log_offset, void *log_ctx);
int ff_set_systematic_pal2(uint32_t pal[256], enum PixelFormat pix_fmt);
/**
* @}
*/
#endif /* AVUTIL_IMGUTILS_H */

View File

@@ -0,0 +1,73 @@
/*
* Copyright (c) 2011 Mans Rullgard
*
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* Libav is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_INTFLOAT_H
#define AVUTIL_INTFLOAT_H
#include <stdint.h>
#include "attributes.h"
union av_intfloat32 {
uint32_t i;
float f;
};
union av_intfloat64 {
uint64_t i;
double f;
};
/**
* Reinterpret a 32-bit integer as a float.
*/
static av_always_inline float av_int2float(uint32_t i)
{
union av_intfloat32 v = { .i = i };
return v.f;
}
/**
* Reinterpret a float as a 32-bit integer.
*/
static av_always_inline uint32_t av_float2int(float f)
{
union av_intfloat32 v = { .f = f };
return v.i;
}
/**
* Reinterpret a 64-bit integer as a double.
*/
static av_always_inline double av_int2double(uint64_t i)
{
union av_intfloat64 v = { .i = i };
return v.f;
}
/**
* Reinterpret a double as a 64-bit integer.
*/
static av_always_inline uint64_t av_double2int(double f)
{
union av_intfloat64 v = { .f = f };
return v.i;
}
#endif /* AVUTIL_INTFLOAT_H */

View File

@@ -21,7 +21,7 @@
#ifndef AVUTIL_INTFLOAT_READWRITE_H
#define AVUTIL_INTFLOAT_READWRITE_H
#include <msc_stdint.h>
#include <stdint.h>
#include "attributes.h"
/* IEEE 80 bits extended float */
@@ -30,11 +30,11 @@ typedef struct AVExtFloat {
uint8_t mantissa[8];
} AVExtFloat;
double av_int2dbl(int64_t v) av_const;
float av_int2flt(int32_t v) av_const;
double av_ext2dbl(const AVExtFloat ext) av_const;
int64_t av_dbl2int(double d) av_const;
int32_t av_flt2int(float d) av_const;
AVExtFloat av_dbl2ext(double d) av_const;
attribute_deprecated double av_int2dbl(int64_t v) av_const;
attribute_deprecated float av_int2flt(int32_t v) av_const;
attribute_deprecated double av_ext2dbl(const AVExtFloat ext) av_const;
attribute_deprecated int64_t av_dbl2int(double d) av_const;
attribute_deprecated int32_t av_flt2int(float d) av_const;
attribute_deprecated AVExtFloat av_dbl2ext(double d) av_const;
#endif /* AVUTIL_INTFLOAT_READWRITE_H */

View File

@@ -0,0 +1,522 @@
/*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_INTREADWRITE_H
#define AVUTIL_INTREADWRITE_H
#include <stdint.h>
#include "libavutil/avconfig.h"
#include "attributes.h"
#include "bswap.h"
typedef union {
uint64_t u64;
uint32_t u32[2];
uint16_t u16[4];
uint8_t u8 [8];
double f64;
float f32[2];
} av_alias av_alias64;
typedef union {
uint32_t u32;
uint16_t u16[2];
uint8_t u8 [4];
float f32;
} av_alias av_alias32;
typedef union {
uint16_t u16;
uint8_t u8 [2];
} av_alias av_alias16;
/*
* Arch-specific headers can provide any combination of
* AV_[RW][BLN](16|24|32|64) and AV_(COPY|SWAP|ZERO)(64|128) macros.
* Preprocessor symbols must be defined, even if these are implemented
* as inline functions.
*/
#ifdef HAVE_AV_CONFIG_H
#include "config.h"
#if ARCH_ARM
# include "arm/intreadwrite.h"
#elif ARCH_AVR32
# include "avr32/intreadwrite.h"
#elif ARCH_MIPS
# include "mips/intreadwrite.h"
#elif ARCH_PPC
# include "ppc/intreadwrite.h"
#elif ARCH_TOMI
# include "tomi/intreadwrite.h"
#elif ARCH_X86
# include "x86/intreadwrite.h"
#endif
#endif /* HAVE_AV_CONFIG_H */
/*
* Map AV_RNXX <-> AV_R[BL]XX for all variants provided by per-arch headers.
*/
#if AV_HAVE_BIGENDIAN
# if defined(AV_RN16) && !defined(AV_RB16)
# define AV_RB16(p) AV_RN16(p)
# elif !defined(AV_RN16) && defined(AV_RB16)
# define AV_RN16(p) AV_RB16(p)
# endif
# if defined(AV_WN16) && !defined(AV_WB16)
# define AV_WB16(p, v) AV_WN16(p, v)
# elif !defined(AV_WN16) && defined(AV_WB16)
# define AV_WN16(p, v) AV_WB16(p, v)
# endif
# if defined(AV_RN24) && !defined(AV_RB24)
# define AV_RB24(p) AV_RN24(p)
# elif !defined(AV_RN24) && defined(AV_RB24)
# define AV_RN24(p) AV_RB24(p)
# endif
# if defined(AV_WN24) && !defined(AV_WB24)
# define AV_WB24(p, v) AV_WN24(p, v)
# elif !defined(AV_WN24) && defined(AV_WB24)
# define AV_WN24(p, v) AV_WB24(p, v)
# endif
# if defined(AV_RN32) && !defined(AV_RB32)
# define AV_RB32(p) AV_RN32(p)
# elif !defined(AV_RN32) && defined(AV_RB32)
# define AV_RN32(p) AV_RB32(p)
# endif
# if defined(AV_WN32) && !defined(AV_WB32)
# define AV_WB32(p, v) AV_WN32(p, v)
# elif !defined(AV_WN32) && defined(AV_WB32)
# define AV_WN32(p, v) AV_WB32(p, v)
# endif
# if defined(AV_RN64) && !defined(AV_RB64)
# define AV_RB64(p) AV_RN64(p)
# elif !defined(AV_RN64) && defined(AV_RB64)
# define AV_RN64(p) AV_RB64(p)
# endif
# if defined(AV_WN64) && !defined(AV_WB64)
# define AV_WB64(p, v) AV_WN64(p, v)
# elif !defined(AV_WN64) && defined(AV_WB64)
# define AV_WN64(p, v) AV_WB64(p, v)
# endif
#else /* AV_HAVE_BIGENDIAN */
# if defined(AV_RN16) && !defined(AV_RL16)
# define AV_RL16(p) AV_RN16(p)
# elif !defined(AV_RN16) && defined(AV_RL16)
# define AV_RN16(p) AV_RL16(p)
# endif
# if defined(AV_WN16) && !defined(AV_WL16)
# define AV_WL16(p, v) AV_WN16(p, v)
# elif !defined(AV_WN16) && defined(AV_WL16)
# define AV_WN16(p, v) AV_WL16(p, v)
# endif
# if defined(AV_RN24) && !defined(AV_RL24)
# define AV_RL24(p) AV_RN24(p)
# elif !defined(AV_RN24) && defined(AV_RL24)
# define AV_RN24(p) AV_RL24(p)
# endif
# if defined(AV_WN24) && !defined(AV_WL24)
# define AV_WL24(p, v) AV_WN24(p, v)
# elif !defined(AV_WN24) && defined(AV_WL24)
# define AV_WN24(p, v) AV_WL24(p, v)
# endif
# if defined(AV_RN32) && !defined(AV_RL32)
# define AV_RL32(p) AV_RN32(p)
# elif !defined(AV_RN32) && defined(AV_RL32)
# define AV_RN32(p) AV_RL32(p)
# endif
# if defined(AV_WN32) && !defined(AV_WL32)
# define AV_WL32(p, v) AV_WN32(p, v)
# elif !defined(AV_WN32) && defined(AV_WL32)
# define AV_WN32(p, v) AV_WL32(p, v)
# endif
# if defined(AV_RN64) && !defined(AV_RL64)
# define AV_RL64(p) AV_RN64(p)
# elif !defined(AV_RN64) && defined(AV_RL64)
# define AV_RN64(p) AV_RL64(p)
# endif
# if defined(AV_WN64) && !defined(AV_WL64)
# define AV_WL64(p, v) AV_WN64(p, v)
# elif !defined(AV_WN64) && defined(AV_WL64)
# define AV_WN64(p, v) AV_WL64(p, v)
# endif
#endif /* !AV_HAVE_BIGENDIAN */
/*
* Define AV_[RW]N helper macros to simplify definitions not provided
* by per-arch headers.
*/
#if defined(__GNUC__) && !defined(__TI_COMPILER_VERSION__)
union unaligned_64 { uint64_t l; } __attribute__((packed)) av_alias;
union unaligned_32 { uint32_t l; } __attribute__((packed)) av_alias;
union unaligned_16 { uint16_t l; } __attribute__((packed)) av_alias;
# define AV_RN(s, p) (((const union unaligned_##s *) (p))->l)
# define AV_WN(s, p, v) ((((union unaligned_##s *) (p))->l) = (v))
#elif defined(__DECC)
# define AV_RN(s, p) (*((const __unaligned uint##s##_t*)(p)))
# define AV_WN(s, p, v) (*((__unaligned uint##s##_t*)(p)) = (v))
#elif AV_HAVE_FAST_UNALIGNED
# define AV_RN(s, p) (((const av_alias##s*)(p))->u##s)
# define AV_WN(s, p, v) (((av_alias##s*)(p))->u##s = (v))
#else
#ifndef AV_RB16
# define AV_RB16(x) \
((((const uint8_t*)(x))[0] << 8) | \
((const uint8_t*)(x))[1])
#endif
#ifndef AV_WB16
# define AV_WB16(p, d) do { \
((uint8_t*)(p))[1] = (d); \
((uint8_t*)(p))[0] = (d)>>8; \
} while(0)
#endif
#ifndef AV_RL16
# define AV_RL16(x) \
((((const uint8_t*)(x))[1] << 8) | \
((const uint8_t*)(x))[0])
#endif
#ifndef AV_WL16
# define AV_WL16(p, d) do { \
((uint8_t*)(p))[0] = (d); \
((uint8_t*)(p))[1] = (d)>>8; \
} while(0)
#endif
#ifndef AV_RB32
# define AV_RB32(x) \
(((uint32_t)((const uint8_t*)(x))[0] << 24) | \
(((const uint8_t*)(x))[1] << 16) | \
(((const uint8_t*)(x))[2] << 8) | \
((const uint8_t*)(x))[3])
#endif
#ifndef AV_WB32
# define AV_WB32(p, d) do { \
((uint8_t*)(p))[3] = (d); \
((uint8_t*)(p))[2] = (d)>>8; \
((uint8_t*)(p))[1] = (d)>>16; \
((uint8_t*)(p))[0] = (d)>>24; \
} while(0)
#endif
#ifndef AV_RL32
# define AV_RL32(x) \
(((uint32_t)((const uint8_t*)(x))[3] << 24) | \
(((const uint8_t*)(x))[2] << 16) | \
(((const uint8_t*)(x))[1] << 8) | \
((const uint8_t*)(x))[0])
#endif
#ifndef AV_WL32
# define AV_WL32(p, d) do { \
((uint8_t*)(p))[0] = (d); \
((uint8_t*)(p))[1] = (d)>>8; \
((uint8_t*)(p))[2] = (d)>>16; \
((uint8_t*)(p))[3] = (d)>>24; \
} while(0)
#endif
#ifndef AV_RB64
# define AV_RB64(x) \
(((uint64_t)((const uint8_t*)(x))[0] << 56) | \
((uint64_t)((const uint8_t*)(x))[1] << 48) | \
((uint64_t)((const uint8_t*)(x))[2] << 40) | \
((uint64_t)((const uint8_t*)(x))[3] << 32) | \
((uint64_t)((const uint8_t*)(x))[4] << 24) | \
((uint64_t)((const uint8_t*)(x))[5] << 16) | \
((uint64_t)((const uint8_t*)(x))[6] << 8) | \
(uint64_t)((const uint8_t*)(x))[7])
#endif
#ifndef AV_WB64
# define AV_WB64(p, d) do { \
((uint8_t*)(p))[7] = (d); \
((uint8_t*)(p))[6] = (d)>>8; \
((uint8_t*)(p))[5] = (d)>>16; \
((uint8_t*)(p))[4] = (d)>>24; \
((uint8_t*)(p))[3] = (d)>>32; \
((uint8_t*)(p))[2] = (d)>>40; \
((uint8_t*)(p))[1] = (d)>>48; \
((uint8_t*)(p))[0] = (d)>>56; \
} while(0)
#endif
#ifndef AV_RL64
# define AV_RL64(x) \
(((uint64_t)((const uint8_t*)(x))[7] << 56) | \
((uint64_t)((const uint8_t*)(x))[6] << 48) | \
((uint64_t)((const uint8_t*)(x))[5] << 40) | \
((uint64_t)((const uint8_t*)(x))[4] << 32) | \
((uint64_t)((const uint8_t*)(x))[3] << 24) | \
((uint64_t)((const uint8_t*)(x))[2] << 16) | \
((uint64_t)((const uint8_t*)(x))[1] << 8) | \
(uint64_t)((const uint8_t*)(x))[0])
#endif
#ifndef AV_WL64
# define AV_WL64(p, d) do { \
((uint8_t*)(p))[0] = (d); \
((uint8_t*)(p))[1] = (d)>>8; \
((uint8_t*)(p))[2] = (d)>>16; \
((uint8_t*)(p))[3] = (d)>>24; \
((uint8_t*)(p))[4] = (d)>>32; \
((uint8_t*)(p))[5] = (d)>>40; \
((uint8_t*)(p))[6] = (d)>>48; \
((uint8_t*)(p))[7] = (d)>>56; \
} while(0)
#endif
#if AV_HAVE_BIGENDIAN
# define AV_RN(s, p) AV_RB##s(p)
# define AV_WN(s, p, v) AV_WB##s(p, v)
#else
# define AV_RN(s, p) AV_RL##s(p)
# define AV_WN(s, p, v) AV_WL##s(p, v)
#endif
#endif /* HAVE_FAST_UNALIGNED */
#ifndef AV_RN16
# define AV_RN16(p) AV_RN(16, p)
#endif
#ifndef AV_RN32
# define AV_RN32(p) AV_RN(32, p)
#endif
#ifndef AV_RN64
# define AV_RN64(p) AV_RN(64, p)
#endif
#ifndef AV_WN16
# define AV_WN16(p, v) AV_WN(16, p, v)
#endif
#ifndef AV_WN32
# define AV_WN32(p, v) AV_WN(32, p, v)
#endif
#ifndef AV_WN64
# define AV_WN64(p, v) AV_WN(64, p, v)
#endif
#if AV_HAVE_BIGENDIAN
# define AV_RB(s, p) AV_RN##s(p)
# define AV_WB(s, p, v) AV_WN##s(p, v)
# define AV_RL(s, p) av_bswap##s(AV_RN##s(p))
# define AV_WL(s, p, v) AV_WN##s(p, av_bswap##s(v))
#else
# define AV_RB(s, p) av_bswap##s(AV_RN##s(p))
# define AV_WB(s, p, v) AV_WN##s(p, av_bswap##s(v))
# define AV_RL(s, p) AV_RN##s(p)
# define AV_WL(s, p, v) AV_WN##s(p, v)
#endif
#define AV_RB8(x) (((const uint8_t*)(x))[0])
#define AV_WB8(p, d) do { ((uint8_t*)(p))[0] = (d); } while(0)
#define AV_RL8(x) AV_RB8(x)
#define AV_WL8(p, d) AV_WB8(p, d)
#ifndef AV_RB16
# define AV_RB16(p) AV_RB(16, p)
#endif
#ifndef AV_WB16
# define AV_WB16(p, v) AV_WB(16, p, v)
#endif
#ifndef AV_RL16
# define AV_RL16(p) AV_RL(16, p)
#endif
#ifndef AV_WL16
# define AV_WL16(p, v) AV_WL(16, p, v)
#endif
#ifndef AV_RB32
# define AV_RB32(p) AV_RB(32, p)
#endif
#ifndef AV_WB32
# define AV_WB32(p, v) AV_WB(32, p, v)
#endif
#ifndef AV_RL32
# define AV_RL32(p) AV_RL(32, p)
#endif
#ifndef AV_WL32
# define AV_WL32(p, v) AV_WL(32, p, v)
#endif
#ifndef AV_RB64
# define AV_RB64(p) AV_RB(64, p)
#endif
#ifndef AV_WB64
# define AV_WB64(p, v) AV_WB(64, p, v)
#endif
#ifndef AV_RL64
# define AV_RL64(p) AV_RL(64, p)
#endif
#ifndef AV_WL64
# define AV_WL64(p, v) AV_WL(64, p, v)
#endif
#ifndef AV_RB24
# define AV_RB24(x) \
((((const uint8_t*)(x))[0] << 16) | \
(((const uint8_t*)(x))[1] << 8) | \
((const uint8_t*)(x))[2])
#endif
#ifndef AV_WB24
# define AV_WB24(p, d) do { \
((uint8_t*)(p))[2] = (d); \
((uint8_t*)(p))[1] = (d)>>8; \
((uint8_t*)(p))[0] = (d)>>16; \
} while(0)
#endif
#ifndef AV_RL24
# define AV_RL24(x) \
((((const uint8_t*)(x))[2] << 16) | \
(((const uint8_t*)(x))[1] << 8) | \
((const uint8_t*)(x))[0])
#endif
#ifndef AV_WL24
# define AV_WL24(p, d) do { \
((uint8_t*)(p))[0] = (d); \
((uint8_t*)(p))[1] = (d)>>8; \
((uint8_t*)(p))[2] = (d)>>16; \
} while(0)
#endif
/*
* The AV_[RW]NA macros access naturally aligned data
* in a type-safe way.
*/
#define AV_RNA(s, p) (((const av_alias##s*)(p))->u##s)
#define AV_WNA(s, p, v) (((av_alias##s*)(p))->u##s = (v))
#ifndef AV_RN16A
# define AV_RN16A(p) AV_RNA(16, p)
#endif
#ifndef AV_RN32A
# define AV_RN32A(p) AV_RNA(32, p)
#endif
#ifndef AV_RN64A
# define AV_RN64A(p) AV_RNA(64, p)
#endif
#ifndef AV_WN16A
# define AV_WN16A(p, v) AV_WNA(16, p, v)
#endif
#ifndef AV_WN32A
# define AV_WN32A(p, v) AV_WNA(32, p, v)
#endif
#ifndef AV_WN64A
# define AV_WN64A(p, v) AV_WNA(64, p, v)
#endif
/* Parameters for AV_COPY*, AV_SWAP*, AV_ZERO* must be
* naturally aligned. They may be implemented using MMX,
* so emms_c() must be called before using any float code
* afterwards.
*/
#define AV_COPY(n, d, s) \
(((av_alias##n*)(d))->u##n = ((const av_alias##n*)(s))->u##n)
#ifndef AV_COPY16
# define AV_COPY16(d, s) AV_COPY(16, d, s)
#endif
#ifndef AV_COPY32
# define AV_COPY32(d, s) AV_COPY(32, d, s)
#endif
#ifndef AV_COPY64
# define AV_COPY64(d, s) AV_COPY(64, d, s)
#endif
#ifndef AV_COPY128
# define AV_COPY128(d, s) \
do { \
AV_COPY64(d, s); \
AV_COPY64((char*)(d)+8, (char*)(s)+8); \
} while(0)
#endif
#define AV_SWAP(n, a, b) FFSWAP(av_alias##n, *(av_alias##n*)(a), *(av_alias##n*)(b))
#ifndef AV_SWAP64
# define AV_SWAP64(a, b) AV_SWAP(64, a, b)
#endif
#define AV_ZERO(n, d) (((av_alias##n*)(d))->u##n = 0)
#ifndef AV_ZERO16
# define AV_ZERO16(d) AV_ZERO(16, d)
#endif
#ifndef AV_ZERO32
# define AV_ZERO32(d) AV_ZERO(32, d)
#endif
#ifndef AV_ZERO64
# define AV_ZERO64(d) AV_ZERO(64, d)
#endif
#ifndef AV_ZERO128
# define AV_ZERO128(d) \
do { \
AV_ZERO64(d); \
AV_ZERO64((char*)(d)+8); \
} while(0)
#endif
#endif /* AVUTIL_INTREADWRITE_H */

View File

@@ -0,0 +1,62 @@
/*
* Lagged Fibonacci PRNG
* Copyright (c) 2008 Michael Niedermayer
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_LFG_H
#define AVUTIL_LFG_H
typedef struct {
unsigned int state[64];
int index;
} AVLFG;
void av_lfg_init(AVLFG *c, unsigned int seed);
/**
* Get the next random unsigned 32-bit number using an ALFG.
*
* Please also consider a simple LCG like state= state*1664525+1013904223,
* it may be good enough and faster for your specific use case.
*/
static inline unsigned int av_lfg_get(AVLFG *c){
c->state[c->index & 63] = c->state[(c->index-24) & 63] + c->state[(c->index-55) & 63];
return c->state[c->index++ & 63];
}
/**
* Get the next random unsigned 32-bit number using a MLFG.
*
* Please also consider av_lfg_get() above, it is faster.
*/
static inline unsigned int av_mlfg_get(AVLFG *c){
unsigned int a= c->state[(c->index-55) & 63];
unsigned int b= c->state[(c->index-24) & 63];
return c->state[c->index++ & 63] = 2*a*b+a+b;
}
/**
* Get the next two numbers generated by a Box-Muller Gaussian
* generator using the random numbers issued by lfg.
*
* @param out array where the two generated numbers are placed
*/
void av_bmg_get(AVLFG *lfg, double out[2]);
#endif /* AVUTIL_LFG_H */

View File

@@ -23,13 +23,14 @@
#include <stdarg.h>
#include "avutil.h"
#include "attributes.h"
/**
* Describes the class of an AVClass context structure. That is an
* Describe the class of an AVClass context structure. That is an
* arbitrary struct of which the first field is a pointer to an
* AVClass struct (e.g. AVCodecContext, AVFormatContext etc.).
*/
typedef struct {
typedef struct AVClass {
/**
* The name of the class; usually it is the same name as the
* context structure type to which the AVClass is associated.
@@ -56,6 +57,35 @@ typedef struct {
*/
int version;
/**
* Offset in the structure where log_level_offset is stored.
* 0 means there is no such variable
*/
int log_level_offset_offset;
/**
* Offset in the structure where a pointer to the parent context for loging is stored.
* for example a decoder that uses eval.c could pass its AVCodecContext to eval as such
* parent context. And a av_log() implementation could then display the parent context
* can be NULL of course
*/
int parent_log_context_offset;
/**
* Return next AVOptions-enabled child or NULL
*/
void* (*child_next)(void *obj, void *prev);
/**
* Return an AVClass corresponding to next potential
* AVOptions-enabled child.
*
* The difference between child_next and this is that
* child_next iterates over _already existing_ objects, while
* child_class_next iterates over _all possible_ children.
*/
const struct AVClass* (*child_class_next)(const struct AVClass *prev);
} AVClass;
/* av_log API */
@@ -95,7 +125,7 @@ typedef struct {
#define AV_LOG_DEBUG 48
/**
* Sends the specified message to the log if the level is less than or equal
* Send the specified message to the log if the level is less than or equal
* to the current av_log_level. By default, all logging messages are sent to
* stderr. This behavior can be altered by setting a different av_vlog callback
* function.
@@ -108,16 +138,45 @@ typedef struct {
* subsequent arguments are converted to output.
* @see av_vlog
*/
#ifdef __GNUC__
void av_log(void*, int level, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 3, 4)));
#else
void av_log(void*, int level, const char *fmt, ...);
#endif
void av_log(void *avcl, int level, const char *fmt, ...) av_printf_format(3, 4);
void av_vlog(void*, int level, const char *fmt, va_list);
void av_vlog(void *avcl, int level, const char *fmt, va_list);
int av_log_get_level(void);
void av_log_set_level(int);
void av_log_set_callback(void (*)(void*, int, const char*, va_list));
void av_log_default_callback(void* ptr, int level, const char* fmt, va_list vl);
const char* av_default_item_name(void* ctx);
/**
* Format a line of log the same way as the default callback.
* @param line buffer to receive the formated line
* @param line_size size of the buffer
* @param print_prefix used to store whether the prefix must be printed;
* must point to a persistent integer initially set to 1
*/
void av_log_format_line(void *ptr, int level, const char *fmt, va_list vl,
char *line, int line_size, int *print_prefix);
/**
* av_dlog macros
* Useful to print debug messages that shouldn't get compiled in normally.
*/
#ifdef DEBUG
# define av_dlog(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__)
#else
# define av_dlog(pctx, ...) do { if (0) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0)
#endif
/**
* Skip repeated messages, this requires the user app to use av_log() instead of
* (f)printf as the 2 would otherwise interfere and lead to
* "Last message repeated x times" messages below (f)printf messages with some
* bad luck.
* Also to receive the last, "last repeated" line if any, the user app must
* call av_log(NULL, AV_LOG_QUIET, "%s", ""); at the end
*/
#define AV_LOG_SKIP_REPEATED 1
void av_log_set_flags(int arg);
#endif /* AVUTIL_LOG_H */

View File

@@ -22,30 +22,37 @@
#ifndef AVUTIL_LZO_H
#define AVUTIL_LZO_H
#include <msc_stdint.h>
/**
* @defgroup lavu_lzo LZO
* @ingroup lavu_crypto
*
* @{
*/
/** \defgroup errflags Error flags returned by av_lzo1x_decode
* \{ */
//! end of the input buffer reached before decoding finished
#include <stdint.h>
/** @name Error flags returned by av_lzo1x_decode
* @{ */
/// end of the input buffer reached before decoding finished
#define AV_LZO_INPUT_DEPLETED 1
//! decoded data did not fit into output buffer
/// decoded data did not fit into output buffer
#define AV_LZO_OUTPUT_FULL 2
//! a reference to previously decoded data was wrong
/// a reference to previously decoded data was wrong
#define AV_LZO_INVALID_BACKPTR 4
//! a non-specific error in the compressed bitstream
/// a non-specific error in the compressed bitstream
#define AV_LZO_ERROR 8
/** \} */
/** @} */
#define AV_LZO_INPUT_PADDING 8
#define AV_LZO_OUTPUT_PADDING 12
/**
* \brief Decodes LZO 1x compressed data.
* \param out output buffer
* \param outlen size of output buffer, number of bytes left are returned here
* \param in input buffer
* \param inlen size of input buffer, number of bytes left are returned here
* \return 0 on success, otherwise a combination of the error flags above
* @brief Decodes LZO 1x compressed data.
* @param out output buffer
* @param outlen size of output buffer, number of bytes left are returned here
* @param in input buffer
* @param inlen size of input buffer, number of bytes left are returned here
* @return 0 on success, otherwise a combination of the error flags above
*
* Make sure all buffers are appropriately padded, in must provide
* AV_LZO_INPUT_PADDING, out must provide AV_LZO_OUTPUT_PADDING additional bytes.
@@ -53,14 +60,18 @@
int av_lzo1x_decode(void *out, int *outlen, const void *in, int *inlen);
/**
* \brief deliberately overlapping memcpy implementation
* \param dst destination buffer; must be padded with 12 additional bytes
* \param back how many bytes back we start (the initial size of the overlapping window)
* \param cnt number of bytes to copy, must be >= 0
* @brief deliberately overlapping memcpy implementation
* @param dst destination buffer; must be padded with 12 additional bytes
* @param back how many bytes back we start (the initial size of the overlapping window), must be > 0
* @param cnt number of bytes to copy, must be >= 0
*
* cnt > back is valid, this will copy the bytes we just copied,
* thus creating a repeating pattern with a period length of back.
*/
void av_memcpy_backptr(uint8_t *dst, int back, int cnt);
/**
* @}
*/
#endif /* AVUTIL_LZO_H */

View File

@@ -21,7 +21,7 @@
#ifndef AVUTIL_MATHEMATICS_H
#define AVUTIL_MATHEMATICS_H
#include <msc_stdint.h>
#include <stdint.h>
#include <math.h>
#include "attributes.h"
#include "rational.h"
@@ -38,6 +38,9 @@
#ifndef M_LOG2_10
#define M_LOG2_10 3.32192809488736234787 /* log_2 10 */
#endif
#ifndef M_PHI
#define M_PHI 1.61803398874989484820 /* phi / golden ratio */
#endif
#ifndef M_PI
#define M_PI 3.14159265358979323846 /* pi */
#endif
@@ -54,6 +57,12 @@
#define INFINITY (1.0/0.0)
#endif
/**
* @addtogroup lavu_math
* @{
*/
enum AVRounding {
AV_ROUND_ZERO = 0, ///< Round toward zero.
AV_ROUND_INF = 1, ///< Round away from zero.
@@ -63,36 +72,51 @@ enum AVRounding {
};
/**
* Returns the greatest common divisor of a and b.
* Return the greatest common divisor of a and b.
* If both a and b are 0 or either or both are <0 then behavior is
* undefined.
*/
int64_t av_const av_gcd(int64_t a, int64_t b);
/**
* Rescales a 64-bit integer with rounding to nearest.
* Rescale a 64-bit integer with rounding to nearest.
* A simple a*b/c isn't possible as it can overflow.
*/
int64_t av_rescale(int64_t a, int64_t b, int64_t c) av_const;
/**
* Rescales a 64-bit integer with specified rounding.
* Rescale a 64-bit integer with specified rounding.
* A simple a*b/c isn't possible as it can overflow.
*/
int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding) av_const;
/**
* Rescales a 64-bit integer by 2 rational numbers.
* Rescale a 64-bit integer by 2 rational numbers.
*/
int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const;
/**
* Compares 2 timestamps each in its own timebases.
* Compare 2 timestamps each in its own timebases.
* The result of the function is undefined if one of the timestamps
* is outside the int64_t range when represented in the others timebase.
* @return -1 if ts_a is before ts_b, 1 if ts_a is after ts_b or 0 if they represent the same position
*/
int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b);
/**
* Compare 2 integers modulo mod.
* That is we compare integers a and b for which only the least
* significant log2(mod) bits are known.
*
* @param mod must be a power of 2
* @return a negative value if a is smaller than b
* a positive value if a is greater than b
* 0 if a equals b
*/
int64_t av_compare_mod(uint64_t a, uint64_t b, uint64_t mod);
/**
* @}
*/
#endif /* AVUTIL_MATHEMATICS_H */

View File

@@ -21,7 +21,13 @@
#ifndef AVUTIL_MD5_H
#define AVUTIL_MD5_H
#include <msc_stdint.h>
#include <stdint.h>
/**
* @defgroup lavu_md5 MD5
* @ingroup lavu_crypto
* @{
*/
extern const int av_md5_size;
@@ -32,5 +38,9 @@ void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, const int len);
void av_md5_final(struct AVMD5 *ctx, uint8_t *dst);
void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len);
/**
* @}
*/
#endif /* AVUTIL_MD5_H */

View File

@@ -27,8 +27,16 @@
#define AVUTIL_MEM_H
#include "attributes.h"
#include "error.h"
#include "avutil.h"
#if defined(__ICC) || defined(__SUNPRO_C)
/**
* @addtogroup lavu_mem
* @{
*/
#if defined(__INTEL_COMPILER) && __INTEL_COMPILER < 1110 || defined(__SUNPRO_C)
#define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v
#define DECLARE_ASM_CONST(n,t,v) const t __attribute__ ((aligned (n))) v
#elif defined(__TI_COMPILER_VERSION__)
@@ -40,7 +48,7 @@
static const t __attribute__((aligned(n))) v
#elif defined(__GNUC__)
#define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v
#define DECLARE_ASM_CONST(n,t,v) static const t attribute_used __attribute__ ((aligned (n))) v
#define DECLARE_ASM_CONST(n,t,v) static const t av_used __attribute__ ((aligned (n))) v
#elif defined(_MSC_VER)
#define DECLARE_ALIGNED(n,t,v) __declspec(align(n)) t v
#define DECLARE_ASM_CONST(n,t,v) __declspec(align(n)) static const t v
@@ -55,38 +63,48 @@
#define av_malloc_attrib
#endif
#if (!defined(__ICC) || __ICC > 1110) && AV_GCC_VERSION_AT_LEAST(4,3)
#if AV_GCC_VERSION_AT_LEAST(4,3)
#define av_alloc_size(n) __attribute__((alloc_size(n)))
#else
#define av_alloc_size(n)
#endif
/**
* Allocates a block of size bytes with alignment suitable for all
* Allocate a block of size bytes with alignment suitable for all
* memory accesses (including vectors if available on the CPU).
* @param size Size in bytes for the memory block to be allocated.
* @return Pointer to the allocated block, NULL if the block cannot
* be allocated.
* @see av_mallocz()
*/
void *av_malloc(unsigned int size) av_malloc_attrib av_alloc_size(1);
void *av_malloc(size_t size) av_malloc_attrib av_alloc_size(1);
/**
* Allocates or reallocates a block of memory.
* If ptr is NULL and size > 0, allocates a new block. If
* size is zero, frees the memory block pointed to by ptr.
* @param size Size in bytes for the memory block to be allocated or
* reallocated.
* Allocate or reallocate a block of memory.
* If ptr is NULL and size > 0, allocate a new block. If
* size is zero, free the memory block pointed to by ptr.
* @param ptr Pointer to a memory block already allocated with
* av_malloc(z)() or av_realloc() or NULL.
* @param size Size in bytes for the memory block to be allocated or
* reallocated.
* @return Pointer to a newly reallocated block or NULL if the block
* cannot be reallocated or the function is used to free the memory block.
* @see av_fast_realloc()
*/
void *av_realloc(void *ptr, unsigned int size) av_alloc_size(2);
void *av_realloc(void *ptr, size_t size) av_alloc_size(2);
/**
* Frees a memory block which has been allocated with av_malloc(z)() or
* Allocate or reallocate a block of memory.
* This function does the same thing as av_realloc, except:
* - It takes two arguments and checks the result of the multiplication for
* integer overflow.
* - It frees the input block in case of failure, thus avoiding the memory
* leak with the classic "buf = realloc(buf); if (!buf) return -1;".
*/
void *av_realloc_f(void *ptr, size_t nelem, size_t elsize);
/**
* Free a memory block which has been allocated with av_malloc(z)() or
* av_realloc().
* @param ptr Pointer to the memory block which should be freed.
* @note ptr = NULL is explicitly allowed.
@@ -96,17 +114,29 @@ void *av_realloc(void *ptr, unsigned int size) av_alloc_size(2);
void av_free(void *ptr);
/**
* Allocates a block of size bytes with alignment suitable for all
* Allocate a block of size bytes with alignment suitable for all
* memory accesses (including vectors if available on the CPU) and
* zeroes all the bytes of the block.
* zero all the bytes of the block.
* @param size Size in bytes for the memory block to be allocated.
* @return Pointer to the allocated block, NULL if it cannot be allocated.
* @see av_malloc()
*/
void *av_mallocz(unsigned int size) av_malloc_attrib av_alloc_size(1);
void *av_mallocz(size_t size) av_malloc_attrib av_alloc_size(1);
/**
* Duplicates the string s.
* Allocate a block of nmemb * size bytes with alignment suitable for all
* memory accesses (including vectors if available on the CPU) and
* zero all the bytes of the block.
* The allocation will fail if nmemb * size is greater than or equal
* to INT_MAX.
* @param nmemb
* @param size
* @return Pointer to the allocated block, NULL if it cannot be allocated.
*/
void *av_calloc(size_t nmemb, size_t size) av_malloc_attrib;
/**
* Duplicate the string s.
* @param s string to be duplicated
* @return Pointer to a newly allocated string containing a
* copy of s or NULL if the string cannot be allocated.
@@ -114,7 +144,7 @@ void *av_mallocz(unsigned int size) av_malloc_attrib av_alloc_size(1);
char *av_strdup(const char *s) av_malloc_attrib;
/**
* Frees a memory block which has been allocated with av_malloc(z)() or
* Free a memory block which has been allocated with av_malloc(z)() or
* av_realloc() and set the pointer pointing to it to NULL.
* @param ptr Pointer to the pointer to the memory block which should
* be freed.
@@ -122,4 +152,37 @@ char *av_strdup(const char *s) av_malloc_attrib;
*/
void av_freep(void *ptr);
/**
* Add an element to a dynamic array.
*
* @param tab_ptr Pointer to the array.
* @param nb_ptr Pointer to the number of elements in the array.
* @param elem Element to be added.
*/
void av_dynarray_add(void *tab_ptr, int *nb_ptr, void *elem);
/**
* Multiply two size_t values checking for overflow.
* @return 0 if success, AVERROR(EINVAL) if overflow.
*/
static inline int av_size_mult(size_t a, size_t b, size_t *r)
{
size_t t = a * b;
/* Hack inspired from glibc: only try the division if nelem and elsize
* are both greater than sqrt(SIZE_MAX). */
if ((a | b) >= ((size_t)1 << (sizeof(size_t) * 4)) && a && t / a != b)
return AVERROR(EINVAL);
*r = t;
return 0;
}
/**
* Set the maximum size that may me allocated in one block.
*/
void av_max_alloc(size_t max);
/**
* @}
*/
#endif /* AVUTIL_MEM_H */

603
3rdparty/include/ffmpeg_/libavutil/opt.h vendored Normal file
View File

@@ -0,0 +1,603 @@
/*
* AVOptions
* copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_OPT_H
#define AVUTIL_OPT_H
/**
* @file
* AVOptions
*/
#include "rational.h"
#include "avutil.h"
#include "dict.h"
#include "log.h"
/**
* @defgroup avoptions AVOptions
* @ingroup lavu_data
* @{
* AVOptions provide a generic system to declare options on arbitrary structs
* ("objects"). An option can have a help text, a type and a range of possible
* values. Options may then be enumerated, read and written to.
*
* @section avoptions_implement Implementing AVOptions
* This section describes how to add AVOptions capabilities to a struct.
*
* All AVOptions-related information is stored in an AVClass. Therefore
* the first member of the struct must be a pointer to an AVClass describing it.
* The option field of the AVClass must be set to a NULL-terminated static array
* of AVOptions. Each AVOption must have a non-empty name, a type, a default
* value and for number-type AVOptions also a range of allowed values. It must
* also declare an offset in bytes from the start of the struct, where the field
* associated with this AVOption is located. Other fields in the AVOption struct
* should also be set when applicable, but are not required.
*
* The following example illustrates an AVOptions-enabled struct:
* @code
* typedef struct test_struct {
* AVClass *class;
* int int_opt;
* char *str_opt;
* uint8_t *bin_opt;
* int bin_len;
* } test_struct;
*
* static const AVOption options[] = {
* { "test_int", "This is a test option of int type.", offsetof(test_struct, int_opt),
* AV_OPT_TYPE_INT, { -1 }, INT_MIN, INT_MAX },
* { "test_str", "This is a test option of string type.", offsetof(test_struct, str_opt),
* AV_OPT_TYPE_STRING },
* { "test_bin", "This is a test option of binary type.", offsetof(test_struct, bin_opt),
* AV_OPT_TYPE_BINARY },
* { NULL },
* };
*
* static const AVClass test_class = {
* .class_name = "test class",
* .item_name = av_default_item_name,
* .option = options,
* .version = LIBAVUTIL_VERSION_INT,
* };
* @endcode
*
* Next, when allocating your struct, you must ensure that the AVClass pointer
* is set to the correct value. Then, av_opt_set_defaults() must be called to
* initialize defaults. After that the struct is ready to be used with the
* AVOptions API.
*
* When cleaning up, you may use the av_opt_free() function to automatically
* free all the allocated string and binary options.
*
* Continuing with the above example:
*
* @code
* test_struct *alloc_test_struct(void)
* {
* test_struct *ret = av_malloc(sizeof(*ret));
* ret->class = &test_class;
* av_opt_set_defaults(ret);
* return ret;
* }
* void free_test_struct(test_struct **foo)
* {
* av_opt_free(*foo);
* av_freep(foo);
* }
* @endcode
*
* @subsection avoptions_implement_nesting Nesting
* It may happen that an AVOptions-enabled struct contains another
* AVOptions-enabled struct as a member (e.g. AVCodecContext in
* libavcodec exports generic options, while its priv_data field exports
* codec-specific options). In such a case, it is possible to set up the
* parent struct to export a child's options. To do that, simply
* implement AVClass.child_next() and AVClass.child_class_next() in the
* parent struct's AVClass.
* Assuming that the test_struct from above now also contains a
* child_struct field:
*
* @code
* typedef struct child_struct {
* AVClass *class;
* int flags_opt;
* } child_struct;
* static const AVOption child_opts[] = {
* { "test_flags", "This is a test option of flags type.",
* offsetof(child_struct, flags_opt), AV_OPT_TYPE_FLAGS, { 0 }, INT_MIN, INT_MAX },
* { NULL },
* };
* static const AVClass child_class = {
* .class_name = "child class",
* .item_name = av_default_item_name,
* .option = child_opts,
* .version = LIBAVUTIL_VERSION_INT,
* };
*
* void *child_next(void *obj, void *prev)
* {
* test_struct *t = obj;
* if (!prev && t->child_struct)
* return t->child_struct;
* return NULL
* }
* const AVClass child_class_next(const AVClass *prev)
* {
* return prev ? NULL : &child_class;
* }
* @endcode
* Putting child_next() and child_class_next() as defined above into
* test_class will now make child_struct's options accessible through
* test_struct (again, proper setup as described above needs to be done on
* child_struct right after it is created).
*
* From the above example it might not be clear why both child_next()
* and child_class_next() are needed. The distinction is that child_next()
* iterates over actually existing objects, while child_class_next()
* iterates over all possible child classes. E.g. if an AVCodecContext
* was initialized to use a codec which has private options, then its
* child_next() will return AVCodecContext.priv_data and finish
* iterating. OTOH child_class_next() on AVCodecContext.av_class will
* iterate over all available codecs with private options.
*
* @subsection avoptions_implement_named_constants Named constants
* It is possible to create named constants for options. Simply set the unit
* field of the option the constants should apply to to a string and
* create the constants themselves as options of type AV_OPT_TYPE_CONST
* with their unit field set to the same string.
* Their default_val field should contain the value of the named
* constant.
* For example, to add some named constants for the test_flags option
* above, put the following into the child_opts array:
* @code
* { "test_flags", "This is a test option of flags type.",
* offsetof(child_struct, flags_opt), AV_OPT_TYPE_FLAGS, { 0 }, INT_MIN, INT_MAX, "test_unit" },
* { "flag1", "This is a flag with value 16", 0, AV_OPT_TYPE_CONST, { 16 }, 0, 0, "test_unit" },
* @endcode
*
* @section avoptions_use Using AVOptions
* This section deals with accessing options in an AVOptions-enabled struct.
* Such structs in FFmpeg are e.g. AVCodecContext in libavcodec or
* AVFormatContext in libavformat.
*
* @subsection avoptions_use_examine Examining AVOptions
* The basic functions for examining options are av_opt_next(), which iterates
* over all options defined for one object, and av_opt_find(), which searches
* for an option with the given name.
*
* The situation is more complicated with nesting. An AVOptions-enabled struct
* may have AVOptions-enabled children. Passing the AV_OPT_SEARCH_CHILDREN flag
* to av_opt_find() will make the function search children recursively.
*
* For enumerating there are basically two cases. The first is when you want to
* get all options that may potentially exist on the struct and its children
* (e.g. when constructing documentation). In that case you should call
* av_opt_child_class_next() recursively on the parent struct's AVClass. The
* second case is when you have an already initialized struct with all its
* children and you want to get all options that can be actually written or read
* from it. In that case you should call av_opt_child_next() recursively (and
* av_opt_next() on each result).
*
* @subsection avoptions_use_get_set Reading and writing AVOptions
* When setting options, you often have a string read directly from the
* user. In such a case, simply passing it to av_opt_set() is enough. For
* non-string type options, av_opt_set() will parse the string according to the
* option type.
*
* Similarly av_opt_get() will read any option type and convert it to a string
* which will be returned. Do not forget that the string is allocated, so you
* have to free it with av_free().
*
* In some cases it may be more convenient to put all options into an
* AVDictionary and call av_opt_set_dict() on it. A specific case of this
* are the format/codec open functions in lavf/lavc which take a dictionary
* filled with option as a parameter. This allows to set some options
* that cannot be set otherwise, since e.g. the input file format is not known
* before the file is actually opened.
*/
enum AVOptionType{
AV_OPT_TYPE_FLAGS,
AV_OPT_TYPE_INT,
AV_OPT_TYPE_INT64,
AV_OPT_TYPE_DOUBLE,
AV_OPT_TYPE_FLOAT,
AV_OPT_TYPE_STRING,
AV_OPT_TYPE_RATIONAL,
AV_OPT_TYPE_BINARY, ///< offset must point to a pointer immediately followed by an int for the length
AV_OPT_TYPE_CONST = 128,
#if FF_API_OLD_AVOPTIONS
FF_OPT_TYPE_FLAGS = 0,
FF_OPT_TYPE_INT,
FF_OPT_TYPE_INT64,
FF_OPT_TYPE_DOUBLE,
FF_OPT_TYPE_FLOAT,
FF_OPT_TYPE_STRING,
FF_OPT_TYPE_RATIONAL,
FF_OPT_TYPE_BINARY, ///< offset must point to a pointer immediately followed by an int for the length
FF_OPT_TYPE_CONST=128,
#endif
};
/**
* AVOption
*/
typedef struct AVOption {
const char *name;
/**
* short English help text
* @todo What about other languages?
*/
const char *help;
/**
* The offset relative to the context structure where the option
* value is stored. It should be 0 for named constants.
*/
int offset;
enum AVOptionType type;
/**
* the default value for scalar options
*/
union {
double dbl;
const char *str;
/* TODO those are unused now */
int64_t i64;
AVRational q;
} default_val;
double min; ///< minimum valid value for the option
double max; ///< maximum valid value for the option
int flags;
#define AV_OPT_FLAG_ENCODING_PARAM 1 ///< a generic parameter which can be set by the user for muxing or encoding
#define AV_OPT_FLAG_DECODING_PARAM 2 ///< a generic parameter which can be set by the user for demuxing or decoding
#define AV_OPT_FLAG_METADATA 4 ///< some data extracted or inserted into the file like title, comment, ...
#define AV_OPT_FLAG_AUDIO_PARAM 8
#define AV_OPT_FLAG_VIDEO_PARAM 16
#define AV_OPT_FLAG_SUBTITLE_PARAM 32
//FIXME think about enc-audio, ... style flags
/**
* The logical unit to which the option belongs. Non-constant
* options and corresponding named constants share the same
* unit. May be NULL.
*/
const char *unit;
} AVOption;
#if FF_API_FIND_OPT
/**
* Look for an option in obj. Look only for the options which
* have the flags set as specified in mask and flags (that is,
* for which it is the case that opt->flags & mask == flags).
*
* @param[in] obj a pointer to a struct whose first element is a
* pointer to an AVClass
* @param[in] name the name of the option to look for
* @param[in] unit the unit of the option to look for, or any if NULL
* @return a pointer to the option found, or NULL if no option
* has been found
*
* @deprecated use av_opt_find.
*/
attribute_deprecated
const AVOption *av_find_opt(void *obj, const char *name, const char *unit, int mask, int flags);
#endif
#if FF_API_OLD_AVOPTIONS
/**
* Set the field of obj with the given name to value.
*
* @param[in] obj A struct whose first element is a pointer to an
* AVClass.
* @param[in] name the name of the field to set
* @param[in] val The value to set. If the field is not of a string
* type, then the given string is parsed.
* SI postfixes and some named scalars are supported.
* If the field is of a numeric type, it has to be a numeric or named
* scalar. Behavior with more than one scalar and +- infix operators
* is undefined.
* If the field is of a flags type, it has to be a sequence of numeric
* scalars or named flags separated by '+' or '-'. Prefixing a flag
* with '+' causes it to be set without affecting the other flags;
* similarly, '-' unsets a flag.
* @param[out] o_out if non-NULL put here a pointer to the AVOption
* found
* @param alloc this parameter is currently ignored
* @return 0 if the value has been set, or an AVERROR code in case of
* error:
* AVERROR_OPTION_NOT_FOUND if no matching option exists
* AVERROR(ERANGE) if the value is out of range
* AVERROR(EINVAL) if the value is not valid
* @deprecated use av_opt_set()
*/
attribute_deprecated
int av_set_string3(void *obj, const char *name, const char *val, int alloc, const AVOption **o_out);
attribute_deprecated const AVOption *av_set_double(void *obj, const char *name, double n);
attribute_deprecated const AVOption *av_set_q(void *obj, const char *name, AVRational n);
attribute_deprecated const AVOption *av_set_int(void *obj, const char *name, int64_t n);
double av_get_double(void *obj, const char *name, const AVOption **o_out);
AVRational av_get_q(void *obj, const char *name, const AVOption **o_out);
int64_t av_get_int(void *obj, const char *name, const AVOption **o_out);
attribute_deprecated const char *av_get_string(void *obj, const char *name, const AVOption **o_out, char *buf, int buf_len);
attribute_deprecated const AVOption *av_next_option(void *obj, const AVOption *last);
#endif
/**
* Show the obj options.
*
* @param req_flags requested flags for the options to show. Show only the
* options for which it is opt->flags & req_flags.
* @param rej_flags rejected flags for the options to show. Show only the
* options for which it is !(opt->flags & req_flags).
* @param av_log_obj log context to use for showing the options
*/
int av_opt_show2(void *obj, void *av_log_obj, int req_flags, int rej_flags);
/**
* Set the values of all AVOption fields to their default values.
*
* @param s an AVOption-enabled struct (its first member must be a pointer to AVClass)
*/
void av_opt_set_defaults(void *s);
#if FF_API_OLD_AVOPTIONS
attribute_deprecated
void av_opt_set_defaults2(void *s, int mask, int flags);
#endif
/**
* Parse the key/value pairs list in opts. For each key/value pair
* found, stores the value in the field in ctx that is named like the
* key. ctx must be an AVClass context, storing is done using
* AVOptions.
*
* @param opts options string to parse, may be NULL
* @param key_val_sep a 0-terminated list of characters used to
* separate key from value
* @param pairs_sep a 0-terminated list of characters used to separate
* two pairs from each other
* @return the number of successfully set key/value pairs, or a negative
* value corresponding to an AVERROR code in case of error:
* AVERROR(EINVAL) if opts cannot be parsed,
* the error code issued by av_set_string3() if a key/value pair
* cannot be set
*/
int av_set_options_string(void *ctx, const char *opts,
const char *key_val_sep, const char *pairs_sep);
/**
* Free all string and binary options in obj.
*/
void av_opt_free(void *obj);
/**
* Check whether a particular flag is set in a flags field.
*
* @param field_name the name of the flag field option
* @param flag_name the name of the flag to check
* @return non-zero if the flag is set, zero if the flag isn't set,
* isn't of the right type, or the flags field doesn't exist.
*/
int av_opt_flag_is_set(void *obj, const char *field_name, const char *flag_name);
/*
* Set all the options from a given dictionary on an object.
*
* @param obj a struct whose first element is a pointer to AVClass
* @param options options to process. This dictionary will be freed and replaced
* by a new one containing all options not found in obj.
* Of course this new dictionary needs to be freed by caller
* with av_dict_free().
*
* @return 0 on success, a negative AVERROR if some option was found in obj,
* but could not be set.
*
* @see av_dict_copy()
*/
int av_opt_set_dict(void *obj, struct AVDictionary **options);
/**
* @defgroup opt_eval_funcs Evaluating option strings
* @{
* This group of functions can be used to evaluate option strings
* and get numbers out of them. They do the same thing as av_opt_set(),
* except the result is written into the caller-supplied pointer.
*
* @param obj a struct whose first element is a pointer to AVClass.
* @param o an option for which the string is to be evaluated.
* @param val string to be evaluated.
* @param *_out value of the string will be written here.
*
* @return 0 on success, a negative number on failure.
*/
int av_opt_eval_flags (void *obj, const AVOption *o, const char *val, int *flags_out);
int av_opt_eval_int (void *obj, const AVOption *o, const char *val, int *int_out);
int av_opt_eval_int64 (void *obj, const AVOption *o, const char *val, int64_t *int64_out);
int av_opt_eval_float (void *obj, const AVOption *o, const char *val, float *float_out);
int av_opt_eval_double(void *obj, const AVOption *o, const char *val, double *double_out);
int av_opt_eval_q (void *obj, const AVOption *o, const char *val, AVRational *q_out);
/**
* @}
*/
#define AV_OPT_SEARCH_CHILDREN 0x0001 /**< Search in possible children of the
given object first. */
/**
* The obj passed to av_opt_find() is fake -- only a double pointer to AVClass
* instead of a required pointer to a struct containing AVClass. This is
* useful for searching for options without needing to allocate the corresponding
* object.
*/
#define AV_OPT_SEARCH_FAKE_OBJ 0x0002
/**
* Look for an option in an object. Consider only options which
* have all the specified flags set.
*
* @param[in] obj A pointer to a struct whose first element is a
* pointer to an AVClass.
* Alternatively a double pointer to an AVClass, if
* AV_OPT_SEARCH_FAKE_OBJ search flag is set.
* @param[in] name The name of the option to look for.
* @param[in] unit When searching for named constants, name of the unit
* it belongs to.
* @param opt_flags Find only options with all the specified flags set (AV_OPT_FLAG).
* @param search_flags A combination of AV_OPT_SEARCH_*.
*
* @return A pointer to the option found, or NULL if no option
* was found.
*
* @note Options found with AV_OPT_SEARCH_CHILDREN flag may not be settable
* directly with av_set_string3(). Use special calls which take an options
* AVDictionary (e.g. avformat_open_input()) to set options found with this
* flag.
*/
const AVOption *av_opt_find(void *obj, const char *name, const char *unit,
int opt_flags, int search_flags);
/**
* Look for an option in an object. Consider only options which
* have all the specified flags set.
*
* @param[in] obj A pointer to a struct whose first element is a
* pointer to an AVClass.
* Alternatively a double pointer to an AVClass, if
* AV_OPT_SEARCH_FAKE_OBJ search flag is set.
* @param[in] name The name of the option to look for.
* @param[in] unit When searching for named constants, name of the unit
* it belongs to.
* @param opt_flags Find only options with all the specified flags set (AV_OPT_FLAG).
* @param search_flags A combination of AV_OPT_SEARCH_*.
* @param[out] target_obj if non-NULL, an object to which the option belongs will be
* written here. It may be different from obj if AV_OPT_SEARCH_CHILDREN is present
* in search_flags. This parameter is ignored if search_flags contain
* AV_OPT_SEARCH_FAKE_OBJ.
*
* @return A pointer to the option found, or NULL if no option
* was found.
*/
const AVOption *av_opt_find2(void *obj, const char *name, const char *unit,
int opt_flags, int search_flags, void **target_obj);
/**
* Iterate over all AVOptions belonging to obj.
*
* @param obj an AVOptions-enabled struct or a double pointer to an
* AVClass describing it.
* @param prev result of the previous call to av_opt_next() on this object
* or NULL
* @return next AVOption or NULL
*/
const AVOption *av_opt_next(void *obj, const AVOption *prev);
/**
* Iterate over AVOptions-enabled children of obj.
*
* @param prev result of a previous call to this function or NULL
* @return next AVOptions-enabled child or NULL
*/
void *av_opt_child_next(void *obj, void *prev);
/**
* Iterate over potential AVOptions-enabled children of parent.
*
* @param prev result of a previous call to this function or NULL
* @return AVClass corresponding to next potential child or NULL
*/
const AVClass *av_opt_child_class_next(const AVClass *parent, const AVClass *prev);
/**
* @defgroup opt_set_funcs Option setting functions
* @{
* Those functions set the field of obj with the given name to value.
*
* @param[in] obj A struct whose first element is a pointer to an AVClass.
* @param[in] name the name of the field to set
* @param[in] val The value to set. In case of av_opt_set() if the field is not
* of a string type, then the given string is parsed.
* SI postfixes and some named scalars are supported.
* If the field is of a numeric type, it has to be a numeric or named
* scalar. Behavior with more than one scalar and +- infix operators
* is undefined.
* If the field is of a flags type, it has to be a sequence of numeric
* scalars or named flags separated by '+' or '-'. Prefixing a flag
* with '+' causes it to be set without affecting the other flags;
* similarly, '-' unsets a flag.
* @param search_flags flags passed to av_opt_find2. I.e. if AV_OPT_SEARCH_CHILDREN
* is passed here, then the option may be set on a child of obj.
*
* @return 0 if the value has been set, or an AVERROR code in case of
* error:
* AVERROR_OPTION_NOT_FOUND if no matching option exists
* AVERROR(ERANGE) if the value is out of range
* AVERROR(EINVAL) if the value is not valid
*/
int av_opt_set (void *obj, const char *name, const char *val, int search_flags);
int av_opt_set_int (void *obj, const char *name, int64_t val, int search_flags);
int av_opt_set_double(void *obj, const char *name, double val, int search_flags);
int av_opt_set_q (void *obj, const char *name, AVRational val, int search_flags);
/**
* @}
*/
/**
* @defgroup opt_get_funcs Option getting functions
* @{
* Those functions get a value of the option with the given name from an object.
*
* @param[in] obj a struct whose first element is a pointer to an AVClass.
* @param[in] name name of the option to get.
* @param[in] search_flags flags passed to av_opt_find2. I.e. if AV_OPT_SEARCH_CHILDREN
* is passed here, then the option may be found in a child of obj.
* @param[out] out_val value of the option will be written here
* @return 0 on success, a negative error code otherwise
*/
/**
* @note the returned string will av_malloc()ed and must be av_free()ed by the caller
*/
int av_opt_get (void *obj, const char *name, int search_flags, uint8_t **out_val);
int av_opt_get_int (void *obj, const char *name, int search_flags, int64_t *out_val);
int av_opt_get_double(void *obj, const char *name, int search_flags, double *out_val);
int av_opt_get_q (void *obj, const char *name, int search_flags, AVRational *out_val);
/**
* @}
*/
/**
* Gets a pointer to the requested field in a struct.
* This function allows accessing a struct even when its fields are moved or
* renamed since the application making the access has been compiled,
*
* @returns a pointer to the field, it can be cast to the correct type and read
* or written to.
*/
void *av_opt_ptr(const AVClass *avclass, void *obj, const char *name);
/**
* @}
*/
#endif /* AVUTIL_OPT_H */

View File

@@ -0,0 +1,124 @@
/*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_PARSEUTILS_H
#define AVUTIL_PARSEUTILS_H
#include <time.h>
#include "rational.h"
/**
* @file
* misc parsing utilities
*/
/**
* Parse str and put in width_ptr and height_ptr the detected values.
*
* @param[in,out] width_ptr pointer to the variable which will contain the detected
* width value
* @param[in,out] height_ptr pointer to the variable which will contain the detected
* height value
* @param[in] str the string to parse: it has to be a string in the format
* width x height or a valid video size abbreviation.
* @return >= 0 on success, a negative error code otherwise
*/
int av_parse_video_size(int *width_ptr, int *height_ptr, const char *str);
/**
* Parse str and store the detected values in *rate.
*
* @param[in,out] rate pointer to the AVRational which will contain the detected
* frame rate
* @param[in] str the string to parse: it has to be a string in the format
* rate_num / rate_den, a float number or a valid video rate abbreviation
* @return >= 0 on success, a negative error code otherwise
*/
int av_parse_video_rate(AVRational *rate, const char *str);
/**
* Put the RGBA values that correspond to color_string in rgba_color.
*
* @param color_string a string specifying a color. It can be the name of
* a color (case insensitive match) or a [0x|#]RRGGBB[AA] sequence,
* possibly followed by "@" and a string representing the alpha
* component.
* The alpha component may be a string composed by "0x" followed by an
* hexadecimal number or a decimal number between 0.0 and 1.0, which
* represents the opacity value (0x00/0.0 means completely transparent,
* 0xff/1.0 completely opaque).
* If the alpha component is not specified then 0xff is assumed.
* The string "random" will result in a random color.
* @param slen length of the initial part of color_string containing the
* color. It can be set to -1 if color_string is a null terminated string
* containing nothing else than the color.
* @return >= 0 in case of success, a negative value in case of
* failure (for example if color_string cannot be parsed).
*/
int av_parse_color(uint8_t *rgba_color, const char *color_string, int slen,
void *log_ctx);
/**
* Parse timestr and return in *time a corresponding number of
* microseconds.
*
* @param timeval puts here the number of microseconds corresponding
* to the string in timestr. If the string represents a duration, it
* is the number of microseconds contained in the time interval. If
* the string is a date, is the number of microseconds since 1st of
* January, 1970 up to the time of the parsed date. If timestr cannot
* be successfully parsed, set *time to INT64_MIN.
* @param timestr a string representing a date or a duration.
* - If a date the syntax is:
* @code
* [{YYYY-MM-DD|YYYYMMDD}[T|t| ]]{{HH[:MM[:SS[.m...]]]}|{HH[MM[SS[.m...]]]}}[Z]
* now
* @endcode
* If the value is "now" it takes the current time.
* Time is local time unless Z is appended, in which case it is
* interpreted as UTC.
* If the year-month-day part is not specified it takes the current
* year-month-day.
* - If a duration the syntax is:
* @code
* [-]HH[:MM[:SS[.m...]]]
* [-]S+[.m...]
* @endcode
* @param duration flag which tells how to interpret timestr, if not
* zero timestr is interpreted as a duration, otherwise as a date
* @return 0 in case of success, a negative value corresponding to an
* AVERROR code otherwise
*/
int av_parse_time(int64_t *timeval, const char *timestr, int duration);
/**
* Attempt to find a specific tag in a URL.
*
* syntax: '?tag1=val1&tag2=val2...'. Little URL decoding is done.
* Return 1 if found.
*/
int av_find_info_tag(char *arg, int arg_size, const char *tag1, const char *info);
/**
* Convert the decomposed UTC time in tm to a time_t value.
*/
time_t av_timegm(struct tm *tm);
#endif /* AVUTIL_PARSEUTILS_H */

View File

@@ -23,6 +23,7 @@
#define AVUTIL_PIXDESC_H
#include <inttypes.h>
#include "pixfmt.h"
typedef struct AVComponentDescriptor{
uint16_t plane :2; ///< which of the 4 planes contains the component
@@ -86,6 +87,8 @@ typedef struct AVPixFmtDescriptor{
#define PIX_FMT_PAL 2 ///< Pixel format has a palette in data[1], values are indexes in this palette.
#define PIX_FMT_BITSTREAM 4 ///< All values of a component are bit-wise packed end to end.
#define PIX_FMT_HWACCEL 8 ///< Pixel format is an HW accelerated format.
#define PIX_FMT_PLANAR 16 ///< At least one pixel component is not in the first data plane
#define PIX_FMT_RGB 32 ///< The pixel format contains RGB-like data (as opposed to YUV/grayscale)
/**
* The array of all the pixel format descriptors.
@@ -93,11 +96,11 @@ typedef struct AVPixFmtDescriptor{
extern const AVPixFmtDescriptor av_pix_fmt_descriptors[];
/**
* Reads a line from an image, and writes the values of the
* Read a line from an image, and write the values of the
* pixel format component c to dst.
*
* @param data the array containing the pointers to the planes of the image
* @param linesizes the array containing the linesizes of the image
* @param linesize the array containing the linesizes of the image
* @param desc the pixel format descriptor for the image
* @param x the horizontal coordinate of the first pixel to read
* @param y the vertical coordinate of the first pixel to read
@@ -108,28 +111,28 @@ extern const AVPixFmtDescriptor av_pix_fmt_descriptors[];
* component c in data[1] to dst, rather than the palette indexes in
* data[0]. The behavior is undefined if the format is not paletted.
*/
void read_line(uint16_t *dst, const uint8_t *data[4], const int linesize[4],
const AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component);
void av_read_image_line(uint16_t *dst, const uint8_t *data[4], const int linesize[4],
const AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component);
/**
* Writes the values from src to the pixel format component c of an
* Write the values from src to the pixel format component c of an
* image line.
*
* @param src array containing the values to write
* @param data the array containing the pointers to the planes of the
* image to write into. It is supposed to be zeroed.
* @param linesizes the array containing the linesizes of the image
* @param linesize the array containing the linesizes of the image
* @param desc the pixel format descriptor for the image
* @param x the horizontal coordinate of the first pixel to write
* @param y the vertical coordinate of the first pixel to write
* @param w the width of the line to write, that is the number of
* values to write to the image line
*/
void write_line(const uint16_t *src, uint8_t *data[4], const int linesize[4],
const AVPixFmtDescriptor *desc, int x, int y, int c, int w);
void av_write_image_line(const uint16_t *src, uint8_t *data[4], const int linesize[4],
const AVPixFmtDescriptor *desc, int x, int y, int c, int w);
/**
* Returns the pixel format corresponding to name.
* Return the pixel format corresponding to name.
*
* If there is no pixel format with name name, then looks for a
* pixel format with the name corresponding to the native endian
@@ -142,7 +145,27 @@ void write_line(const uint16_t *src, uint8_t *data[4], const int linesize[4],
enum PixelFormat av_get_pix_fmt(const char *name);
/**
* Returns the number of bits per pixel used by the pixel format
* Return the short name for a pixel format, NULL in case pix_fmt is
* unknown.
*
* @see av_get_pix_fmt(), av_get_pix_fmt_string()
*/
const char *av_get_pix_fmt_name(enum PixelFormat pix_fmt);
/**
* Print in buf the string corresponding to the pixel format with
* number pix_fmt, or an header if pix_fmt is negative.
*
* @param buf the buffer where to write the string
* @param buf_size the size of buf
* @param pix_fmt the number of the pixel format to print the
* corresponding info string, or a negative value to print the
* corresponding header.
*/
char *av_get_pix_fmt_string (char *buf, int buf_size, enum PixelFormat pix_fmt);
/**
* Return the number of bits per pixel used by the pixel format
* described by pixdesc.
*
* The returned number of bits refers to the number of bits actually

View File

@@ -25,21 +25,21 @@
* @file
* pixel format definitions
*
* @warning This file has to be considered an internal but installed
* header, so it should not be directly included in your projects.
*/
#include "libavutil/avconfig.h"
/**
* Pixel format. Notes:
* Pixel format.
*
* @note
* PIX_FMT_RGB32 is handled in an endian-specific manner. An RGBA
* color is put together as:
* (A << 24) | (R << 16) | (G << 8) | B
* This is stored as BGRA on little-endian CPU architectures and ARGB on
* big-endian CPUs.
*
* @par
* When the pixel format is palettized RGB (PIX_FMT_PAL8), the palettized
* image data is stored in AVFrame.data[0]. The palette is transported in
* AVFrame.data[1], is 1024 bytes long (256 4-byte entries) and is
@@ -49,13 +49,15 @@
* This is important as many custom PAL8 video codecs that were designed
* to run on the IBM VGA graphics adapter use 6-bit palette components.
*
* @par
* For all the 8bit per pixel formats, an RGB32 palette is in data[1] like
* for pal8. This palette is filled in automatically by the function
* allocating the picture.
*
* Note, make sure that all newly added big endian formats have pix_fmt&1==1
* and that all newly added little endian formats have pix_fmt&1==0
* this allows simpler detection of big vs little endian.
* @note
* make sure that all newly added big endian formats have pix_fmt&1==1
* and that all newly added little endian formats have pix_fmt&1==0
* this allows simpler detection of big vs little endian.
*/
enum PixelFormat {
PIX_FMT_NONE= -1,
@@ -71,9 +73,9 @@ enum PixelFormat {
PIX_FMT_MONOWHITE, ///< Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb
PIX_FMT_MONOBLACK, ///< Y , 1bpp, 0 is black, 1 is white, in each byte pixels are ordered from the msb to the lsb
PIX_FMT_PAL8, ///< 8 bit with PIX_FMT_RGB32 palette
PIX_FMT_YUVJ420P, ///< planar YUV 4:2:0, 12bpp, full scale (JPEG)
PIX_FMT_YUVJ422P, ///< planar YUV 4:2:2, 16bpp, full scale (JPEG)
PIX_FMT_YUVJ444P, ///< planar YUV 4:4:4, 24bpp, full scale (JPEG)
PIX_FMT_YUVJ420P, ///< planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV420P and setting color_range
PIX_FMT_YUVJ422P, ///< planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV422P and setting color_range
PIX_FMT_YUVJ444P, ///< planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV444P and setting color_range
PIX_FMT_XVMC_MPEG2_MC,///< XVideo Motion Acceleration via common packet passing
PIX_FMT_XVMC_MPEG2_IDCT,
PIX_FMT_UYVY422, ///< packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1
@@ -95,7 +97,7 @@ enum PixelFormat {
PIX_FMT_GRAY16BE, ///< Y , 16bpp, big-endian
PIX_FMT_GRAY16LE, ///< Y , 16bpp, little-endian
PIX_FMT_YUV440P, ///< planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples)
PIX_FMT_YUVJ440P, ///< planar YUV 4:4:0 full scale (JPEG)
PIX_FMT_YUVJ440P, ///< planar YUV 4:4:0 full scale (JPEG), deprecated in favor of PIX_FMT_YUV440P and setting color_range
PIX_FMT_YUVA420P, ///< planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples)
PIX_FMT_VDPAU_H264,///< H.264 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers
PIX_FMT_VDPAU_MPEG1,///< MPEG-1 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers
@@ -128,14 +130,61 @@ enum PixelFormat {
PIX_FMT_VDPAU_MPEG4, ///< MPEG4 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers
PIX_FMT_DXVA2_VLD, ///< HW decoding through DXVA2, Picture.data[3] contains a LPDIRECT3DSURFACE9 pointer
PIX_FMT_RGB444BE, ///< packed RGB 4:4:4, 16bpp, (msb)4A 4R 4G 4B(lsb), big-endian, most significant bits to 0
PIX_FMT_RGB444LE, ///< packed RGB 4:4:4, 16bpp, (msb)4A 4R 4G 4B(lsb), little-endian, most significant bits to 0
PIX_FMT_BGR444BE, ///< packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), big-endian, most significant bits to 1
PIX_FMT_RGB444BE, ///< packed RGB 4:4:4, 16bpp, (msb)4A 4R 4G 4B(lsb), big-endian, most significant bits to 0
PIX_FMT_BGR444LE, ///< packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), little-endian, most significant bits to 1
PIX_FMT_Y400A, ///< 8bit gray, 8bit alpha
PIX_FMT_BGR444BE, ///< packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), big-endian, most significant bits to 1
PIX_FMT_GRAY8A, ///< 8bit gray, 8bit alpha
PIX_FMT_BGR48BE, ///< packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as big-endian
PIX_FMT_BGR48LE, ///< packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as little-endian
//the following 10 formats have the disadvantage of needing 1 format for each bit depth, thus
//If you want to support multiple bit depths, then using PIX_FMT_YUV420P16* with the bpp stored seperately
//is better
PIX_FMT_YUV420P9BE, ///< planar YUV 4:2:0, 13.5bpp, (1 Cr & Cb sample per 2x2 Y samples), big-endian
PIX_FMT_YUV420P9LE, ///< planar YUV 4:2:0, 13.5bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian
PIX_FMT_YUV420P10BE,///< planar YUV 4:2:0, 15bpp, (1 Cr & Cb sample per 2x2 Y samples), big-endian
PIX_FMT_YUV420P10LE,///< planar YUV 4:2:0, 15bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian
PIX_FMT_YUV422P10BE,///< planar YUV 4:2:2, 20bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian
PIX_FMT_YUV422P10LE,///< planar YUV 4:2:2, 20bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian
PIX_FMT_YUV444P9BE, ///< planar YUV 4:4:4, 27bpp, (1 Cr & Cb sample per 1x1 Y samples), big-endian
PIX_FMT_YUV444P9LE, ///< planar YUV 4:4:4, 27bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian
PIX_FMT_YUV444P10BE,///< planar YUV 4:4:4, 30bpp, (1 Cr & Cb sample per 1x1 Y samples), big-endian
PIX_FMT_YUV444P10LE,///< planar YUV 4:4:4, 30bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian
PIX_FMT_YUV422P9BE, ///< planar YUV 4:2:2, 18bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian
PIX_FMT_YUV422P9LE, ///< planar YUV 4:2:2, 18bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian
PIX_FMT_VDA_VLD, ///< hardware decoding through VDA
#ifdef AV_PIX_FMT_ABI_GIT_MASTER
PIX_FMT_RGBA64BE, ///< packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is stored as big-endian
PIX_FMT_RGBA64LE, ///< packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is stored as little-endian
PIX_FMT_BGRA64BE, ///< packed RGBA 16:16:16:16, 64bpp, 16B, 16G, 16R, 16A, the 2-byte value for each R/G/B/A component is stored as big-endian
PIX_FMT_BGRA64LE, ///< packed RGBA 16:16:16:16, 64bpp, 16B, 16G, 16R, 16A, the 2-byte value for each R/G/B/A component is stored as little-endian
#endif
PIX_FMT_GBRP, ///< planar GBR 4:4:4 24bpp
PIX_FMT_GBRP9BE, ///< planar GBR 4:4:4 27bpp, big endian
PIX_FMT_GBRP9LE, ///< planar GBR 4:4:4 27bpp, little endian
PIX_FMT_GBRP10BE, ///< planar GBR 4:4:4 30bpp, big endian
PIX_FMT_GBRP10LE, ///< planar GBR 4:4:4 30bpp, little endian
PIX_FMT_GBRP16BE, ///< planar GBR 4:4:4 48bpp, big endian
PIX_FMT_GBRP16LE, ///< planar GBR 4:4:4 48bpp, little endian
#ifndef AV_PIX_FMT_ABI_GIT_MASTER
PIX_FMT_RGBA64BE=0x123, ///< packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is stored as big-endian
PIX_FMT_RGBA64LE, ///< packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is stored as little-endian
PIX_FMT_BGRA64BE, ///< packed RGBA 16:16:16:16, 64bpp, 16B, 16G, 16R, 16A, the 2-byte value for each R/G/B/A component is stored as big-endian
PIX_FMT_BGRA64LE, ///< packed RGBA 16:16:16:16, 64bpp, 16B, 16G, 16R, 16A, the 2-byte value for each R/G/B/A component is stored as little-endian
#endif
PIX_FMT_0RGB=0x123+4, ///< packed RGB 8:8:8, 32bpp, 0RGB0RGB...
PIX_FMT_RGB0, ///< packed RGB 8:8:8, 32bpp, RGB0RGB0...
PIX_FMT_0BGR, ///< packed BGR 8:8:8, 32bpp, 0BGR0BGR...
PIX_FMT_BGR0, ///< packed BGR 8:8:8, 32bpp, BGR0BGR0...
PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions
};
#define PIX_FMT_Y400A PIX_FMT_GRAY8A
#define PIX_FMT_GBR24P PIX_FMT_GBRP
#if AV_HAVE_BIGENDIAN
# define PIX_FMT_NE(be, le) PIX_FMT_##be
#else
@@ -146,18 +195,33 @@ enum PixelFormat {
#define PIX_FMT_RGB32_1 PIX_FMT_NE(RGBA, ABGR)
#define PIX_FMT_BGR32 PIX_FMT_NE(ABGR, RGBA)
#define PIX_FMT_BGR32_1 PIX_FMT_NE(BGRA, ARGB)
#define PIX_FMT_0RGB32 PIX_FMT_NE(0RGB, BGR0)
#define PIX_FMT_0BGR32 PIX_FMT_NE(0BGR, RGB0)
#define PIX_FMT_GRAY16 PIX_FMT_NE(GRAY16BE, GRAY16LE)
#define PIX_FMT_RGB48 PIX_FMT_NE(RGB48BE, RGB48LE)
#define PIX_FMT_RGB565 PIX_FMT_NE(RGB565BE, RGB565LE)
#define PIX_FMT_RGB555 PIX_FMT_NE(RGB555BE, RGB555LE)
#define PIX_FMT_RGB444 PIX_FMT_NE(RGB444BE, RGB444LE)
#define PIX_FMT_BGR48 PIX_FMT_NE(BGR48BE, BGR48LE)
#define PIX_FMT_BGR565 PIX_FMT_NE(BGR565BE, BGR565LE)
#define PIX_FMT_BGR555 PIX_FMT_NE(BGR555BE, BGR555LE)
#define PIX_FMT_BGR444 PIX_FMT_NE(BGR444BE, BGR444LE)
#define PIX_FMT_YUV420P9 PIX_FMT_NE(YUV420P9BE , YUV420P9LE)
#define PIX_FMT_YUV422P9 PIX_FMT_NE(YUV422P9BE , YUV422P9LE)
#define PIX_FMT_YUV444P9 PIX_FMT_NE(YUV444P9BE , YUV444P9LE)
#define PIX_FMT_YUV420P10 PIX_FMT_NE(YUV420P10BE, YUV420P10LE)
#define PIX_FMT_YUV422P10 PIX_FMT_NE(YUV422P10BE, YUV422P10LE)
#define PIX_FMT_YUV444P10 PIX_FMT_NE(YUV444P10BE, YUV444P10LE)
#define PIX_FMT_YUV420P16 PIX_FMT_NE(YUV420P16BE, YUV420P16LE)
#define PIX_FMT_YUV422P16 PIX_FMT_NE(YUV422P16BE, YUV422P16LE)
#define PIX_FMT_YUV444P16 PIX_FMT_NE(YUV444P16BE, YUV444P16LE)
#define PIX_FMT_RGBA64 PIX_FMT_NE(RGBA64BE, RGBA64LE)
#define PIX_FMT_BGRA64 PIX_FMT_NE(BGRA64BE, BGRA64LE)
#define PIX_FMT_GBRP9 PIX_FMT_NE(GBRP9BE , GBRP9LE)
#define PIX_FMT_GBRP10 PIX_FMT_NE(GBRP10BE, GBRP10LE)
#define PIX_FMT_GBRP16 PIX_FMT_NE(GBRP16BE, GBRP16LE)
#endif /* AVUTIL_PIXFMT_H */

View File

@@ -0,0 +1,43 @@
/*
* Copyright (c) 2009 Baptiste Coudurier <baptiste.coudurier@gmail.com>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_RANDOM_SEED_H
#define AVUTIL_RANDOM_SEED_H
#include <stdint.h>
/**
* @addtogroup lavu_crypto
* @{
*/
/**
* Get a seed to use in conjunction with random functions.
* This function tries to provide a good seed at a best effort bases.
* Its possible to call this function multiple times if more bits are needed.
* It can be quite slow, which is why it should only be used as seed for a faster
* PRNG. The quality of the seed depends on the platform.
*/
uint32_t av_get_random_seed(void);
/**
* @}
*/
#endif /* AVUTIL_RANDOM_SEED_H */

View File

@@ -28,9 +28,15 @@
#ifndef AVUTIL_RATIONAL_H
#define AVUTIL_RATIONAL_H
#include <msc_stdint.h>
#include <stdint.h>
#include <limits.h>
#include "attributes.h"
/**
* @addtogroup lavu_math
* @{
*/
/**
* rational number numerator/denominator
*/
@@ -40,20 +46,23 @@ typedef struct AVRational{
} AVRational;
/**
* Compares two rationals.
* Compare two rationals.
* @param a first rational
* @param b second rational
* @return 0 if a==b, 1 if a>b and -1 if a<b
* @return 0 if a==b, 1 if a>b, -1 if a<b, and INT_MIN if one of the
* values is of the form 0/0
*/
static inline int av_cmp_q(AVRational a, AVRational b){
const int64_t tmp= a.num * (int64_t)b.den - b.num * (int64_t)a.den;
if(tmp) return (tmp>>63)|1;
else return 0;
if(tmp) return ((tmp ^ a.den ^ b.den)>>63)|1;
else if(b.den && a.den) return 0;
else if(a.num && b.num) return (a.num>>31) - (b.num>>31);
else return INT_MIN;
}
/**
* Converts rational to double.
* Convert rational to double.
* @param a rational to convert
* @return (double) a
*/
@@ -62,7 +71,7 @@ static inline double av_q2d(AVRational a){
}
/**
* Reduces a fraction.
* Reduce a fraction.
* This is useful for framerate calculations.
* @param dst_num destination numerator
* @param dst_den destination denominator
@@ -74,7 +83,7 @@ static inline double av_q2d(AVRational a){
int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max);
/**
* Multiplies two rationals.
* Multiply two rationals.
* @param b first rational
* @param c second rational
* @return b*c
@@ -82,7 +91,7 @@ int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max)
AVRational av_mul_q(AVRational b, AVRational c) av_const;
/**
* Divides one rational by another.
* Divide one rational by another.
* @param b first rational
* @param c second rational
* @return b/c
@@ -90,7 +99,7 @@ AVRational av_mul_q(AVRational b, AVRational c) av_const;
AVRational av_div_q(AVRational b, AVRational c) av_const;
/**
* Adds two rationals.
* Add two rationals.
* @param b first rational
* @param c second rational
* @return b+c
@@ -98,7 +107,7 @@ AVRational av_div_q(AVRational b, AVRational c) av_const;
AVRational av_add_q(AVRational b, AVRational c) av_const;
/**
* Subtracts one rational from another.
* Subtract one rational from another.
* @param b first rational
* @param c second rational
* @return b-c
@@ -106,7 +115,9 @@ AVRational av_add_q(AVRational b, AVRational c) av_const;
AVRational av_sub_q(AVRational b, AVRational c) av_const;
/**
* Converts a double precision floating point number to a rational.
* Convert a double precision floating point number to a rational.
* inf is expressed as {1,0} or {-1,0} depending on the sign.
*
* @param d double to convert
* @param max the maximum allowed numerator and denominator
* @return (AVRational) d
@@ -120,10 +131,14 @@ AVRational av_d2q(double d, int max) av_const;
int av_nearer_q(AVRational q, AVRational q1, AVRational q2);
/**
* Finds the nearest value in q_list to q.
* Find the nearest value in q_list to q.
* @param q_list an array of rationals terminated by {0, 0}
* @return the index of the nearest value found in the array
*/
int av_find_nearest_q_idx(AVRational q, const AVRational* q_list);
/**
* @}
*/
#endif /* AVUTIL_RATIONAL_H */

View File

@@ -0,0 +1,156 @@
/*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_SAMPLEFMT_H
#define AVUTIL_SAMPLEFMT_H
#include "avutil.h"
/**
* all in native-endian format
*/
enum AVSampleFormat {
AV_SAMPLE_FMT_NONE = -1,
AV_SAMPLE_FMT_U8, ///< unsigned 8 bits
AV_SAMPLE_FMT_S16, ///< signed 16 bits
AV_SAMPLE_FMT_S32, ///< signed 32 bits
AV_SAMPLE_FMT_FLT, ///< float
AV_SAMPLE_FMT_DBL, ///< double
AV_SAMPLE_FMT_U8P, ///< unsigned 8 bits, planar
AV_SAMPLE_FMT_S16P, ///< signed 16 bits, planar
AV_SAMPLE_FMT_S32P, ///< signed 32 bits, planar
AV_SAMPLE_FMT_FLTP, ///< float, planar
AV_SAMPLE_FMT_DBLP, ///< double, planar
AV_SAMPLE_FMT_NB ///< Number of sample formats. DO NOT USE if linking dynamically
};
/**
* Return the name of sample_fmt, or NULL if sample_fmt is not
* recognized.
*/
const char *av_get_sample_fmt_name(enum AVSampleFormat sample_fmt);
/**
* Return a sample format corresponding to name, or AV_SAMPLE_FMT_NONE
* on error.
*/
enum AVSampleFormat av_get_sample_fmt(const char *name);
/**
* Return the planar<->packed alternative form of the given sample format, or
* AV_SAMPLE_FMT_NONE on error. If the passed sample_fmt is already in the
* requested planar/packed format, the format returned is the same as the
* input.
*/
enum AVSampleFormat av_get_alt_sample_fmt(enum AVSampleFormat sample_fmt, int planar);
/**
* Generate a string corresponding to the sample format with
* sample_fmt, or a header if sample_fmt is negative.
*
* @param buf the buffer where to write the string
* @param buf_size the size of buf
* @param sample_fmt the number of the sample format to print the
* corresponding info string, or a negative value to print the
* corresponding header.
* @return the pointer to the filled buffer or NULL if sample_fmt is
* unknown or in case of other errors
*/
char *av_get_sample_fmt_string(char *buf, int buf_size, enum AVSampleFormat sample_fmt);
#if FF_API_GET_BITS_PER_SAMPLE_FMT
/**
* @deprecated Use av_get_bytes_per_sample() instead.
*/
attribute_deprecated
int av_get_bits_per_sample_fmt(enum AVSampleFormat sample_fmt);
#endif
/**
* Return number of bytes per sample.
*
* @param sample_fmt the sample format
* @return number of bytes per sample or zero if unknown for the given
* sample format
*/
int av_get_bytes_per_sample(enum AVSampleFormat sample_fmt);
/**
* Check if the sample format is planar.
*
* @param sample_fmt the sample format to inspect
* @return 1 if the sample format is planar, 0 if it is interleaved
*/
int av_sample_fmt_is_planar(enum AVSampleFormat sample_fmt);
/**
* Get the required buffer size for the given audio parameters.
*
* @param[out] linesize calculated linesize, may be NULL
* @param nb_channels the number of channels
* @param nb_samples the number of samples in a single channel
* @param sample_fmt the sample format
* @return required buffer size, or negative error code on failure
*/
int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples,
enum AVSampleFormat sample_fmt, int align);
/**
* Fill channel data pointers and linesize for samples with sample
* format sample_fmt.
*
* The pointers array is filled with the pointers to the samples data:
* for planar, set the start point of each channel's data within the buffer,
* for packed, set the start point of the entire buffer only.
*
* The linesize array is filled with the aligned size of each channel's data
* buffer for planar layout, or the aligned size of the buffer for all channels
* for packed layout.
*
* @param[out] audio_data array to be filled with the pointer for each channel
* @param[out] linesize calculated linesize
* @param buf the pointer to a buffer containing the samples
* @param nb_channels the number of channels
* @param nb_samples the number of samples in a single channel
* @param sample_fmt the sample format
* @param align buffer size alignment (1 = no alignment required)
* @return 0 on success or a negative error code on failure
*/
int av_samples_fill_arrays(uint8_t **audio_data, int *linesize, uint8_t *buf,
int nb_channels, int nb_samples,
enum AVSampleFormat sample_fmt, int align);
/**
* Allocate a samples buffer for nb_samples samples, and fill data pointers and
* linesize accordingly.
* The allocated samples buffer can be freed by using av_freep(&audio_data[0])
*
* @param[out] audio_data array to be filled with the pointer for each channel
* @param[out] linesize aligned size for audio buffer(s)
* @param nb_channels number of audio channels
* @param nb_samples number of samples per channel
* @param align buffer size alignment (1 = no alignment required)
* @return 0 on success or a negative error code on failure
* @see av_samples_fill_arrays()
*/
int av_samples_alloc(uint8_t **audio_data, int *linesize, int nb_channels,
int nb_samples, enum AVSampleFormat sample_fmt, int align);
#endif /* AVUTIL_SAMPLEFMT_H */

View File

@@ -0,0 +1,66 @@
/*
* Copyright (C) 2007 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVUTIL_SHA_H
#define AVUTIL_SHA_H
#include <stdint.h>
/**
* @defgroup lavu_sha SHA
* @ingroup lavu_crypto
* @{
*/
extern const int av_sha_size;
struct AVSHA;
/**
* Initialize SHA-1 or SHA-2 hashing.
*
* @param context pointer to the function context (of size av_sha_size)
* @param bits number of bits in digest (SHA-1 - 160 bits, SHA-2 224 or 256 bits)
* @return zero if initialization succeeded, -1 otherwise
*/
int av_sha_init(struct AVSHA* context, int bits);
/**
* Update hash value.
*
* @param context hash function context
* @param data input data to update hash with
* @param len input data length
*/
void av_sha_update(struct AVSHA* context, const uint8_t* data, unsigned int len);
/**
* Finish hashing and output digest value.
*
* @param context hash function context
* @param digest buffer where output digest value is stored
*/
void av_sha_final(struct AVSHA* context, uint8_t *digest);
/**
* @}
*/
#endif /* AVUTIL_SHA_H */

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2001-2003 Michael Niedermayer <michaelni@gmx.at>
* Copyright (C) 2001-2011 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of FFmpeg.
*
@@ -28,10 +28,12 @@
*/
#include "libavutil/avutil.h"
#include "libavutil/log.h"
#include "libavutil/pixfmt.h"
#define LIBSWSCALE_VERSION_MAJOR 0
#define LIBSWSCALE_VERSION_MINOR 11
#define LIBSWSCALE_VERSION_MICRO 0
#define LIBSWSCALE_VERSION_MAJOR 2
#define LIBSWSCALE_VERSION_MINOR 1
#define LIBSWSCALE_VERSION_MICRO 100
#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
LIBSWSCALE_VERSION_MINOR, \
@@ -44,17 +46,31 @@
#define LIBSWSCALE_IDENT "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION)
/**
* Returns the LIBSWSCALE_VERSION_INT constant.
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
*/
#ifndef FF_API_SWS_GETCONTEXT
#define FF_API_SWS_GETCONTEXT (LIBSWSCALE_VERSION_MAJOR < 3)
#endif
#ifndef FF_API_SWS_CPU_CAPS
#define FF_API_SWS_CPU_CAPS (LIBSWSCALE_VERSION_MAJOR < 3)
#endif
#ifndef FF_API_SWS_FORMAT_NAME
#define FF_API_SWS_FORMAT_NAME (LIBSWSCALE_VERSION_MAJOR < 3)
#endif
/**
* Return the LIBSWSCALE_VERSION_INT constant.
*/
unsigned swscale_version(void);
/**
* Returns the libswscale build-time configuration.
* Return the libswscale build-time configuration.
*/
const char *swscale_configuration(void);
/**
* Returns the libswscale license.
* Return the libswscale license.
*/
const char *swscale_license(void);
@@ -87,11 +103,18 @@ const char *swscale_license(void);
#define SWS_ACCURATE_RND 0x40000
#define SWS_BITEXACT 0x80000
#if FF_API_SWS_CPU_CAPS
/**
* CPU caps are autodetected now, those flags
* are only provided for API compatibility.
*/
#define SWS_CPU_CAPS_MMX 0x80000000
#define SWS_CPU_CAPS_MMX2 0x20000000
#define SWS_CPU_CAPS_3DNOW 0x40000000
#define SWS_CPU_CAPS_ALTIVEC 0x10000000
#define SWS_CPU_CAPS_BFIN 0x01000000
#define SWS_CPU_CAPS_SSE2 0x02000000
#endif
#define SWS_MAX_REDUCE_CUTOFF 0.002
@@ -104,7 +127,7 @@ const char *swscale_license(void);
#define SWS_CS_DEFAULT 5
/**
* Returns a pointer to yuv<->rgb coefficients for the given colorspace
* Return a pointer to yuv<->rgb coefficients for the given colorspace
* suitable for sws_setColorspaceDetails().
*
* @param colorspace One of the SWS_CS_* macros. If invalid,
@@ -112,7 +135,6 @@ const char *swscale_license(void);
*/
const int *sws_getCoefficients(int colorspace);
// when used for filters they must have an odd number of elements
// coeffs cannot be shared between vectors
typedef struct {
@@ -131,25 +153,41 @@ typedef struct {
struct SwsContext;
/**
* Returns a positive value if pix_fmt is a supported input format, 0
* Return a positive value if pix_fmt is a supported input format, 0
* otherwise.
*/
int sws_isSupportedInput(enum PixelFormat pix_fmt);
/**
* Returns a positive value if pix_fmt is a supported output format, 0
* Return a positive value if pix_fmt is a supported output format, 0
* otherwise.
*/
int sws_isSupportedOutput(enum PixelFormat pix_fmt);
/**
* Frees the swscaler context swsContext.
* Allocate an empty SwsContext. This must be filled and passed to
* sws_init_context(). For filling see AVOptions, options.c and
* sws_setColorspaceDetails().
*/
struct SwsContext *sws_alloc_context(void);
/**
* Initialize the swscaler context sws_context.
*
* @return zero or positive value on success, a negative value on
* error
*/
int sws_init_context(struct SwsContext *sws_context, SwsFilter *srcFilter, SwsFilter *dstFilter);
/**
* Free the swscaler context swsContext.
* If swsContext is NULL, then does nothing.
*/
void sws_freeContext(struct SwsContext *swsContext);
#if FF_API_SWS_GETCONTEXT
/**
* Allocates and returns a SwsContext. You need it to perform
* Allocate and return an SwsContext. You need it to perform
* scaling/conversion operations using sws_scale().
*
* @param srcW the width of the source image
@@ -160,14 +198,18 @@ void sws_freeContext(struct SwsContext *swsContext);
* @param dstFormat the destination image format
* @param flags specify which algorithm and options to use for rescaling
* @return a pointer to an allocated context, or NULL in case of error
* @note this function is to be removed after a saner alternative is
* written
* @deprecated Use sws_getCachedContext() instead.
*/
struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat,
int dstW, int dstH, enum PixelFormat dstFormat,
int flags, SwsFilter *srcFilter,
SwsFilter *dstFilter, const double *param);
#endif
/**
* Scales the image slice in srcSlice and puts the resulting scaled
* Scale the image slice in srcSlice and put the resulting scaled
* slice in the image in dst. A slice is a sequence of consecutive
* rows in an image.
*
@@ -175,7 +217,7 @@ struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat
* top-bottom or bottom-top order. If slices are provided in
* non-sequential order the behavior of the function is undefined.
*
* @param context the scaling context previously created with
* @param c the scaling context previously created with
* sws_getContext()
* @param srcSlice the array containing the pointers to the planes of
* the source slice
@@ -192,20 +234,12 @@ struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat
* the destination image
* @return the height of the output slice
*/
int sws_scale(struct SwsContext *context, const uint8_t* const srcSlice[], const int srcStride[],
int srcSliceY, int srcSliceH, uint8_t* const dst[], const int dstStride[]);
#if LIBSWSCALE_VERSION_MAJOR < 1
/**
* @deprecated Use sws_scale() instead.
*/
int sws_scale_ordered(struct SwsContext *context, const uint8_t* const src[],
int srcStride[], int srcSliceY, int srcSliceH,
uint8_t* dst[], int dstStride[]) attribute_deprecated;
#endif
int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
const int srcStride[], int srcSliceY, int srcSliceH,
uint8_t *const dst[], const int dstStride[]);
/**
* @param inv_table the yuv2rgb coefficients, normally ff_yuv2rgb_coeffs[x]
* @param fullRange if 1 then the luma range is 0..255 if 0 it is 16..235
* @return -1 if not supported
*/
int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4],
@@ -220,35 +254,35 @@ int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table,
int *brightness, int *contrast, int *saturation);
/**
* Allocates and returns an uninitialized vector with length coefficients.
* Allocate and return an uninitialized vector with length coefficients.
*/
SwsVector *sws_allocVec(int length);
/**
* Returns a normalized Gaussian curve used to filter stuff
* quality=3 is high quality, lower is lower quality.
* Return a normalized Gaussian curve used to filter stuff
* quality = 3 is high quality, lower is lower quality.
*/
SwsVector *sws_getGaussianVec(double variance, double quality);
/**
* Allocates and returns a vector with length coefficients, all
* Allocate and return a vector with length coefficients, all
* with the same value c.
*/
SwsVector *sws_getConstVec(double c, int length);
/**
* Allocates and returns a vector with just one coefficient, with
* Allocate and return a vector with just one coefficient, with
* value 1.0.
*/
SwsVector *sws_getIdentityVec(void);
/**
* Scales all the coefficients of a by the scalar value.
* Scale all the coefficients of a by the scalar value.
*/
void sws_scaleVec(SwsVector *a, double scalar);
/**
* Scales all the coefficients of a so that their sum equals height.
* Scale all the coefficients of a so that their sum equals height.
*/
void sws_normalizeVec(SwsVector *a, double height);
void sws_convVec(SwsVector *a, SwsVector *b);
@@ -257,20 +291,13 @@ void sws_subVec(SwsVector *a, SwsVector *b);
void sws_shiftVec(SwsVector *a, int shift);
/**
* Allocates and returns a clone of the vector a, that is a vector
* Allocate and return a clone of the vector a, that is a vector
* with the same coefficients as a.
*/
SwsVector *sws_cloneVec(SwsVector *a);
#if LIBSWSCALE_VERSION_MAJOR < 1
/**
* @deprecated Use sws_printVec2() instead.
*/
attribute_deprecated void sws_printVec(SwsVector *a);
#endif
/**
* Prints with av_log() a textual representation of the vector a
* Print with av_log() a textual representation of the vector a
* if log_level <= av_log_level.
*/
void sws_printVec2(SwsVector *a, AVClass *log_ctx, int log_level);
@@ -284,8 +311,7 @@ SwsFilter *sws_getDefaultFilter(float lumaGBlur, float chromaGBlur,
void sws_freeFilter(SwsFilter *filter);
/**
* Checks if context can be reused, otherwise reallocates a new
* one.
* Check if context can be reused, otherwise reallocate a new one.
*
* If context is NULL, just calls sws_getContext() to get a new
* context. Otherwise, checks if the parameters are the ones already
@@ -303,7 +329,7 @@ struct SwsContext *sws_getCachedContext(struct SwsContext *context,
SwsFilter *dstFilter, const double *param);
/**
* Converts an 8bit paletted frame into a frame with a color depth of 32-bits.
* Convert an 8-bit paletted frame into a frame with a color depth of 32 bits.
*
* The output frame will have the same packed format as the palette.
*
@@ -312,10 +338,10 @@ struct SwsContext *sws_getCachedContext(struct SwsContext *context,
* @param num_pixels number of pixels to convert
* @param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src
*/
void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette);
void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette);
/**
* Converts an 8bit paletted frame into a frame with a color depth of 24 bits.
* Convert an 8-bit paletted frame into a frame with a color depth of 24 bits.
*
* With the palette format "ABCD", the destination frame ends up with the format "ABC".
*
@@ -324,7 +350,14 @@ void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, long num_pi
* @param num_pixels number of pixels to convert
* @param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src
*/
void sws_convertPalette8ToPacked24(const uint8_t *src, uint8_t *dst, long num_pixels, const uint8_t *palette);
void sws_convertPalette8ToPacked24(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette);
/**
* Get the AVClass for swsContext. It can be used in combination with
* AV_OPT_SEARCH_FAKE_OBJ for examining options.
*
* @see av_opt_find().
*/
const AVClass *sws_get_class(void);
#endif /* SWSCALE_SWSCALE_H */

View File

@@ -1,32 +1,32 @@
// ISO C9x compliant inttypes.h for Microsoft Visual Studio
// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
//
// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
//
// Copyright (c) 2006 Alexander Chemeris
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
//
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
//
//
// 3. The name of the author may be used to endorse or promote products
// derived from this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
//
///////////////////////////////////////////////////////////////////////////////
#ifndef _MSC_VER // [

View File

@@ -1,32 +1,32 @@
// ISO C9x compliant stdint.h for Microsoft Visual Studio
// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
//
// Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
//
// Copyright (c) 2006 Alexander Chemeris
//
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
//
//
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
//
//
// 3. The name of the author may be used to endorse or promote products
// derived from this software without specific prior written permission.
//
//
// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
// EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
// OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
//
///////////////////////////////////////////////////////////////////////////////
#ifndef _MSC_STDINT_H_ // [
@@ -39,7 +39,7 @@
// error C2733: second C linkage of overloaded function 'wmemchr' not allowed
#if (_MSC_VER < 1300) && defined(__cplusplus)
extern "C++" {
#endif
#endif
# include <wchar.h>
#if (_MSC_VER < 1300) && defined(__cplusplus)
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
3rdparty/lib/x86/libnative_camera_r2.3.3.so vendored Executable file

Binary file not shown.

BIN
3rdparty/lib/x86/libnative_camera_r3.0.1.so vendored Executable file

Binary file not shown.

BIN
3rdparty/lib/x86/libnative_camera_r4.0.3.so vendored Executable file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More