]> granicus.if.org Git - libvpx/log
libvpx
10 years agoRemoving gold_is_last, alt_is_last, gold_is_alt flags.
Dmitry Kovalev [Tue, 19 Aug 2014 00:11:20 +0000 (17:11 -0700)]
Removing gold_is_last, alt_is_last, gold_is_alt flags.

Change-Id: I061d3bc5b13e3819710fc29504f01f01f065032e

10 years agoReplacing SVC oxcf->mode check with oxcf->pass check.
Dmitry Kovalev [Mon, 18 Aug 2014 21:11:59 +0000 (14:11 -0700)]
Replacing SVC oxcf->mode check with oxcf->pass check.

oxcf->pass is used in all other places in similar contexts.

Change-Id: I9de3a5f24311838d5a6dc3dd470d258cb189ff59

10 years agoMerge "set_maps: Flush encoder."
Dmitry Kovalev [Mon, 18 Aug 2014 18:18:32 +0000 (11:18 -0700)]
Merge "set_maps: Flush encoder."

10 years agoMerge "Removing vp9_rescale()."
Dmitry Kovalev [Mon, 18 Aug 2014 18:18:26 +0000 (11:18 -0700)]
Merge "Removing vp9_rescale()."

10 years agoMerge "vpxenc.sh: Add 2-pass and lagged encode tests for VP8 and VP9."
Tom Finegan [Mon, 18 Aug 2014 17:47:41 +0000 (10:47 -0700)]
Merge "vpxenc.sh: Add 2-pass and lagged encode tests for VP8 and VP9."

10 years agoMerge "Revert "Removing duplicated code from init_config().""
Yaowu Xu [Mon, 18 Aug 2014 16:40:16 +0000 (09:40 -0700)]
Merge "Revert "Removing duplicated code from init_config().""

10 years agoMerge "Remove unused variables in vp9_rd_pick_inter_mode_sb"
Jingning Han [Mon, 18 Aug 2014 16:28:04 +0000 (09:28 -0700)]
Merge "Remove unused variables in vp9_rd_pick_inter_mode_sb"

10 years agoMerge "Remove unused code in vp9_rd_pick_inter_mode_sb"
Jingning Han [Mon, 18 Aug 2014 16:27:56 +0000 (09:27 -0700)]
Merge "Remove unused code in vp9_rd_pick_inter_mode_sb"

10 years agoRevert "Removing duplicated code from init_config()."
Yaowu Xu [Mon, 18 Aug 2014 16:27:50 +0000 (09:27 -0700)]
Revert "Removing duplicated code from init_config()."

This reverts commit 5509b7fd8fe6ad3555831b8d49077182daf92758

Observed a big drop in compression quality and speed for speed 1 for a 360p test clip, revert this now for investigation.

Change-Id: If69dc8d77a225b34dc7907a9472e1a7a0a22762d

10 years agoMerge "Add support for MIPS64."
James Zern [Sat, 16 Aug 2014 17:08:13 +0000 (10:08 -0700)]
Merge "Add support for MIPS64."

10 years agovp8: Add check on noise_sensitivity/denoiser on.
Marco [Sat, 16 Aug 2014 13:08:31 +0000 (06:08 -0700)]
vp8: Add check on noise_sensitivity/denoiser on.

Change-Id: Ic53b2fb69e6eee600ea222e4d06424a1bbca496c

10 years agoMerge "test/vpxenc.sh: Always use --test-decode=FATAL"
James Zern [Sat, 16 Aug 2014 04:02:41 +0000 (21:02 -0700)]
Merge "test/vpxenc.sh: Always use --test-decode=FATAL"

10 years agotest/vpxenc.sh: Always use --test-decode=FATAL
Johann [Fri, 15 Aug 2014 23:53:52 +0000 (16:53 -0700)]
test/vpxenc.sh: Always use --test-decode=FATAL

Change-Id: I5ca3400aec1f77fd92762d0c4fc86ba3694de1ca

10 years agoAdd support for MIPS64.
Gordana Cmiljanovic [Thu, 7 Aug 2014 17:09:47 +0000 (19:09 +0200)]
Add support for MIPS64.

