platform/upstream/libvpx.git
7 years agoMerge changes from topic 'clang-tidy'
James Zern [Mon, 8 Aug 2016 20:12:42 +0000 (20:12 +0000)]
Merge changes from topic 'clang-tidy'

* changes:
  *_perf_test.cc: correct DoDecode signature
  test: apply clang-tidy google-readability-braces-around-statements

7 years agoMerge "Fix a motion vector out of range bug"
Yunqing Wang [Mon, 8 Aug 2016 17:59:47 +0000 (17:59 +0000)]
Merge "Fix a motion vector out of range bug"

7 years ago*_perf_test.cc: correct DoDecode signature
James Zern [Sat, 6 Aug 2016 03:21:02 +0000 (20:21 -0700)]
*_perf_test.cc: correct DoDecode signature

+ delete unused kMaxPsnr from decode_perf_test.cc

Change-Id: Id93347631e7870491069a8b7c5bb1f6b2828425f

7 years agotest: apply clang-tidy google-readability-braces-around-statements
clang-format [Fri, 5 Aug 2016 02:28:34 +0000 (19:28 -0700)]
test: apply clang-tidy google-readability-braces-around-statements

applied against a x86_64 configure with and without
--enable-vp9-highbitdepth

clang-tidy-3.7.1 \
  -checks='-*,google-readability-braces-around-statements' \
  -header-filter='.*' -fix
+ clang-format afterward

Change-Id: Ia2993ec64cf1eb3505d3bfb39068d9e44cfbce8d

7 years agoRemove duplicates in Loop8Test6Param and Loop8Test9Param
Linfeng Zhang [Thu, 4 Aug 2016 20:22:39 +0000 (13:22 -0700)]
Remove duplicates in Loop8Test6Param and Loop8Test9Param

Extract the duplicated data generation code in OperationCheck() of
Loop8Test6Param and Loop8Test9Param, and put in function InitInput().

Change-Id: Ied39ba4ee86b50501cc5d10ebf54f5333c4708f0

7 years agoMerge "remove tools/vpx-style.sh"
James Zern [Sat, 6 Aug 2016 01:23:13 +0000 (01:23 +0000)]
Merge "remove tools/vpx-style.sh"

7 years agoMerge changes Ice037acb,I806af11b,I344a7dd0,Ib7cb87fa
James Zern [Sat, 6 Aug 2016 01:20:52 +0000 (01:20 +0000)]
Merge changes Ice037acb,I806af11b,I344a7dd0,Ib7cb87fa

* changes:
  vp9: normalize vpx_enc_frame_flags_t usage
  args.c: add some explicit casts
  webmdec: quiet -Wshorten-64-to-32 warning
  test/decode_test_driver: rm unused deadline member

7 years agoFix a bug in test/lpf_8_test.cc
Linfeng Zhang [Sat, 6 Aug 2016 00:28:58 +0000 (17:28 -0700)]
Fix a bug in test/lpf_8_test.cc

This bug is introduced in 36608af524bb65e39177f229301111f669bf0d20,
where buffer tmp_s is not fully initialized.

Change-Id: I125b966cf054a82bc63c72647cdd463f434eda17

7 years agoFix a motion vector out of range bug
Yunqing Wang [Fri, 5 Aug 2016 22:09:13 +0000 (15:09 -0700)]
Fix a motion vector out of range bug

This patch fixed a motion vector(MV) out of range bug, which was caused
by not restoring the original values of the MV min/max thresholds after
the sub8x8 full pixel motion search. It occurred rarely and only was seen
while encoding a 4k clip for 200 frames.

BUG=webm:1271

Change-Id: Ibc4e0de80846f297431923cef8a0c80fe8dcc6a5

7 years agovp9: normalize vpx_enc_frame_flags_t usage
James Zern [Fri, 5 Aug 2016 06:24:18 +0000 (23:24 -0700)]
vp9: normalize vpx_enc_frame_flags_t usage

quiets -Wshorten-64-to-32 warnings

