Commit Graph

17239 Commits

Author SHA1 Message Date
James Zern
ca502bf018 Merge "vp10_fwd_txfm2d_test: use sizeof(var)" into nextgenv2 2016-08-12 23:01:45 +00:00
James Zern
26777fca7b Merge "vp10/decoder,vp10/*.[hc]: apply clang-format" into nextgenv2 2016-08-12 22:01:48 +00:00
James Zern
245c5a865b vp10_fwd_txfm2d_test: use sizeof(var)
rather than sizeof(type)

Change-Id: I63755e4ca3810bec2d31013bebcc363c5c9f56ed
2016-08-12 14:58:07 -07:00
James Zern
ea74959b7f Merge "test/: apply clang-format" into nextgenv2 2016-08-12 21:57:05 +00:00
James Zern
79fa2f6eba Merge "reconintra_predictors_test: use new[] operator" into nextgenv2 2016-08-12 21:41:32 +00:00
clang-format
3a826f1d3d test/: apply clang-format
Change-Id: I1138fbeff5f63beb5c0de2c357793da12502d453
2016-08-12 12:40:41 -07:00
Yi Luo
4dc5bd7b71 Apply branch prediction on quantize/quantize_skip functions
- On E5-2680, park_joy_1080p, 5 frames, baseline encoding time
  reduces about 0.8~1.0%.
- Credit goes to Erik Niemeyer (erik.a.niemeyer@intel.com).

Change-Id: I69f191d5a4e4b96a5f9ffd8286e484b69d565c01
2016-08-12 12:37:32 -07:00
Yi Luo
712e66dafa reconintra_predictors_test: use new[] operator
fixes mix of malloc & delete[]