Change-Id: I78e27bf942b4a825543e76be25546b6458bad8b6

10 years agoMerge "Add a speed feature to give the tighter search range"
Pengchong Jin [Sat, 16 Aug 2014 02:51:04 +0000 (19:51 -0700)]
Merge "Add a speed feature to give the tighter search range"

10 years agoMerge "frame_size_tests: reduce 'large' size for win32"
James Zern [Sat, 16 Aug 2014 02:06:31 +0000 (19:06 -0700)]
Merge "frame_size_tests: reduce 'large' size for win32"

10 years agoset_maps: Flush encoder.
Dmitry Kovalev [Sat, 16 Aug 2014 00:15:17 +0000 (17:15 -0700)]
set_maps: Flush encoder.

According to the current API spec we need to call vpx_codec_encode() until
vpx_codec_get_cx_data() returns NULL.

Change-Id: I4617f8042d50480a8f47b0b7114d4759fa566b14

10 years agoMerge "Removing duplicated code from init_config()."
Dmitry Kovalev [Sat, 16 Aug 2014 00:13:37 +0000 (17:13 -0700)]
Merge "Removing duplicated code from init_config()."

10 years agoRemoving vp9_rescale().
Dmitry Kovalev [Sat, 16 Aug 2014 00:02:10 +0000 (17:02 -0700)]
Removing vp9_rescale().

Now everything is int64_t, so we don't need that function.

Change-Id: I7dd2023677b4943ecd968d68cc06f9d4862c3c3f

10 years agoMerge "Set uv_crop_height/width in all the places"
Johann [Fri, 15 Aug 2014 23:48:30 +0000 (16:48 -0700)]
Merge "Set uv_crop_height/width in all the places"

10 years agoAdd a speed feature to give the tighter search range
Pengchong Jin [Thu, 14 Aug 2014 03:07:39 +0000 (20:07 -0700)]
Add a speed feature to give the tighter search range

Add a speed feature to give the tighter partition search
range. Before partition search, calculate the histogram
of the partition sizes of the left, above and previous
co-located blocks of the current block. If the variance of
observed partition sizes is small enough, adjust the search
range around the mean partition size, which will be tigher.

The feature is currently turned on at speed 2. Experiments on
sample youtube clips show on average the runtime is reduced
by 3-7%.

For hard stdhd clips:
park_joy_1080p @ 15000kbps:       509251 ms -> 491953 ms (3.3%)
pedestrian_area_1080p @ 2000kbps: 223941 ms -> 214226 ms (4.3%)

The PSNR performance is changed:
derf: -0.112%
yt:   -0.099%
hd:   -0.090%
stdhd:-0.102%

Change-Id: Ie205ec5325bf92ec5676c243e30ba9d0adca10f2

10 years agovpxenc.sh: Add 2-pass and lagged encode tests for VP8 and VP9.
Tom Finegan [Fri, 15 Aug 2014 22:56:58 +0000 (15:56 -0700)]
vpxenc.sh: Add 2-pass and lagged encode tests for VP8 and VP9.

- Fix nit: make test function definitions match test order.
- Fix nit: use elog instead of echo for env verification error.

Change-Id: I0eec078fc056a5bb2bd88d5833e43de48d77ec08

10 years agoMerge "Simplifying vp9_set_speed_features() function."
Dmitry Kovalev [Fri, 15 Aug 2014 22:31:43 +0000 (15:31 -0700)]
Merge "Simplifying vp9_set_speed_features() function."

10 years agoRemove unused variables in vp9_rd_pick_inter_mode_sb
Jingning Han [Fri, 15 Aug 2014 22:12:21 +0000 (15:12 -0700)]
Remove unused variables in vp9_rd_pick_inter_mode_sb

Change-Id: Ib52e1ce5aa4a22d70e124c3c29a92e00ffac50e4

10 years agoMerge "Remove a unused speed feature"
Yunqing Wang [Fri, 15 Aug 2014 22:22:33 +0000 (15:22 -0700)]
Merge "Remove a unused speed feature"

10 years agoRemove unused code in vp9_rd_pick_inter_mode_sb
Jingning Han [Fri, 15 Aug 2014 22:06:47 +0000 (15:06 -0700)]
Remove unused code in vp9_rd_pick_inter_mode_sb