Change-Id: Ice037acb675d1d81bfedf2dfcfa91a8a29a19dfd

7 years agoargs.c: add some explicit casts
James Zern [Fri, 5 Aug 2016 06:23:00 +0000 (23:23 -0700)]
args.c: add some explicit casts

values are range checked before returning; quiets -Wshorten-64-to-32
warnings

Change-Id: I806af11b2aaf6760c7ab234a2fe2fdf40e7bece7

7 years agowebmdec: quiet -Wshorten-64-to-32 warning
James Zern [Fri, 5 Aug 2016 06:13:17 +0000 (23:13 -0700)]
webmdec: quiet -Wshorten-64-to-32 warning

track->GetNumber() will fit in an int in well-behaved files

Change-Id: I344a7dd05d04daf3df2d67358ea69f8014a03a5b

7 years agotest/decode_test_driver: rm unused deadline member
James Zern [Fri, 5 Aug 2016 06:11:26 +0000 (23:11 -0700)]
test/decode_test_driver: rm unused deadline member

has the side-effect of removing some lint and -Wshorten-64-to-32
warnings

Change-Id: Ib7cb87fa65cd65534096921f243d15288e97256d

7 years agoremove tools/vpx-style.sh
James Zern [Fri, 5 Aug 2016 03:17:09 +0000 (20:17 -0700)]
remove tools/vpx-style.sh

update ftfy.sh to use clang-format

Change-Id: I8ac740c5b3842beed2b8878fbe506f381f4c57e4

7 years agoMerge changes I6ef79702,Id332c641,I354b5d22,I84438013
Johann Koenig [Thu, 4 Aug 2016 22:30:46 +0000 (22:30 +0000)]
Merge changes I6ef79702,Id332c641,I354b5d22,I84438013

* changes:
  Use common transpose for vpx_idct32x32_1024_add_neon
  Use common transpose for vpx_idct8x8_[12|64]_add_neon
  Use common transpose for vp9_iht8x8_add_neon
  Use common transpose for vpx_idct16x16_[10|256]_add_neon

7 years agoMerge "Remove armv6 target"
Johann Koenig [Thu, 4 Aug 2016 22:21:13 +0000 (22:21 +0000)]
Merge "Remove armv6 target"

7 years agoMerge "correct break placement"
James Zern [Thu, 4 Aug 2016 22:19:30 +0000 (22:19 +0000)]
Merge "correct break placement"

7 years agoUse common transpose for vpx_idct32x32_1024_add_neon
Johann [Fri, 29 Jul 2016 15:29:55 +0000 (08:29 -0700)]
Use common transpose for vpx_idct32x32_1024_add_neon

Change-Id: I6ef7970206d588761ebe80005aecd35365ec50ff

7 years agoUse common transpose for vpx_idct8x8_[12|64]_add_neon
Johann [Fri, 29 Jul 2016 15:29:07 +0000 (08:29 -0700)]
Use common transpose for vpx_idct8x8_[12|64]_add_neon

Change-Id: Id332c641f05336ef9a45e17493ff149fd0a168f0

7 years agoUse common transpose for vp9_iht8x8_add_neon
Johann [Fri, 29 Jul 2016 14:57:35 +0000 (07:57 -0700)]
Use common transpose for vp9_iht8x8_add_neon

Change-Id: I354b5d22130d76b0eceda0748db1f871f58fa372

7 years agoUse common transpose for vpx_idct16x16_[10|256]_add_neon
Johann [Thu, 28 Jul 2016 22:58:05 +0000 (15:58 -0700)]
Use common transpose for vpx_idct16x16_[10|256]_add_neon

Change-Id: I84438013f483e82084d33ba9a63c33273d35fcaa

7 years agoMerge "Extract neon transpose for re-use"
Johann Koenig [Thu, 4 Aug 2016 20:12:38 +0000 (20:12 +0000)]
Merge "Extract neon transpose for re-use"