Change-Id: I89a1de0614234bf8b3dbe4aacfe71f75f39d08ff
2016-08-12 12:34:23 -07:00
Yi Luo
454fd586b3 Merge "Optimization for HBD filter intra predictors (SSE4.1)" into nextgenv2 2016-08-12 16:20:54 +00:00
clang-format
8a061d421e vp10/decoder,vp10/*.[hc]: apply clang-format
Change-Id: Ie4d7ecb2f692c1c43eff1242e1f00e7fbae00e57
2016-08-11 20:11:16 -07:00
Yi Luo
8e0360a130 Optimization for HBD filter intra predictors (SSE4.1)
- Add unit tests to verify the bit-exact.
- Speed unit test, function improvement: about 8%-23%.
- On E5-2680, park_joy_1080p_12, 25 frames, --kf-max-dist=1
  encoding time improves from <1% to 3.5%

Change-Id: Ic16368885bb253db0200c3a6db143ab1a0b7fc26
2016-08-11 17:34:51 -07:00
James Zern
9c6a7cabd8 Merge "vpx_mem/: apply clang-format" into nextgenv2 2016-08-12 00:18:19 +00:00
Angie Chiang
d2697fce4e Merge "Bitstream debug tool" into nextgenv2 2016-08-11 23:44:08 +00:00
Debargha Mukherjee
c94b635190 Merge "A fix in optimize_b for new-quant" into nextgenv2 2016-08-11 22:09:33 +00:00
clang-format
031d46c941 vpx_mem/: apply clang-format
Change-Id: Ib21077a85ded17823ab62e0b7fdf663ae3dbc05d
2016-08-11 13:02:30 -07:00
Angie Chiang
4de81ee1f1 Bitstream debug tool
This is a debug tool used to detect bitstream error. On encoder side, it pushes
each bit and probability into a queue before the bit is written into the
Arithmetic coder. On decoder side, whenever a bit is read out from the
Arithmetic coder, it pops up the reference bit and probability from the queue as
well. If the two results do not match, this debug tool will report an error.
This tool can be used to pin down the bitstream error precisely. By combining
gdb's backtrace method, we can detect which module causes the bitstream error.

Change-Id: I133a4371fafdd48c488f2ca47f9e395676c401f2
2016-08-11 11:16:04 -07:00
clang-format
05ce850890 vpx_ports/: apply clang-format
Change-Id: I9654530a34a3d0691baeca9d62184cd7b9ac3b4c
2016-08-11 10:52:34 -07:00
Debargha Mukherjee
f4112212da A fix in optimize_b for new-quant
Change-Id: I5a7bd3c2d0c7f6cf714367674f1d75510659b54d
2016-08-11 10:01:54 -07:00
Zoe Liu
cdd4eb0291 Fix a bug in RATE_FACTOR_LEVEL definition for ext-refs
There was a bug in the original set up for RATE_FACTOR_LEVELS, which
results that rate_factor_deltas for GF_ARF_STD is 2.00, instead of the
intentional value of 1.75, whereas for KF_STD is 0.00, instead of the
intentional value of 2.00.

Nevertheless, if simply fixing the bug as in the first patch, the RD
performance unexpectedly dropped by 0.143% in Avg bitrate using
Overall PSNR, especially for following sequences in lowres:

bridge_close_cif: dropped by 1.468%
container_cif: dropped by 2.140%
husky_cif: dropped by 0.826%
motherdaughter_cif: dropped by 0.798%
rasehorses_240p: dropped by 0.805%
students_cif: dropped by 1.411%

This indicates that we should boost up the value for GF_ARF_STD from
1.75 to at least to 2.00. After doing so, while still keeps 2.00 for
KF_STD, the new patch achieves a small gain of 0.15% for the baseline,
and a smaller gain of 0.06% for the experiment of ext-refs. Most
sequences keep the similar RD performance in lowres, except for the
following ones that obtain a bigger gain:

(1) Baseline:
container_cif: 1.628%
students_cif: 1.015%

(2) ext-refs
tennis_sif: 1.248%

Change-Id: I992f8f6a3e20f1b71ec52a1ddc969af4968b78d5
2016-08-11 09:47:46 -07:00
Yaowu Xu
445274d962 Merge "vpx_scale/: apply clang-format" into nextgenv2 2016-08-11 14:33:47 +00:00
clang-format
923d155179 vpx_scale/: apply clang-format
Change-Id: I514654a0704512fb44c7eef5dd045a5767df953a
2016-08-10 23:53:14 -07:00
James Zern
db6a1120a9 Merge "vpx_util/: apply clang-format" into nextgenv2 2016-08-11 04:00:23 +00:00
James Zern
45d1294fdf Merge changes from topic 'clang-format' into nextgenv2
* changes:
  vpx_dsp/: apply clang-format
  vpx/: apply clang-format
  top-level: apply clang-format
  examples: apply clang-format
2016-08-11 03:55:53 +00:00
clang-format
3a992f848a vpx_util/: apply clang-format
Change-Id: I831214d16a5bbfdb86e24dbff8afe4ff4aeebdde
2016-08-10 17:15:04 -07:00
Zoe Liu
4e2d26bd17 Code clean on encoder rate controller
Change-Id: Iec29c00e24ac8c4f24d43142db6ae03f1b3945ac
2016-08-10 15:34:01 -07:00
clang-format
1214cee2f7 vpx_dsp/: apply clang-format
Change-Id: Ia3f96910409be4ae8a4907a2f0dee73b1af8f93d
2016-08-10 12:56:41 -07:00
clang-format
83a5207893 vpx/: apply clang-format
Change-Id: I727b41153cc7929a143e5c370623277558b66e80
2016-08-10 12:42:59 -07:00
clang-format
6c4d83ec9e top-level: apply clang-format
Change-Id: Iac1d97d84518649404e32b136b8fdd840723303c
2016-08-10 12:42:52 -07:00
clang-format
397d964f29 examples: apply clang-format
Change-Id: I06903104bf822819fae39e42fdb6e44d3f9d7787
2016-08-10 12:42:44 -07:00
Urvang Joshi
6dde801818 Palette code: Use built-in qsort() method; create remove_dup() method.
Change-Id: Id816413307334336a9f473540cf9aa0e789ea9e9
2016-08-10 12:10:09 -07:00
Debargha Mukherjee
1da3e129ff Merge "Fix for lossless with rect-tx" into nextgenv2 2016-08-10 19:06:47 +00:00
James Zern
4cfb8309f8 Merge changes I619b365d,I579a9328 into nextgenv2
* changes:
  lossless_test: mark tests as Large
  cpu_speed_test: mark speed 0 as Large
2016-08-10 19:06:16 +00:00
Urvang Joshi
a017c372e5 Merge "Palette code cleanup:" into nextgenv2 2016-08-10 19:05:11 +00:00
Yaowu Xu
d67a8feb93 Change to use proper types
block: from int64_t to int as it is a block index.
sse: from unsigned int to int64_t to reduce type conversion. 

Change-Id: Iec8104ff8a3fd3a77d4e451c12918bd869966c2f
2016-08-10 14:27:12 +00:00
Peter de Rivaz
ffbdc51018 Fix for lossless with rect-tx
Change-Id: Ibb1e5d5137c7717bc6a8683ad78d842c3e5f052e
2016-08-10 12:00:55 +00:00
James Zern
239bb16fef lossless_test: mark tests as Large
Change-Id: I619b365d636737da8b1a322bab3be973de53200d
2016-08-09 20:39:44 -07:00
James Zern
b5818b7722 cpu_speed_test: mark speed 0 as Large
TestTuneScreen / TestScreencastQ0 are the worst offenders

Change-Id: I579a93289aa431afbfea8a280ddcb1011ab1a8cf
2016-08-09 20:32:51 -07:00
Yaowu Xu
c57816fb58 Merge "vp10_highbd_quantize_fp: use const consistently" into nextgenv2 2016-08-10 03:13:42 +00:00
Yaowu Xu
f9efcb345a vp10_highbd_quantize_fp: use const consistently
Remove a few extra ones that are consistent with the definitions, this
fixes some MSVC warnings.

Change-Id: I4b26de4cca71f0ac85667bd641c448b44315941b
2016-08-10 03:13:22 +00:00
James Zern
9df7c2544a Merge "remove SVC" into nextgenv2 2016-08-10 03:07:07 +00:00
James Zern
cc73e1fcd4 remove SVC
spatial/temporal scalability are not supported in VP10 currently.
+ remove the unused vp10/encoder/skin_detection.[hc]

this also enables DatarateTestLarge for VP10 which passes with no
experiments enabled. these were removed previously when only the SVC
tests should have been:
134710a Disable tests not applicable to VP10

Change-Id: I9ee7a0dd5ad3d8cc1e8fd5f0a90260fa43da387c
2016-08-09 18:42:20 -07:00
Sarah Parker
b4d9a2caf3 Merge "Add interface to compute gm parameters in encodeframe" into nextgenv2 2016-08-10 00:37:28 +00:00
James Zern
d44472b646 Merge "remove vp8cx_set_ref.c" into nextgenv2 2016-08-10 00:03:54 +00:00
Sarah Parker
d616a5cee4 Add interface to compute gm parameters in encodeframe
This patch just creates the interface for global motion computation
and calls it from encodeframe. Currently, the function
compute_global_motion_feature_based is empty and the work to do
the actual parameter calculation will be added in a future patch.

Change-Id: Ife142742140079e1c1743b66f180aeb2ecea29ae
2016-08-09 16:00:59 -07:00
Wei-ting Lin
ffdd988427 Merge "Fix a bug for multi_arf_allowed" into nextgenv2 2016-08-09 21:09:57 +00:00
Urvang Joshi
d000020840 Palette code cleanup:
- Avoid some memcpy()s
- Remove indices array
- Make pre_indices array local
- Avoid rounding twice
- Other small simplifications

Change-Id: Iac3236daaad04f21f54054cdd9504de13b942a07
2016-08-09 11:53:34 -07:00
James Zern
2c14c539b3 remove vp8cx_set_ref.c
and the related tests. vpxcx_set_ref is the binary to use for vp10.

Change-Id: I4c4ce7b36b165e6d06b87fd6b53923a1c11e4e6c
2016-08-08 17:14:04 -07:00
James Zern
b869de9856 Merge "configure: test for -Wfloat-conversion" into nextgenv2 2016-08-08 21:48:14 +00:00
Yi Luo
dd2edd0ad5 Merge "Optimization EXT_INTRA's filtered intra predictor (SSE4.1)" into nextgenv2 2016-08-08 20:55:44 +00:00
Sarah Parker
b659281eec Add reconstruction using gm parameters
This patch only includes inter frame reconstruction using gm
parameters when GLOBAL_MOTION and/or VP9_HIGHBITDEPTH are enabled.
GM is not currently used when EXT_INTER or DUAL_FILTER is enabled.
This will be added in a followup patch. For now, these experiments
will take precedence over GLOBAL_MOTION when they are all enabled.

Change-Id: I930ddda529c44d7245dbb56db3c9c5524cf45473
2016-08-08 10:17:05 -07:00