Change-Id: I4f0bac3367b1a7c5e7f746b97ca619b81c8dfc49

10 years agoSet uv_crop_height/width in all the places
Johann [Fri, 15 Aug 2014 17:50:40 +0000 (10:50 -0700)]
Set uv_crop_height/width in all the places

When configuring the buffer make sure to set all the (now) required
fields. Use the canonical variables and match the style from vpx_scale.

https://code.google.com/p/webm/issues/detail?id=841

Change-Id: I71b43d4a03756b8b2d6d60fdf8d7bf41b8041787

10 years agoframe_size_tests: reduce 'large' size for win32
James Zern [Fri, 15 Aug 2014 21:39:28 +0000 (14:39 -0700)]
frame_size_tests: reduce 'large' size for win32

this test allocates >2GB currently. depending on the order of the test
runs the allocation may fail most regularly with mingw+wine.

Change-Id: Ibee1c18cfbe29a4de6c65075647ec3955d8206c0

10 years agoRemoving duplicated code from init_config().
Dmitry Kovalev [Fri, 15 Aug 2014 21:25:00 +0000 (14:25 -0700)]
Removing duplicated code from init_config().

Change-Id: I50f4485cfbdaadc3084aa5bc63bf3a2f15a0d903

10 years agoMerge "vpxdec.sh: Fix some style nits."
Tom Finegan [Fri, 15 Aug 2014 21:21:25 +0000 (14:21 -0700)]
Merge "vpxdec.sh: Fix some style nits."

10 years agovpxdec.sh: Fix some style nits.
Tom Finegan [Fri, 15 Aug 2014 20:58:58 +0000 (13:58 -0700)]
vpxdec.sh: Fix some style nits.

Change-Id: I960c26dcb0db230e50f923d00f64ded1a39bf783

10 years agoRemove a unused speed feature
Yunqing Wang [Fri, 15 Aug 2014 21:10:27 +0000 (14:10 -0700)]
Remove a unused speed feature

Removed disable_split_var_thresh, which is not used anymore.

Change-Id: I50119b150442e1571157433b5effc6aae0dbe0fd

10 years agoMerge "Removes fileno check to prevent valgrind error"
Deb Mukherjee [Fri, 15 Aug 2014 21:04:18 +0000 (14:04 -0700)]
Merge "Removes fileno check to prevent valgrind error"

10 years agoMerge "examples.sh: Run all example tests."
Tom Finegan [Fri, 15 Aug 2014 20:53:05 +0000 (13:53 -0700)]
Merge "examples.sh: Run all example tests."

10 years agoMerge "Cleaning up vp9_encoder.c."
Dmitry Kovalev [Fri, 15 Aug 2014 19:52:44 +0000 (12:52 -0700)]
Merge "Cleaning up vp9_encoder.c."

10 years agoMerge "vp8cx_set_ref: Flush encoder."
Dmitry Kovalev [Fri, 15 Aug 2014 19:52:16 +0000 (12:52 -0700)]
Merge "vp8cx_set_ref: Flush encoder."

10 years agoMerge "Removing active_arnr_{strength, frames} from VP9_COMP."
Dmitry Kovalev [Fri, 15 Aug 2014 19:51:56 +0000 (12:51 -0700)]
Merge "Removing active_arnr_{strength, frames} from VP9_COMP."

10 years agoexamples.sh: Run all example tests.
Tom Finegan [Fri, 15 Aug 2014 18:31:30 +0000 (11:31 -0700)]
examples.sh: Run all example tests.

- Remove vpxdec and vpxenc from the exclude list.
- vpx{dec,enc}.sh: Updates to support finding their executable when
  LIBVPX_BIN_PATH is setup for the examples.
- tools_common.sh: New library function, vpx_tool_path(). Provides
  support for finding the exectuables in vpx{dec,enc}.sh.

Change-Id: I730f11cceb44646491a7a7ff58603a4a760129ef

10 years agoMerge "get_ref_frame: fix test for valid buffer."
Adrian Grange [Fri, 15 Aug 2014 17:41:28 +0000 (10:41 -0700)]
Merge "get_ref_frame: fix test for valid buffer."

