James Zern
3a6a81fc9a
Merge changes I9433d858,Iafd05637,If08ce6ca
...
* changes:
tests: remove redundant round() definition
remove visual studio < 2010 workarounds
configure: remove old visual studio support (<2010)
2016-06-29 23:07:16 +00:00
Yaowu Xu
b458f42966
Merge "Remove effectless initialization"
2016-06-29 22:51:14 +00:00
James Zern
0a64929f19
tests: remove redundant round() definition
...
use vpx_ports/msvc.h for compatibility
BUG=b/29583530
Change-Id: I9433d8586cd0b790e7f4d697304298feafe801f1
2016-06-29 14:57:47 -07:00
Yaowu Xu
c02a4beed8
Merge "Prevent negative variance"
2016-06-29 20:53:37 +00:00
Yaowu Xu
63a37d16f3
Prevent negative variance
...
Due to rounding, hbd variance may become negative. This commit put in
check and clamp of negative values to 0.
Change-Id: I610d9c8aa2d4eebe7bc5f2c5624a9e3cadad4c94
2016-06-29 11:08:17 -07:00
James Bankoski
f14c323b4c
Merge "libyuv: update to b8ddb5a2"
2016-06-29 17:58:40 +00:00
Jim Bankoski
b8f83282f8
libyuv: update to b8ddb5a2
...
Fixes color issue when scaling without breaking mingw.
BUG=https://bugs.chromium.org/p/libyuv/issues/detail?id=605
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1252
Change-Id: I3920c5664def7ae7a23f60fb160d26d23bc86a27
2016-06-29 17:53:14 +00:00
Scott LaVarnway
74bb78df82
Merge "VP9: handle_inter_mode()... Use interp_filter"
2016-06-29 11:41:52 +00:00
James Zern
c125f4a594
remove visual studio < 2010 workarounds
...
BUG=b/29583530
Change-Id: Iafd05637eb65f4da54a9c857e79204a77646858a
2016-06-28 20:58:49 -07:00
James Zern
078dff72ca
configure: remove old visual studio support (<2010)
...
BUG=b/29583530
Change-Id: If08ce6ca352f377ac4db6b9b1909b507bba6d872
2016-06-28 20:40:22 -07:00
Scott LaVarnway
feb7e9a372
VP9: handle_inter_mode()... Use interp_filter
...
only if above/left is inter.
Change-Id: I0cc1f926425c021c84536df8271e9ee5f3f87caf
2016-06-28 14:09:59 -07:00
Jacky Chen
d004c64013
Merge "vp9: Increase thr_var for 32x32 blocks in var-based partitioning."
2016-06-28 20:54:06 +00:00
Jacky Chen
4736e5f9d1
Merge "vp9: Move chroma sensitivity check out from choose_partitioning."
2016-06-28 20:53:23 +00:00
Yaowu Xu
43ae6c1e22
Remove effectless initialization
...
Change-Id: Iec117841a7ecf6f99d2b718057d8646e221c5c64
2016-06-28 12:28:45 -07:00
James Zern
0afe5e405d
Merge "*.asm: normalize label format"
2016-06-28 19:22:10 +00:00
jackychen
91038e0eb6
vp9: Move chroma sensitivity check out from choose_partitioning.
...
Change-Id: Ie78185a30cac4d1841be3708bd23e6505d3733b6
2016-06-28 09:58:51 -07:00
Yaowu Xu
b2d690187e
Merge "psnr.c: use int64_t for sum of differences"
2016-06-28 16:55:44 +00:00
Yaowu Xu
d34b49d7b9
psnr.c: use int64_t for sum of differences
...
Since the values can be negative.
Change-Id: Idda69e9fb47bb34696aeb20170341a0191c5d85e
2016-06-28 09:53:11 -07:00
Parag Salasakar
10b4753179
Merge "mips added p6600 cpu support"
2016-06-28 08:45:01 +00:00
James Zern
f51f67602e
*.asm: normalize label format
...
add a trailing ':', though it's optional with the tools we support, it's
more common to use it to mark a label. this also quiets the
orphan-labels warning with nasm/yasm.
BUG=b/29583530
Change-Id: I46e95255e12026dd542d9838e2dd3fbddf7b56e2
2016-06-27 19:46:57 -07:00
James Bankoski
32ac7cabdf
Merge "Revert "libyuv: update to 1b3e4aee47""
2016-06-27 22:59:11 +00:00
James Bankoski
7f2628152a
Revert "libyuv: update to 1b3e4aee47"
...
This reverts commit 0c6caf187c59e5d6bdabd8596c1910c6866da7aa.
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1252
Fails mingw_64 builds.
Change-Id: I83e7204bf1be48b499dc32b2597693b95ec49d06
2016-06-27 22:29:52 +00:00
jackychen
8cbd4f8701
vp9: Increase thr_var for 32x32 blocks in var-based partitioning.
...
For real-time mode, increase variance threshold for 32x32 blocks in
var-based partitioning for resolution >= 720p, so that it is more
likely to stay at 32x32 for high resolution which accelerates the
encoding speed with little/no PSNR drop.
PSNR effect on different speed settings:
speed 8 rtc: 0.02 overall PSNR drop, 0.285% SSIM drop
speed 7 rtc: 0.196% overall PSNR increase, 0.066% SSIM increase
speed 5 rtc_derf: no effect.
Speed up:
gips_motion_WHD, 1mbps: 2.5% faster on speed 7, 2.6% faster on speed8
gips_stat_WHD, 1mbps: 4.6% faster on speed 7, 5.6% faster on speed8
Change-Id: Ie7c33c4d2dd7d09294917e031357fc5476c3a4bb
2016-06-27 14:44:27 -07:00
James Bankoski
71aacf39c7
Merge "libyuv: update to 1b3e4aee47"
2016-06-27 19:32:50 +00:00
Yaowu Xu
7676defca9
Merge "Port metric computation changes from nextgenv2"
2016-06-27 19:18:00 +00:00
Parag Salasakar
7c184c6e1f
mips added p6600 cpu support
...
Removed -funroll-loops
Change-Id: I6684bcac62902c10f945a6dcc4ed803203fcd829
2016-06-27 13:02:55 +05:30
Yaowu Xu
b9ec759bc2
Fix ubsan warnings: vp9/encoder/vp9_pickmode.c
...
This commit fixes a number of integer out of range issue in HBD build.
BUG=webm:1219
Change-Id: Ib4192dc74a500e1b86c37a399114c7f6d4ed5185
2016-06-27 05:53:46 +00:00
James Zern
913081ab02
Merge "s/UINT32_MAX/UINT_MAX/"
2016-06-25 21:09:55 +00:00
James Zern
ca88d22f39
s/UINT32_MAX/UINT_MAX/
...
provides better toolchain compatibility
Change-Id: I8561a6de668a68ff54fe3886a4ee6300f0ae9c04
2016-06-25 12:15:51 -07:00
James Zern
1c0a9f36f1
vp9_pickmode: revert rd modeling change for hbd
...
Avoids a segfault in high-bitdepth builds.
This restores the condition to its state prior to:
7991241 vp9: Change the scheme for modeling rd for bsize 32x32.
BUG=webm:1250
Change-Id: I6183d5b34cb89dfbf27b7bb589812148a72cd7de
2016-06-25 11:40:26 -07:00
James Zern
cfd5e0221c
Revert "Update vpx subpixel 1d filter ssse3 asm"
...
This reverts commit 1517fb74fd40eaab67246e8fb81d5c321bb33b06.
Fixes a segfault in windows x64 builds.
Change-Id: I6a6959cd7e64a28376849a9f2b11fc852a7c1fbe
2016-06-25 11:37:20 -07:00
Jacky Chen
168eea5d60
Merge "vp9: Change the scheme for modeling rd for bsize 32x32."
2016-06-25 00:43:40 +00:00
James Zern
922751e059
Merge "datarate_test,DatarateTestLarge: normalize bits type"
2016-06-25 00:36:05 +00:00
Jacky Chen
723e357ead
Merge "vp9: Code clean, move low temp var logic out of choose_partitioning."
2016-06-24 22:00:49 +00:00
Jim Bankoski
0c6caf187c
libyuv: update to 1b3e4aee47
...
Color issue when scaling. https://codereview.chromium.org/2084533006/
Change-Id: I84d74346f754c02a5b770b87b6e0b6885d03bb20
2016-06-24 21:57:48 +00:00
James Zern
b34705f64f
Merge "cosmetics: Beautify whitespaces and line wrapping"
2016-06-24 21:51:01 +00:00
James Zern
efad6feb9a
Merge "cosmetics: Change few types to their posix version"
2016-06-24 21:50:45 +00:00
James Zern
9e5f355daf
Merge "cosmetics: Make few conditions clearer"
2016-06-24 21:50:32 +00:00
Yaowu Xu
003a9d20ad
Port metric computation changes from nextgenv2
...
Change-Id: I4aceffcdf7af59ffeb51984f0345c3a4c7e76a9f
2016-06-24 13:52:50 -07:00
jackychen
dd07443f72
vp9: Code clean, move low temp var logic out of choose_partitioning.
...
Change-Id: I7093e74131e0964471c9993c1e972b4617c4731d
2016-06-24 13:38:22 -07:00
jackychen
7991241a50
vp9: Change the scheme for modeling rd for bsize 32x32.
...
For real-time CBR mode, use model_rd_for_sb_y_large instead of
model_rd_for_sb_y for 32x32 block. In the former model, transform
might be skipped more aggressively in some condtions, which speeds
up encoding time with only a little PSNR/SSIM drop on rtc test set.
No obvious visual quality regression.
PSNR effect on different speed settings:
speed 8 rtc: 0.129% overall PSNR drop, 0.137% SSIM drop
speed 7 rtc: 0.135% overall PSNR drop, 0.062% SSIM drop
speed 5 rtc_derf: 0.105% overall PSNR drop, 0.095% SSIM drop
Speed up:
gips_motion_WHD, 1mbps: 3.29% faster on speed 7, 2.56% faster on speed8
gips_stat_WHD, 1mbps: 2.17% faster on speed 7, 1.62% faster on speed8
BUG=webm:1250
Change-Id: I818babce5b8549b4b1a7c3978df8591bffde7173
2016-06-24 12:09:13 -07:00
Marco
b582cf0ea9
vp9-svc: Remove some unneeded code/comment.
...
Change-Id: I710707296042d8586109760544ef68e40ae486c3
2016-06-24 11:43:11 -07:00
Yury Gitman
67611119b5
cosmetics: Beautify whitespaces and line wrapping
...
Change-Id: I9afa02cae671bd3527cf344695e53d0cc767f549
2016-06-24 10:18:06 -07:00
Yury Gitman
3b2e2f2f77
cosmetics: Change few types to their posix version
...
Change-Id: I6d7bc9ed7396e7b0d63ee97bfa473fdea002f9ee
2016-06-24 10:18:06 -07:00
Yury Gitman
79436fadfb
cosmetics: Make few conditions clearer
...
Change-Id: Ib024b3e42efc7ce1af56824a4644fdefcd45b215
2016-06-24 10:17:51 -07:00
Yaowu Xu
7ed1d54ab4
Merge "Revert "vp9: Change the scheme for modeling rd for bsize 32x32.""
2016-06-24 16:05:55 +00:00
Yaowu Xu
26daa30da4
Merge "Rationalize type to avoid integer out of range"
2016-06-24 13:58:36 +00:00
Yaowu Xu
7738bcb350
Rationalize type to avoid integer out of range
...
BUG=webm:1250
Change-Id: Id5bb2762ca1bf996ba4f9a60eec977a7994c1d94
2016-06-24 13:58:02 +00:00
James Zern
73b11ec876
datarate_test,DatarateTestLarge: normalize bits type
...
quiets a msvc warning:
conversion from 'const int64_t' to 'size_t', possible loss of data
Change-Id: I90a2ac6b040454dac7434fc9b63b98c42ea127b1
2016-06-23 23:29:26 -07:00
James Zern
d4596485be
Revert "vp9: Change the scheme for modeling rd for bsize 32x32."
...
This reverts commit 5c29ee726e622baf6f950dfe980df0d4c116c1a8.
Causes segfaults in VP9/EndToEndTestLarge.EndtoEndPSNRTest.
BUG=webm:1250
Change-Id: I8a30e97be30589abdb76820b5c3c37c46cd6cafb
2016-06-23 15:59:25 -07:00