7 years agoMerge "vp9_ratectrl.c: apply clang-format"
James Zern [Thu, 4 Aug 2016 20:01:45 +0000 (20:01 +0000)]
Merge "vp9_ratectrl.c: apply clang-format"

7 years agocorrect break placement
James Zern [Thu, 4 Aug 2016 19:55:23 +0000 (12:55 -0700)]
correct break placement

these should be placed within {}s when present

Change-Id: Ia775fac5373603e77360398f19b07958fb43f476

7 years agoMerge "Don't expand to Q register for 4x4 intrapred"
Johann Koenig [Thu, 4 Aug 2016 19:55:49 +0000 (19:55 +0000)]
Merge "Don't expand to Q register for 4x4 intrapred"

7 years agoRemove armv6 target
Johann [Fri, 29 Jul 2016 19:31:40 +0000 (12:31 -0700)]
Remove armv6 target

Change-Id: I1fa81cc9cabf362a185fc3a53f1e58de533a41e5

7 years agoMerge "Pad 'Left' when building under ASan"
Johann Koenig [Thu, 4 Aug 2016 19:27:44 +0000 (19:27 +0000)]
Merge "Pad 'Left' when building under ASan"

7 years agoMerge "Update Loop8Test{6,9}Param to test filter8() in mb_lpf_vertical_edge_w()"
Linfeng Zhang [Thu, 4 Aug 2016 19:21:22 +0000 (19:21 +0000)]
Merge "Update Loop8Test{6,9}Param to test filter8() in mb_lpf_vertical_edge_w()"

7 years agoExtract neon transpose for re-use
Johann [Thu, 28 Jul 2016 22:47:53 +0000 (15:47 -0700)]
Extract neon transpose for re-use

Change-Id: I5e1c7f4c80d1c6f7fd582ac468c6eaaa3603a06c

7 years agoMerge changes from topic 'clang-format'
James Zern [Thu, 4 Aug 2016 19:03:02 +0000 (19:03 +0000)]
Merge changes from topic 'clang-format'

* changes:
  README: add a note about clang-format
  README: update target list
  README: fix typo

7 years agovp9_ratectrl.c: apply clang-format
clang-format [Thu, 4 Aug 2016 18:57:00 +0000 (11:57 -0700)]
vp9_ratectrl.c: apply clang-format

after:
ff0a87c vp9 1pass vbr: Adjustment to gf interval.

Change-Id: I1296e53e601bf0c2b562e3a34082ac45c294a5f1

7 years agoDon't expand to Q register for 4x4 intrapred
Johann [Wed, 27 Jul 2016 21:24:14 +0000 (14:24 -0700)]
Don't expand to Q register for 4x4 intrapred

The code was expanding to Q registers so that vqrshn could be used, for
vector quad round shift and narrow. If 4 values are added together,
there is a shift by 2. If 8 values, a shift by 3. Since this accounts
for any possibility of overflow, we can skip the narrowing shift.

This allows keeping the values in D registers and casting the 16 bit
value to 8 bits.

Change-Id: I8d9cfa07176271f492c116ffa6a7b351af0b8751

7 years agoUpdate Loop8Test{6,9}Param to test filter8() in mb_lpf_vertical_edge_w()
Linfeng Zhang [Wed, 3 Aug 2016 18:02:15 +0000 (11:02 -0700)]
Update Loop8Test{6,9}Param to test filter8() in mb_lpf_vertical_edge_w()

One branch of filter8() in mb_lpf_vertical_edge_w() was not tested.

Change-Id: I194202d771d9acd6b4e5e600ee2bae89986b49f3

7 years agoMerge "vp9 1pass vbr: Adjustment to gf interval."
Marco Paniconi [Thu, 4 Aug 2016 17:50:55 +0000 (17:50 +0000)]
Merge "vp9 1pass vbr: Adjustment to gf interval."

7 years agoFix msvc compiler warnings
Yaowu Xu [Wed, 3 Aug 2016 21:58:46 +0000 (14:58 -0700)]
Fix msvc compiler warnings

MSVC 2013 complained about using 32 shift where 64 bit shift should be
used.