10 years agovp8cx_set_ref: Flush encoder.
Dmitry Kovalev [Thu, 14 Aug 2014 17:28:00 +0000 (10:28 -0700)]
vp8cx_set_ref: Flush encoder.

According to the current API spec we need to call vpx_codec_encode() until
vpx_codec_get_cx_data() returns NULL.

Change-Id: Ide0c531dc0d453df8ec1edb8acb894856d6cc22e

10 years agoCleaning up vp9_encoder.c.
Dmitry Kovalev [Thu, 14 Aug 2014 17:44:08 +0000 (10:44 -0700)]
Cleaning up vp9_encoder.c.

Change-Id: Ib06c59d1adefb841a6ff653619dffb7e23f3318d

10 years agoRemoving active_arnr_{strength, frames} from VP9_COMP.
Dmitry Kovalev [Fri, 15 Aug 2014 17:22:00 +0000 (10:22 -0700)]
Removing active_arnr_{strength, frames} from VP9_COMP.

Change-Id: I60472b71ca75ee0522ed2611f43e1207d44b66d0

10 years agoRemoves fileno check to prevent valgrind error
Deb Mukherjee [Thu, 14 Aug 2014 21:59:50 +0000 (14:59 -0700)]
Removes fileno check to prevent valgrind error

Explicitly makes the fileptr null when close source is called
on a temporary file. This avoids a valgrind error.

Change-Id: I9c364290eeb6842fde946dd9bf817814c7178aaa

10 years agoMerge "Add an adaptive denoising mode."
Marco Paniconi [Fri, 15 Aug 2014 15:51:08 +0000 (08:51 -0700)]
Merge "Add an adaptive denoising mode."

10 years agoMerge "vp8: Modify to use closest reference in zero_mv bias."
Marco [Fri, 15 Aug 2014 14:57:48 +0000 (07:57 -0700)]
Merge "vp8: Modify to use closest reference in zero_mv bias."

10 years agoMerge "vpxenc.sh: use --test-decode=fatal for vp9"
James Zern [Fri, 15 Aug 2014 03:27:12 +0000 (20:27 -0700)]
Merge "vpxenc.sh: use --test-decode=fatal for vp9"

10 years agovpxenc.sh: use --test-decode=fatal for vp9
James Zern [Fri, 15 Aug 2014 01:48:34 +0000 (18:48 -0700)]
vpxenc.sh: use --test-decode=fatal for vp9

vp8 is broken:
https://code.google.com/p/webm/issues/detail?id=841

Change-Id: If73afe0e2314279b560ad758cb04b1760dcc3605

10 years agoMerge "vp9_copy_reference_dec: check ref frame index before use"
James Zern [Fri, 15 Aug 2014 01:53:39 +0000 (18:53 -0700)]
Merge "vp9_copy_reference_dec: check ref frame index before use"

10 years agoMerge "Remove redundant vp9_init_plane_quantizers call"
Jingning Han [Fri, 15 Aug 2014 01:50:16 +0000 (18:50 -0700)]
Merge "Remove redundant vp9_init_plane_quantizers call"

10 years agoMerge "32 Align Load bug In the sub_pixel_avg_variance the parameter sec was also...
James Zern [Fri, 15 Aug 2014 01:42:34 +0000 (18:42 -0700)]
Merge "32 Align Load bug In the sub_pixel_avg_variance the parameter sec was also aligned load and changed to unaligned."

10 years agoMerge "Moving framerate from VP9EncoderConfig to VP9_COMP."
Dmitry Kovalev [Fri, 15 Aug 2014 01:26:35 +0000 (18:26 -0700)]
Merge "Moving framerate from VP9EncoderConfig to VP9_COMP."

10 years agoAdd an adaptive denoising mode.
Marco Paniconi [Thu, 7 Aug 2014 00:19:29 +0000 (17:19 -0700)]
Add an adaptive denoising mode.

On key frame, will always start with normal denoising mode,
but based on a computed noise metric (normalized mse on source diff)
may switch to aggressive mode (and back down again).

Change-Id: I20330b2dcf3056287be37223302b2cab5fc103eb

