platform/upstream/libvpx.git
10 years agovp8_set_maps.c: silence some type warnings
James Zern [Thu, 6 Feb 2014 03:33:39 +0000 (19:33 -0800)]
vp8_set_maps.c: silence some type warnings

Change-Id: I371863fc68f4984a223a684f9e89b25e9991e1e7

10 years agoMerge "vp8_scalable_patterns: silence a few warnings"
James Zern [Thu, 6 Feb 2014 03:08:56 +0000 (19:08 -0800)]
Merge "vp8_scalable_patterns: silence a few warnings"

10 years agoMerge "examples.mk: build examples/*.c directly"
James Zern [Thu, 6 Feb 2014 02:51:40 +0000 (18:51 -0800)]
Merge "examples.mk: build examples/*.c directly"

10 years agoMerge "configure: use -Werror when testing CXX flags w/clang"
James Zern [Thu, 6 Feb 2014 02:47:24 +0000 (18:47 -0800)]
Merge "configure: use -Werror when testing CXX flags w/clang"

10 years agoMerge "update .gitignore"
James Zern [Thu, 6 Feb 2014 02:45:51 +0000 (18:45 -0800)]
Merge "update .gitignore"

10 years agoMerge "Removing redundant is_inter_mode() call."
Dmitry Kovalev [Thu, 6 Feb 2014 02:39:08 +0000 (18:39 -0800)]
Merge "Removing redundant is_inter_mode() call."

10 years agoMerge "Cleaning up vp9_get_pred_context_single_ref_p1()."
Dmitry Kovalev [Thu, 6 Feb 2014 02:38:38 +0000 (18:38 -0800)]
Merge "Cleaning up vp9_get_pred_context_single_ref_p1()."

10 years agoMerge "Removing "_1d" suffix from mips transform code."
Dmitry Kovalev [Thu, 6 Feb 2014 02:37:49 +0000 (18:37 -0800)]
Merge "Removing "_1d" suffix from mips transform code."

10 years agoMerge "Renaming vp9_sad_c.c to vp9_sad.c."
Dmitry Kovalev [Thu, 6 Feb 2014 02:37:20 +0000 (18:37 -0800)]
Merge "Renaming vp9_sad_c.c to vp9_sad.c."

10 years agoMerge "Cleaning up encode_frame_to_data_rate()."
Dmitry Kovalev [Thu, 6 Feb 2014 02:03:56 +0000 (18:03 -0800)]
Merge "Cleaning up encode_frame_to_data_rate()."

10 years agoMerge "Cleaning up recode_loop_test()."
Dmitry Kovalev [Thu, 6 Feb 2014 01:36:18 +0000 (17:36 -0800)]
Merge "Cleaning up recode_loop_test()."

10 years agoMerge "Cleaning up vp9_firstpass.c."
Dmitry Kovalev [Thu, 6 Feb 2014 01:35:56 +0000 (17:35 -0800)]
Merge "Cleaning up vp9_firstpass.c."

10 years agoconfigure: use -Werror when testing CXX flags w/clang
James Zern [Thu, 6 Feb 2014 01:31:48 +0000 (17:31 -0800)]
configure: use -Werror when testing CXX flags w/clang

Change-Id: Ia7d827d391941b4b507e568c99cc83531273433c

10 years agoMerge "Optimize bilinear sub-pixel filters in ssse3"
Yunqing Wang [Thu, 6 Feb 2014 01:20:52 +0000 (17:20 -0800)]
Merge "Optimize bilinear sub-pixel filters in ssse3"

