platform/upstream/libvpx.git
12 years agoMerge "Add biasing to ZEROMV for videos with static background"
Jim Bankoski [Tue, 21 Aug 2012 22:56:59 +0000 (15:56 -0700)]
Merge "Add biasing to ZEROMV for videos with static background"

12 years agoMerge "Removed unused dr from VP8D_COMP"
Scott LaVarnway [Tue, 21 Aug 2012 22:20:14 +0000 (15:20 -0700)]
Merge "Removed unused dr from VP8D_COMP"

12 years agoMerge "Removed last_kf_gf_q"
Scott LaVarnway [Tue, 21 Aug 2012 22:19:58 +0000 (15:19 -0700)]
Merge "Removed last_kf_gf_q"

12 years agoAdd biasing to ZEROMV for videos with static background
Yunqing Wang [Tue, 21 Aug 2012 17:52:35 +0000 (10:52 -0700)]
Add biasing to ZEROMV for videos with static background

For videos with big static background(such as video conferencing
clips), the mode decision was biased to ZEROMV in order to
obtain a stable background. The percentage of ZEROMV on last
frame was used to predict if there is static area in current frame,
and checking already-encoded neighboring macroblocks' motion
vectors to make sure the local area has low motion.

Change-Id: I05b3241d3a56a0bda88b6681e5646c1c8baf2e57

12 years agoMerge "sad_test: fix msvc build"
James Zern [Tue, 21 Aug 2012 20:33:46 +0000 (13:33 -0700)]
Merge "sad_test: fix msvc build"

12 years agoMerge "sixtap_predict_test: fix msvc build"
James Zern [Tue, 21 Aug 2012 20:32:17 +0000 (13:32 -0700)]
Merge "sixtap_predict_test: fix msvc build"

12 years agobuild: hide msvs project command in non-verbose mode
James Zern [Wed, 15 Aug 2012 18:47:13 +0000 (11:47 -0700)]
build: hide msvs project command in non-verbose mode

Change-Id: Id1d0deb6a2c556a0213d916c2638ef6285c2eb00

12 years agoMerge "fix msvc configure"
James Zern [Tue, 21 Aug 2012 20:26:29 +0000 (13:26 -0700)]
Merge "fix msvc configure"

12 years agovpx.pc: move -lm to Libs.private
John Koleszar [Tue, 21 Aug 2012 17:54:30 +0000 (10:54 -0700)]
vpx.pc: move -lm to Libs.private

Users of libvpx should not use libm transitively, so mark it as private.

Change-Id: Ic940aefe737a6f9a780ea742ea5c6be40c30a73e

12 years agoMerge "Fix inter_zz_count calculation bug"
Yunqing Wang [Tue, 21 Aug 2012 16:28:10 +0000 (09:28 -0700)]
Merge "Fix inter_zz_count calculation bug"

12 years agosad_test: fix msvc build
James Zern [Wed, 15 Aug 2012 18:54:41 +0000 (11:54 -0700)]
sad_test: fix msvc build

pass a variable to make_tuple() rather than a function, fixes type
errors

Change-Id: Ic0cbd25d0ca35ad08c672040b4141b3b81695752

12 years agosixtap_predict_test: fix msvc build
James Zern [Wed, 15 Aug 2012 18:54:41 +0000 (11:54 -0700)]
sixtap_predict_test: fix msvc build

pass a variable to make_tuple() rather than a function, fixes type
errors

Change-Id: I5e04b61b5ab58cc0090ef21119486ca04853af61

12 years agoMerge "Added row based loopfilter"
Jim Bankoski [Tue, 21 Aug 2012 13:02:31 +0000 (06:02 -0700)]
Merge "Added row based loopfilter"

12 years agoFix inter_zz_count calculation bug
Yunqing Wang [Tue, 21 Aug 2012 00:31:44 +0000 (17:31 -0700)]
Fix inter_zz_count calculation bug

The current way of counting inter_zz_count doesn't work correctly
in multi-threaded encoding. Calculating it after the frame is
encoded fixed the problem.

Change-Id: Ifcb1972cde950b8cc194f75c6d7b6af09e8b0e65

12 years agoMerge "realtime turndown loopfilter for 00"
Yaowu Xu [Mon, 20 Aug 2012 20:44:56 +0000 (13:44 -0700)]
Merge "realtime turndown loopfilter for 00"

12 years agoMerge "static threshold fix for realtime"
Yaowu Xu [Mon, 20 Aug 2012 20:40:53 +0000 (13:40 -0700)]
Merge "static threshold fix for realtime"