10 years agovp8: Modify to use closest reference in zero_mv bias.
Marco [Thu, 14 Aug 2014 16:18:38 +0000 (09:18 -0700)]
vp8: Modify to use closest reference in zero_mv bias.

Modify zero_mv bias condition to include check that "closest" reference is last_frame.
This is needed for temporal layers, where the last_frame is not always the closest reference.
Also, constain zeromv_count to be for last_frame reference.

Change-Id: I7af54a809ebf01ef43b9933c9d4095b6cb189390

10 years agoMerge "Mask out H_PRED and V_PRED for 32x32 blocks"
Yaowu Xu [Thu, 14 Aug 2014 22:25:34 +0000 (15:25 -0700)]
Merge "Mask out H_PRED and V_PRED for 32x32 blocks"

10 years agoMerge "Set max_intra_bsize to 32x32"
Yaowu Xu [Thu, 14 Aug 2014 22:25:30 +0000 (15:25 -0700)]
Merge "Set max_intra_bsize to 32x32"

10 years agovp9_copy_reference_dec: check ref frame index before use
James Zern [Thu, 14 Aug 2014 21:56:08 +0000 (14:56 -0700)]
vp9_copy_reference_dec: check ref frame index before use

use get_ref_frame() to ensure a valid frame is retrieved if one exists

Change-Id: I4b116d928e643ee62a991babd4b974037b6b3830

10 years agoMerge "Fix bug 837: realloc mode info buffers on resize"
Adrian Grange [Thu, 14 Aug 2014 21:53:33 +0000 (14:53 -0700)]
Merge "Fix bug 837: realloc mode info buffers on resize"

10 years agoRemove redundant vp9_init_plane_quantizers call
Jingning Han [Thu, 14 Aug 2014 16:55:31 +0000 (09:55 -0700)]
Remove redundant vp9_init_plane_quantizers call

When aq mode is on, the quantizer will be reset later in the same
function (line 571).

Change-Id: I20635db31261d136d04d5deeb881ad3957078bf1

10 years ago32 Align Load bug
levytamar82 [Thu, 24 Jul 2014 20:40:21 +0000 (13:40 -0700)]
32 Align Load bug
In the sub_pixel_avg_variance the parameter sec was also aligned load and
changed to unaligned.

Change-Id: I4d4966e0291059ea4d705baed1503dc58444fcb7

10 years agoget_ref_frame: fix test for valid buffer.
Adrian Grange [Thu, 14 Aug 2014 19:42:11 +0000 (12:42 -0700)]
get_ref_frame: fix test for valid buffer.

In the current implementation of the encoder,
frame buffers may come from the wider set of
12 such buffers, and is not restricted to the
8 allowed as reference frames. This is only
an implementation detail and does not affect
the constraint of having a total of 8 reference
buffers overall.

Change-Id: I075f777146c2df49c275d89232933f8127235175

10 years agoMask out H_PRED and V_PRED for 32x32 blocks
Yaowu Xu [Thu, 14 Aug 2014 00:05:57 +0000 (17:05 -0700)]
Mask out H_PRED and V_PRED for 32x32 blocks

Change-Id: I2847af5062b5fa320629fcabb9fa6b23ba3e5513

10 years agoSet max_intra_bsize to 32x32
Yaowu Xu [Wed, 13 Aug 2014 22:07:16 +0000 (15:07 -0700)]
Set max_intra_bsize to 32x32

At --good and speed 3 or above for resolution less than 720p. This
disables the tests for 64x64 intra prediction modes. Encoding time
reduction is about 1%.

Change-Id: Ib396e3d1417fece416e3f0fee929b128acbb130f

10 years agoMerge "Replace current_video_frame with better alternatives"
Yaowu Xu [Thu, 14 Aug 2014 16:06:38 +0000 (09:06 -0700)]
Merge "Replace current_video_frame with better alternatives"

10 years agoFix bug 837: realloc mode info buffers on resize
Adrian Grange [Tue, 12 Aug 2014 18:24:24 +0000 (11:24 -0700)]
Fix bug 837: realloc mode info buffers on resize

The test to determine if the mode info buffers need
to be resized when the frame size changes was
incorrect, as per bug 837.

