Marco [Wed, 20 Aug 2014 18:39:44 +0000 (11:39 -0700)]
Merge "Fixes to adaptive denoiser mode."
Marco [Wed, 20 Aug 2014 18:39:21 +0000 (11:39 -0700)]
Merge "Bugfix for vp8 aggressive denoiser mode."
Dmitry Kovalev [Wed, 20 Aug 2014 18:03:03 +0000 (11:03 -0700)]
Merge "Converting MODE to be just BEST, GOOD, and REALTIME."
Dmitry Kovalev [Wed, 20 Aug 2014 18:02:56 +0000 (11:02 -0700)]
Merge "Adding set_mv_search_params()."
Jingning Han [Wed, 20 Aug 2014 17:46:19 +0000 (10:46 -0700)]
Merge "Fix def pairs in 32x32 2D-DCT sse2"
Marco [Wed, 20 Aug 2014 17:38:59 +0000 (10:38 -0700)]
Bugfix for vp8 aggressive denoiser mode.
Change-Id: I6c1ccd88df7c39377d5f98f8533c0cabd53cf86f
Marco [Tue, 19 Aug 2014 22:31:39 +0000 (15:31 -0700)]
Fixes to adaptive denoiser mode.
Scale min_consec_zero_last wrt to #temporal layers,
and use full framerate as factor in noise metric.
Change-Id: Id0842b90164ce468d1236173c51965e7620c0e12
Dmitry Kovalev [Wed, 20 Aug 2014 16:55:05 +0000 (09:55 -0700)]
Merge "Adding gf_group temp variable."
Jingning Han [Wed, 20 Aug 2014 16:40:30 +0000 (09:40 -0700)]
Fix def pairs in 32x32 2D-DCT sse2
Properly pair the def/undef order.
Change-Id: I9736a6f8d2efc075b1d72dafc75b9350d055cf65
Dmitry Kovalev [Wed, 20 Aug 2014 02:01:47 +0000 (19:01 -0700)]
Merge "Using functions from vpx_mem.h inside vpx_image.c."
Dmitry Kovalev [Wed, 20 Aug 2014 01:42:52 +0000 (18:42 -0700)]
Merge "Cleaning up detect_transition_to_still()."
Alex Converse [Wed, 20 Aug 2014 00:46:27 +0000 (17:46 -0700)]
Merge "Fix valgrind error in pickmode."
Minghai Shang [Wed, 20 Aug 2014 00:45:01 +0000 (17:45 -0700)]
Merge "[spatial svc]Add a few different encode frame tests."
James Zern [Wed, 20 Aug 2014 00:35:02 +0000 (17:35 -0700)]
Merge "Removing unused tbd struct member."
James Zern [Wed, 20 Aug 2014 00:09:46 +0000 (17:09 -0700)]
Merge "vp9_ratectrl.c : remove dead assignment to clear warning"
Dmitry Kovalev [Tue, 19 Aug 2014 21:25:48 +0000 (14:25 -0700)]
Cleaning up detect_transition_to_still().
Change-Id: I70f4bfbfb474ae0f3e34f647b596fc0269b4aa51
Dmitry Kovalev [Tue, 19 Aug 2014 23:00:38 +0000 (16:00 -0700)]
Merge "Adding set_rc_buffer_sizes()."
Dmitry Kovalev [Tue, 19 Aug 2014 22:37:25 +0000 (15:37 -0700)]
Using functions from vpx_mem.h inside vpx_image.c.
Change-Id: Idfd606bf9d23c898bcdfb98fb90a23a5fdace960
James Zern [Tue, 19 Aug 2014 22:16:29 +0000 (15:16 -0700)]
Merge changes I13d975d1,I26710359
* changes:
vpxenc: fix compile with --disable-libyuv
vpxdec: fix compile with --disable-libyuv
Dmitry Kovalev [Tue, 19 Aug 2014 22:00:11 +0000 (15:00 -0700)]
Removing unused tbd struct member.
Change-Id: I07f7aea60ef7b9904f67e12eb5b2bfeb7348a454
Tom Finegan [Tue, 19 Aug 2014 21:59:05 +0000 (14:59 -0700)]
Merge "Add basic tests for the set_maps example."
Alex Converse [Tue, 19 Aug 2014 21:09:57 +0000 (14:09 -0700)]
Fix valgrind error in pickmode.
Don't intra transform blocks past the edge of the image.
Change-Id: Ib8de6901ea339f352f6a7c9cd2af64aa2f55fa8a
Dmitry Kovalev [Tue, 19 Aug 2014 18:48:43 +0000 (11:48 -0700)]
Adding set_mv_search_params().
Change-Id: I1d1bd2d636a03e23f7d44cda349053966f99736d
Dmitry Kovalev [Tue, 19 Aug 2014 18:23:33 +0000 (11:23 -0700)]
Adding set_rc_buffer_sizes().
Change-Id: I76aab1e4f56a790597104b5c9b0d3543d6982eae
Dmitry Kovalev [Mon, 18 Aug 2014 22:06:14 +0000 (15:06 -0700)]
Converting MODE to be just BEST, GOOD, and REALTIME.
After that change oxcf->pass and oxcf->mode become two orthogonal variables.
Change-Id: I1501f83cd2805480e8118135e6d4045fb41e26d5
Dmitry Kovalev [Mon, 18 Aug 2014 23:32:40 +0000 (16:32 -0700)]
Moving frame_is_boosted() to vp9_speed_features.c.
Change-Id: I9261ded5fbba7a625d8224d91be296265a932410
Dmitry Kovalev [Tue, 19 Aug 2014 17:28:21 +0000 (10:28 -0700)]
Merge "Removing unnecessary casts to int64_t."
Jim Bankoski [Tue, 19 Aug 2014 16:59:23 +0000 (09:59 -0700)]
Merge "vpxdec.c : resolve uninitialized member warning"
Jim Bankoski [Tue, 19 Aug 2014 16:59:10 +0000 (09:59 -0700)]
Merge "vp9_rdopt.c : signed unsigned mismatch in choose_tx_size"
Jim Bankoski [Tue, 19 Aug 2014 16:58:57 +0000 (09:58 -0700)]
Merge "vp9_firstpass.c : remove unused parm in get_zero_motion"
Frank Galligan [Tue, 19 Aug 2014 16:47:39 +0000 (09:47 -0700)]
Merge "Improved vp9_quantize_fp_neon()"
Jim Bankoski [Tue, 19 Aug 2014 13:44:10 +0000 (06:44 -0700)]
vpxdec.c : resolve uninitialized member warning
Change-Id: Icd07ee241b1e36bb4c9e40e592bae259e65f2ce4
Jim Bankoski [Tue, 19 Aug 2014 13:40:29 +0000 (06:40 -0700)]
vp9_rdopt.c : signed unsigned mismatch in choose_tx_size
Change-Id: Id68736ffa71843b02ee3634edc525219d6e54d4f
Jim Bankoski [Tue, 19 Aug 2014 13:39:12 +0000 (06:39 -0700)]
vp9_firstpass.c : remove unused parm in get_zero_motion
Change-Id: I803bfc0b26804912ccd088d8a90a0f02fc55eed9
Jim Bankoski [Mon, 18 Aug 2014 22:39:31 +0000 (15:39 -0700)]
vp9_ratectrl.c : remove dead assignment to clear warning
Change-Id: Iacc0b5c58032bde372ed9f99b87712547c4d8454
Jim Bankoski [Tue, 19 Aug 2014 13:16:13 +0000 (06:16 -0700)]
Merge "vp9_firstpass.c : clear warning re: use of null lc"
Yunqing Wang [Tue, 19 Aug 2014 02:00:24 +0000 (19:00 -0700)]
Merge "Add early termination in transform size search"
Jingning Han [Tue, 19 Aug 2014 00:58:43 +0000 (17:58 -0700)]
Merge "Speed up mode search depending on relative ref frame position"
Jim Bankoski [Mon, 18 Aug 2014 23:44:48 +0000 (16:44 -0700)]
vp9_firstpass.c : clear warning re: use of null lc
Change-Id: I80f81f6f4f15766f504c15f8c20258a84bbaa9ac
Yunqing Wang [Tue, 12 Aug 2014 21:36:42 +0000 (14:36 -0700)]
Add early termination in transform size search
In the full-rd transform size search, we go through all transform
sizes to choose the one with best rd score. In this patch, an
early termination is added to stop the search once we see that the
smaller size won't give better rd score than the larger size. Also,
the search starts from largest transform size, then goes down to
smallest size.
A speed feature tx_size_search_breakout is added, which is turned off
at speed 0, and on for other speeds. The transform size search is
turned on at speed 1.
Borg test results:
1. At speed 1,
derf set: psnr gain: 0.618%, ssim gain: 0.377%;
stdhd set: psnr gain: 0.594%, ssim gain: 0.162%;
No noticeable speed change.
3. At speed 2,
derf set: psnr loss: 0.157%, ssim loss: 0.175%;
stdhd set: psnr loss: 0.090%, ssim loss: 0.101%;
speed gain: ~4%.
Change-Id: I22535cd2017b5e54f2a62bb6a38231aea4268b3f
Jingning Han [Mon, 18 Aug 2014 17:42:23 +0000 (10:42 -0700)]
Speed up mode search depending on relative ref frame position
This commit enables the encoder to record the location of the
center frame to generate alter reference frame. It then allows to
skip checking prediction modes of other reference frame types when
it comes to encode this frame.
The speed 3 runtime is reduced for the test sequences:
bus at CIF 1000 kbps, 9791 ms -> 9446 ms, i.e., 3.5% speed-up,
pedestrian at 1080p 2000 kbps, 184043 ms -> 175730 ms, i.e., 4.5%
speed-up.
No compression performance change observed.
Change-Id: Iacfde3bcc1445964e7a241f239bd6ea11cb94bd1
Dmitry Kovalev [Mon, 18 Aug 2014 22:56:26 +0000 (15:56 -0700)]
Adding gf_group temp variable.
Change-Id: Ifc33b1e893480b36ccf88794ea15e87e5cc97823
Tom Finegan [Mon, 18 Aug 2014 22:40:46 +0000 (15:40 -0700)]
Add basic tests for the set_maps example.
Change-Id: I1b1978a7758540bc4e073db8136104847ee8ea3c
Dmitry Kovalev [Mon, 18 Aug 2014 21:37:56 +0000 (14:37 -0700)]
Removing unnecessary casts to int64_t.
Change-Id: I156419fdf68056759a4cd4206cc829a00025ef78
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
Dmitry Kovalev [Mon, 18 Aug 2014 18:18:32 +0000 (11:18 -0700)]
Merge "set_maps: Flush encoder."
Dmitry Kovalev [Mon, 18 Aug 2014 18:18:26 +0000 (11:18 -0700)]
Merge "Removing vp9_rescale()."
Minghai Shang [Wed, 13 Aug 2014 20:12:00 +0000 (13:12 -0700)]
[spatial svc]Add a few different encode frame tests.
1. Clean the code for encode frame tests
2. Add encode w/ and w/o alt reference frame test
3. Add encode SNR layers test
4. Add encode multiple layers but decode partial layers test
Change-Id: Ibd2c9bc02525db584a6f931a98405f2d851b3cd6
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."
Yaowu Xu [Mon, 18 Aug 2014 16:40:16 +0000 (09:40 -0700)]
Merge "Revert "Removing duplicated code from init_config().""
Jingning Han [Mon, 18 Aug 2014 16:28:04 +0000 (09:28 -0700)]
Merge "Remove unused variables 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"
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
James Zern [Sat, 16 Aug 2014 17:08:13 +0000 (10:08 -0700)]
Merge "Add support for MIPS64."
Marco [Sat, 16 Aug 2014 13:08:31 +0000 (06:08 -0700)]
vp8: Add check on noise_sensitivity/denoiser on.
Change-Id: Ic53b2fb69e6eee600ea222e4d06424a1bbca496c
James Zern [Sat, 16 Aug 2014 04:02:41 +0000 (21:02 -0700)]
Merge "test/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
James Zern [Sat, 16 Aug 2014 04:00:31 +0000 (21:00 -0700)]
vpxenc: fix compile with --disable-libyuv
Change-Id: I13d975d1f0e598e498798e4f33b06483f3a41130
James Zern [Sat, 16 Aug 2014 04:00:09 +0000 (21:00 -0700)]
vpxdec: fix compile with --disable-libyuv
Change-Id: I267103595f28c9d9dce2bc38e6db4e371acc7235
Gordana Cmiljanovic [Thu, 7 Aug 2014 17:09:47 +0000 (19:09 +0200)]
Add support for MIPS64.
Change-Id: I78e27bf942b4a825543e76be25546b6458bad8b6
Pengchong Jin [Sat, 16 Aug 2014 02:51:04 +0000 (19:51 -0700)]
Merge "Add a speed feature to give the tighter search range"
James Zern [Sat, 16 Aug 2014 02:06:31 +0000 (19:06 -0700)]
Merge "frame_size_tests: reduce 'large' size for win32"
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
Dmitry Kovalev [Sat, 16 Aug 2014 00:13:37 +0000 (17:13 -0700)]
Merge "Removing duplicated code from init_config()."
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
Johann [Fri, 15 Aug 2014 23:48:30 +0000 (16:48 -0700)]
Merge "Set uv_crop_height/width in all the places"
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
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
Dmitry Kovalev [Fri, 15 Aug 2014 22:31:43 +0000 (15:31 -0700)]
Merge "Simplifying vp9_set_speed_features() function."
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
Yunqing Wang [Fri, 15 Aug 2014 22:22:33 +0000 (15:22 -0700)]
Merge "Remove a unused speed feature"
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
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
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
Dmitry Kovalev [Fri, 15 Aug 2014 21:25:00 +0000 (14:25 -0700)]
Removing duplicated code from init_config().
Change-Id: I50f4485cfbdaadc3084aa5bc63bf3a2f15a0d903
Tom Finegan [Fri, 15 Aug 2014 21:21:25 +0000 (14:21 -0700)]
Merge "vpxdec.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
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
Deb Mukherjee [Fri, 15 Aug 2014 21:04:18 +0000 (14:04 -0700)]
Merge "Removes fileno check to prevent valgrind error"
Tom Finegan [Fri, 15 Aug 2014 20:53:05 +0000 (13:53 -0700)]
Merge "examples.sh: Run all example tests."
Dmitry Kovalev [Fri, 15 Aug 2014 19:52:44 +0000 (12:52 -0700)]
Merge "Cleaning up vp9_encoder.c."
Dmitry Kovalev [Fri, 15 Aug 2014 19:52:16 +0000 (12:52 -0700)]
Merge "vp8cx_set_ref: Flush encoder."
Dmitry Kovalev [Fri, 15 Aug 2014 19:51:56 +0000 (12:51 -0700)]
Merge "Removing active_arnr_{strength, frames} from VP9_COMP."
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
Adrian Grange [Fri, 15 Aug 2014 17:41:28 +0000 (10:41 -0700)]
Merge "get_ref_frame: fix test for valid buffer."
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
Dmitry Kovalev [Thu, 14 Aug 2014 17:44:08 +0000 (10:44 -0700)]
Cleaning up vp9_encoder.c.
Change-Id: Ib06c59d1adefb841a6ff653619dffb7e23f3318d
Dmitry Kovalev [Fri, 15 Aug 2014 17:22:00 +0000 (10:22 -0700)]
Removing active_arnr_{strength, frames} from VP9_COMP.
Change-Id: I60472b71ca75ee0522ed2611f43e1207d44b66d0
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
Marco Paniconi [Fri, 15 Aug 2014 15:51:08 +0000 (08:51 -0700)]
Merge "Add an adaptive denoising mode."
Marco [Fri, 15 Aug 2014 14:57:48 +0000 (07:57 -0700)]
Merge "vp8: Modify to use closest reference in zero_mv bias."
James Zern [Fri, 15 Aug 2014 03:27:12 +0000 (20:27 -0700)]
Merge "vpxenc.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
James Zern [Fri, 15 Aug 2014 01:53:39 +0000 (18:53 -0700)]
Merge "vp9_copy_reference_dec: check ref frame index before use"
Jingning Han [Fri, 15 Aug 2014 01:50:16 +0000 (18:50 -0700)]
Merge "Remove redundant vp9_init_plane_quantizers call"
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."
Dmitry Kovalev [Fri, 15 Aug 2014 01:26:35 +0000 (18:26 -0700)]
Merge "Moving framerate from VP9EncoderConfig to VP9_COMP."
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
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
Yaowu Xu [Thu, 14 Aug 2014 22:25:34 +0000 (15:25 -0700)]
Merge "Mask out H_PRED and V_PRED for 32x32 blocks"