Commit Graph

2287 Commits

Author SHA1 Message Date
Guangwei Wang
6f64f2372e save neon register d8,d9 2015-06-09 11:06:15 +08:00
Guangwei Wang
0237194f6e bugfix:save neon register v8-v15 2015-06-09 10:19:09 +08:00
Haibo Zhu
682b0b7335 Bug fix about mosaic on T30 which caused by prev frame num update 2015-06-08 01:10:12 -07:00
karina li
f2d391980e use the external setting for max_qp and min_qp 2015-06-08 00:44:42 +08:00
sijchen
b2c08598bc Merge pull request #1978 from sijchen/doc
improve comments of the API
2015-06-08 12:07:03 +08:00
sijchen
70de76a253 Merge pull request #1975 from sijchen/rc_tr
[Encoder] Improve rate control trace
2015-06-08 12:06:36 +08:00
Guangwei Wang
c930424642 modify part of AArch64 LumaMc assembly functions to get improvement 2015-06-05 13:26:00 +08:00
Sijia Chen
8ca76ec342 improve comments of the API 2015-06-04 15:06:46 +08:00
Martin Storsjö
ebbcb67fb7 Convert tabs to spaces in assignment of SIMD function pointers 2015-06-03 15:39:30 +03:00
Martin Storsjö
26c1ce2d05 Remove tabs from class constructor member initializer lists 2015-06-03 15:39:30 +03:00
Martin Storsjö
c618b44b9e Remove tabs from the end of lines like ") {" 2015-06-03 15:39:30 +03:00
Martin Storsjö
c134aa753a Remove unnecessary/pointless/accidental tabs from the middle of lines of code 2015-06-03 15:39:30 +03:00
Martin Storsjö
b052a9580e Convert tabs to spaces in code that looks like tables
Also fix the alignment in some related cases, even though they
didn't use tabs originally.
2015-06-03 13:26:36 +03:00
Sijia Chen
a9d0d90ed2 correct a typo in rc log 2015-06-03 14:31:00 +08:00
Sijia Chen
ece17ff1b4 add layer info in RC detail trace 2015-06-03 14:13:21 +08:00
huili2
f76325edc7 Merge pull request #1973 from huili2/sub8
modify some functions extending to sub8x8 usage, especially in ME part
2015-06-02 14:44:06 +08:00
huili2
87f22d35fb Merge pull request #1972 from GuangweiWang/mc
change aarch64 chroma mc function
2015-06-02 14:42:50 +08:00
huili2
c3cfce5223 modify some functions extending to sub8x8 usage, especially in ME part 2015-06-02 13:39:38 +08:00
sijchen
b0a822dd30 Merge pull request #1971 from mstorsjo/version-header-spacing
Regenerate codec_ver.h using generate_codec_ver.sh
2015-06-01 16:23:18 +08:00
sijchen
b55292413b Merge pull request #1969 from BelledonneCommunications/bc-out-of-tree-build
fixes for out-of-tree build
2015-06-01 16:20:08 +08:00
Martin Storsjö
87eabf2721 Regenerate codec_ver.h using generate_codec_ver.sh
This adds some spacing to the version struct, so that astyle won't
need to change the file.

This was changed in 02354832cf, both in the earlier codec_ver.h
and in the script that generates it, but a recent change manually
overwrote the spacing.
2015-06-01 09:20:03 +03:00
sijchen
ed73d51945 Merge pull request #1963 from llyzs/dynamic_qp
Copy QP value when changing encoder config
2015-06-01 10:43:58 +08:00
Ghislain MARY
93a5597c11 More fixes for out-of-tree build:
- Generate version header in the build tree
 - Generate .res file in the build tree on Windows
 - Add the $(SRC_PATH) prefix to the .def files on Windows
2015-05-29 14:57:07 +02:00
Guangwei Wang
b8592d105b add aarch64 for mc 2015-05-29 13:50:07 +08:00
Sijia Chen
92237fa329 improve a log for frame-skip 2015-05-29 10:48:02 +08:00
Vic Lee
ccaf242b80 Copy QP value when changing encoder config 2015-05-28 10:19:55 +08:00
Sijia Chen
9442a7a0b5 add parameter checking on resolution and related UT 2015-05-26 15:41:47 +08:00
Sijia Chen
8b7af7cbef add comment for interface and better condiction for warning trace 2015-05-26 15:19:47 +08:00
Sijia Chen
585b61626c add some warning traces in case the setting of frame rate has problem 2015-05-26 14:49:46 +08:00
Sijia Chen
d15afbbee0 improve rate control trace 2015-05-25 10:31:58 +08:00
Sijia Chen
7a3ef3a003 update version info to get accord with release 2015-05-25 10:30:45 +08:00
huili2
4da932426c Merge pull request #1957 from HaiboZhu/Change_trace_level_avoid_too_many_traces
Change the trace level from INFO to DEBUG to avoid too many traces
2015-05-22 14:37:31 +08:00
Haibo Zhu
e757dce0e4 Change the trace level from INFO to DEBUG to avoid too many traces 2015-05-20 20:54:51 -07:00
Haibo Zhu
a484681202 Fix bug about the decoder with mosaic when EC off 2015-05-20 18:27:20 -07:00
sijchen
7d7a5c28bc Merge pull request #1954 from mstorsjo/fix-screen-enc-bigendian
Avoid endian assumptions in FillQpelLocationByFeatureValue_c
2015-05-18 16:57:20 +08:00
karina li
85869921d3 reset buffer status when force IDR 2015-05-18 02:40:21 +08:00
Martin Storsjö
b90eca78cd Avoid endian assumptions in FillQpelLocationByFeatureValue_c
These values are read as two separate 16 bit integers from an
array in the FeatureSearchOne function, therefore we should
also store them in a well-defined order.