12 years agorealtime turndown loopfilter for 00
Jim Bankoski [Mon, 20 Aug 2012 20:04:53 +0000 (13:04 -0700)]
realtime turndown loopfilter for 00

Loop filter producing wierd artifacts when
repeatedly applied in noisy video.   This
mitigates the effect.

Change-Id: If4b1a8543912d186a486f84e11d8b01f7436fa5f

12 years agostatic threshold fix for realtime
Jim Bankoski [Mon, 20 Aug 2012 19:58:31 +0000 (12:58 -0700)]
static threshold fix for realtime

This code allows us to skip encoding if the sse
is less than the error we could possibly encode.

Change-Id: Iefb590dc0ee30b660495218398c7969f7d5fd19f

12 years agosilent compiling warnings for VC9 build
Yaowu Xu [Fri, 17 Aug 2012 17:05:35 +0000 (10:05 -0700)]
silent compiling warnings for VC9 build

Change-Id: Iaa947e640f27e6f6eaf7d845f243536bca2df513

12 years agofix msvc configure
James Zern [Wed, 15 Aug 2012 18:45:12 +0000 (11:45 -0700)]
fix msvc configure

visual studio targets do not depend on executables, only the projects
produced.
tested with --target=x86-win32-vs9
fixes:
...
make[1]: *** No rule to make target `test_libvpx', needed by `.bins'.
Stop.
Makefile:17: recipe for target `.DEFAULT' failed

Change-Id: I606ab32d5e26fee352f25c822e0f496eff165382

12 years agoParse out arm isa targets from dumpmachine
Mike Frysinger [Wed, 15 Aug 2012 15:55:31 +0000 (11:55 -0400)]
Parse out arm isa targets from dumpmachine

The current parsing logic of the dumpmachine tuple lacks any arm
cases which means tgt_isa never gets set, so for all arm targets,
we get detected as generic-gnu.  Add some basic arm checks here
so the automatic detection logic works.

Change-Id: Ie5e98142876025c6708604236bc519c0bdb09319

12 years agodo not error out on generic-gnu + --enable-shared
Mike Frysinger [Tue, 14 Aug 2012 18:24:28 +0000 (14:24 -0400)]
do not error out on generic-gnu + --enable-shared

If you build with --enabled-shared on a Linux arch not explicitly
listed, the configure script will abort because it didn't detect
"linux" in the fallback generic-gnu tuple.

Since this is the fallback tuple and people are passing
--enable-shared, assume the user knows what they're in for.

Change-Id: Ia35b657e7247c8855e3a94fca424c9884d4241e3

12 years agoMerge "vpx.pc: add missing library for static links"
John Koleszar [Thu, 9 Aug 2012 16:10:55 +0000 (09:10 -0700)]
Merge "vpx.pc: add missing library for static links"

12 years agoconfigure: check for pthreads building on windows with gcc
Andoni Morales Alastruey [Thu, 9 Aug 2012 10:54:09 +0000 (12:54 +0200)]
configure: check for pthreads building on windows with gcc

Change-Id: I737361fa9911c11017af971a80c2ffad20b01d03

12 years agovpx.pc: add missing library for static links
Andoni Morales Alastruey [Thu, 9 Aug 2012 10:29:16 +0000 (12:29 +0200)]
vpx.pc: add missing library for static links

Change-Id: Ic4be3145e8a90d66aa4499416094bd08a9e09af4

12 years agofix timestamp calculation rollover w/altref
James Zern [Wed, 8 Aug 2012 00:12:10 +0000 (17:12 -0700)]
fix timestamp calculation rollover w/altref

using large values for the timebase, e.g., {33333, 1000000} could
rollover the timestamp calculation in vp8e_encode as it was not using
64-bit math.

originally reported on ffmpeg's trac:
  https://ffmpeg.org/trac/ffmpeg/ticket/1014

BUG=468

Change-Id: Iedb4e11de086a3dda75097bfaf08f2488e2088d8

12 years agoEncoderTest: check that timestamps are monotonic
James Zern [Wed, 8 Aug 2012 21:16:08 +0000 (14:16 -0700)]
EncoderTest: check that timestamps are monotonic

Change-Id: I813fa94c83df6282f382b24bbaccb1fe2fa94276

12 years agoMerge "tests: fix Continue() signatures"
John Koleszar [Wed, 8 Aug 2012 18:24:42 +0000 (11:24 -0700)]
Merge "tests: fix Continue() signatures"

12 years agoMerge "keyframe_test: use a fixed speed step for realtime"
John Koleszar [Wed, 8 Aug 2012 18:23:49 +0000 (11:23 -0700)]
Merge "keyframe_test: use a fixed speed step for realtime"

12 years agoUpdate armv6 vp8_intra4x4_predict
Johann [Thu, 2 Aug 2012 23:09:12 +0000 (16:09 -0700)]
Update armv6 vp8_intra4x4_predict

Change-Id: I52a3b0a4a42e5af91b987e19523df07c8f467847

12 years agotests: fix Continue() signatures
James Zern [Wed, 8 Aug 2012 00:44:33 +0000 (17:44 -0700)]
tests: fix Continue() signatures

they're const member functions, they need to match the base class to be
called

Change-Id: Id0580c5078b5876ead6731d95d8b86fef4029c40

12 years agoMerge "Fix encoder mem allocation when picture size is changed"
Attila Nagy [Fri, 3 Aug 2012 05:29:51 +0000 (22:29 -0700)]
Merge "Fix encoder mem allocation when picture size is changed"

12 years agoMerge "Fix potential encoder dead-lock after picture resize"
Attila Nagy [Fri, 3 Aug 2012 05:29:38 +0000 (22:29 -0700)]
Merge "Fix potential encoder dead-lock after picture resize"

12 years agoPass B_PREDICTION_MODE to intra4x4_predict
Johann [Thu, 2 Aug 2012 21:26:04 +0000 (14:26 -0700)]
Pass B_PREDICTION_MODE to intra4x4_predict

Use the correct type when calling and inside the function.

Change-Id: Idbaf1bf58b9574f0cba73d78780e9aedd8889dfd

12 years agoMatch declaration to definition
Johann [Thu, 2 Aug 2012 21:05:01 +0000 (14:05 -0700)]
Match declaration to definition

Change-Id: Ic6a0c42b195d6aee0e981331c994b6007dfdc6be

12 years agoRemoved last_kf_gf_q
Scott LaVarnway [Thu, 2 Aug 2012 19:02:36 +0000 (12:02 -0700)]
Removed last_kf_gf_q

Not used.

Change-Id: I7595cb21db73bd56ee4d9280ecb7ab9b1240f4e2

12 years agoAdded row based loopfilter
Scott LaVarnway [Thu, 2 Aug 2012 18:58:09 +0000 (11:58 -0700)]
Added row based loopfilter

Interleaved loopfiltering with decode.  For 1080p clips, up to 1%
performance gain.  For 4k clips, up to 10% seen.  This patch is required
for better "frame-based" multithreading.

Change-Id: Ic834cf32297cc04f27e8205652fb9f70cbe290db

12 years agoRename vp8_intra4x4_predict_d
Johann [Wed, 1 Aug 2012 18:17:57 +0000 (11:17 -0700)]
Rename vp8_intra4x4_predict_d

predict_d has become canonical. Remove previous helper function.

Disable ARM assembly pending update.

Change-Id: Idd84ac8a28f9b0221ea97904a77de1e705d06a7d

12 years agoUse intra4x4_predict_d parameter names
Johann [Wed, 1 Aug 2012 18:01:46 +0000 (11:01 -0700)]
Use intra4x4_predict_d parameter names

Rename the local variables for consistency.

Change-Id: Ic202ff54551332f706d97da9b67b2e0959ee7f61

12 years agoChange vp8_intra4x4_predict call sites
Johann [Tue, 31 Jul 2012 21:21:55 +0000 (14:21 -0700)]
Change vp8_intra4x4_predict call sites

Use the _d variant from the decoder. It moves the pointer calculations
to the caller.

Change-Id: Iae2a793433ef082980a3ffa0a1cabf0264a6a24d

12 years agouse RTCD pointer for intra4x4_predict
Johann [Tue, 31 Jul 2012 21:12:32 +0000 (14:12 -0700)]
use RTCD pointer for intra4x4_predict

Change-Id: I4161389ff02aa37636540ac0fe0fe9763d52ebdc

12 years agoFix potential encoder dead-lock after picture resize
Attila Nagy [Tue, 31 Jul 2012 11:04:45 +0000 (14:04 +0300)]
Fix potential encoder dead-lock after picture resize

The sync interval for the multithreaded encoder was considered as not changing
during the encoding. This is not true if picture size is changed.
The encoder could dead-lock because the main thread and the other threads were
using different sync interval.

Change-Id: I75232bbdbc6c02d77f830d870fd8b4e96697c64e

12 years agoFix encoder mem allocation when picture size is changed
Attila Nagy [Tue, 31 Jul 2012 08:52:10 +0000 (11:52 +0300)]
Fix encoder mem allocation when picture size is changed

After the picture size was changed to a bigger one, the internal memory was
corrupted and multithreaded encoder was deadlocking.

Memory for last frame's MVs, segmentation map and active map were allocated when
the compressor was created (vp8_create_compressor). Buffers need to be
reallocated when picture size is changed, so, the allocation was moved to
vp8_alloc_compressor_data, which is called every time the picture is resized.

Change-Id: I7ce16b8e69bbf0386d7997df57add155aada2240

12 years agoMerge "Be consistent with SAD values"
Johann [Tue, 31 Jul 2012 17:21:57 +0000 (10:21 -0700)]
Merge "Be consistent with SAD values"

12 years agoMerge "Avoid warnings about redefining _FORTIFY_SOURCE"
Attila Nagy [Tue, 31 Jul 2012 06:45:54 +0000 (23:45 -0700)]
Merge "Avoid warnings about redefining _FORTIFY_SOURCE"

12 years agoMerge "Remove the resetting of qp params for temporal layers."
Jim Bankoski [Sat, 28 Jul 2012 04:22:15 +0000 (21:22 -0700)]
Merge "Remove the resetting of qp params for temporal layers."

12 years agoRemove the resetting of qp params for temporal layers.
Marco Paniconi [Sat, 28 Jul 2012 00:24:29 +0000 (17:24 -0700)]
Remove the resetting of qp params for temporal layers.

The ambient qp and active worse/best qp were reset for every frame
when temporal layers is on. This change removes this reset.

As this affects the target size for forced key frames
(it will actually lower the size somewhat), we increased the
inital boost factor to compensate.

Change-Id: Ie38d95f5c99ab3d447469c49e2177bc3fcc4ad28

12 years agoBe consistent with SAD values
Johann [Tue, 26 Jun 2012 18:37:33 +0000 (11:37 -0700)]
Be consistent with SAD values

SAD returns unsigned values. Make all the declarations the same.

Remove bestsad initialization and check. It is always set to the
result of a SAD call so it will never remain UINT_MAX

Use ja instead of jg to test unsigned comparison instead of signed.

Update test.

Change-Id: I46336ab45f4e60fc37caf20bd36bc5782079c7a5

12 years agoMerge "SAD cosmetic cleanup"
Johann [Fri, 27 Jul 2012 23:05:12 +0000 (16:05 -0700)]
Merge "SAD cosmetic cleanup"

12 years agoAvoid warnings about redefining _FORTIFY_SOURCE
Attila Nagy [Fri, 27 Jul 2012 06:40:05 +0000 (09:40 +0300)]
Avoid warnings about redefining _FORTIFY_SOURCE

Undefine the macro befor redefining it.

Change-Id: I31187307273c138f8d5380c74f9e0619af15cdd9

12 years agoOptimizes updates of encoder block ptrs
Attila Nagy [Tue, 24 Apr 2012 12:17:28 +0000 (15:17 +0300)]
Optimizes updates of encoder block ptrs

Precalculated block ptrs do not need updates during encoding.
Set these at init stage.

Moved the allocation of 'mt_current_mb_col' (last encoded MB on each
row) to vp8_alloc_compressor_data(), so that it is correctly
reallocated when frame size is changing.

Change-Id: Idcdaa2d0cf3a7f782b7d888626b7cf22a4ffb5c1

12 years agoMerge "Add tests for SAD functions"
Johann [Fri, 27 Jul 2012 00:18:47 +0000 (17:18 -0700)]
Merge "Add tests for SAD functions"

12 years agoSAD cosmetic cleanup
Johann [Tue, 26 Jun 2012 17:06:08 +0000 (10:06 -0700)]
SAD cosmetic cleanup

Change-Id: Iae915f2988081697cca6b65943afaca1d8de8df3

12 years agoMerge "multi-res: add drop_frame support"
Yunqing Wang [Thu, 26 Jul 2012 15:59:12 +0000 (08:59 -0700)]
Merge "multi-res: add drop_frame support"

12 years agomulti-res: add drop_frame support
Yunqing Wang [Fri, 8 Jun 2012 15:17:50 +0000 (11:17 -0400)]
multi-res: add drop_frame support

Added drop_frame support in multi-resolution encoder.

If one frame is dropped at a lower-resolution level, the next
upper-resolution level encoder needs to encode that frame
independently without any lower-resolution level motion
information.

Another issue is that if one frame is dropped at some but not all
resolution levels, a frame after that one may use different set
of reference frames at different resolution levels. This reference
frame asynchronization could degrade motion search precision in
upper-resolution level encoding, which uses lower-resolution level
motion result. This change compares the lower-resolution and upper-
resolution level's reference frames. If they are not the same, the
upper-resolution level encoder can not use lower-resolution level
motion result.

Change-Id: I61afa4f313630e75b7cbdd5742e230e8724a988a

12 years agoAdd tests for SAD functions
Johann [Thu, 28 Jun 2012 18:43:58 +0000 (11:43 -0700)]
Add tests for SAD functions

Change-Id: I018335a08cbb1eca55896c21e36918ed45a4b2a8

12 years agoAdd comment for use of shift/mul instead of div.
Ronald S. Bultje [Tue, 24 Jul 2012 22:46:49 +0000 (15:46 -0700)]
Add comment for use of shift/mul instead of div.

Change-Id: Ia6a0090da2097ca9337f8179a6d7b6a09e12f2e6

12 years agoReplace x*155/100 by x*101581>>16.
Ronald S. Bultje [Tue, 24 Jul 2012 22:22:14 +0000 (15:22 -0700)]
Replace x*155/100 by x*101581>>16.

Idea stolen from webp - because it's cool.

Change-Id: Ic6e55e026e6533fbd2524ef090e3cbccf8af50dd

12 years agoUse vpx_integer.h instead of stdint.h
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

12 years agoMerge "Use ACMRandom for all tests"
Johann [Tue, 24 Jul 2012 16:35:50 +0000 (09:35 -0700)]
Merge "Use ACMRandom for all tests"

12 years agoMerge "Allow specifying the seed"
Johann [Tue, 24 Jul 2012 16:35:37 +0000 (09:35 -0700)]
Merge "Allow specifying the seed"

12 years agoMerge "Make random streams consistant"
Johann [Tue, 24 Jul 2012 16:35:23 +0000 (09:35 -0700)]
Merge "Make random streams consistant"

12 years agoAdded unit test of vp8_set_roimap()
Paul Wilkins [Fri, 20 Jul 2012 14:55:07 +0000 (15:55 +0100)]
Added unit test of vp8_set_roimap()

Change-Id: I99937cbdd6bfe52b7c8ae42f05526dfc06a602f4

12 years agoUse ACMRandom for all tests
Johann [Mon, 23 Jul 2012 22:09:51 +0000 (15:09 -0700)]
Use ACMRandom for all tests

Change-Id: I3bfa40cbc04828fd1d6b61f138c92a2159a67570

12 years agoAllow specifying the seed
Johann [Mon, 23 Jul 2012 22:06:12 +0000 (15:06 -0700)]
Allow specifying the seed

Change-Id: Ie933998b08cd2b3f0e379b8fa7d394c95bd08cac

12 years agoMake random streams consistant
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

12 years agoMove ACMRandom to acm_random.h
Johann [Fri, 20 Jul 2012 18:51:06 +0000 (11:51 -0700)]
Move ACMRandom to acm_random.h

Change-Id: I1d99c56d1e1f521507978737fc661ca90af72507

12 years agoRemove unused macros
Johann [Fri, 20 Jul 2012 18:45:23 +0000 (11:45 -0700)]
Remove unused macros

Also available in util.h

Change-Id: I4745d72f57c11c55772d3bf0ef15c09bd86eb5bf

12 years agobash uses curly braces
Johann [Fri, 20 Jul 2012 18:41:06 +0000 (11:41 -0700)]
bash uses curly braces

Change-Id: I2799c766008dc9016d2e55e6e40ae2c4ae4b37d2

12 years agoDisabling MIPS optimizations for big endian platforms
Dragan Mrdjan [Fri, 20 Jul 2012 16:10:52 +0000 (09:10 -0700)]
Disabling MIPS optimizations for big endian platforms

Change-Id: Idae399ecbd10e287ef30b2e0b95822dc9175ce0a

12 years agoMerge "examples: fix memory leak"
John Koleszar [Mon, 16 Jul 2012 23:05:20 +0000 (16:05 -0700)]
Merge "examples: fix memory leak"

12 years agomulti-res: add parameter validity checking
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

12 years agoexamples: fix memory leak
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

12 years agoRemove unused parameter in encoder interface code
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

12 years agounset executable bit on source code
John Koleszar [Fri, 13 Jul 2012 16:44:25 +0000 (09:44 -0700)]
unset executable bit on source code

Change-Id: I0ddc849495c34f44c0b315cd7d58ad3d563f45e5

12 years agoFix to compile properly on MIPS
Dragan Mrdjan [Wed, 11 Jul 2012 15:56:53 +0000 (08:56 -0700)]
Fix to compile properly on MIPS

Change-Id: I816d903e36605db2af691ccea9e68d7390942baa

12 years agoMerge "VP8 optimizations for MIPS dspr2"
Johann [Tue, 10 Jul 2012 23:01:41 +0000 (16:01 -0700)]
Merge "VP8 optimizations for MIPS dspr2"

12 years agokeyframe_test: use a fixed speed step for realtime
John Koleszar [Tue, 10 Jul 2012 22:43:44 +0000 (15:43 -0700)]
keyframe_test: use a fixed speed step for realtime

The lower complexity modes may not generate a keyframe automatically.
This behavior was found when running under Valgrind, as the slow
performance caused the speed selection to pick lower complexities than
when running natively. Instead, use a fixed complexity for the
realtime auto keyframe test.

Affected tests:
  AllModes/KeyframeTest.TestAutoKeyframe/0

Change-Id: I44e3f44e125ad587c293ab5ece29511d7023be9b

12 years agoMerge "Add unit test for vp8_sixtap_predict functions"
Yunqing Wang [Tue, 10 Jul 2012 18:19:14 +0000 (11:19 -0700)]
Merge "Add unit test for vp8_sixtap_predict functions"

12 years agoMerge "I420VideoSource: add members to ctor initialization"
John Koleszar [Tue, 10 Jul 2012 18:04:46 +0000 (11:04 -0700)]
Merge "I420VideoSource: add members to ctor initialization"

12 years agoVP8 optimizations for MIPS dspr2
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

12 years agoAdd unit test for vp8_sixtap_predict functions
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

12 years agoMerge "Remove goldfreq in VP8_COMP"
Yunqing Wang [Tue, 10 Jul 2012 16:19:37 +0000 (09:19 -0700)]
Merge "Remove goldfreq in VP8_COMP"

12 years agoI420VideoSource: add members to ctor initialization
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

12 years agoMerge "Add 0 offsets handling in SSSE3 sixtap_predict functions"
Yunqing Wang [Tue, 3 Jul 2012 22:55:02 +0000 (15:55 -0700)]
Merge "Add 0 offsets handling in SSSE3 sixtap_predict functions"

12 years agoMerge "Fix subpixel_predict initialization"
Yunqing Wang [Tue, 3 Jul 2012 22:22:00 +0000 (15:22 -0700)]
Merge "Fix subpixel_predict initialization"

12 years agoAdd 0 offsets handling in SSSE3 sixtap_predict functions
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

12 years agoFix subpixel_predict initialization
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

12 years agoBuild unit test driver from the default target
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

12 years agofdct4x4_test: remove unnecessary includes
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

12 years agoMerge "Fix decimation_count in drop_frame"
Yunqing Wang [Fri, 29 Jun 2012 17:57:39 +0000 (10:57 -0700)]
Merge "Fix decimation_count in drop_frame"

12 years agofix permissions on regular files
James Zern [Thu, 28 Jun 2012 06:45:56 +0000 (23:45 -0700)]
fix permissions on regular files

Change-Id: I731354b3cf3405eba2dfffcb47d174b5fa9df21a

12 years agofixed a build problem with target=x86_64-win64-vs9
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

12 years agoAdded unit test for 4x4 forward dct
Yaowu Xu [Mon, 18 Jun 2012 20:41:17 +0000 (13:41 -0700)]
Added unit test for 4x4 forward dct

Change-Id: I1607676879c29adc0173a3c0355a0e5d8a84fc3b

12 years agoMerge "Add unit test for intra prediction."
Jim Bankoski [Mon, 25 Jun 2012 21:46:45 +0000 (14:46 -0700)]
Merge "Add unit test for intra prediction."

12 years agoMerge changes I94a061eb,If6910fe3
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

12 years agogen_asm_deps.sh: regex fix
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

12 years agoAdd unit test for intra prediction.
Ronald S. Bultje [Mon, 25 Jun 2012 16:34:10 +0000 (09:34 -0700)]
Add unit test for intra prediction.

Change-Id: I7dadadeb99bee5a51219f46fe11c760fc294c735

12 years agoadd auto keyframe unit test
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

12 years agoAlter comment on range of delta_q and delta_lf
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