Johann [Tue, 24 Jul 2012 17:19:44 +0000 (10:19 -0700)]
Use vpx_integer.h instead of stdint.h
vpx_integer accounts for win32, which does not have stdint.h
Change-Id: I0ecf243ba56ed2e920e1293a6876c2e1ef1af99e
Johann [Tue, 24 Jul 2012 16:35:50 +0000 (09:35 -0700)]
Merge "Use ACMRandom for all tests"
Johann [Tue, 24 Jul 2012 16:35:37 +0000 (09:35 -0700)]
Merge "Allow specifying the seed"
Johann [Tue, 24 Jul 2012 16:35:23 +0000 (09:35 -0700)]
Merge "Make random streams consistant"
Paul Wilkins [Fri, 20 Jul 2012 14:55:07 +0000 (15:55 +0100)]
Added unit test of vp8_set_roimap()
Change-Id: I99937cbdd6bfe52b7c8ae42f05526dfc06a602f4
Johann [Mon, 23 Jul 2012 22:09:51 +0000 (15:09 -0700)]
Use ACMRandom for all tests
Change-Id: I3bfa40cbc04828fd1d6b61f138c92a2159a67570
Johann [Mon, 23 Jul 2012 22:06:12 +0000 (15:06 -0700)]
Allow specifying the seed
Change-Id: Ie933998b08cd2b3f0e379b8fa7d394c95bd08cac
Johann [Mon, 23 Jul 2012 21:55:32 +0000 (14:55 -0700)]
Make random streams consistant
Reset the seed so the second pass stream matches the first
Change-Id: Id0c0f73abb835b5ca92d76b14e0b02f6239a6ee3
Johann [Fri, 20 Jul 2012 18:51:06 +0000 (11:51 -0700)]
Move ACMRandom to acm_random.h
Change-Id: I1d99c56d1e1f521507978737fc661ca90af72507
Johann [Fri, 20 Jul 2012 18:45:23 +0000 (11:45 -0700)]
Remove unused macros
Also available in util.h
Change-Id: I4745d72f57c11c55772d3bf0ef15c09bd86eb5bf
Johann [Fri, 20 Jul 2012 18:41:06 +0000 (11:41 -0700)]
bash uses curly braces
Change-Id: I2799c766008dc9016d2e55e6e40ae2c4ae4b37d2
Dragan Mrdjan [Fri, 20 Jul 2012 16:10:52 +0000 (09:10 -0700)]
Disabling MIPS optimizations for big endian platforms
Change-Id: Idae399ecbd10e287ef30b2e0b95822dc9175ce0a
John Koleszar [Mon, 16 Jul 2012 23:05:20 +0000 (16:05 -0700)]
Merge "examples: fix memory leak"
Yunqing Wang [Wed, 11 Jul 2012 18:43:51 +0000 (11:43 -0700)]
multi-res: add parameter validity checking
Added validity checking in multi-res encoder. Disable spatial
resampling and frame dropping before we have those supports.
Also, deallocate the memory for all resolution levels once error
occurs.
Change-Id: Ia5d65a645381cad1a49940ab3a19bb5696c39c09
John Koleszar [Sat, 14 Jul 2012 00:11:21 +0000 (17:11 -0700)]
examples: fix memory leak
Free used resources before exiting.
Change-Id: If6cde6541615fbf17bf56ed335b76e676eabba93
Yunqing Wang [Thu, 12 Jul 2012 15:23:12 +0000 (08:23 -0700)]
Remove unused parameter in encoder interface code
Removed encoding_mode, which is not used anymore.
Change-Id: I569b2d4afe4d2f57bda8248615108c7cfc40134c
John Koleszar [Fri, 13 Jul 2012 16:44:25 +0000 (09:44 -0700)]
unset executable bit on source code
Change-Id: I0ddc849495c34f44c0b315cd7d58ad3d563f45e5
Dragan Mrdjan [Wed, 11 Jul 2012 15:56:53 +0000 (08:56 -0700)]
Fix to compile properly on MIPS
Change-Id: I816d903e36605db2af691ccea9e68d7390942baa
Johann [Tue, 10 Jul 2012 23:01:41 +0000 (16:01 -0700)]
Merge "VP8 optimizations for MIPS dspr2"
Yunqing Wang [Tue, 10 Jul 2012 18:19:14 +0000 (11:19 -0700)]
Merge "Add unit test for vp8_sixtap_predict functions"
John Koleszar [Tue, 10 Jul 2012 18:04:46 +0000 (11:04 -0700)]
Merge "I420VideoSource: add members to ctor initialization"
Dragan Mrdjan [Wed, 11 Apr 2012 16:53:15 +0000 (09:53 -0700)]
VP8 optimizations for MIPS dspr2
Signed-off-by: Raghu Gandham <raghu@mips.com>
Change-Id: I3a8bca425cd3dab746a6328c8fc8843c8e87aea6
Yunqing Wang [Thu, 28 Jun 2012 17:37:53 +0000 (10:37 -0700)]
Add unit test for vp8_sixtap_predict functions
This unit test tests vp8_sixtap_predict function against preset
data and random generated data. The test against preset data
checks the correctness of the functions, and the test against
random data checks if the optimized six-tap predictor functions
generate matching result as the c functions. It tests the
following functions:
vp8_sixtap_predict16x16_c
vp8_sixtap_predict16x16_mmx
vp8_sixtap_predict16x16_sse2
vp8_sixtap_predict16x16_ssse3
vp8_sixtap_predict8x8_c
vp8_sixtap_predict8x8_mmx
vp8_sixtap_predict8x8_sse2
vp8_sixtap_predict8x8_ssse3
vp8_sixtap_predict8x4_c
vp8_sixtap_predict8x4_mmx
vp8_sixtap_predict8x4_sse2
vp8_sixtap_predict8x4_ssse3
vp8_sixtap_predict4x4_c
vp8_sixtap_predict4x4_mmx
vp8_sixtap_predict4x4_ssse3
Change-Id: I6de097898ebca34a4c8020aed1e8dde5cd3e493b
Yunqing Wang [Tue, 10 Jul 2012 16:19:37 +0000 (09:19 -0700)]
Merge "Remove goldfreq in VP8_COMP"
James Zern [Tue, 10 Jul 2012 00:36:01 +0000 (17:36 -0700)]
I420VideoSource: add members to ctor initialization
silences valgrind warnings about uninitialized values in SetSize()
Change-Id: I54c4fdcc246687793393735b213c8777e79e47da
Yunqing Wang [Tue, 3 Jul 2012 22:55:02 +0000 (15:55 -0700)]
Merge "Add 0 offsets handling in SSSE3 sixtap_predict functions"
Yunqing Wang [Tue, 3 Jul 2012 22:22:00 +0000 (15:22 -0700)]
Merge "Fix subpixel_predict initialization"
Yunqing Wang [Mon, 2 Jul 2012 23:50:48 +0000 (16:50 -0700)]
Add 0 offsets handling in SSSE3 sixtap_predict functions
This patch fixed issue 458 by calling copy function when both
offsets are 0, which guarantees the SSSE3 functions output
same result as the c function for all possible offsets.
Change-Id: I209aec7a4c6b3362db2646a8887c1038493b6496
Yunqing Wang [Mon, 2 Jul 2012 21:47:47 +0000 (14:47 -0700)]
Fix subpixel_predict initialization
xd->subpixel_predict16x16 is called in first pass, but isn't
initialized in first pass, which causes segfault. This patch
fixed that problem.
Change-Id: Ibd2cad4e2d32ea589fc3e0876d60d3079ae836e7
John Koleszar [Fri, 29 Jun 2012 19:15:00 +0000 (12:15 -0700)]
Build unit test driver from the default target
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 [Fri, 29 Jun 2012 19:09:02 +0000 (12:09 -0700)]
fdct4x4_test: remove unnecessary includes
Removes compiler warnings stemming from compiling C as C++.
Change-Id: I84ec60d04fcc6281b6f2ea75af6a22fa3232d95f
Yunqing Wang [Fri, 29 Jun 2012 17:57:39 +0000 (10:57 -0700)]
Merge "Fix decimation_count in drop_frame"
James Zern [Thu, 28 Jun 2012 06:45:56 +0000 (23:45 -0700)]
fix permissions on regular files
Change-Id: I731354b3cf3405eba2dfffcb47d174b5fa9df21a
Yaowu Xu [Tue, 26 Jun 2012 00:24:15 +0000 (17:24 -0700)]
fixed a build problem with target=x86_64-win64-vs9
Change-Id: I9c56216d22212c4fc13a5e2ed02f30f5b373b94c
Yaowu Xu [Mon, 18 Jun 2012 20:41:17 +0000 (13:41 -0700)]
Added unit test for 4x4 forward dct
Change-Id: I1607676879c29adc0173a3c0355a0e5d8a84fc3b
Jim Bankoski [Mon, 25 Jun 2012 21:46:45 +0000 (14:46 -0700)]
Merge "Add unit test for intra prediction."
John Koleszar [Mon, 25 Jun 2012 19:52:02 +0000 (12:52 -0700)]
Merge changes I94a061eb,If6910fe3
* changes:
add auto keyframe unit test
Add support for downloading test data
John Koleszar [Mon, 25 Jun 2012 17:09:05 +0000 (10:09 -0700)]
gen_asm_deps.sh: regex fix
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 [Mon, 25 Jun 2012 16:34:10 +0000 (09:34 -0700)]
Add unit test for intra prediction.
Change-Id: I7dadadeb99bee5a51219f46fe11c760fc294c735
Jim Bankoski [Sat, 23 Jun 2012 18:20:41 +0000 (11:20 -0700)]
add auto keyframe unit test
To do so we add a framework for encoding a yv12 file..
Change-Id: I94a061eb916beaf6cde920cf1aaadb6eed10a717
Paul Wilkins [Wed, 20 Jun 2012 14:20:53 +0000 (15:20 +0100)]
Alter comment on range of delta_q and delta_lf
Update the comment that defines the allowed ranges for
delta_q and delta_lf that can be used with segmentation.
Change-Id: Ie56ad6f946704259e03ffd49921a4cfb7e1e2f1f
John Koleszar [Fri, 22 Jun 2012 22:13:39 +0000 (15:13 -0700)]
Merge "Cosmetics: test/test_libvpx.cc"
Johann [Fri, 22 Jun 2012 19:56:01 +0000 (12:56 -0700)]
Merge "Clean Android build defaults"
John Koleszar [Fri, 22 Jun 2012 18:53:04 +0000 (11:53 -0700)]
Cosmetics: test/test_libvpx.cc
Itchy submit finger, incorporate review comments.
Change-Id: I7754ad825da32389510d1bfc967f542f0b1033ed
John Koleszar [Fri, 22 Jun 2012 18:47:02 +0000 (11:47 -0700)]
Merge "Runtime CPU detection for unit tests"
John Koleszar [Fri, 22 Jun 2012 17:57:05 +0000 (10:57 -0700)]
Runtime CPU detection for unit tests
Filter out tests that require SIMD extensions if the host doesn't
support them.
Change-Id: Ifac4b73e98e64f9f1b082cc0ffbf5c2faffb0834
John Koleszar [Wed, 20 Jun 2012 21:45:22 +0000 (14:45 -0700)]
Add support for downloading test data
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
Adrian Grange [Tue, 19 Jun 2012 19:03:36 +0000 (12:03 -0700)]
Added unit test for vp8_post_proc_down_and_across
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 [Wed, 20 Jun 2012 17:34:28 +0000 (10:34 -0700)]
Merge "Fix segmentation updates with vp8_set_roimap()"
John Koleszar [Wed, 20 Jun 2012 04:05:36 +0000 (21:05 -0700)]
Fix compilation with -werror
Fix a last few warnings with multithread, arm, 32 bit
Change-Id: Ic7c67616c370d0ff87562a232fb1e5df0702dc86
Johann [Tue, 12 Jun 2012 15:58:11 +0000 (08:58 -0700)]
Clean Android build defaults
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 [Thu, 14 Jun 2012 15:26:07 +0000 (16:26 +0100)]
Fix segmentation updates with vp8_set_roimap()
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 [Thu, 12 Apr 2012 09:50:19 +0000 (12:50 +0300)]
Enables building examples with Android NDK
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
John Koleszar [Tue, 19 Jun 2012 21:50:46 +0000 (14:50 -0700)]
Merge "disable lagged encoding in one-pass"
Adrian Grange [Tue, 19 Jun 2012 18:19:40 +0000 (11:19 -0700)]
Corrected usage of image strides
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
John Koleszar [Sat, 16 Jun 2012 00:03:21 +0000 (17:03 -0700)]
Merge "Fix pkg-config file to pull in libm"
Rob Bradford [Mon, 28 May 2012 12:00:24 +0000 (13:00 +0100)]
Fix pkg-config file to pull in libm
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 [Fri, 15 Jun 2012 22:40:13 +0000 (15:40 -0700)]
Remove threading dependencies with --disable-multithread
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
James Zern [Wed, 13 Jun 2012 18:59:12 +0000 (11:59 -0700)]
disable lagged encoding in one-pass
This currently has no effect and can create an artificial lag in e.g.,
realtime.
Change-Id: Ia1c7c6dbe7c6fe82a944f087f1b0d1dbbc0aa1b6
Yunqing Wang [Tue, 12 Jun 2012 15:57:26 +0000 (11:57 -0400)]
Remove goldfreq in VP8_COMP
goldfreq can be replaced by DEFAULT_GF_INTERVAL.
Change-Id: I3659a9e7b9a6be9cb1952a1838e02c20d656e369
John Koleszar [Mon, 21 May 2012 21:30:56 +0000 (14:30 -0700)]
Fix pedantic compiler warnings
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
97b766a46, which removed most
of these warnings for decode only builds.
Change-Id: Id453d9c1d9f44cc0381b10c3869fabb0184d5966
John Koleszar [Mon, 11 Jun 2012 20:52:28 +0000 (13:52 -0700)]
Merge "Fix MSVS builds for unit test changes"
John Koleszar [Mon, 11 Jun 2012 19:24:14 +0000 (12:24 -0700)]
Fix bad merge
Change-Id: I45849dde0ee9b7e87fa32adb65ade8486bb66556
John Koleszar [Mon, 4 Jun 2012 22:11:42 +0000 (15:11 -0700)]
Merge branch 'origin/eider' into master
Change-Id: I79fd7bd18aa1af41cd066ccc3d1cd16744b9c8d1
John Koleszar [Mon, 11 Jun 2012 19:02:56 +0000 (12:02 -0700)]
Merge "Reset Q for key frame when spatial resizing occurs."
John Koleszar [Mon, 11 Jun 2012 19:02:35 +0000 (12:02 -0700)]
Merge "Skip AS detection for VS"
James Zern [Sat, 9 Jun 2012 21:32:45 +0000 (14:32 -0700)]
build: hide grep/obj_int_extract commands when verbose=0
Change-Id: Ic30d7335b5bf912b39ea55f2b759fe5b7d523ca8
Yunqing Wang [Thu, 7 Jun 2012 17:57:21 +0000 (13:57 -0400)]
Fix decimation_count in drop_frame
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 [Thu, 7 Jun 2012 15:26:47 +0000 (11:26 -0400)]
Remove unused code in drop_frame
Removed unused parameters and code related to drop_frame.
Change-Id: I594e050d49b1805c6f72abf06005ef624256bb57
Marco Paniconi [Wed, 6 Jun 2012 18:38:48 +0000 (11:38 -0700)]
Reset Q for key frame when spatial resizing occurs.
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
Johann Koenig [Mon, 12 Dec 2011 17:43:42 +0000 (09:43 -0800)]
Skip AS detection for VS
Visual Studio doesn't use the assembler in $PATH
Change-Id: I169f8492127cbc1d256a2fb2e749cd970040ccc8
John Koleszar [Tue, 5 Jun 2012 01:54:52 +0000 (18:54 -0700)]
Merge "Fix windows build: obj_int_extract to extract numbrs from .rdata" into eider
John Koleszar [Tue, 5 Jun 2012 01:54:23 +0000 (18:54 -0700)]
Merge "asm_*_offsets to define variables as constants" into eider
Alpha Lam [Wed, 30 May 2012 18:18:35 +0000 (11:18 -0700)]
Fix windows build: obj_int_extract to extract numbrs from .rdata
The change in assembly offset files to define values as const int broke
Windows build, because the variables are stored in .rdata section instead
of .data section.
This CL changes the integer peeking from .data to .rdata.
Change-Id: I87e465ddcc78d39ec29f3720ea7df0ab807d5512
Alpha Lam [Thu, 24 May 2012 04:35:35 +0000 (21:35 -0700)]
asm_*_offsets to define variables as constants
This change is to allow obj_int_extract to extract all integers
in the data segment. With the const keyword these variables are
forced into the .rodata segment even for zero variable value.
We had a problem before that zero valueed variables would get
assigned to BSS segment that fooled obj_int_extract to give
incorrect values.
Change-Id: Icd94f80a8ab356879894ca508bf132d20b865299
Johann [Wed, 23 May 2012 23:08:37 +0000 (16:08 -0700)]
Remove extra enum
VP8_REFFRAME is the same as vpx_ref_frame_type
Change-Id: I63c2ddfb39f6ec87d1e5eb6a8852846464552b1b
Johann [Wed, 9 May 2012 17:26:07 +0000 (10:26 -0700)]
Remove redundant assignment
clang complains about self-assignment
Change-Id: Iead70eed0a960e84a4b167f67f05b05e2965b3b6
Johann [Wed, 2 May 2012 21:12:57 +0000 (14:12 -0700)]
Explicitly discard fwrite/fread return values
Using if(); triggers an empty body warning with clang
Change-Id: I0fa2ee676400a974b40f8eaafca9ae668107eebb
John Koleszar [Fri, 1 Jun 2012 17:43:47 +0000 (10:43 -0700)]
Fix MSVS builds for unit test changes
Update the Visual Studio builds to support the new monolithic unit
test binary.
Includes minor semi-cosmetic refactoring of solution.mk, as the
%vpx.vcproj match is no longer appropriate given the test_libvpx
target.
Change-Id: I29e6e07c39e72b54a4b3eaca5b9b7877ef3fb134
Stefan Holmer [Thu, 31 May 2012 13:27:05 +0000 (15:27 +0200)]
Fixes a win build issue related to denoising.
Change-Id: I912384f526865089aa03ca8875591324e5c1c449
Stefan Holmer [Thu, 31 May 2012 08:52:20 +0000 (10:52 +0200)]
Fixes a clang linking error.
Change-Id: I1d2db53129dc6ec068093ad1e5fc0d94110473b3
Stefan Holmer [Thu, 31 May 2012 13:27:05 +0000 (15:27 +0200)]
Fixes a win build issue related to denoising.
Change-Id: I912384f526865089aa03ca8875591324e5c1c449
Stefan Holmer [Thu, 31 May 2012 08:52:20 +0000 (10:52 +0200)]
Fixes a clang linking error.
Change-Id: I1d2db53129dc6ec068093ad1e5fc0d94110473b3
Jim Bankoski [Wed, 30 May 2012 21:47:05 +0000 (14:47 -0700)]
Merge "boolcoder_test "
Stefan Holmer [Wed, 30 May 2012 10:17:06 +0000 (12:17 +0200)]
Added another denoising threshold for finding DC shifts.
Compares the sum of differences between the input block and the averaged
block. If they differ too much the block will not be filtered. Negligible
perfomance hit.
Change-Id: Ib1c31a265efd4d100b3abc4a1ea6675038c8ddde
Alpha Lam [Wed, 23 May 2012 22:52:34 +0000 (15:52 -0700)]
Make libvpx Chromium build friendly
Add PRIVATE macro for adding private_extern directive for yasm
to hide global symbols. This is only enabled if -DCHROMIUM is used
with YASM.
Also fixed a small problem with rtcd_defs.sh to guard TEMPORAL_DENOISING.
Change-Id: I9027fce3ebddcf20078293e4b86b396f21da7857
Jim Bankoski [Thu, 24 May 2012 14:44:03 +0000 (07:44 -0700)]
fix denoiser for temporal patterns and rd
This extends the denoiser to work for temporally scalable
coding.
I believe this also fixes a very rare but really bad bug in the original
implementation.
Change-Id: I8b3593a8c54b86eb76f785af1970935f7d56262a
Christian Duvivier [Mon, 21 May 2012 14:54:20 +0000 (07:54 -0700)]
Inline Intrinsic optimized Denoiser
Faster version of denoiser, cut cost by 1.7x for C path, by 3.3x for
SSE2 path.
Change-Id: I154786308550763bc0e3497e5fa5bfd1ce651beb
Alpha Lam [Wed, 30 May 2012 18:18:35 +0000 (11:18 -0700)]
Fix windows build: obj_int_extract to extract numbrs from .rdata
The change in assembly offset files to define values as const int broke
Windows build, because the variables are stored in .rdata section instead
of .data section.
This CL changes the integer peeking from .data to .rdata.
Change-Id: I87e465ddcc78d39ec29f3720ea7df0ab807d5512
Stefan Holmer [Wed, 30 May 2012 10:17:06 +0000 (12:17 +0200)]
Added another denoising threshold for finding DC shifts.
Compares the sum of differences between the input block and the averaged
block. If they differ too much the block will not be filtered. Negligible
perfomance hit.
Change-Id: Ib1c31a265efd4d100b3abc4a1ea6675038c8ddde
Jim Bankoski [Fri, 25 May 2012 16:56:08 +0000 (09:56 -0700)]
Merge "fix denoiser for temporal patterns and rd"
Jim Bankoski [Fri, 25 May 2012 16:07:32 +0000 (09:07 -0700)]
boolcoder_test
Changed to google style rather than pseudo webm project style
Change-Id: I0e19d57342a1b27b818fe6a5ae9f6bb3710a122a
John Koleszar [Thu, 24 May 2012 19:22:34 +0000 (12:22 -0700)]
Merge changes I231c062e,Idadc42c7
* changes:
Add external resize tests
Prevent external frame size changes in two-pass
John Koleszar [Thu, 24 May 2012 16:40:48 +0000 (09:40 -0700)]
Merge "Fix another multithreaded encoder loopfilter race condition"
John Koleszar [Thu, 24 May 2012 16:40:29 +0000 (09:40 -0700)]
Merge "asm_*_offsets to define variables as constants"
John Koleszar [Wed, 23 May 2012 19:55:27 +0000 (12:55 -0700)]
Add external resize tests
Adds a test that ensures the application is able to trigger frame size
changes via vpx_codec_enc_config_set()
Change-Id: I231c062e533d75c8d63c5f8a5544650117429a63
Jim Bankoski [Thu, 24 May 2012 14:44:03 +0000 (07:44 -0700)]
fix denoiser for temporal patterns and rd
This extends the denoiser to work for temporally scalable
coding.
I believe this also fixes a very rare but really bad bug in the original
implementation.
Change-Id: I8b3593a8c54b86eb76f785af1970935f7d56262a
Alpha Lam [Thu, 24 May 2012 04:35:35 +0000 (21:35 -0700)]
asm_*_offsets to define variables as constants
This change is to allow obj_int_extract to extract all integers
in the data segment. With the const keyword these variables are
forced into the .rodata segment even for zero variable value.
We had a problem before that zero valueed variables would get
assigned to BSS segment that fooled obj_int_extract to give
incorrect values.
Change-Id: Icd94f80a8ab356879894ca508bf132d20b865299
John Koleszar [Thu, 24 May 2012 03:56:49 +0000 (20:56 -0700)]
Merge "Make libvpx Chromium build friendly"
Alpha Lam [Wed, 23 May 2012 22:52:34 +0000 (15:52 -0700)]
Make libvpx Chromium build friendly
Add PRIVATE macro for adding private_extern directive for yasm
to hide global symbols. This is only enabled if -DCHROMIUM is used
with YASM.
Also fixed a small problem with rtcd_defs.sh to guard TEMPORAL_DENOISING.
Change-Id: I9027fce3ebddcf20078293e4b86b396f21da7857