By storing the size of the allocated data structure,
a simple test determines whether to allocate more
memory when the frame size changes.

Change-Id: I1544698f2882cf958fc672485614f2f46e9719bd

10 years agoMerge "vpx_codec_internal.h : clean out unused function warning"
Jim Bankoski [Thu, 14 Aug 2014 13:22:00 +0000 (06:22 -0700)]
Merge "vpx_codec_internal.h : clean out unused function warning"

10 years agoMerge "Simplify select_tx_mode()"
Adam Xu [Thu, 14 Aug 2014 02:50:01 +0000 (19:50 -0700)]
Merge "Simplify select_tx_mode()"

10 years agoMerge "cq_test: allow test cases to be run out of order"
James Zern [Thu, 14 Aug 2014 02:39:43 +0000 (19:39 -0700)]
Merge "cq_test: allow test cases to be run out of order"

10 years agovpx_codec_internal.h : clean out unused function warning
Jim Bankoski [Thu, 14 Aug 2014 01:09:05 +0000 (18:09 -0700)]
vpx_codec_internal.h : clean out unused function warning

Change-Id: I53659e3ff8ba1b70d89d152e0580ac7a412b89b2

10 years agoReplace current_video_frame with better alternatives
Yaowu Xu [Thu, 14 Aug 2014 00:19:34 +0000 (17:19 -0700)]
Replace current_video_frame with better alternatives

In the encoder, current_video_frame is used in a couple of places to
decide encoding strategy, this commit replaces with more appropriate
variables.

Change-Id: I3d3d8d8e2ea02c489e4639b9d4c446a63e357d29

10 years agoAllow full coeff probability model and cost update
Jingning Han [Wed, 13 Aug 2014 17:38:21 +0000 (10:38 -0700)]
Allow full coeff probability model and cost update

This commit moves the simplified coefficient probability model
and costing update to speed 4, and turns on chessboard pattern
mode search for sub 720p sequences. The overall coding performance
of speed 3 is improved:
derf  0.889%
stdhd 1.744%

The speed 3 runtime for test sequences are improved:
bus cif at 1000 kbps 9823 ms -> 9642 ms
pedestrian 1080p 2000 kbps 189559 ms -> 183284 ms

Change-Id: Iecbc7496a68f31fd49fb09f8dfd97c028d675a5d

10 years agoSkip mode search based on reference frame consistency
Jingning Han [Tue, 12 Aug 2014 01:02:18 +0000 (18:02 -0700)]
Skip mode search based on reference frame consistency

This commit enables the encoder to skip NEARMV and ZEROMV if the
above and left blocks have identical reference frame, and the
current reference is different from that. It reduces the runtime
of speed 3 for test sequences:
bus cif at 1000 kbps 10064 ms -> 9823 ms
pedestrian 1080p at 2000 kbps 193078 ms -> 189559 ms

The compression performance is changed by
derf  -0.085%
stdhd -0.103%

Change-Id: If304f26d42e6412152a84c3dd7b02635c38444f4

10 years agoMerge "Enable motion field based mode seach skip"
Jingning Han [Wed, 13 Aug 2014 21:13:19 +0000 (14:13 -0700)]
Merge "Enable motion field based mode seach skip"

10 years agoEnable motion field based mode seach skip
Jingning Han [Tue, 12 Aug 2014 00:48:14 +0000 (17:48 -0700)]
Enable motion field based mode seach skip

This commit allows the encoder to check the above and left neighbor
blocks' reference frames and motion vectors. If they are all
consistent, skip checking the NEARMV and ZEROMV modes. This is
enabled in speed 3. The coding performance is improved:

pedestrian area 1080p at 2000 kbps,
from  74773 b/f, 41.101 dB, 198064 ms
to    74795 b/f, 41.099 dB, 193078 ms

park joy 1080p at 15000 kbps,
from 290727 b/f, 30.640 dB, 609113 ms
to   290558 b/f, 30.630 dB, 592815 ms

Overall compression performance of speed 3 is changed
derf  -0.171%
stdhd -0.168%

Change-Id: I8d47dd543a5f90d7a1c583f74035b926b6704b95

