platform/upstream/libvpx.git
10 years agoRevert "Revert "VP8 for ARMv8 by using NEON intrinsics 06" This reverts commit 81ad04...
Johann [Wed, 20 Aug 2014 16:36:32 +0000 (09:36 -0700)]
Revert "Revert "VP8 for ARMv8 by using NEON intrinsics 06" This reverts commit 81ad047ee57ecb0e2c1ee4dcebda54a44ea54ae9. Revert "VP8 for ARMv8 by using NEON intrinsics 15" This reverts commit 727af7cebe3698b8493ba6c1360b0a6606c310fb."

This reverts commit 920f803f2e2f41395311f96fec1b4a0c1b2b631a

Change-Id: I410d9036214a1b18427cca70b4bc6d8239740737

10 years agoMerge "Using functions from vpx_mem.h inside vpx_image.c."
Dmitry Kovalev [Wed, 20 Aug 2014 02:01:47 +0000 (19:01 -0700)]
Merge "Using functions from vpx_mem.h inside vpx_image.c."

10 years agoMerge "Cleaning up detect_transition_to_still()."
Dmitry Kovalev [Wed, 20 Aug 2014 01:42:52 +0000 (18:42 -0700)]
Merge "Cleaning up detect_transition_to_still()."

10 years agoMerge "Fix valgrind error in pickmode."
Alex Converse [Wed, 20 Aug 2014 00:46:27 +0000 (17:46 -0700)]
Merge "Fix valgrind error in pickmode."

10 years agoMerge "[spatial svc]Add a few different encode frame tests."
Minghai Shang [Wed, 20 Aug 2014 00:45:01 +0000 (17:45 -0700)]
Merge "[spatial svc]Add a few different encode frame tests."

10 years agoMerge "Removing unused tbd struct member."
James Zern [Wed, 20 Aug 2014 00:35:02 +0000 (17:35 -0700)]
Merge "Removing unused tbd struct member."

10 years agoMerge "vp9_ratectrl.c : remove dead assignment to clear warning"
James Zern [Wed, 20 Aug 2014 00:09:46 +0000 (17:09 -0700)]
Merge "vp9_ratectrl.c : remove dead assignment to clear warning"

10 years agoCleaning up detect_transition_to_still().
Dmitry Kovalev [Tue, 19 Aug 2014 21:25:48 +0000 (14:25 -0700)]
Cleaning up detect_transition_to_still().

Change-Id: I70f4bfbfb474ae0f3e34f647b596fc0269b4aa51

10 years agoMerge "Adding set_rc_buffer_sizes()."
Dmitry Kovalev [Tue, 19 Aug 2014 23:00:38 +0000 (16:00 -0700)]
Merge "Adding set_rc_buffer_sizes()."

10 years agoUsing functions from vpx_mem.h inside vpx_image.c.
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

10 years agoMerge changes I13d975d1,I26710359
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

10 years agoRemoving unused tbd struct member.
Dmitry Kovalev [Tue, 19 Aug 2014 22:00:11 +0000 (15:00 -0700)]
Removing unused tbd struct member.

Change-Id: I07f7aea60ef7b9904f67e12eb5b2bfeb7348a454

10 years agoMerge "Add basic tests for the set_maps example."
Tom Finegan [Tue, 19 Aug 2014 21:59:05 +0000 (14:59 -0700)]
Merge "Add basic tests for the set_maps example."

10 years agoFix valgrind error in pickmode.
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

10 years agoAdding set_rc_buffer_sizes().
Dmitry Kovalev [Tue, 19 Aug 2014 18:23:33 +0000 (11:23 -0700)]
Adding set_rc_buffer_sizes().

Change-Id: I76aab1e4f56a790597104b5c9b0d3543d6982eae

10 years agoMoving frame_is_boosted() to vp9_speed_features.c.
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

