clang-format
580f14b68b
vpx_ports: apply clang-format
...
Change-Id: Ice343335a40238fd21490bce0ce2972bdcb87055
2016-07-25 14:29:06 -07:00
James Zern
82070ae939
Merge "configure: test for -Wfloat-conversion"
2016-07-25 19:47:38 +00:00
Johann Koenig
5c0f5cdda8
Merge "Fix compilation error under Clang 4.0."
2016-07-25 19:44:05 +00:00
Ivan Krasin
91369fd9b7
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
2016-07-25 19:18:49 +00:00
James Zern
889ed5b158
configure: test for -Wfloat-conversion
...
supported by clang, gcc-4.9+
Change-Id: I893766de7307fef9a8b68c0cfae137c9d3b0dbe8
2016-07-25 19:05:15 +00:00
James Zern
7aa0c748b3
Merge "vp9: fix frame-level threaded decode shutdown"
2016-07-25 19:00:37 +00:00
Alex Converse
511bf49b7e
Merge "Minor skip segment simplification."
2016-07-25 17:50:43 +00:00
Scott LaVarnway
ad5fea03e6
Merge "VP9: get_pred_context_switchable_interp() -- encoder side"
2016-07-25 11:58:24 +00:00
James Zern
54b2071bf4
vp8/decodeframe: fix signed/unsigned comparison
...
quiets a visual studio warning
Change-Id: Ic7725616bc2cb837e6f79294d4fcff36b67af834
2016-07-23 11:41:52 -07:00
James Zern
f368f86df6
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
2016-07-23 10:59:15 -07:00
clang-format
c42d54c3a3
vp8/postproc.c: disable clang-format for RGB_TO_YUV
...
Change-Id: Id2a936301ec1e3d5648b4f8adbf4e6625002589d
2016-07-23 10:55:44 -07:00
James Zern
18e53642b7
Merge "vpx/: apply clang-format"
2016-07-23 01:27:14 +00:00
James Zern
5cf8eda308
Merge changes I0089e884,Icb0ecb9e
...
* changes:
vp8/postproc: fix implicit float conversion
blockiness_test: fix implicit float conversion
2016-07-23 01:18:32 +00:00
James Zern
256a4af4d1
Merge "resize_test: fix implicit float->int conversion"
2016-07-23 01:17:49 +00:00
James Bankoski
7381e3330f
Merge "vp8:fix threading issues"
2016-07-23 00:51:37 +00:00
Jim Bankoski
0fff2fb34c
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
2016-07-23 00:50:55 +00:00
James Zern
b2542417cd
vp8/postproc: fix implicit float conversion
...
float->int as reported by -Wfloat-conversion
Change-Id: I0089e8847b218c47526bcfbb0fffd9aad7c5adb3
2016-07-22 16:01:52 -07:00
Yury Gitman
3d3f51262c
Add VPX_SWAP macro
...
Change-Id: I60e233eddef238ad918183392794084673f27d2d
2016-07-22 15:41:25 -07:00
James Zern
5e2791b54d
blockiness_test: fix implicit float conversion
...
float->int as reported by -Wfloat-conversion
Change-Id: Icb0ecb9e2d54edb95813d9f2de34cb6c27b63cbd
2016-07-22 15:35:42 -07:00
Alex Converse
9a62ecbd35
Minor skip segment simplification.
...
Change-Id: I34863fce1abe94f9539e9a5a6149ae1efb6501bd
2016-07-22 15:31:18 -07:00
Marco Paniconi
53db633349
Merge "vp9 1pass-vbr: Adjust gf setting for nonzero-lag case."
2016-07-22 21:27:05 +00:00
James Zern
325bdddc38
resize_test: fix implicit float->int conversion
...
Change-Id: I1efc16fa158740a06da719a1ea90c6dd6a182bb4
2016-07-22 13:11:07 -07:00
Marco
c06a4b9df2
vp9 1pass-vbr: Adjust gf setting for nonzero-lag case.
...
Change-Id: I230c586c6d5ae56ee9a6d37b7d9452351bb4bd80
2016-07-22 11:48:09 -07:00
Paul Wilkins
830fa866a5
Merge "Sample points to reduce encode overhead."
2016-07-22 09:27:34 +00:00
Paul Wilkins
063e4a2914
Merge "Noise energy Experiment in first pass."
2016-07-22 09:27:19 +00:00
clang-format
e3e9fee419
vpx/: apply clang-format
...
Change-Id: I95922a64568bf289863c1564212b6be5beec36df
2016-07-21 20:49:07 -07:00
Yunqing Wang
4b073bc39a
Add back header in threading.h
...
Added back the header needed in threading.h
Change-Id: I2ce66ad4fe58004997623f6c3f3b8dd11640aa98
2016-07-21 17:26:05 -07:00
Yunqing Wang
930773a1ed
Merge "Revert "Amend and improve VP8 multithreading implementation""
2016-07-21 21:32:55 +00:00
Yunqing Wang
87c6c5224d
Revert "Amend and improve VP8 multithreading implementation"
...
Reverted the patch because of possible performance issue.
Change-Id: I49944f827ccd38ed194c9f8d9cb9036fa9bf79e1
2016-07-21 12:28:25 -07:00
Scott LaVarnway
c969b2b02b
VP9: get_pred_context_switchable_interp() -- encoder side
...
Change-Id: I7217c90d5cf38c51b76759a2dc4f10070f3a40ac
2016-07-21 11:47:51 -07:00
Alex Converse
18c7f46c12
MinArfFreqTest: Don't leak video on failure.
...
Change-Id: I250379f0ac8d4929c9032e7343290e2980fc2e77
2016-07-21 11:40:51 -07:00
Alex Converse
92e91bd3a1
Make test encoder test driver less likely to leak on failure.
...
Individual tests still need to be updated.
Change-Id: Ic433d0f742e13560b136f136b72b2a9973970d78
2016-07-21 11:39:47 -07:00
James Zern
16e069b8bb
Merge changes from topic 'clang-tidy'
...
* changes:
vp8/onyx_if.c: rework #if's to avoid dangling else's
vp8/bitstream.c: rework #if to avoid dangling else
2016-07-21 03:05:20 +00:00
Johann
a6cc74b987
Merge remote-tracking branch 'origin/khakicampbell'
2016-07-20 18:49:04 -07:00
Johann
042572177b
Release v1.6.0 Khaki Campbell Duck
...
Change-Id: I08da365dd889093f9919476a02ee96ae9615f140
2016-07-20 18:15:41 -07:00
jackychen
71f9cbcfc8
vp9: Fix the clang warning of unsigned int type.
...
Change-Id: I6308db16bd626fa5943925471e9171f567669350
2016-07-20 15:58:35 -07:00
Yaowu Xu
297b2a12d6
Fix encoder crashes for odd size input
...
(cherry picked from commit 98431cde07
)
Change-Id: Id5c30c419282369cc8c3280d9a70b34a859a71d8
2016-07-20 15:02:13 -07:00
James Zern
b19f8b1607
vp8/onyx_if.c: rework #if's to avoid dangling else's
...
Change-Id: Ieda8958a3da1000424fcff91a1315d0049612202
2016-07-20 12:36:09 -07:00
James Zern
77a31eb3c5
vp8/bitstream.c: rework #if to avoid dangling else
...
Change-Id: I9178ae75876f3df3fa3271314db39830552b9549
2016-07-20 12:36:09 -07:00
James Zern
7bb35db872
Merge changes from topic 'clang-tidy'
...
* changes:
vp8/{bitstream,rdopt},y4minput: correct break placement
y4minput.c: correct empty loop formatting
vp8: simplify a few #if's
vp8: remove extra semicolons
2016-07-20 19:34:59 +00:00
Yaowu Xu
690fcd793b
Change to call vp9_post_proc_frame()
...
This commit changes the call in vp9 encoder from vp9_deblock() to
vp9_post_proc_frame() to ensure the data structures used in the call
are properly allocated. This fixes an encoder crash when configured
with --enable-internal-stats.
Change-Id: I2393b336c0f566665336df4f1ba91c405eb56764
2016-07-20 11:01:49 -07:00
James Zern
fd85664ae6
vp8/{bitstream,rdopt},y4minput: correct break placement
...
these should be placed within {}s when present
Change-Id: If00e9766fa8cb039cc070467f353a468f99460fb
2016-07-19 20:51:25 -07:00
James Zern
1b048e966a
y4minput.c: correct empty loop formatting
...
prefer {}s over ';'
Change-Id: I563fc82717e1deb4f42a40e03dca318c6adaa0c1
2016-07-19 20:46:39 -07:00
James Zern
b5164f55a0
vp8: simplify a few #if's
...
bitstream.c: asserts are disabled when CONFIG_DEBUG is unset
vp8_dx_iface.c: split |s into 2 statements across #if bounds
Change-Id: I307d1e969134db5c9c0edd7690589b6b29116cbd
2016-07-19 20:45:28 -07:00
James Zern
96797e43b4
vp8: remove extra semicolons
...
Change-Id: I84e1a293ee033865f82c244e8aaaadfb2fb27e63
2016-07-19 20:44:14 -07:00
clang-format
033dab9ca0
top-level: apply clang-format
...
Change-Id: Ibd5395bf8956a80f7c0df4d539c7a42c927a1fc7
2016-07-19 14:34:19 -07:00
James Zern
6e336f6e5f
Merge "vp8: apply clang-tidy google-readability-braces-around-statements"
2016-07-19 21:24:30 +00:00
clang-tidy
7f3e07f1c8
vp8: apply clang-tidy google-readability-braces-around-statements
...
applied against an x86_64 configure
clang-tidy-3.7.1 \
-checks='-*,google-readability-braces-around-statements' \
-header-filter='.*' -fix
+ clang-format afterward
Change-Id: I6694edeaee89b58b8b3082187e6756561136b459
2016-07-19 12:38:03 -07:00
James Zern
5b55bcc564
Merge "examples: apply clang-format"
2016-07-19 19:21:08 +00:00
James Zern
e3f7991f99
Merge changes Ia6004c08,I1954f9d6
...
* changes:
cosmetics: Add a few explanatory comments
cosmetics: Correct grammar/spelling in comments
2016-07-19 19:12:23 +00:00