Yunqing Wang [Fri, 7 Feb 2014 22:27:07 +0000 (14:27 -0800)]
Bug fix in ssse3 quantize function
A bug was reported in Issue 702: "SIGILL (Illegal instruction) when
transcoding with vp9 - using FFmpeg". It was reproduced and fixed.
Change-Id: Ie32c149a89af02856084aeaf289e848a905c7700
Dmitry Kovalev [Thu, 6 Feb 2014 22:20:58 +0000 (14:20 -0800)]
Converting vpx_temporal_scalable_patterns to use VpxVideoWriter.
Change-Id: I69e868295b9798ba1599a411926de0891680032f
Dmitry Kovalev [Fri, 7 Feb 2014 19:05:25 +0000 (11:05 -0800)]
Merge "Moving twopass_rc and FIRSTPASS_STATS to vp9_firstpass.h."
Tom Finegan [Fri, 7 Feb 2014 00:32:09 +0000 (16:32 -0800)]
vp8/encoder: Silence MSVC warnings in firstpass.c.
Added some casts to int to silence MSVC warnings.
Change-Id: I72481ec2abd12110cf87a3d0da7a1cbe9ef2f47c
Dmitry Kovalev [Thu, 6 Feb 2014 22:45:15 +0000 (14:45 -0800)]
Merge "Fixing c++ compiler errors in svc_encodeframe.c."
Deb Mukherjee [Thu, 6 Feb 2014 22:31:54 +0000 (14:31 -0800)]
Merge "Parameter fixes for one-pass non-cbr mode"
Dmitry Kovalev [Thu, 6 Feb 2014 21:49:58 +0000 (13:49 -0800)]
Fixing c++ compiler errors in svc_encodeframe.c.
Change-Id: I242035d433f6d4027252cb8aa7d938c4170a2d65
Deb Mukherjee [Thu, 6 Feb 2014 00:19:11 +0000 (16:19 -0800)]
Parameter fixes for one-pass non-cbr mode
Fixes some of the parameters for 1-pass non-cbr mode.
Also includes some cleanups, inlcuding refactoring of the
recode_loop options.
Results on derfraw300 improve by about 5-6%, so that the one-pass
mode is now 13% below the 2-pass mode in speed 0.
Change-Id: I844cc2638694c7574f3be00d41d60b23dc1016f0
Adrian Grange [Thu, 6 Feb 2014 21:40:42 +0000 (13:40 -0800)]
Merge "Remove out of date comment."
Dmitry Kovalev [Thu, 6 Feb 2014 20:52:32 +0000 (12:52 -0800)]
Merge "Adding video reader/writer APIs."
Dmitry Kovalev [Thu, 6 Feb 2014 20:50:16 +0000 (12:50 -0800)]
Merge "Using vpx_codec_err_t instead of int."
Dmitry Kovalev [Thu, 6 Feb 2014 19:54:15 +0000 (11:54 -0800)]
Finally removing "short" from transform names.
Change-Id: I5259b68dc1bcceb153e3ffe638a79a59a3019e9d
Dmitry Kovalev [Thu, 6 Feb 2014 19:25:57 +0000 (11:25 -0800)]
Using vpx_codec_err_t instead of int.
This fixes errors generated by c++ compiler.
Change-Id: I0f792371790b5e6462b77c8d7fabab0db30b11eb
Dmitry Kovalev [Thu, 6 Feb 2014 19:06:00 +0000 (11:06 -0800)]
Merge "Adding is_mv_in() function."
Marco Paniconi [Thu, 6 Feb 2014 17:23:17 +0000 (09:23 -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: I8900a854288b9354d9c697cfeb0243a9fd6790b1
James Zern [Thu, 6 Feb 2014 07:01:52 +0000 (23:01 -0800)]
Merge "vp8_set_maps.c: silence some type warnings"
Ralph Giles [Mon, 3 Feb 2014 19:42:45 +0000 (11:42 -0800)]
libmkv: fix Makefile.
Update the local makefile to build all the files and the test
application by default to simplify build verification.
Change-Id: Ic10141ea14c85110ff7507447d16297b77d296e9
Dmitry Kovalev [Thu, 6 Feb 2014 02:34:46 +0000 (18:34 -0800)]
Adding video reader/writer APIs.
Right now only IVF format is supported which is enough for example code.
Other formats like y4m, webm, raw yuv will be supported later.
Change-Id: I34c6f20731c1851947587ca5c589d7856b675164
James Zern [Thu, 6 Feb 2014 03:33:39 +0000 (19:33 -0800)]
vp8_set_maps.c: silence some type warnings
Change-Id: I371863fc68f4984a223a684f9e89b25e9991e1e7
James Zern [Thu, 6 Feb 2014 03:08:56 +0000 (19:08 -0800)]
Merge "vp8_scalable_patterns: silence a few warnings"
James Zern [Thu, 6 Feb 2014 02:51:40 +0000 (18:51 -0800)]
Merge "examples.mk: build examples/*.c directly"
James Zern [Thu, 6 Feb 2014 02:47:24 +0000 (18:47 -0800)]
Merge "configure: use -Werror when testing CXX flags w/clang"
James Zern [Thu, 6 Feb 2014 02:45:51 +0000 (18:45 -0800)]
Merge "update .gitignore"
Dmitry Kovalev [Thu, 6 Feb 2014 02:39:08 +0000 (18:39 -0800)]
Merge "Removing redundant is_inter_mode() call."
Dmitry Kovalev [Thu, 6 Feb 2014 02:38:38 +0000 (18:38 -0800)]
Merge "Cleaning up vp9_get_pred_context_single_ref_p1()."
Dmitry Kovalev [Thu, 6 Feb 2014 02:37:49 +0000 (18:37 -0800)]
Merge "Removing "_1d" suffix from mips transform code."
Dmitry Kovalev [Thu, 6 Feb 2014 02:37:20 +0000 (18:37 -0800)]
Merge "Renaming vp9_sad_c.c to vp9_sad.c."
Dmitry Kovalev [Thu, 6 Feb 2014 02:28:28 +0000 (18:28 -0800)]
Moving twopass_rc and FIRSTPASS_STATS to vp9_firstpass.h.
Change-Id: I5c942ee1a04eb0d7f2ae7ba8ea8ce47e666550c5
Dmitry Kovalev [Thu, 6 Feb 2014 02:03:56 +0000 (18:03 -0800)]
Merge "Cleaning up encode_frame_to_data_rate()."
Dmitry Kovalev [Thu, 6 Feb 2014 01:36:18 +0000 (17:36 -0800)]
Merge "Cleaning up recode_loop_test()."
Dmitry Kovalev [Thu, 6 Feb 2014 01:35:56 +0000 (17:35 -0800)]
Merge "Cleaning up vp9_firstpass.c."
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
Yunqing Wang [Thu, 6 Feb 2014 01:20:52 +0000 (17:20 -0800)]
Merge "Optimize bilinear sub-pixel filters in ssse3"
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
Dmitry Kovalev [Wed, 5 Feb 2014 23:53:00 +0000 (15:53 -0800)]
Merge "Clamping active_{best, worst}_quality values."
Dmitry Kovalev [Wed, 5 Feb 2014 23:46:11 +0000 (15:46 -0800)]
Cleaning up recode_loop_test().
Change-Id: Iaa6d01221a1f82ce9b500c85e186ab53b92aae9a
Adrian Grange [Wed, 5 Feb 2014 23:37:24 +0000 (15:37 -0800)]
Remove out of date comment.
Change-Id: I8c993cf0881cd77c34a4efe7ba1d067cd28c6105
Dmitry Kovalev [Wed, 5 Feb 2014 23:35:37 +0000 (15:35 -0800)]
Cleaning up encode_frame_to_data_rate().
Change-Id: Ib76a31e68aef5cb9eeba57dc58d9c30c9c98ed95
James Zern [Wed, 5 Feb 2014 23:15:38 +0000 (15:15 -0800)]
Merge "vpxdec: normalize frame size types"
Dmitry Kovalev [Wed, 5 Feb 2014 23:11:12 +0000 (15:11 -0800)]
Cleaning up vp9_firstpass.c.
Change-Id: I111d6d1ea5ee641780abc096341369a37627aaae
Dmitry Kovalev [Wed, 5 Feb 2014 22:44:12 +0000 (14:44 -0800)]
Merge "Removing unused SPEEDSTATS."
Adrian Grange [Wed, 5 Feb 2014 21:01:03 +0000 (13:01 -0800)]
Merge "Remove delete_first_pass_file."
James Zern [Wed, 5 Feb 2014 19:55:35 +0000 (11:55 -0800)]
Merge "gen_msvs_proj: add trailing \ to IntDir"
Deb Mukherjee [Wed, 5 Feb 2014 19:50:18 +0000 (11:50 -0800)]
Merge "One-pass rate control cleanups/fixes/refactoring"
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
Dmitry Kovalev [Wed, 5 Feb 2014 19:37:17 +0000 (11:37 -0800)]
Merge "Cleaning up vp9_get_pred_context_single_ref_p2()."
Adrian Grange [Wed, 5 Feb 2014 19:31:44 +0000 (11:31 -0800)]
Remove delete_first_pass_file.
Change-Id: If46d93fb1c26e4629af1f492bfad7a82b4c4f778
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
Dmitry Kovalev [Wed, 5 Feb 2014 19:23:13 +0000 (11:23 -0800)]
Removing unused SPEEDSTATS.
Change-Id: Ia41007206ce437852dd1b532ee8e233d889e0040
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
Johann [Wed, 5 Feb 2014 19:14:25 +0000 (11:14 -0800)]
Merge "arm: Consistently use braces around doubleword arguments to vld"
Johann [Wed, 5 Feb 2014 19:14:20 +0000 (11:14 -0800)]
Merge "arm: Use {} around quadword arguments to vld"
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
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
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
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
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
James Zern [Wed, 5 Feb 2014 05:11:40 +0000 (21:11 -0800)]
vp8_scalable_patterns: silence a few warnings
Change-Id: Ibc5db33b57d9ae390202b431c289ab5934fe19b2
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
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
James Zern [Wed, 5 Feb 2014 04:31:07 +0000 (20:31 -0800)]
Merge "libmkv: Use uint64_t instead of UInt64."
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
James Zern [Wed, 5 Feb 2014 02:58:20 +0000 (18:58 -0800)]
Merge "vp9_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
Yaowu Xu [Wed, 5 Feb 2014 02:20:57 +0000 (18:20 -0800)]
Merge "Adjust speed feature for --rt"
Dmitry Kovalev [Wed, 5 Feb 2014 01:52:16 +0000 (17:52 -0800)]
Merge "Removing DBG_PRNT_SEGMAP."
James Zern [Wed, 5 Feb 2014 01:14:11 +0000 (17:14 -0800)]
Merge "libmkv: constify codec_id."
Dmitry Kovalev [Tue, 4 Feb 2014 23:47:53 +0000 (15:47 -0800)]
Adding is_mv_in() function.
Change-Id: I9bdb18c5cde386d3caaa2c2846649cfbda609927
Dmitry Kovalev [Wed, 5 Feb 2014 00:57:57 +0000 (16:57 -0800)]
Merge "Removing unused estimate_cq() function."
Dmitry Kovalev [Wed, 5 Feb 2014 00:53:55 +0000 (16:53 -0800)]
Merge "Moving MBGRAPH_{MB, FRAME}_STATS structs to vp9_mbgraph.h."
Dmitry Kovalev [Wed, 5 Feb 2014 00:53:27 +0000 (16:53 -0800)]
Merge "Renaming vp9_variance_c.c to vp9_variance.c."
Dmitry Kovalev [Wed, 5 Feb 2014 00:53:14 +0000 (16:53 -0800)]
Merge "Replacing int_mv with MV."
Dmitry Kovalev [Wed, 5 Feb 2014 00:52:47 +0000 (16:52 -0800)]
Merge "Inlinging get_next_chkpts macro in vp9_mcomp.c."
Dmitry Kovalev [Wed, 5 Feb 2014 00:52:12 +0000 (16:52 -0800)]
Merge "Removing SECTIONBITS_OUTPUT."
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
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
Dmitry Kovalev [Wed, 29 Jan 2014 22:10:38 +0000 (14:10 -0800)]
Removing DBG_PRNT_SEGMAP.
Change-Id: I71d85e3455545960938e525ae8aa0a667e1db94c
Johann [Tue, 4 Feb 2014 23:56:17 +0000 (15:56 -0800)]
Merge "Ignore 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
Dmitry Kovalev [Tue, 4 Feb 2014 22:50:25 +0000 (14:50 -0800)]
Merge "Moving x1 & y1 calculation under if condition."
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."
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
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
Dmitry Kovalev [Tue, 4 Feb 2014 02:13:15 +0000 (18:13 -0800)]
Removing unused estimate_cq() function.
Change-Id: If3a1af1a54f3a3c0d9c966fdc0721981070c7f28
Deb Mukherjee [Tue, 4 Feb 2014 19:12:10 +0000 (11:12 -0800)]
Merge "One-pass rate control fixes and cleanups"
Adrian Grange [Tue, 4 Feb 2014 18:59:57 +0000 (10:59 -0800)]
Merge "Remove duplicated code"
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
Adrian Grange [Tue, 4 Feb 2014 18:01:04 +0000 (10:01 -0800)]
Remove duplicated code
Change-Id: I1b7c8165162e835e22cf164cce989c0cebd7ca95
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
James Zern [Tue, 4 Feb 2014 07:12:28 +0000 (23:12 -0800)]
Merge "vp9_filter.h: rename interp_kernel type"
James Zern [Tue, 4 Feb 2014 07:09:26 +0000 (23:09 -0800)]
Merge "vp9/encoder: fix function prototypes"
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
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
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
Dmitry Kovalev [Tue, 4 Feb 2014 02:03:17 +0000 (18:03 -0800)]
Moving x1 & y1 calculation under if condition.
Change-Id: Iae787d491f7cfe24855ef8f2d04e2c6c19350378
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
Dmitry Kovalev [Tue, 4 Feb 2014 01:30:59 +0000 (17:30 -0800)]
Replacing int_mv with MV.
Change-Id: I36b8b419be92171857e77a881da066424ff47af5
Dmitry Kovalev [Tue, 4 Feb 2014 01:11:52 +0000 (17:11 -0800)]
Merge "Removing ENC_DEBUG."
Yongzhe Wang [Tue, 4 Feb 2014 01:10:23 +0000 (17:10 -0800)]
Merge "Build fix with config internal stats"
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