10 years agoSimplify select_tx_mode()
Yaowu Xu [Wed, 13 Aug 2014 17:43:43 +0000 (10:43 -0700)]
Simplify select_tx_mode()

The function is called only once, right after all stats counters are
reset to 0. Therefore all the computations have zero effect on return
values. This commmit to removed those effectless code.

Change-Id: I50d27c0802547921fa36c60aa4bd92d76247f595

10 years agoMerge "vpx_internal_error -> fix -Wunused-function issues"
Jim Bankoski [Wed, 13 Aug 2014 17:54:33 +0000 (10:54 -0700)]
Merge "vpx_internal_error -> fix -Wunused-function issues"

10 years agocq_test: allow test cases to be run out of order
James Zern [Wed, 13 Aug 2014 02:26:49 +0000 (19:26 -0700)]
cq_test: allow test cases to be run out of order

check that bitrates increase with cqlevel at global test case teardown,
rather than after each individual test case. this allows the tests to be
run out of order with --gtest_shuffle.

Change-Id: I9e0d4e6a2d920a1f2fe9aee7b7876a3e7eb5d297

10 years agoMerge "Initialization to prevent asan failure on google3"
Deb Mukherjee [Wed, 13 Aug 2014 16:55:39 +0000 (09:55 -0700)]
Merge "Initialization to prevent asan failure on google3"

10 years agoInitialization to prevent asan failure on google3
Deb Mukherjee [Wed, 13 Aug 2014 15:41:40 +0000 (08:41 -0700)]
Initialization to prevent asan failure on google3

Reinstates an assignment to prevent an asan failurere on google3.
Not sure why the failure happens. This was removed in a recent patch
https://gerrit.chromium.org/gerrit/#/c/71068/.

Change-Id: Ifd9ccffd4c2164f4de38b21821ffb28bd779b0f3

10 years agoMerge "intra blocks disallowed inadvertently"
Jim Bankoski [Wed, 13 Aug 2014 15:40:14 +0000 (08:40 -0700)]
Merge "intra blocks disallowed inadvertently"

10 years agoMerge "Update PATENTS to reflect s/VP8/WebM/g"
Jim Bankoski [Wed, 13 Aug 2014 15:11:22 +0000 (08:11 -0700)]
Merge "Update PATENTS to reflect s/VP8/WebM/g"

10 years agovpx_internal_error -> fix -Wunused-function issues
Jim Bankoski [Wed, 13 Aug 2014 14:58:01 +0000 (07:58 -0700)]
vpx_internal_error -> fix -Wunused-function issues

Moved to global function to avoid unused function warnings...

Change-Id: I4e9002dcb20748f6d8d84cbbe6ef2de0bd9a8018

10 years agoMerge "Minor Two pass rate control adjustments."
Paul Wilkins [Wed, 13 Aug 2014 09:56:19 +0000 (02:56 -0700)]
Merge "Minor Two pass rate control adjustments."

10 years agoMerge "decode_api_test: fix type conversion warning"
James Zern [Wed, 13 Aug 2014 07:24:31 +0000 (00:24 -0700)]
Merge "decode_api_test: fix type conversion warning"

10 years agoMerge "libyuv: update to r1041"
James Zern [Wed, 13 Aug 2014 06:40:48 +0000 (23:40 -0700)]
Merge "libyuv: update to r1041"

10 years agodecode_api_test: fix type conversion warning
James Zern [Wed, 13 Aug 2014 06:11:38 +0000 (23:11 -0700)]
decode_api_test: fix type conversion warning

size_t -> uint32 in the call to vpx_codec_decode()

Change-Id: Ibf39d3749321c97292b35ac0631fa22211cff800

10 years agolibyuv: update to r1041
James Zern [Sun, 10 Aug 2014 23:15:18 +0000 (16:15 -0700)]
libyuv: update to r1041

Change-Id: I38dad398844ee424a7a92a745ab703645018d02b

10 years agoMerge "get_ref_frame: check ref_frame_map value"
James Zern [Wed, 13 Aug 2014 05:48:27 +0000 (22:48 -0700)]
Merge "get_ref_frame: check ref_frame_map value"

