Deb Mukherjee
40e63d4b51
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
2014-02-05 11:22:15 -08:00
James Zern
303c17ea29
Merge "libmkv: Use uint64_t instead of UInt64."
2014-02-04 20:31:07 -08:00
James Zern
be34c188a1
Merge "vp9_systemdependent.h: relocate system includes"
2014-02-04 18:58:20 -08:00
James Zern
d89f861f4b
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
2014-02-04 18:28:45 -08:00
Yaowu Xu
0dc535ecbb
Merge "Adjust speed feature for --rt"
2014-02-04 18:20:57 -08:00
Dmitry Kovalev
0c7e1a950c
Merge "Removing DBG_PRNT_SEGMAP."
2014-02-04 17:52:16 -08:00
James Zern
fafd7d9ec1
Merge "libmkv: constify codec_id."
2014-02-04 17:14:11 -08:00
Dmitry Kovalev
8d7cd8e75c
Merge "Removing unused estimate_cq() function."
2014-02-04 16:57:57 -08:00
Dmitry Kovalev
96cabf8de1
Merge "Moving MBGRAPH_{MB, FRAME}_STATS structs to vp9_mbgraph.h."
2014-02-04 16:53:55 -08:00
Dmitry Kovalev
041104a965
Merge "Renaming vp9_variance_c.c to vp9_variance.c."
2014-02-04 16:53:27 -08:00
Dmitry Kovalev
fce6a6a346
Merge "Replacing int_mv with MV."
2014-02-04 16:53:14 -08:00
Dmitry Kovalev
4cbe8ec765
Merge "Inlinging get_next_chkpts macro in vp9_mcomp.c."
2014-02-04 16:52:47 -08:00
Dmitry Kovalev
2b3b29332a
Merge "Removing SECTIONBITS_OUTPUT."
2014-02-04 16:52:12 -08:00
Ralph Giles
e5643437c5
libmkv: Use uint64_t instead of UInt64.
...
The rest of the code uses stdint types and this makes porting
easier.
Change-Id: Ie2f565f6a919199f0145b6aea97bb7588548e97d
2014-02-04 16:39:27 -08:00
Ralph Giles
f3bd5d82e5
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
2014-02-04 16:39:27 -08:00
Dmitry Kovalev
b9fea167f9
Removing DBG_PRNT_SEGMAP.
...
Change-Id: I71d85e3455545960938e525ae8aa0a667e1db94c
2014-02-04 16:33:03 -08:00
Johann
ec285c48d9
Merge "Ignore missing newline message"
2014-02-04 15:56:17 -08:00
Johann
f498d92ff4
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
2014-02-04 15:24:02 -08:00
Dmitry Kovalev
c31cf0d647
Merge "Moving x1 & y1 calculation under if condition."
2014-02-04 14:50:25 -08:00
hkuang
948fe9338e
Merge "With on demand border extension, clamping the MV is not longer needed."
2014-02-04 14:50:20 -08:00
Dmitry Kovalev
9d6d35c5ef
Renaming vp9_variance_c.c to vp9_variance.c.
...
Change-Id: I7b29cb18ad36d79e1c6329c7de88496059f49db4
2014-02-04 14:49:43 -08:00
hkuang
b0fec6ab4a
With on demand border extension, clamping the MV
...
is not longer needed.
Change-Id: I40c37ef18c67ab27fc336694dfca3c43a87c47ca
2014-02-04 13:57:40 -08:00
Dmitry Kovalev
e829487371
Removing unused estimate_cq() function.
...
Change-Id: If3a1af1a54f3a3c0d9c966fdc0721981070c7f28
2014-02-04 13:11:25 -08:00
Deb Mukherjee
71faaa5b58
Merge "One-pass rate control fixes and cleanups"
2014-02-04 11:12:10 -08:00
Adrian Grange
b0246882b8
Merge "Remove duplicated code"
2014-02-04 10:59:57 -08:00
Deb Mukherjee
35ee7f5f4b
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
2014-02-04 10:51:27 -08:00
Adrian Grange
ee5cf3794e
Remove duplicated code
...
Change-Id: I1b7c8165162e835e22cf164cce989c0cebd7ca95
2014-02-04 10:01:04 -08:00
James Zern
2b7338aca4
Merge "vp9_filter.h: rename interp_kernel type"
2014-02-03 23:12:28 -08:00
James Zern
0669cd57c3
Merge "vp9/encoder: fix function prototypes"
2014-02-03 23:09:26 -08:00
James Zern
0a0c2930c6
Merge changes I9ebfeb49,I2e2f9bb6
...
* changes:
resize_test: use const_iterator where appropriate
resize_test: silence a warning
2014-02-03 23:08:53 -08:00
James Zern
ac94505ed7
Merge changes Ic362b088,I1c65c2aa
...
* changes:
vpxenc: find_mismatch/compare_img: normalize types
vpxenc: cosmetics
2014-02-03 23:07:35 -08:00
Yaowu Xu
084c49ac79
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
2014-02-03 18:13:25 -08:00
Dmitry Kovalev
5daaff527e
Moving x1 & y1 calculation under if condition.
...
Change-Id: Iae787d491f7cfe24855ef8f2d04e2c6c19350378
2014-02-03 18:03:17 -08:00
Dmitry Kovalev
9fca1ce9c3
Replacing int_mv with MV.
...
Change-Id: I36b8b419be92171857e77a881da066424ff47af5
2014-02-03 17:30:59 -08:00
Dmitry Kovalev
3ffb204360
Merge "Removing ENC_DEBUG."
2014-02-03 17:11:52 -08:00
Yongzhe Wang
469b530fa3
Merge "Build fix with config internal stats"
2014-02-03 17:10:23 -08:00
James Zern
cca4276dac
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
2014-02-03 16:48:38 -08:00
Alex Converse
be1b41673f
Merge "INLINE and reimplement get_unsigned_bits()."
2014-02-03 16:26:33 -08:00
Yongzhe Wang
513faceaed
Build fix with config internal stats
...
Fixes a build issue when internal stats is enabled
Change-Id: I822cc60274e34b5f29ccbaa1f986fb9da6a8de4b
2014-02-03 14:35:48 -08:00
Dmitry Kovalev
282f36adc4
Merge "Removing "_short" suffix from arm transform file names."
2014-02-03 14:28:47 -08:00
Dmitry Kovalev
ae1c298733
Inlinging get_next_chkpts macro in vp9_mcomp.c.
...
Change-Id: I38ca35dccfb9051d08b026d75ba2f3a35adb0259
2014-02-03 14:26:36 -08:00
Dmitry Kovalev
a2baab8b85
Moving MBGRAPH_{MB, FRAME}_STATS structs to vp9_mbgraph.h.
...
Change-Id: I424c79735a7f3bbf6bf9c1391ff53aa78abae624
2014-02-03 12:35:06 -08:00
Yunqing Wang
cabfd505a4
Merge "Optimize bilinear sub-pixel filters in sse2"
2014-02-03 12:31:34 -08:00
Alex Converse
5470e0cfda
Merge "Propgate constants through subexp routines."
2014-02-03 12:29:52 -08:00
Marco Paniconi
5437474c54
Merge "Revert "Layer based rate control for CBR mode.""
2014-02-03 12:28:47 -08:00
Marco Paniconi
7ec838edc4
Revert "Layer based rate control for CBR mode."
...
This reverts commit 6be2b750b8
Change-Id: Ic52acd98b37c3ba49d4999b463389eb564f49c4b
2014-02-03 12:28:32 -08:00
Alex Converse
ffd3d4834b
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
2014-02-03 12:16:22 -08:00
Alex Converse
41d3c989fd
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
2014-02-03 11:55:46 -08:00
Dmitry Kovalev
f7c17b89f0
Merge "Cleaning up vp9_mcomp.{c, h}."
2014-02-03 10:53:21 -08:00
Yunqing Wang
2488cb34bc
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
2014-02-03 10:34:45 -08:00