Change-Id: I7a2b165d1a92d3c0a91dd4511b27aba7709b5e55

7 years agoMerge "Resolve -Wshorten-64-to-32 warnings in prob.h."
James Zern [Thu, 4 Aug 2016 00:38:08 +0000 (00:38 +0000)]
Merge "Resolve -Wshorten-64-to-32 warnings in prob.h."

7 years agoREADME: add a note about clang-format
James Zern [Thu, 28 Jul 2016 05:16:51 +0000 (22:16 -0700)]
README: add a note about clang-format

Change-Id: I835401e3befffcbc68e7d2bdd2fd556a19948e91

7 years agoREADME: update target list
James Zern [Thu, 28 Jul 2016 05:10:09 +0000 (22:10 -0700)]
README: update target list

Change-Id: I80293720a5f12bc2449ceaadbb2ad0f924141552

7 years agoREADME: fix typo
James Zern [Thu, 28 Jul 2016 05:10:02 +0000 (22:10 -0700)]
README: fix typo

Change-Id: I2c3ecc62b1fd1e600b3d70b623c8b11e1e8e4d13

7 years agoMerge "test: apply clang-format"
James Zern [Thu, 4 Aug 2016 00:27:59 +0000 (00:27 +0000)]
Merge "test: apply clang-format"

7 years agoMerge "vp9/decoder,vp9/*.[hc]: apply clang-format"
James Zern [Thu, 4 Aug 2016 00:22:59 +0000 (00:22 +0000)]
Merge "vp9/decoder,vp9/*.[hc]: apply clang-format"

7 years agoPad 'Left' when building under ASan
Johann [Wed, 27 Jul 2016 21:19:20 +0000 (14:19 -0700)]
Pad 'Left' when building under ASan

The neon intrinsics are not able to load just the 4 values that are
used. In vpx_dsp/arm/intrapred_neon.c:dc_4x4 it loads 8 values for both
the 'above' and 'left' computations, but only uses the sum of the first
4 values.

BUG=webm:1268

Change-Id: I937113d7e3a21e25bebde3593de0446bf6b0115a

7 years agovp9 1pass vbr: Adjustment to gf interval.
Marco [Wed, 3 Aug 2016 18:39:52 +0000 (11:39 -0700)]
vp9 1pass vbr: Adjustment to gf interval.

Increase the minimum distance.
Reduces the overshoot somewhat on some clips,
small gain in avgPSNR (~0.1%) on ytlive set.

Change-Id: Id5ddde20c2907dbdb536e79542eff775019c142b