10 years agoMerge "VP8D_GET_FRAME_CORRUPTED: check frame pointer"
James Zern [Wed, 13 Aug 2014 04:11:36 +0000 (21:11 -0700)]
Merge "VP8D_GET_FRAME_CORRUPTED: check frame pointer"

10 years agoMerge "vpx_codec_decode: check data size"
James Zern [Wed, 13 Aug 2014 04:11:11 +0000 (21:11 -0700)]
Merge "vpx_codec_decode: check data size"

10 years agoMerge "inline vpx functions in headers to avoid unused function warning"
James Zern [Wed, 13 Aug 2014 03:16:47 +0000 (20:16 -0700)]
Merge "inline vpx functions in headers to avoid unused function warning"

10 years agoMerge "fixes several -Wunused-function warnings"
James Zern [Wed, 13 Aug 2014 03:15:14 +0000 (20:15 -0700)]
Merge "fixes several -Wunused-function warnings"

10 years agoMerge "Fix a run-time integer overflow"
James Zern [Wed, 13 Aug 2014 02:21:20 +0000 (19:21 -0700)]
Merge "Fix a run-time integer overflow"

10 years agoMerge "Rework y4mwrite test to pass google3 tests"
Deb Mukherjee [Wed, 13 Aug 2014 01:06:21 +0000 (18:06 -0700)]
Merge "Rework y4mwrite test to pass google3 tests"

10 years agoget_ref_frame: check ref_frame_map value
James Zern [Sun, 10 Aug 2014 01:54:28 +0000 (18:54 -0700)]
get_ref_frame: check ref_frame_map value

'ref_frame_map' is initialized to -1. avoids using an invalid index  if
VP9_GET_REFERENCE/VP8_COPY_REFERENCE controls are issued after a decode
error.

Change-Id: I4599762c4d0b07a5943a72bf4a86ccb596cc062a

10 years agoVP8D_GET_FRAME_CORRUPTED: check frame pointer
James Zern [Sun, 10 Aug 2014 01:47:58 +0000 (18:47 -0700)]
VP8D_GET_FRAME_CORRUPTED: check frame pointer

if the decode of the first frame fails, frame_to_show may not be set.
fixes a crash in vpxdec with corrupt data.

Change-Id: I5ab9476d005778a13fd42a39d05876bb6c90a93c

10 years agoinline vpx functions in headers to avoid unused function warning
Jim Bankoski [Tue, 12 Aug 2014 23:28:08 +0000 (16:28 -0700)]
inline vpx functions in headers to avoid unused function warning

Change-Id: I80284ae82915b9df56f7c5ef4953bd53e8cffd1f

10 years agofixes several -Wunused-function warnings
Jim Bankoski [Tue, 12 Aug 2014 23:51:07 +0000 (16:51 -0700)]
fixes several -Wunused-function warnings

Change-Id: I4dc2cb255f4fe30998b6ee61184895dee9f5da8e

10 years agoFix a run-time integer overflow
Yaowu Xu [Fri, 8 Aug 2014 15:56:24 +0000 (08:56 -0700)]
Fix a run-time integer overflow

Change-Id: I87255d8a25ef8c7d235cbf3c8887d7bed7892cfe

10 years agointra blocks disallowed inadvertently
Jim Bankoski [Tue, 12 Aug 2014 23:22:32 +0000 (16:22 -0700)]
intra blocks disallowed inadvertently

At speed 6 the smallest partitioning was 16x16 and biggest
intra block was 8x8, essentially disallowing all intra blocks
which produces ugly artifacts when revealing new video.

Change-Id: I364042d4c64e09be0666ade64aac94d0a1b586cf

10 years agoRework y4mwrite test to pass google3 tests
Deb Mukherjee [Mon, 11 Aug 2014 20:44:27 +0000 (13:44 -0700)]
Rework y4mwrite test to pass google3 tests

Reverts to using tmpfile() for non-Windows platforms. On google3
the test directory does not have write permissions, and hence the
Y4mWriteTest fails. This patch fixes the issue.
On Windows, a temporary file is created in the temp directory
that has write permissions.

The tests pass on linux, mingw, and MS visual studio.

Change-Id: Ibada1d80e25d8b8e5b6a9d3d597533674bd9024c