10 years agoMerge "Removing unnecessary casts to int64_t."
Dmitry Kovalev [Tue, 19 Aug 2014 17:28:21 +0000 (10:28 -0700)]
Merge "Removing unnecessary casts to int64_t."

10 years agoMerge "vpxdec.c : resolve uninitialized member warning"
Jim Bankoski [Tue, 19 Aug 2014 16:59:23 +0000 (09:59 -0700)]
Merge "vpxdec.c : resolve uninitialized member warning"

10 years agoMerge "vp9_rdopt.c : signed unsigned mismatch in choose_tx_size"
Jim Bankoski [Tue, 19 Aug 2014 16:59:10 +0000 (09:59 -0700)]
Merge "vp9_rdopt.c : signed unsigned mismatch in choose_tx_size"

10 years agoMerge "vp9_firstpass.c : remove unused parm in get_zero_motion"
Jim Bankoski [Tue, 19 Aug 2014 16:58:57 +0000 (09:58 -0700)]
Merge "vp9_firstpass.c : remove unused parm in get_zero_motion"

10 years agoMerge "Improved vp9_quantize_fp_neon()"
Frank Galligan [Tue, 19 Aug 2014 16:47:39 +0000 (09:47 -0700)]
Merge "Improved vp9_quantize_fp_neon()"

10 years agovpxdec.c : resolve uninitialized member warning
Jim Bankoski [Tue, 19 Aug 2014 13:44:10 +0000 (06:44 -0700)]
vpxdec.c : resolve uninitialized member warning

Change-Id: Icd07ee241b1e36bb4c9e40e592bae259e65f2ce4

10 years agovp9_rdopt.c : signed unsigned mismatch in choose_tx_size
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

10 years agovp9_firstpass.c : remove unused parm in get_zero_motion
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

10 years agovp9_ratectrl.c : remove dead assignment to clear warning
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

10 years agoMerge "vp9_firstpass.c : clear warning re: use of null lc"
Jim Bankoski [Tue, 19 Aug 2014 13:16:13 +0000 (06:16 -0700)]
Merge "vp9_firstpass.c : clear warning re: use of null lc"

10 years agoMerge "Add early termination in transform size search"
Yunqing Wang [Tue, 19 Aug 2014 02:00:24 +0000 (19:00 -0700)]
Merge "Add early termination in transform size search"

10 years agoMerge "Speed up mode search depending on relative ref frame position"
Jingning Han [Tue, 19 Aug 2014 00:58:43 +0000 (17:58 -0700)]
Merge "Speed up mode search depending on relative ref frame position"

10 years agovp9_firstpass.c : clear warning re: use of null lc
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

10 years agoAdd early termination in transform size search
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

10 years agoSpeed up mode search depending on relative ref frame position
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

10 years agoAdd basic tests for the set_maps example.
Tom Finegan [Mon, 18 Aug 2014 22:40:46 +0000 (15:40 -0700)]
Add basic tests for the set_maps example.

Change-Id: I1b1978a7758540bc4e073db8136104847ee8ea3c

10 years agoRemoving unnecessary casts to int64_t.
Dmitry Kovalev [Mon, 18 Aug 2014 21:37:56 +0000 (14:37 -0700)]
Removing unnecessary casts to int64_t.

Change-Id: I156419fdf68056759a4cd4206cc829a00025ef78

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 ago[spatial svc]Add a few different encode frame tests.
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

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 agovpxenc: fix compile with --disable-libyuv
James Zern [Sat, 16 Aug 2014 04:00:31 +0000 (21:00 -0700)]
vpxenc: fix compile with --disable-libyuv

Change-Id: I13d975d1f0e598e498798e4f33b06483f3a41130

10 years agovpxdec: fix compile with --disable-libyuv
James Zern [Sat, 16 Aug 2014 04:00:09 +0000 (21:00 -0700)]
vpxdec: fix compile with --disable-libyuv

Change-Id: I267103595f28c9d9dce2bc38e6db4e371acc7235

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"