7 years agovp9/decoder,vp9/*.[hc]: apply clang-format
clang-format [Wed, 27 Jul 2016 03:20:13 +0000 (20:20 -0700)]
vp9/decoder,vp9/*.[hc]: apply clang-format

Change-Id: Ic38ea06c7b2fb3e8e94a4c0910e82672a1acaea7

7 years agoMerge "vp9 svc: Fix a valgrind error."
Yaowu Xu [Wed, 3 Aug 2016 20:53:04 +0000 (20:53 +0000)]
Merge "vp9 svc: Fix a valgrind error."

7 years agovp9/common: apply clang-format
clang-format [Tue, 26 Jul 2016 23:52:55 +0000 (16:52 -0700)]
vp9/common: apply clang-format

Change-Id: Ie0f150fdcfcbf7c4db52d3a08bc8238ed1c72e3b

7 years agovp9/encoder: apply clang-format
clang-format [Wed, 27 Jul 2016 03:43:23 +0000 (20:43 -0700)]
vp9/encoder: apply clang-format

Change-Id: I45d9fb4013f50766b24363a86365e8063e8954c2

7 years agovp9 svc: Fix a valgrind error.
JackyChen [Tue, 2 Aug 2016 22:45:44 +0000 (15:45 -0700)]
vp9 svc: Fix a valgrind error.

This error was introduced by the patch:
8ce67d7 vp9 svc: Enable different speed setting for each spatial layer.
To use svc, svc_param should be cleared to 0 at the beginning.

Change-Id: I222f03ddae8a50e84b4690b78263abb742fae91e

7 years agoResolve -Wshorten-64-to-32 warnings in prob.h.
Alex Converse [Thu, 28 Jul 2016 16:53:23 +0000 (09:53 -0700)]
Resolve -Wshorten-64-to-32 warnings in prob.h.

Change-Id: I1244ee908d81467f0fc8a8fce979fc8077a325b4

7 years agoMerge "Resolve -Wshorten-64-to-32 in variance."
Alex Converse [Tue, 2 Aug 2016 22:26:55 +0000 (22:26 +0000)]
Merge "Resolve -Wshorten-64-to-32 in variance."

7 years agochange HBD pixel value from uint8_t to uint16_t
Yaowu Xu [Tue, 2 Aug 2016 18:01:39 +0000 (11:01 -0700)]
change HBD pixel value from uint8_t to uint16_t

This fixes a regression in 10/12 bit encoding results.

Change-Id: I438877352a41aae0a864a8d9979afe4aa2061d81

7 years agoAdd pointer conversion for HBD buffers
Yaowu Xu [Mon, 1 Aug 2016 22:56:43 +0000 (15:56 -0700)]
Add pointer conversion for HBD buffers

This fixes a crash in HBD build.

Change-Id: I7f688f50227323e69bba65df0d56f4360f01771b

7 years agoMerge "Unfork 8-bit in HBD path in vp9_model_rd_from_var_lapndz callers."
Alex Converse [Mon, 1 Aug 2016 16:42:39 +0000 (16:42 +0000)]
Merge "Unfork 8-bit in HBD path in vp9_model_rd_from_var_lapndz callers."

7 years agoMerge "Cache optimizations in optimize_b()."
Alex Converse [Mon, 1 Aug 2016 16:30:05 +0000 (16:30 +0000)]
Merge "Cache optimizations in optimize_b()."

7 years agoCache optimizations in optimize_b().
Alex Converse [Fri, 29 Jul 2016 19:06:49 +0000 (12:06 -0700)]
Cache optimizations in optimize_b().

Move best index into the token state. Shrink it down to one byte. This
is more cache friendly (access are group together) and uses less total
memory.

Results in 4% fewer cycles in optimize_b().

Change-Id: I75db484fb3dc82f59928d54b659d79c80ee40452

7 years agoMerge "replace by VSTM/VLDM to reduce one of VST1/VLD1"
Johann Koenig [Fri, 29 Jul 2016 14:25:10 +0000 (14:25 +0000)]
Merge "replace by VSTM/VLDM to reduce one of VST1/VLD1"

7 years agoreplace by VSTM/VLDM to reduce one of VST1/VLD1
Min Chen [Wed, 27 Jul 2016 19:22:30 +0000 (14:22 -0500)]
replace by VSTM/VLDM to reduce one of VST1/VLD1

Change-Id: I596567570580babb1a52925541d1fd1045c352f5

7 years agovp8: Switch skin model to mode 0 to save some cycle.
JackyChen [Thu, 28 Jul 2016 20:27:08 +0000 (13:27 -0700)]
vp8: Switch skin model to mode 0 to save some cycle.

This change will speed up vp8 encoder by 1.5% ~ 2% on linux. No
much speed change on Mac.

Change-Id: Id957f19ddd89805baa2af84c5027d52d9a48553f

7 years agoMerge "vp9 svc: Enable different speed setting for each spatial layer."
Jacky Chen [Thu, 28 Jul 2016 20:21:30 +0000 (20:21 +0000)]
Merge "vp9 svc: Enable different speed setting for each spatial layer."

8 years agoResolve -Wshorten-64-to-32 in variance.
Alex Converse [Thu, 28 Jul 2016 16:48:50 +0000 (09:48 -0700)]
Resolve -Wshorten-64-to-32 in variance.

The subtrahend is small enough to fit into uint32_t.

Change-Id: Ic4d7128aaa665eaf6b25d562610ba8942c46137f

8 years agoMerge "Fix 64 to 32 narrowing warning."
Alex Converse [Thu, 28 Jul 2016 16:36:46 +0000 (16:36 +0000)]
Merge "Fix 64 to 32 narrowing warning."

8 years agovpx_dsp/x86/quantize_sse2.c: apply clang-format
clang-format [Thu, 28 Jul 2016 04:41:18 +0000 (21:41 -0700)]
vpx_dsp/x86/quantize_sse2.c: apply clang-format

post:
e429080 .clang-format: disable DerivePointerAlignment

Change-Id: I21a0546668edb2b09660e216d4875a1d2ad24d53

8 years agoMerge "vp9 denoiser: Derefencing pointer should be after null check."
James Zern [Thu, 28 Jul 2016 00:43:19 +0000 (00:43 +0000)]
Merge "vp9 denoiser: Derefencing pointer should be after null check."

8 years agoFix 64 to 32 narrowing warning.
Alex Converse [Wed, 27 Jul 2016 16:38:07 +0000 (09:38 -0700)]
Fix 64 to 32 narrowing warning.

- Solves potential integer overflow on 12-bit
- Fixes Visual Studio build

Change-Id: I26dd660451bbab23040e4123920d59e82585795c

8 years agoMerge "vpx_scale: apply clang-format"
James Zern [Wed, 27 Jul 2016 01:59:21 +0000 (01:59 +0000)]
Merge "vpx_scale: apply clang-format"

8 years agotest: apply clang-format
clang-format [Tue, 26 Jul 2016 05:50:48 +0000 (22:50 -0700)]
test: apply clang-format

Change-Id: I0d9ab85855eb723f653a7bb09b3d0d31dd6cfd2f

8 years agovp9 denoiser: Derefencing pointer should be after null check.
JackyChen [Wed, 27 Jul 2016 00:25:03 +0000 (17:25 -0700)]
vp9 denoiser: Derefencing pointer should be after null check.

BUG=webm:1267

Change-Id: I899fc9e8d784c6eefcbe27945c619845adb7b6f0

8 years ago.clang-format: disable DerivePointerAlignment
James Zern [Tue, 26 Jul 2016 23:34:54 +0000 (16:34 -0700)]
.clang-format: disable DerivePointerAlignment

everything outside of third_party should follow 'PointerAlignment:
right' i.e., associate the '*' with the variable

+ add a note about the clang-format that generated this file

Change-Id: I13e3f4f5fb6e22a8fa7fc3d06879c995b7c41a39

8 years agovpx_scale: apply clang-format
clang-format [Mon, 25 Jul 2016 21:32:36 +0000 (14:32 -0700)]
vpx_scale: apply clang-format

Change-Id: Ia07ba57756f75911d3d06318e1f9b1982e1ca8c5

8 years agoMerge "vpx_ports: apply clang-format"
James Zern [Tue, 26 Jul 2016 22:54:31 +0000 (22:54 +0000)]
Merge "vpx_ports: apply clang-format"

8 years agoUnfork 8-bit in HBD path in vp9_model_rd_from_var_lapndz callers.
Alex Converse [Thu, 30 Jun 2016 17:46:08 +0000 (10:46 -0700)]
Unfork 8-bit in HBD path in vp9_model_rd_from_var_lapndz callers.

BUG=b/29583530

Change-Id: Ia88a75f9572e08f228559ab84b8a77efb5aff0af

8 years agoMerge "vpx_mem: apply clang-format"
James Zern [Tue, 26 Jul 2016 21:19:17 +0000 (21:19 +0000)]
Merge "vpx_mem: apply clang-format"

8 years agoMerge "vpx_util: apply clang-format"
James Zern [Tue, 26 Jul 2016 21:18:24 +0000 (21:18 +0000)]
Merge "vpx_util: apply clang-format"

8 years agoMerge "Only consider visible 4x4s in pixel domain error."
Alex Converse [Tue, 26 Jul 2016 19:39:54 +0000 (19:39 +0000)]
Merge "Only consider visible 4x4s in pixel domain error."

8 years agoMerge "register_state_check: simplify Check() methods"
James Zern [Tue, 26 Jul 2016 18:49:17 +0000 (18:49 +0000)]
Merge "register_state_check: simplify Check() methods"

8 years agovpx_util: apply clang-format
clang-format [Tue, 26 Jul 2016 05:33:21 +0000 (22:33 -0700)]
vpx_util: apply clang-format

Change-Id: Ie7eab608e2906b9a2b3533db95292ebc430ad377

8 years agoregister_state_check: simplify Check() methods
James Zern [Sat, 23 Jul 2016 18:33:29 +0000 (11:33 -0700)]
register_state_check: simplify Check() methods

- make Check() void as the EXPECT's are sufficient to document failure

cumulatively this has the effect of avoiding reporting incorrect Check()
failures due to earlier test failures.

Change-Id: I2cf775449f18c90c1506b8eadd7067adbc3ea046

8 years agovp9 svc: Enable different speed setting for each spatial layer.
jackychen [Wed, 13 Jul 2016 22:58:11 +0000 (15:58 -0700)]
vp9 svc: Enable different speed setting for each spatial layer.

This change only affects 1 pass cbr svc mode.

Change-Id: If0da87bb200f7e7762755340c40c8157cc7a16ca

8 years agoOnly consider visible 4x4s in pixel domain error.
Alex Converse [Mon, 25 Jul 2016 18:05:40 +0000 (11:05 -0700)]
Only consider visible 4x4s in pixel domain error.

BDRATE change
derf144: -0.327
lowres: -0.048
midres: -0.125
hdres: -0.238

Change-Id: I789aba9870b5c2952373a7dd4fc8ed45590c3c54

8 years agovpx_ports: apply clang-format
clang-format [Mon, 25 Jul 2016 21:22:32 +0000 (14:22 -0700)]
vpx_ports: apply clang-format

Change-Id: Ice343335a40238fd21490bce0ce2972bdcb87055

8 years agovpx_mem: apply clang-format
clang-format [Mon, 25 Jul 2016 21:16:28 +0000 (14:16 -0700)]
vpx_mem: apply clang-format

Change-Id: I0440686fc03f1ee02bd0168c91e671a0a2d0056a

8 years agovpx_dsp: apply clang-format
clang-format [Sat, 23 Jul 2016 03:07:03 +0000 (20:07 -0700)]
vpx_dsp: apply clang-format

Change-Id: I3ea3e77364879928bd916f2b0a7838073ade5975

8 years agoMerge "configure: test for -Wfloat-conversion"
James Zern [Mon, 25 Jul 2016 19:47:37 +0000 (19:47 +0000)]
Merge "configure: test for -Wfloat-conversion"

8 years agoMerge "Fix compilation error under Clang 4.0."
Johann Koenig [Mon, 25 Jul 2016 19:44:04 +0000 (19:44 +0000)]
Merge "Fix compilation error under Clang 4.0."

8 years agoFix compilation error under Clang 4.0.
Ivan Krasin [Mon, 25 Jul 2016 19:11:02 +0000 (12:11 -0700)]
Fix compilation error under Clang 4.0.

The LLVM trunk has reached 4.0 and now __clang_major__ is not enough
to distinguish between old XCode Clang and the new 'real' Clang.
Using __apple_build_version__ allows to make this distinction.

BUG=chromium:631144

Change-Id: I0b6e46fddfe4f409c7b7e558bda34872e60ee2d9

8 years agoconfigure: test for -Wfloat-conversion
James Zern [Fri, 22 Jul 2016 20:13:56 +0000 (13:13 -0700)]
configure: test for -Wfloat-conversion

supported by clang, gcc-4.9+

Change-Id: I893766de7307fef9a8b68c0cfae137c9d3b0dbe8

8 years agoMerge "vp9: fix frame-level threaded decode shutdown"
James Zern [Mon, 25 Jul 2016 19:00:37 +0000 (19:00 +0000)]
Merge "vp9: fix frame-level threaded decode shutdown"

8 years agoMerge "Minor skip segment simplification."
Alex Converse [Mon, 25 Jul 2016 17:50:42 +0000 (17:50 +0000)]
Merge "Minor skip segment simplification."

8 years agoMerge "VP9: get_pred_context_switchable_interp() -- encoder side"
Scott LaVarnway [Mon, 25 Jul 2016 11:58:24 +0000 (11:58 +0000)]
Merge "VP9: get_pred_context_switchable_interp() -- encoder side"

8 years agovp8/decodeframe: fix signed/unsigned comparison
James Zern [Sat, 23 Jul 2016 18:41:52 +0000 (11:41 -0700)]
vp8/decodeframe: fix signed/unsigned comparison

quiets a visual studio warning

Change-Id: Ic7725616bc2cb837e6f79294d4fcff36b67af834

8 years agovp9: fix frame-level threaded decode shutdown
James Zern [Sat, 23 Jul 2016 17:59:15 +0000 (10:59 -0700)]
vp9: fix frame-level threaded decode shutdown

Shutdown all threads before reclaiming any memory. The frame-level
parallel decoder may access data from another worker.

BUG=webm:1259

Change-Id: I26856ebd1f77cc4a4545331baa19bbf3e01c4ea4

8 years agovp8/postproc.c: disable clang-format for RGB_TO_YUV
clang-format [Sat, 23 Jul 2016 17:55:44 +0000 (10:55 -0700)]
vp8/postproc.c: disable clang-format for RGB_TO_YUV

Change-Id: Id2a936301ec1e3d5648b4f8adbf4e6625002589d

8 years agoMerge "vpx/: apply clang-format"
James Zern [Sat, 23 Jul 2016 01:27:14 +0000 (01:27 +0000)]
Merge "vpx/: apply clang-format"

8 years agoMerge changes I0089e884,Icb0ecb9e
James Zern [Sat, 23 Jul 2016 01:18:31 +0000 (01:18 +0000)]
Merge changes I0089e884,Icb0ecb9e

* changes:
  vp8/postproc: fix implicit float conversion
  blockiness_test: fix implicit float conversion

8 years agoMerge "resize_test: fix implicit float->int conversion"
James Zern [Sat, 23 Jul 2016 01:17:49 +0000 (01:17 +0000)]
Merge "resize_test: fix implicit float->int conversion"

8 years agoMerge "vp8:fix threading issues"
James Bankoski [Sat, 23 Jul 2016 00:51:37 +0000 (00:51 +0000)]
Merge "vp8:fix threading issues"

8 years agovp8:fix threading issues
Jim Bankoski [Thu, 21 Jul 2016 16:20:10 +0000 (09:20 -0700)]
vp8:fix threading issues

1 - stops de allocating before threads are closed.
2 - limits threads to mb_rows when mb_rows < partitions

BUG=webm:851

Change-Id: I7ead53e80cc0f8c2e4c1c53506eff8431de2a37e

8 years agovp8/postproc: fix implicit float conversion
James Zern [Fri, 22 Jul 2016 23:01:09 +0000 (16:01 -0700)]
vp8/postproc: fix implicit float conversion

float->int as reported by -Wfloat-conversion

Change-Id: I0089e8847b218c47526bcfbb0fffd9aad7c5adb3

8 years agoAdd VPX_SWAP macro
Yury Gitman [Fri, 15 Jul 2016 17:32:04 +0000 (10:32 -0700)]
Add VPX_SWAP macro

Change-Id: I60e233eddef238ad918183392794084673f27d2d

8 years agoblockiness_test: fix implicit float conversion
James Zern [Fri, 22 Jul 2016 22:08:59 +0000 (15:08 -0700)]
blockiness_test: fix implicit float conversion

float->int as reported by -Wfloat-conversion

Change-Id: Icb0ecb9e2d54edb95813d9f2de34cb6c27b63cbd