- 29 Jun, 2012 3 commits
-
-
John Koleszar authored
We need an easy way to build the unit test driver without running the tests. This enables passing options like --gtest_filter to the executable, which can't be done very cleanly when running under `make test`. Fixed a number of compiler errors/warnings when building the tests in various configurations by Jenkins. Change-Id: I9198122600bcf02520688e5f052ab379f963b77b
-
John Koleszar authored
Removes compiler warnings stemming from compiling C as C++. Change-Id: I84ec60d04fcc6281b6f2ea75af6a22fa3232d95f
-
Yunqing Wang authored
-
- 28 Jun, 2012 1 commit
-
-
James Zern authored
Change-Id: I731354b3cf3405eba2dfffcb47d174b5fa9df21a
-
- 26 Jun, 2012 2 commits
- 25 Jun, 2012 4 commits
-
-
Jim Bankoski authored
-
John Koleszar authored
* changes: add auto keyframe unit test Add support for downloading test data
-
John Koleszar authored
Fixed the quantifier that optionally matches a quote before the filename. This was originally reported in the homebrew project[1]. Note that this fix is different than patch posted there, as there are some platforms that don't have the quote, so it needs to be included in the expression optionally. [1]: https://github.com/mxcl/homebrew/issues/12567#issuecomment-6434000 Change-Id: Ibf2ed93ce169d80932e877f942dc4eeb03867f8b
-
Ronald S. Bultje authored
Change-Id: I7dadadeb99bee5a51219f46fe11c760fc294c735
-
- 23 Jun, 2012 2 commits
-
-
Jim Bankoski authored
To do so we add a framework for encoding a yv12 file.. Change-Id: I94a061eb916beaf6cde920cf1aaadb6eed10a717
-
Paul Wilkins authored
Update the comment that defines the allowed ranges for delta_q and delta_lf that can be used with segmentation. Change-Id: Ie56ad6f946704259e03ffd49921a4cfb7e1e2f1f
-
- 22 Jun, 2012 5 commits
-
-
John Koleszar authored
-
Johann authored
-
John Koleszar authored
Itchy submit finger, incorporate review comments. Change-Id: I7754ad825da32389510d1bfc967f542f0b1033ed
-
John Koleszar authored
-
John Koleszar authored
Filter out tests that require SIMD extensions if the host doesn't support them. Change-Id: Ifac4b73e98e64f9f1b082cc0ffbf5c2faffb0834
-
- 21 Jun, 2012 1 commit
-
-
John Koleszar authored
The commit introduces a make target 'testdata' that downloads the required test data from the WebM project website. The data will also be downloaded if invoking `make test` but is not a strict requirement for only building the test executable. The download directory is taken from the LIBVPX_TEST_DATA_PATH environment variable, or may be specified as part of the make command. If unset, it defaults to the current directory. It's expected that most developers will want to set this environment variable to a place outside their source/build trees, to avoid having to download the data more than once. To add test data file: 1) add a line to test/test.mk: LIBVPX_TEST_DATA-yes += foo-bar-file.y4m 2) add its sha1sum to the test/test-data.sha1 file in the following format: 528cc88c821e5f5b133c2b40f9c8e3f22eaacc4c foo-bar-file.y4m 3) upload the file to the website $ gsutil cp foo-bar-file.y4m gs://downloads.webmproject.org/test_data/libvpx This implementation will check the integrity of the test data automatically if the `sha1sum` executable is available. Change-Id: If6910fe304bb3f5cdcc5cb9e5f9afa5be74720d2
-
- 20 Jun, 2012 6 commits
-
-
Adrian Grange authored
This is a unit test for the post-processing functions: - vp8_post_proc_down_and_across_c - vp8_post_proc_down_and_across_mmx - vp8_post_proc_down_and_across_xmm Change-Id: Iec3e690327b17470209c00417835473f6d9a35d6
-
Paul Wilkins authored
-
John Koleszar authored
Fix a last few warnings with multithread, arm, 32 bit Change-Id: Ic7c67616c370d0ff87562a232fb1e5df0702dc86
-
Johann authored
Disable unit-tests. The logging in GTest would need to be adjusted. Restructure ARM cpu detection. Flatten if-else logic. Change #if defined(HAVE_*) to #if HAVE_* because we only need to check for features that the library was actually built with. This should have been harmless, as disabled feature sets wouldn't have any features to call. Change-Id: Iea21aa42ce5f049c53ca0376d25bcd0f36f38284
-
Paul Wilkins authored
Changes relating to Issue 411 Removed code that was clearing down the segmentation data each frame. Added range/parameter checking in vp8_set_roimap(); Return error if called when cyclic_refresh is enabled. Correct setup_features() so that it sets or clears the segment update flags as appropriate. Change-Id: Ib31ac53006640ddf1ba7b9ec8f8b952e3eff860a
-
Attila Nagy authored
Soft enable runtime cpu detect for armv7-android target, so that it can be disabled and remove dependency on 'cpufeatures' lib. Change the arm_cpu_caps implementation selection such that 'no rtcd' takes precedence over system type. Switch to use -mtune instead of -mcpu. NDK was complaining about -mcpu=cortex-a8 conflicting with -march=armv7-a, not sure why. Add a linker flag to fix some cortex-a8 bug, as suggested by NDK Dev Guide. Examples: Configure for armv7+neon: ./configure --target=armv7-android-gcc \ --sdk-path=/path/to/android/ndk \ --disable-runtime-cpu-detect \ --enable-realtime-only \ --disable-unit-tests ...armv7 w/o neon: ./configure --target=armv7-android-gcc \ --sdk-path=/path/to/android/ndk \ --disable-runtime-cpu-detect \ --enable-realtime-only \ --disable-neon \ --cpu=cortex-a9 \ --disable-unit-tests Change-Id: I37e2c0592745208979deec38f7658378d4bd6cfa
-
- 19 Jun, 2012 2 commits
-
-
John Koleszar authored
-
Adrian Grange authored
The function vp8_post_proc_down_and_across_c takes the stride of both the src and dst images as parameters, but assumes that they are the same. I modified the code to use the correct strides, as the assembler versions of these functions do. Change-Id: I222715b774cd071b21c15a4b0d2f4aef64a520de
-
- 16 Jun, 2012 1 commit
-
-
John Koleszar authored
-
- 15 Jun, 2012 2 commits
-
-
Rob Bradford authored
vpx uses symbols in libm and thus we need to provide an indication to the user of libvpx that if they want to link against libvpx they must also link against libm. Change-Id: I31d4068bf7f6f5b1fd222bcdf9e6a1a92fb6696f
-
John Koleszar authored
Avoid a pthreads dependency via pthread_once() when compiled with --disable-multithread. In addition, this synchronization is disabled for Win32 as well, even though we can be sure that the required primatives exist, so that the requirements on the application when built with --disable-multithread are consistent across platforms. Users using libvpx built with --disable-multithread in a multithreaded context should provide their own synchronization. Updated the documentation to vpx_codec_enc_init_ver() and vpx_codec_dec_init_ver() to note this requirement. Moved the RTCD initialization call to match this description, as previously it didn't happen until the first frame. Change-Id: Id576f6bce2758362188278d3085051c218a56d4a
-
- 13 Jun, 2012 1 commit
-
-
James Zern authored
This currently has no effect and can create an artificial lag in e.g., realtime. Change-Id: Ia1c7c6dbe7c6fe82a944f087f1b0d1dbbc0aa1b6
-
- 11 Jun, 2012 6 commits
-
-
John Koleszar authored
Allows building the library with the gcc -pedantic option, for improved portabilty. In particular, this commit removes usage of C99/C++ style single-line comments and dynamic struct initializers. This is a continuation of the work done in commit 97b766a4, which removed most of these warnings for decode only builds. Change-Id: Id453d9c1d9f44cc0381b10c3869fabb0184d5966
-
John Koleszar authored
-
John Koleszar authored
Change-Id: I45849dde0ee9b7e87fa32adb65ade8486bb66556
-
John Koleszar authored
Change-Id: I79fd7bd18aa1af41cd066ccc3d1cd16744b9c8d1
-
John Koleszar authored
-
John Koleszar authored
-
- 09 Jun, 2012 1 commit
-
-
James Zern authored
Change-Id: Ic30d7335b5bf912b39ea55f2b759fe5b7d523ca8
-
- 07 Jun, 2012 2 commits
-
-
Yunqing Wang authored
Frame dropping decision is made by evaluating both current frame and next frame's buffer_level. If both buffer_levels are less than drop_mark, next frame is dropped. When frame dropping is over, namely, buffer_level becomes normal again, we need to reset decimation_count to 0. Change-Id: Iae182612e61e0da367fbd43afdc90738d975d1a3
-
Yunqing Wang authored
Removed unused parameters and code related to drop_frame. Change-Id: I594e050d49b1805c6f72abf06005ef624256bb57
-
- 06 Jun, 2012 1 commit
-
-
Marco Paniconi authored
The logic for spatial resizing is done after the Q is selected for the frame. This causes a problem that the Q we select for the (resized) key frame may be based on a different resolution than the frame we will encode. This fix is to ensure that, when resize is on, the selected Q is still based on the resolution of the frame to be encoded. Change-Id: Ia49a9eac5f64e48d1c00dfc7ed4ce26fe84d3fa1
-