Commit Graph

3672 Commits

Author SHA1 Message Date
sijchen
5994075317 Merge pull request #1952 from mstorsjo/deblock-fix-test-bigendian
Revert broken big-endian fix for DeblockingBsMarginalMBAvcbase
2015-05-15 18:05:59 +08:00
Martin Storsjö
df994fa3f5 Convert tabs to spaces in enums and tables of defines 2015-05-15 11:20:11 +03:00
Martin Storsjö
61027613dd Convert tabs to spaces in the public headers
Since these spaces aren't at the start of lines, astyle doesn't
change it when fixing indentation.

The spacing and alignment is manually fixed up in a few places.
2015-05-15 10:52:42 +03:00
Martin Storsjö
b05468b5c1 Convert tabs to spaces in multiline comments 2015-05-15 10:50:49 +03:00
Martin Storsjö
31453e3072 Revert broken big-endian fix for DeblockingBsMarginalMBAvcbase
The function actually was correct for big-endian use already
(and the changes in 239e22d0 actually broke normal decoding tests),
it was only the test function itself that needed fixing for big-endian.
2015-05-15 10:13:40 +03:00
sijchen
853423b5ad Merge pull request #1944 from mstorsjo/deblock-bigendian
Remove endianness assumptions from DeblockingBsMarginalMBAvcbase
2015-05-15 14:08:08 +08:00
sijchen
1d1b4f1d30 Merge pull request #1950 from mstorsjo/remove-tabs
Remove tabs fom copyright headers, def files, public header code examples and SIMD function pointer assignments
2015-05-15 14:07:47 +08:00
sijchen
f5b7513df6 Merge pull request #1949 from shihuade/NewSHATableV1.2
update SHA1 table as long time cost on travis, for issue#1946
2015-05-15 08:44:13 +08:00
Martin Storsjö
0ca7ff49e2 Convert tabs to spaces in assignment of SIMD function pointers 2015-05-14 14:07:49 +03:00
Martin Storsjö
95ac72754e Convert tabs to spaces in .def files
The three def files in the project currently use tabs very inconsistently.
2015-05-14 13:58:44 +03:00
Martin Storsjö
5c7fe31277 Convert tabs to spaces in the public header code examples 2015-05-14 13:58:44 +03:00
Martin Storsjö
d152c25485 Remove tabs from the copyright/license section in file headers 2015-05-14 13:58:40 +03:00
huade
8c66a7c2f8 update SHA1 table as long time cost on travis 2015-05-14 18:09:11 +08:00
sijchen
569e7d1253 Merge pull request #1945 from mstorsjo/remove-tabs
Remove tabs from multi-line macro indentation and tables
2015-05-14 12:37:31 +08:00
sijchen
8c5f36ba23 Merge pull request #1941 from mstorsjo/c++-warnings
Enable -Wc++11-compat-reserved-user-defined-literal when building with clang on linux
2015-05-14 09:57:23 +08:00
sijchen
0185a07e7a Merge pull request #1942 from mstorsjo/fix-longlong-consts
Add a LL suffix to 64 bit integer literals
2015-05-14 09:56:30 +08:00
Martin Storsjö
7a80c21526 Reformat tables without tabs 2015-05-13 22:06:58 +03:00
Martin Storsjö
dd913ef878 Don't use tabs for indentation in multi-line macros
The astyle configuration makes sure normal code is indented consistently
with 2 spaces, but astyle doesn't seem to touch the indentation in
these multi-line macros.
2015-05-13 22:06:54 +03:00
Martin Storsjö
239e22d088 Remove endianness assumptions from DeblockingBsMarginalMBAvcbase
This fixes a decoder unit test when running on big endian.
2015-05-13 20:48:04 +03:00
Martin Storsjö
652ee84e0d Enable -Wc++11-compat-reserved-user-defined-literal when building with clang on linux
This allows catching issues that causes the build to fail on MSVC 2015 RC,
without having to include such a configuration in travis.
2015-05-13 14:53:00 +03:00
Martin Storsjö
2af19fa654 Add a LL suffix to 64 bit integer literals
This fixes building with gcc 4.0.
2015-05-13 10:38:02 +03:00
zhilwang
cf33d7031e Merge pull request #1937 from brly/feature-detect-avx2
Add detection of AVX2
2015-05-13 00:37:56 -07:00
sijchen
2453042bf0 Merge pull request #1938 from mstorsjo/format-string-spacing
Add spaces around PRId64 macros in format strings, fix building with MSVC 2015 RC
2015-05-13 14:58:42 +08:00
sijchen
6e3e42b625 Merge pull request #1939 from mstorsjo/msvc-app
Add a separate platform makefile for "msvc-app"
2015-05-13 14:57:55 +08:00
Martin Storsjö
9ac4c8208e Add spaces around PRId64 macros in format strings
This does the same cleanup as was done in 4fc27714bd on new occurrances
in the code base.