10 years agoexamples.mk: build examples/*.c directly
James Zern [Thu, 6 Feb 2014 00:55:01 +0000 (16:55 -0800)]
examples.mk: build examples/*.c directly

since
50fa585 Removing examples code generation and making them static.

the examples have been c files, not generated from text. this removes
GEN_EXAMPLES and replaces it with EXAMPLES, building the source directly
rather than copying it to the build folder

Change-Id: I5445bc49553419e3d2430963517d2c18cdba1f82

10 years agoMerge "Clamping active_{best, worst}_quality values."
Dmitry Kovalev [Wed, 5 Feb 2014 23:53:00 +0000 (15:53 -0800)]
Merge "Clamping active_{best, worst}_quality values."

10 years agoCleaning up recode_loop_test().
Dmitry Kovalev [Wed, 5 Feb 2014 23:46:11 +0000 (15:46 -0800)]
Cleaning up recode_loop_test().

Change-Id: Iaa6d01221a1f82ce9b500c85e186ab53b92aae9a

10 years agoCleaning up encode_frame_to_data_rate().
Dmitry Kovalev [Wed, 5 Feb 2014 23:35:37 +0000 (15:35 -0800)]
Cleaning up encode_frame_to_data_rate().

Change-Id: Ib76a31e68aef5cb9eeba57dc58d9c30c9c98ed95

10 years agoMerge "vpxdec: normalize frame size types"
James Zern [Wed, 5 Feb 2014 23:15:38 +0000 (15:15 -0800)]
Merge "vpxdec: normalize frame size types"

10 years agoCleaning up vp9_firstpass.c.
Dmitry Kovalev [Wed, 5 Feb 2014 23:11:12 +0000 (15:11 -0800)]
Cleaning up vp9_firstpass.c.

Change-Id: I111d6d1ea5ee641780abc096341369a37627aaae

10 years agoMerge "Removing unused SPEEDSTATS."
Dmitry Kovalev [Wed, 5 Feb 2014 22:44:12 +0000 (14:44 -0800)]
Merge "Removing unused SPEEDSTATS."

10 years agoMerge "Remove delete_first_pass_file."
Adrian Grange [Wed, 5 Feb 2014 21:01:03 +0000 (13:01 -0800)]
Merge "Remove delete_first_pass_file."

10 years agoMerge "gen_msvs_proj: add trailing \ to IntDir"
James Zern [Wed, 5 Feb 2014 19:55:35 +0000 (11:55 -0800)]
Merge "gen_msvs_proj: add trailing \ to IntDir"

10 years agoMerge "One-pass rate control cleanups/fixes/refactoring"
Deb Mukherjee [Wed, 5 Feb 2014 19:50:18 +0000 (11:50 -0800)]
Merge "One-pass rate control cleanups/fixes/refactoring"

10 years agoCleaning up vp9_get_pred_context_single_ref_p1().
Dmitry Kovalev [Wed, 5 Feb 2014 19:48:01 +0000 (11:48 -0800)]
Cleaning up vp9_get_pred_context_single_ref_p1().

Change-Id: I279343b474d7ff41afcf8f1493b6fbf716b51823

10 years agoMerge "Cleaning up vp9_get_pred_context_single_ref_p2()."
Dmitry Kovalev [Wed, 5 Feb 2014 19:37:17 +0000 (11:37 -0800)]
Merge "Cleaning up vp9_get_pred_context_single_ref_p2()."

10 years agoRemove delete_first_pass_file.
Adrian Grange [Wed, 5 Feb 2014 19:31:44 +0000 (11:31 -0800)]
Remove delete_first_pass_file.

Change-Id: If46d93fb1c26e4629af1f492bfad7a82b4c4f778

10 years agoRenaming vp9_sad_c.c to vp9_sad.c.
Dmitry Kovalev [Wed, 5 Feb 2014 19:31:15 +0000 (11:31 -0800)]
Renaming vp9_sad_c.c to vp9_sad.c.

Change-Id: I0beb01b0209cf4ae849b4c67d72107b631f46c0d

10 years agoRemoving unused SPEEDSTATS.
Dmitry Kovalev [Wed, 5 Feb 2014 19:23:13 +0000 (11:23 -0800)]
Removing unused SPEEDSTATS.

Change-Id: Ia41007206ce437852dd1b532ee8e233d889e0040

10 years agoOne-pass rate control cleanups/fixes/refactoring
Deb Mukherjee [Tue, 4 Feb 2014 19:42:50 +0000 (11:42 -0800)]
One-pass rate control cleanups/fixes/refactoring

Inlcudes a number cleanups:
1. Moves the one-pass pre-encode parameter setting functions
to vp9_ratectrl.c
2. Deprecates per_frame_bandwidth in RATE_CONTROL structure
3. Removes target_bandwidth in cpi structure since it is not used.
4. Various renaming of functions

There is no bit-stream change in 2-pass, one-pass cbr and one-pass
vbr modes.

Change-Id: Ifd9916bf4d485b7d04c5f52044ffe6703254ccbd

10 years agoMerge "arm: Consistently use braces around doubleword arguments to vld"
Johann [Wed, 5 Feb 2014 19:14:25 +0000 (11:14 -0800)]
Merge "arm: Consistently use braces around doubleword arguments to vld"

10 years agoMerge "arm: Use {} around quadword arguments to vld"
Johann [Wed, 5 Feb 2014 19:14:20 +0000 (11:14 -0800)]
Merge "arm: Use {} around quadword arguments to vld"

10 years agoRemoving redundant is_inter_mode() call.
Dmitry Kovalev [Wed, 5 Feb 2014 19:04:53 +0000 (11:04 -0800)]
Removing redundant is_inter_mode() call.

Block type was already detected by is_inter_block() call.

Change-Id: I7923ce11b6a0071ce9df8c744a78c816651a15dc

10 years agoarm: Consistently use braces around doubleword arguments to vld
Martin Storsjo [Wed, 5 Feb 2014 11:21:27 +0000 (13:21 +0200)]
arm: Consistently use braces around doubleword arguments to vld

This isn't strictly necessary, but makes the file more consistent
with the other arm assembly source files.

Change-Id: I245c9677d89e0ab3f31991e473764858af35b180

10 years agoarm: Use {} around quadword arguments to vld
Martin Storsjo [Wed, 5 Feb 2014 11:19:11 +0000 (13:19 +0200)]
arm: Use {} around quadword arguments to vld

This fixes building for iOS.

Change-Id: Ice082648c02a3faf93891f7ddc122875e2bdc9cb

10 years agoads2gas.pl: Don't require perl to be in a fixed location
Martin Storsjo [Wed, 5 Feb 2014 09:17:04 +0000 (11:17 +0200)]
ads2gas.pl: Don't require perl to be in a fixed location

This reduces the differences to ads2gas_apple.pl.

Change-Id: Ie30e369e3685b35485efe2296f7cdf91dafee1e7

10 years agoads2gas_apple.pl: Reduce differences to ads2gas.pl
Martin Storsjo [Wed, 5 Feb 2014 08:57:24 +0000 (10:57 +0200)]
ads2gas_apple.pl: Reduce differences to ads2gas.pl

Avoid substitution of substrings by using \b to make sure the
substituted strings are at word boundaries.

This is an adaption of the corresponding changes to ads2gas.pl
from 7ebcaeb0fa.

Change-Id: I52160e8ba0373d4779d5fc3b0c384ca5c51c7b13

10 years agovp8_scalable_patterns: silence a few warnings
James Zern [Wed, 5 Feb 2014 05:11:40 +0000 (21:11 -0800)]
vp8_scalable_patterns: silence a few warnings

Change-Id: Ibc5db33b57d9ae390202b431c289ab5934fe19b2

10 years agoupdate .gitignore
James Zern [Wed, 5 Feb 2014 05:07:56 +0000 (21:07 -0800)]
update .gitignore

remove example files that have been tracked since:
50fa585 Removing examples code generation and making them static.

Change-Id: I9dd2e1588003918286d455c5e58a43393b176a84

10 years agogen_msvs_proj: add trailing \ to IntDir
James Zern [Wed, 5 Feb 2014 04:42:03 +0000 (20:42 -0800)]
gen_msvs_proj: add trailing \ to IntDir

older versions of visual studio did not include the trailing \. this
moves the objects to their intended location: the project subdirectory

Change-Id: I244479cdebf6b3f03bed6dbfca82e7fb4542f0de

10 years agoMerge "libmkv: Use uint64_t instead of UInt64."
James Zern [Wed, 5 Feb 2014 04:31:07 +0000 (20:31 -0800)]
Merge "libmkv: Use uint64_t instead of UInt64."

10 years agovpxdec: normalize frame size types
James Zern [Wed, 5 Feb 2014 04:06:28 +0000 (20:06 -0800)]
vpxdec: normalize frame size types

int -> size_t for threshold values. this silences a few signed/unsigned
comparison warnings

Change-Id: Ic7b7af61f75f60a1b6d04167640cea2d09bbd967

10 years agoMerge "vp9_systemdependent.h: relocate system includes"
James Zern [Wed, 5 Feb 2014 02:58:20 +0000 (18:58 -0800)]
Merge "vp9_systemdependent.h: relocate system includes"

10 years agovp9_systemdependent.h: relocate system includes
James Zern [Wed, 5 Feb 2014 02:28:45 +0000 (18:28 -0800)]
vp9_systemdependent.h: relocate system includes

avoid wrapping msvc includes with extern "C"; this breaks some visual
studio builds of the (c++) tests.

Change-Id: Ie8062d55d4f4c049f6cd360a36da6a67607df132

10 years agoMerge "Adjust speed feature for --rt"
Yaowu Xu [Wed, 5 Feb 2014 02:20:57 +0000 (18:20 -0800)]
Merge "Adjust speed feature for --rt"

10 years agoMerge "Removing DBG_PRNT_SEGMAP."
Dmitry Kovalev [Wed, 5 Feb 2014 01:52:16 +0000 (17:52 -0800)]
Merge "Removing DBG_PRNT_SEGMAP."

10 years agoMerge "libmkv: constify codec_id."
James Zern [Wed, 5 Feb 2014 01:14:11 +0000 (17:14 -0800)]
Merge "libmkv: constify codec_id."

10 years agoMerge "Removing unused estimate_cq() function."
Dmitry Kovalev [Wed, 5 Feb 2014 00:57:57 +0000 (16:57 -0800)]
Merge "Removing unused estimate_cq() function."

10 years agoMerge "Moving MBGRAPH_{MB, FRAME}_STATS structs to vp9_mbgraph.h."
Dmitry Kovalev [Wed, 5 Feb 2014 00:53:55 +0000 (16:53 -0800)]
Merge "Moving MBGRAPH_{MB, FRAME}_STATS structs to vp9_mbgraph.h."

10 years agoMerge "Renaming vp9_variance_c.c to vp9_variance.c."
Dmitry Kovalev [Wed, 5 Feb 2014 00:53:27 +0000 (16:53 -0800)]
Merge "Renaming vp9_variance_c.c to vp9_variance.c."

10 years agoMerge "Replacing int_mv with MV."
Dmitry Kovalev [Wed, 5 Feb 2014 00:53:14 +0000 (16:53 -0800)]
Merge "Replacing int_mv with MV."

10 years agoMerge "Inlinging get_next_chkpts macro in vp9_mcomp.c."
Dmitry Kovalev [Wed, 5 Feb 2014 00:52:47 +0000 (16:52 -0800)]
Merge "Inlinging get_next_chkpts macro in vp9_mcomp.c."

10 years agoMerge "Removing SECTIONBITS_OUTPUT."
Dmitry Kovalev [Wed, 5 Feb 2014 00:52:12 +0000 (16:52 -0800)]
Merge "Removing SECTIONBITS_OUTPUT."

10 years agolibmkv: Use uint64_t instead of UInt64.
Ralph Giles [Mon, 3 Feb 2014 19:00:11 +0000 (11:00 -0800)]
libmkv: Use uint64_t instead of UInt64.

The rest of the code uses stdint types and this makes porting
easier.

Change-Id: Ie2f565f6a919199f0145b6aea97bb7588548e97d

10 years agolibmkv: constify codec_id.
Ralph Giles [Mon, 3 Feb 2014 18:56:27 +0000 (10:56 -0800)]
libmkv: constify codec_id.

This lets the caller pass a string literal for the codec id.

From https://bugzilla.mozilla.org/show_bug.cgi?id=966044

Change-Id: I345bd7a5943f0c33b3fb368d4280100ac5038a3d

10 years agoRemoving DBG_PRNT_SEGMAP.
Dmitry Kovalev [Wed, 29 Jan 2014 22:10:38 +0000 (14:10 -0800)]
Removing DBG_PRNT_SEGMAP.

Change-Id: I71d85e3455545960938e525ae8aa0a667e1db94c

10 years agoMerge "Ignore missing newline message"
Johann [Tue, 4 Feb 2014 23:56:17 +0000 (15:56 -0800)]
Merge "Ignore missing newline message"

10 years agoIgnore missing newline message
Johann [Mon, 3 Feb 2014 20:15:17 +0000 (12:15 -0800)]
Ignore missing newline message

git diff adds the following line to diffs:
\ No newline at end of file

which interferes with diff.py parsing. diff.py only looks for '+', '-'
and ' ' at the beginning of the line.

Issue seen on https://gerrit.chromium.org/gerrit/68611

Change-Id: I0d7b4485c470e0b409f2c9cddde6c9aceba0152e

10 years agoMerge "Moving x1 & y1 calculation under if condition."
Dmitry Kovalev [Tue, 4 Feb 2014 22:50:25 +0000 (14:50 -0800)]
Merge "Moving x1 & y1 calculation under if condition."

10 years agoMerge "With on demand border extension, clamping the MV is not longer needed."
hkuang [Tue, 4 Feb 2014 22:50:20 +0000 (14:50 -0800)]
Merge "With on demand border extension, clamping the MV is not longer needed."

10 years agoRenaming vp9_variance_c.c to vp9_variance.c.
Dmitry Kovalev [Tue, 4 Feb 2014 22:49:43 +0000 (14:49 -0800)]
Renaming vp9_variance_c.c to vp9_variance.c.

Change-Id: I7b29cb18ad36d79e1c6329c7de88496059f49db4

10 years agoWith on demand border extension, clamping the MV
hkuang [Tue, 4 Feb 2014 18:56:16 +0000 (10:56 -0800)]
With on demand border extension, clamping the MV
is not longer needed.

Change-Id: I40c37ef18c67ab27fc336694dfca3c43a87c47ca

10 years agoRemoving unused estimate_cq() function.
Dmitry Kovalev [Tue, 4 Feb 2014 02:13:15 +0000 (18:13 -0800)]
Removing unused estimate_cq() function.

Change-Id: If3a1af1a54f3a3c0d9c966fdc0721981070c7f28

10 years agoMerge "One-pass rate control fixes and cleanups"
Deb Mukherjee [Tue, 4 Feb 2014 19:12:10 +0000 (11:12 -0800)]
Merge "One-pass rate control fixes and cleanups"

10 years agoMerge "Remove duplicated code"
Adrian Grange [Tue, 4 Feb 2014 18:59:57 +0000 (10:59 -0800)]
Merge "Remove duplicated code"

10 years agoOne-pass rate control fixes and cleanups
Deb Mukherjee [Thu, 23 Jan 2014 02:00:08 +0000 (18:00 -0800)]
One-pass rate control fixes and cleanups

Fixes rate control partially in one-pass non-cbr case to achieve a
bitrate close to the one desired. Previous version was way off at
the high bitrate end.

Also includes several one-pass rate control cleanups and refactoring.

On derfraw300, one-pass encoding is now 19% off from two-pass speed
0 encoding, down from 35%.

Change-Id: I6f0dcdb7f8aa85a7e7cd3a3155d4f9d2a4d2f4f4

10 years agoRemove duplicated code
Adrian Grange [Tue, 4 Feb 2014 18:01:04 +0000 (10:01 -0800)]
Remove duplicated code

Change-Id: I1b7c8165162e835e22cf164cce989c0cebd7ca95

10 years agoOptimize bilinear sub-pixel filters in ssse3
Yunqing Wang [Mon, 3 Feb 2014 20:40:18 +0000 (12:40 -0800)]
Optimize bilinear sub-pixel filters in ssse3

This patch added ssse3 optimization of bilinear sub-pixel filters.
The real time encoder was speeded up by ~1%.

Change-Id: Ie82e98976f411183cb8c61ab8d2ba0276e55a338

10 years agoMerge "vp9_filter.h: rename interp_kernel type"
James Zern [Tue, 4 Feb 2014 07:12:28 +0000 (23:12 -0800)]
Merge "vp9_filter.h: rename interp_kernel type"

10 years agoMerge "vp9/encoder: fix function prototypes"
James Zern [Tue, 4 Feb 2014 07:09:26 +0000 (23:09 -0800)]
Merge "vp9/encoder: fix function prototypes"

10 years agoMerge changes I9ebfeb49,I2e2f9bb6
James Zern [Tue, 4 Feb 2014 07:08:53 +0000 (23:08 -0800)]
Merge changes I9ebfeb49,I2e2f9bb6

* changes:
  resize_test: use const_iterator where appropriate
  resize_test: silence a warning

10 years agoMerge changes Ic362b088,I1c65c2aa
James Zern [Tue, 4 Feb 2014 07:07:35 +0000 (23:07 -0800)]
Merge changes Ic362b088,I1c65c2aa

* changes:
  vpxenc: find_mismatch/compare_img: normalize types
  vpxenc: cosmetics

10 years agoAdjust speed feature for --rt
Yaowu Xu [Tue, 4 Feb 2014 01:47:29 +0000 (17:47 -0800)]
Adjust speed feature for --rt

Moved a few features with low impact on compression form -5 to -4 and
increased adaptive_rd_thresh for -5.

Change-Id: Ib1b748168cc6ed7684ae4818499f3a536ae76253

10 years agoMoving x1 & y1 calculation under if condition.
Dmitry Kovalev [Tue, 4 Feb 2014 02:03:17 +0000 (18:03 -0800)]
Moving x1 & y1 calculation under if condition.

Change-Id: Iae787d491f7cfe24855ef8f2d04e2c6c19350378

10 years agoCleaning up vp9_get_pred_context_single_ref_p2().
Dmitry Kovalev [Tue, 4 Feb 2014 01:46:34 +0000 (17:46 -0800)]
Cleaning up vp9_get_pred_context_single_ref_p2().

Change-Id: I294075acd3073c41e153079ff4462816898b3778

10 years agoReplacing int_mv with MV.
Dmitry Kovalev [Tue, 4 Feb 2014 01:30:59 +0000 (17:30 -0800)]
Replacing int_mv with MV.

Change-Id: I36b8b419be92171857e77a881da066424ff47af5

10 years agoMerge "Removing ENC_DEBUG."
Dmitry Kovalev [Tue, 4 Feb 2014 01:11:52 +0000 (17:11 -0800)]
Merge "Removing ENC_DEBUG."

10 years agoMerge "Build fix with config internal stats"
Yongzhe Wang [Tue, 4 Feb 2014 01:10:23 +0000 (17:10 -0800)]
Merge "Build fix with config internal stats"

10 years agovp9_filter.h: rename interp_kernel type
James Zern [Tue, 4 Feb 2014 00:48:38 +0000 (16:48 -0800)]
vp9_filter.h: rename interp_kernel type

-> InterpKernel
avoids conflicts in variable names, fixing the build with various
toolchains.

broken since:
8691565 Removing subpix_fn_table struct.

Change-Id: Ib5f6fdbcb494a97b62c75b99d4d826ff25d4c981

10 years agoMerge "INLINE and reimplement get_unsigned_bits()."
Alex Converse [Tue, 4 Feb 2014 00:26:33 +0000 (16:26 -0800)]
Merge "INLINE and reimplement get_unsigned_bits()."

10 years agoBuild fix with config internal stats
Yongzhe Wang [Mon, 3 Feb 2014 22:29:28 +0000 (14:29 -0800)]
Build fix with config internal stats

Fixes a build issue when internal stats is enabled

Change-Id: I822cc60274e34b5f29ccbaa1f986fb9da6a8de4b

10 years agoMerge "Removing "_short" suffix from arm transform file names."
Dmitry Kovalev [Mon, 3 Feb 2014 22:28:47 +0000 (14:28 -0800)]
Merge "Removing "_short" suffix from arm transform file names."

10 years agoInlinging get_next_chkpts macro in vp9_mcomp.c.
Dmitry Kovalev [Mon, 3 Feb 2014 19:05:19 +0000 (11:05 -0800)]
Inlinging get_next_chkpts macro in vp9_mcomp.c.

Change-Id: I38ca35dccfb9051d08b026d75ba2f3a35adb0259

10 years agoMoving MBGRAPH_{MB, FRAME}_STATS structs to vp9_mbgraph.h.
Dmitry Kovalev [Mon, 3 Feb 2014 20:35:06 +0000 (12:35 -0800)]
Moving MBGRAPH_{MB, FRAME}_STATS structs to vp9_mbgraph.h.

Change-Id: I424c79735a7f3bbf6bf9c1391ff53aa78abae624

10 years agoMerge "Optimize bilinear sub-pixel filters in sse2"
Yunqing Wang [Mon, 3 Feb 2014 20:31:34 +0000 (12:31 -0800)]
Merge "Optimize bilinear sub-pixel filters in sse2"

10 years agoMerge "Propgate constants through subexp routines."
Alex Converse [Mon, 3 Feb 2014 20:29:52 +0000 (12:29 -0800)]
Merge "Propgate constants through subexp routines."

10 years agoMerge "Revert "Layer based rate control for CBR mode.""
Marco Paniconi [Mon, 3 Feb 2014 20:28:47 +0000 (12:28 -0800)]
Merge "Revert "Layer based rate control for CBR mode.""

10 years agoRevert "Layer based rate control for CBR mode."
Marco Paniconi [Mon, 3 Feb 2014 20:28:32 +0000 (12:28 -0800)]
Revert "Layer based rate control for CBR mode."

This reverts commit 6be2b750b8968a0b19180a6474864c0b6a41db13

Change-Id: Ic52acd98b37c3ba49d4999b463389eb564f49c4b

10 years agoINLINE and reimplement get_unsigned_bits().
Alex Converse [Mon, 3 Feb 2014 20:12:01 +0000 (12:12 -0800)]
INLINE and reimplement get_unsigned_bits().

The new implementation disagrees when the argument is equal to 2**n but
that is never called in practice and based on how it is used the new
implementation is correct in that case.

Change-Id: Ifbac4ad87d459fe6bd2fd0f400c0340f96617342

10 years agoPropgate constants through subexp routines.
Alex Converse [Mon, 3 Feb 2014 19:14:46 +0000 (11:14 -0800)]
Propgate constants through subexp routines.

This avoids calls to get_unsigned_bits() with constants and
replaces hard to trace loops with simpler structures.

Change-Id: Ic1afc5a17d7df5bcfc85b76efda316b0bf118467

10 years agoMerge "Cleaning up vp9_mcomp.{c, h}."
Dmitry Kovalev [Mon, 3 Feb 2014 18:53:21 +0000 (10:53 -0800)]
Merge "Cleaning up vp9_mcomp.{c, h}."

10 years agoOptimize bilinear sub-pixel filters in sse2
Yunqing Wang [Wed, 29 Jan 2014 23:49:03 +0000 (15:49 -0800)]
Optimize bilinear sub-pixel filters in sse2

Using bilinear filters could speed up the codec in real-time mode.
This patch added sse2 optimizations of bilinear filters that
operate on different-sized blocks.

Tests showed that the real-time encoder was speeded up by 3%.

Change-Id: If99a7ee4385fcc225c3ee7445d962d5752e57c3f

10 years agoLayer based rate control for CBR mode.
Marco Paniconi [Sun, 2 Feb 2014 22:30:43 +0000 (14:30 -0800)]
Layer based rate control for CBR mode.

This patch adds a buffer-based rate control for temporal layers,
under CBR mode.

Added vpx_temporal_scalable_patters.c encoder for testing temporal
layers, for both vp9 and vp8 (replaces the old vp8_scalable_patterns).

Updated datarate unittest with tests for temporal layer rate-targeting.

Change-Id: I9cb6cce2494390ae6096ee17774af7fb9308bde7

10 years agovp9/encoder: fix function prototypes
James Zern [Sat, 1 Feb 2014 04:45:36 +0000 (20:45 -0800)]
vp9/encoder: fix function prototypes

silences warnings about declarations not matching prototype

Change-Id: I30b9a24f78ebe3b9cc2bbfcd3a7363ba7c328e4d

10 years agoMerge "static function convert to inline or global vp9_blockd.h"
Jim Bankoski [Sat, 1 Feb 2014 04:16:37 +0000 (20:16 -0800)]
Merge "static function convert to inline or global vp9_blockd.h"

10 years agoresize_test: use const_iterator where appropriate
James Zern [Sat, 1 Feb 2014 04:11:55 +0000 (20:11 -0800)]
resize_test: use const_iterator where appropriate

Change-Id: I9ebfeb4947e7d7bc8af175730b0b25b2880ee26c

10 years agoresize_test: silence a warning
James Zern [Sat, 1 Feb 2014 04:10:28 +0000 (20:10 -0800)]
resize_test: silence a warning

the timebase of pts is 1/fps, so casting down to unsigned is safe here.

Change-Id: I2e2f9bb68604c3c5539804685e6166beb54fe83e

10 years agoMerge "Set proper rtc interp_filter at block level"
Yaowu Xu [Sat, 1 Feb 2014 03:59:32 +0000 (19:59 -0800)]
Merge "Set proper rtc interp_filter at block level"

10 years agoMerge "Typo & comment corrections"
Adrian Grange [Sat, 1 Feb 2014 03:51:44 +0000 (19:51 -0800)]
Merge "Typo & comment corrections"

10 years agostatic function convert to inline or global vp9_blockd.h
Jim Bankoski [Sat, 1 Feb 2014 01:35:53 +0000 (17:35 -0800)]
static function convert to inline or global vp9_blockd.h

Change-Id: Ifdd951f24932839f06d1c700371662511dde6ebe