This fixes encoding of screen content on big endian; now the
full testsuite passes on big endian.
2015-05-15 13:11:23 +03:00
sijchen
89728faf8d Merge pull request #1953 from mstorsjo/remove-tabs
Remove tabs from multiline comments, public headers, enums and lists of defines
2015-05-15 18:09:02 +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
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
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
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ö
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
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
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
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
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
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
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ö
613a7a0ead Convert a tab to a space in an #ifndef 2015-05-04 12:46:38 +03: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
Martin Storsjö
a9c6a9d760 Remove tabs from the end of lines like ") {" 2015-04-29 15:49:28 +03:00
Martin Storsjö
02354832cf Add spaces in the struct in codec_ver.h
This avoids unnecessary changes if this file is run through astyle.
2015-04-29 15:48:33 +03:00
Martin Storsjö
ec99a3bcc5 Use \t or plain spaces instead of literal tabs in printf formats 2015-04-29 15:46:27 +03:00
Martin Storsjö
f324c354b1 Remove unnecessary double spaces and tabs in ifdef directives 2015-04-29 15:34:38 +03:00
huili2
ecd6102688 disable ECed output for nodelay decoding 2015-04-28 13:42:01 +08:00
zhilwang
5cf163449f Merge pull request #1914 from mstorsjo/asm-cleanup
Clean up assembly source files
2015-04-27 17:54:38 -07:00
Martin Storsjö
b1570b17be Convert mixed tabs to spaces in shell scripts
All other shell scripts use spaces for indentation.
2015-04-27 14:10:09 +03:00
Martin Storsjö
a00e2e7229 Convert tabs to spaces in sample_sc.asm
This makes them consistent with the rest of the assembly source
files. Prior to f2314151e8, all the assembly files had consistent
indentation, but after that, this file had been made different.
2015-04-27 14:07:04 +03:00
Martin Storsjö
7d3bb19bed Fix up indentation in some arm assembly files 2015-04-27 14:05:52 +03:00
Martin Storsjö
db750af868 Remove stray dos newlines in files that otherwise have unix newlines 2015-04-27 14:05:42 +03:00
Martin Storsjö
31a9fb6913 Remove trailing whitespace 2015-04-27 14:02:28 +03:00
sijchen
81df4c6972 Merge pull request #1910 from mstorsjo/make-simplify
Simplify handling of the default "all" rule
2015-04-27 10:34:42 +08:00
Haibo Zhu
c24c967c65 Fix the possible infinite loop bug and Fix the judgement condition 2015-04-22 19:58:39 -07:00
Martin Storsjö
75251b5af7 Remove stray spaces before colon in messages 2015-04-22 09:19:59 +03:00
huili2
dac13639c9 Merge pull request #1908 from HaiboZhu/Add_Highprofile
Add high profile support
2015-04-21 09:42:49 +08:00
Haibo
e9916c7592 Add Transform 8x8 support
Add Intra 8x8 support
Add no_deblocking support inside T8x8
Add CABAC parse support
Add static data sheet for dequant
Fix bugs and clean/astyle the code
Remove build warnings
Modify the UT cases
Fix the ParseNalHeader bug
2015-04-20 04:04:30 -07:00
Martin Storsjö
a436676bc8 Update openh264.rc when updating the version number 2015-04-20 12:08:52 +03:00
Martin Storsjö
350b69bbf0 Simplify the version generation script 2015-04-20 12:08:52 +03:00
Martin Storsjö
2b33c74993 Include the version number and other info in the built DLL file 2015-04-20 12:08:52 +03:00
sijchen
473f2e3d42 Merge pull request #1901 from mstorsjo/cleanup
Clean up warnings and incorrect indentation in the console tools
2015-04-20 11:18:59 +08:00
sijchen
c8ee9a0308 Merge pull request #1904 from mstorsjo/wp-proj-gitignore
Add a gitignore file for the windowsphone project
2015-04-20 11:18:05 +08:00
Martin Storsjö
95a46f1fc6 Add a gitignore file for the windowsphone project 2015-04-17 16:13:31 +03:00
Martin Storsjö
f39f58e9db Avoid warnings about conversion from double to float 2015-04-17 14:58:55 +03:00
Martin Storsjö
15c71312d2 Use spaces for indentation instead of tabs 2015-04-17 14:58:55 +03:00
Martin Storsjö
f619c16840 Hook up the x86_32-only assembly as well
This makes sure the code is at least somewhat tested. Ideally those
assembly functions should be upgraded to work in 64 bit mode as well,
but until then it's better to actually use them in the configurations
where they can be built.
2015-04-17 13:00:46 +03:00
Sijia Chen
7b52c402db add command line option to set input frame rate 2015-04-16 12:46:18 +08:00
Sijia Chen
1922b533f6 change the range of frame rate from 30 to 60 2015-04-16 12:45:43 +08:00
Sijia Chen
8b679cad73 improve statistic calc 2015-04-16 12:45:33 +08:00
Sijia Chen
6a31bc3785 downgrade the log level of screen reference logs to save log volume 2015-04-16 12:45:22 +08:00
Sijia Chen
2a9035a571 add a clip to avoid warning on gcc4.8.2
https://github.com/cisco/openh264/issues/1858
2015-04-16 12:45:09 +08:00
sijchen
d718ad89f4 Merge pull request #1891 from darealshinji/patch-1
Indentation in PrintHelp() for better reading flow
2015-04-13 14:38:29 +08:00