This fixes building with MSVC 2015 (which is still only a release
candidate).
2015-05-12 13:38:08 +03:00
Martin Storsjö
b2f1cbaae9 Add a separate platform makefile for "msvc-app"
This is for building code in the "app" mode (for Windows
Store apps/RT/metro/modern UI/appcontainer), which restricts API
usage and uses the Windows Runtime APIs for threading instead of the
old Win32 functions that aren't available for such apps.

This is similar to building for Windows Phone, but without the phone
specific libraries.

The common parts are abstracted to a common include makefile, that
both the targets "msvc-app" and "msvc-wp" use.
2015-05-11 23:30:46 +03:00
brly
b7fb9414c5 Add detection of AVX2 2015-05-10 20:27:36 +09:00
Martin Storsjö
6d5ef0ba2d Use separate string literals instead of line continuation for multiline log messages
This avoids including excessive spacing from the indentation in
the actual message.
2015-05-08 21:48:52 +03:00
Martin Storsjö
b3342fa11a Add spaces around an assignment to match the surrounding style 2015-05-08 14:19:06 +03:00
huili2
f1d1af0d34 Merge pull request #1934 from sijchen/fix_stat
[Encoder] remove un-calculated value setting, and add one more item in log
2015-05-08 16:24:49 +08:00
huili2
84a5f883db Merge pull request #1935 from sijchen/fix_rc3
fix an improper mb-size assignment
2015-05-08 16:24:22 +08:00
Sijia Chen
38ffbf7df4 fix an improper mb-size assignment 2015-05-08 11:10:19 +08:00
Sijia Chen
00168404b7 remove un-calculated value setting, and add one more item in log to supervise 2015-05-07 14:50:06 +08:00
huili2
7c868cab4d Merge pull request #1931 from HaiboZhu/Bug_Fix_EncoderInterface_OptionSetTest
Bug fix for encoder interface UT
2015-05-06 13:43:50 +08:00
Haibo Zhu
61b82d28c4 Add framerate & spatialbitrate comparison for encoder UT 2015-05-05 18:53:50 -07:00
sijchen
55a5272f68 Merge pull request #1927 from shihuade/WP8_UNICODE_API_Fixed
fixed no-support issues due to UNICODE macro for WP8
2015-05-05 11:53:08 +08:00
sijchen
3aed85f717 Merge pull request #1926 from mstorsjo/remove-unnecessary-continuation
Remove unnecessary line continuation for concatenating strings
2015-05-05 11:44:13 +08:00
sijchen
fc4e905891 Merge pull request #1925 from mstorsjo/misc-minor-whitespace
Misc minor whitespace fixes
2015-05-05 11:43:06 +08:00
sijchen
b19041c1b0 Merge pull request #1924 from mstorsjo/mismatched-filenames
Fix cases where file headers refer the wrong (old?) file name
2015-05-05 11:42:49 +08:00
Martin Storsjö
f21aaa1cd4 Remove unnecessary line continuation for concatenating strings
There's no need to use backslashes for continuing the lines here,
the strings are concatenated just fine even if split over multiple
lines.
2015-05-04 12:49:01 +03:00
Martin Storsjö
65d6826470 Astyle a cpp file in the android test project
This gets rid of indentation with tabs.
2015-05-04 12:47:31 +03:00
Martin Storsjö
ad9e65b96a Remove trailing whitespace in the iOS codec unittest files 2015-05-04 12:47:19 +03:00
Martin Storsjö
8d34c68ad6 Add a missing newline at the end of a file
Some tools (like git) complain if a file lacks a newline at
the end of a file, and some editors will automatically readd
it when editing such files.
2015-05-04 12:46:48 +03:00
Martin Storsjö
613a7a0ead Convert a tab to a space in an #ifndef 2015-05-04 12:46:38 +03:00
huade
67723a5122 fixed no-support issues due to UNICODE macro for WP8 2015-05-04 17:45:47 +08:00
Martin Storsjö
2bd89983cd Fix cases where file headers refer the wrong (old?) file name 2015-05-04 12:45:03 +03:00
zhilwang
2d2c5d0112 Merge pull request #1918 from mstorsjo/ifdef-spaces
Remove unnecessary double spaces and tabs in ifdef directives
2015-04-29 17:41:52 -07:00
zhilwang
15a8977ad8 Merge pull request #1919 from mstorsjo/printf-tabs
Use \t or plain spaces instead of literal tabs in printf formats
2015-04-29 17:41:42 -07:00
zhilwang
9bda41b1ae Merge pull request #1920 from mstorsjo/codec-ver-spacing
Add spaces in the struct in codec_ver.h
2015-04-29 17:41:32 -07:00
zhilwang
617f7c5d73 Merge pull request #1921 from mstorsjo/remove-brace-tabs
Remove tabs from the end of lines like ") {"
2015-04-29 17:41:20 -07:00