Commit Graph

3702 Commits

Author SHA1 Message Date
huade
057799e298 syn/unify with local SHA1 script and update SHA1 tables 2015-07-17 10:44:15 +08:00
huili2
c0feee817d Merge pull request #2032 from GuangweiWang/sub8x8asm
add new assembly functions to support sub8x8 mode
2015-07-16 13:33:04 +08:00
huili2
24d8b8a82c Merge pull request #2033 from HaiboZhu/Bugfix_FMO_judgement_error
Fix max slice group number judgement error in FMO
2015-07-16 13:32:29 +08:00
HaiboZhu
b6ddfabf2b Merge pull request #2028 from sijchen/mt42
[Encoder] save memory usage and improve error return logic under VLCOVERFLOW
2015-07-16 11:38:24 +08:00
sijchen
2407292882 Merge pull request #2031 from mstorsjo/astyle-tabs
Make astyle convert tabs to spaces
2015-07-14 17:59:01 +08:00
Haibo Zhu
663bd94038 Fix max slice group number judgement error in FMO 2015-07-14 15:45:40 +08:00
Martin Storsjö
7c739795b7 Make astyle convert tabs to spaces
Previously astyle only changed tabs to spaces if they were used for
indentation, but tabs in the middle of lines were left untouched.
2015-07-14 10:03:40 +03:00
sijchen
f743f04ed7 Merge pull request #2029 from mstorsjo/remove-tabs
Remove unnecessary tabs in the middle of lines
2015-07-14 10:33:58 +08:00
Martin Storsjö
282eda21cb Remove unnecessary tabs in the middle of lines
At 6ff4ef3b38 all the (stray, mixed) tabs had been cleaned out from
the source code; remove newly added tabs and convert to spaces.
2015-07-13 23:05:26 +03:00
sijchen
41caf38152 Merge pull request #2027 from sijchen/dbp2
[Encoder] use func pointer for deblocking to save judgements at each slice
2015-07-10 11:02:37 +08:00
Guangwei Wang
1f8ef8f0a3 Add new x86 assembly functions to support sub8x8 mode 2015-07-10 09:00:05 +08:00
sijchen
703cce0214 Merge pull request #2023 from ethanhugg/refcount
Change GMP code to RefCount instead of deleting on enc/decode complete.
2015-07-09 16:28:02 +08:00
sijchen
95ad76f65d Merge pull request #2024 from huili2/submbtype_modif
modify sub_mb_type, and fix a function name typo
2015-07-09 12:37:57 +08:00
Sijia Chen
e70621c194 save memory usage and improve error return logic under VLCOVERFLOW 2015-07-09 12:37:08 +08:00
Sijia Chen
cae5af52d7 use func pointer for deblocking to save judgements at each slice 2015-07-09 10:03:00 +08:00
sijchen
a8ae134610 Merge pull request #2026 from sijchen/fix_rc
[Encoder] let qp clip to min/max qp available in all rc settings
2015-07-08 17:02:17 +08:00
Guangwei Wang
49b569a018 Add new ARM AArch64 assembly functions to support sub8x8 mode 2015-07-08 10:34:49 +08:00
Sijia Chen
ee09f4d7bf let qp clip to min/max qp available in all rc settings, so as to avoid qp exceed 51 2015-07-07 17:49:11 +08:00
Guangwei Wang
9f0d51d8d2 add new AArch32 asm functions to support sub8x8 mode 2015-07-07 10:13:56 +08:00
Ethan Hugg
a4bddf417e Change GMP code to RefCount instead of deleting on enc/decode complete. 2015-07-06 09:48:50 -07:00
huili2
338a448946 modify sub_mb_type to be faster, and fix a function nam typo 2015-07-06 13:46:32 +08:00
Ethan Hugg
d04c7b9347 Merge pull request #2020 from brion/emscripten
Allow compilation to JavaScript via emscripten
2015-07-04 11:30:28 -07:00
Brion Vibber
522639f768 Allow compilation to JavaScript via emscripten
Currently the emscripten JavaScript environment for C/C++ programs
cannot do multithreading, and doesn't have a sysctl implementation
to get hardware CPU count. Hardcode to 1.

Using the Linux OS settings works, so not adding a platform file.

To build with emscripten (tested 1.30.0):

  emmake make OS=emscripten ARCH=asmjs

The resulting libopenh264.so is LLVM bitcode which can be further
linked into an emscripten project for final JavaScript output.
2015-07-03 03:15:40 -07:00
sijchen
507ffbadb6 Merge pull request #2022 from sijchen/fix_slc
[Encoder] fix a first-mb judgement
2015-07-03 12:25:40 +08:00
huili2
159ca4461f Merge pull request #2021 from sijchen/mt32
[Encoder] put pSliceBsBuffer to thread buffer rather than per slice, so as …
2015-07-03 11:10:05 +08:00
Sijia Chen
43ca6db9f5 put pSliceBsBuffer to thread buffer rather than per slice, so as to save memory usage 2015-07-03 09:55:16 +08:00
Sijia Chen
f265ab8e85 fix a first-mb judgement and enablings a test 2015-07-02 15:59:02 +08:00
sijchen
bee0d7d230 Merge pull request #2015 from huili2/sub8_final
add sub8x8 mode decision functions
2015-07-02 15:52:36 +08:00
huili2
1308027377 Merge pull request #2013 from sijchen/mem10
[Encoder] refactoring: simplify and wrap a function
2015-06-30 14:25:33 +08:00
huili2
57bd721b2f add sub8x8 mode decision functions 2015-06-30 10:29:49 +08:00
Sijia Chen
dfcc78eaf5 refactor for future simplification 2015-06-29 09:31:08 +08:00
sijchen
82a0d3e4a2 Merge pull request #2010 from sijchen/mt2
[Encoder] correct the termination of error handling under multi-thread
2015-06-29 09:13:22 +08:00
Ethan Hugg
e6e46f84f3 Merge pull request #2011 from mstorsjo/fix-arflags
Don't concatenate $@ to AR_OPTS
2015-06-26 07:56:53 -07:00
Martin Storsjö
4c8347aa22 Don't concatenate $@ to AR_OPTS
The MSVC version of AR_OPTS already contains $@, in a very specific
way.

This fixes MSVC builds after c8bed8a9.
2015-06-26 14:09:00 +03:00
sijchen
0f1371e461 Merge pull request #2004 from sijchen/ps55
[Encoder] first version of post-frame skipping for rate control (not enabled)
2015-06-26 17:42:08 +08:00
sijchen
d0a1b58374 Merge pull request #2003 from sijchen/rc_trace2
[Encoder] improve statistics logs
2015-06-26 17:41:55 +08:00
Sijia Chen
2a15a7975f correct the termination of error handling under multi-thread 2015-06-26 17:40:49 +08:00
sijchen
25dd5c3c6f Merge pull request #2009 from ruil2/rc3
use the external qp setting for screen content (reviewed: https://rbcommons.com/s/OpenH264/r/1246/)
2015-06-26 15:58:23 +08:00
sijchen
a4fb978bb7 Merge pull request #1997 from deadNightTiger/deterministic-build
Enable deterministic mode for ar
2015-06-26 15:06:41 +08:00
karina li
c51975acdf use the external qp setting for screen content 2015-06-26 12:35:21 +08:00
deadNightTiger
c8bed8a9bd Move -D flag for ar to platform-linux.mk 2015-06-25 14:25:28 +04:00
deadNightTiger
3a131800a8 Enable deterministic mode for ar 2015-06-25 13:57:00 +04:00
Sijia Chen
99aaf3198c first version of post-frame skipping for rate control (not enabled) 2015-06-23 17:04:02 +08:00
Sijia Chen
fe965a2444 improve statistics logs 2015-06-23 17:01:30 +08:00
Ethan Hugg
9be80c088d Merge pull request #1999 from bmiklautz/build
Make the static library directory configurable
2015-06-21 07:54:48 -07:00
Bernhard Miklautz
356f081f0a Make the static library directory configurable
When running "make install" the destination of pkgconfig/openh264.pc and
lib/libopenh264.a was hard coded to "lib". When building packages it
might be required to change the install location of those files to
the systems default library location (like lib64 or lib/x86_64-linux-gnu
for example).

This commit adds an additional make variable "LIBDIR_NAME" that allows
it to change the destination directory for those files.
Without setting LIBDIR_NAME the installation location is the same as before
(lib).
2015-06-19 16:23:34 +02:00
sijchen
93af25eaef Merge pull request #1993 from huili2/dec_mem_stat
add dec memory check
2015-06-19 13:37:41 +08:00
huili2
2ca6af54b9 Merge pull request #1995 from sijchen/ps22
[Encoder] make two un-error ending of encoding go to a same exit and save the d…
2015-06-19 08:44:55 +08:00
huili2
dea4303357 Merge pull request #1994 from sijchen/mt1
[encoder] remove one always-on macro to save code complexity
2015-06-19 08:44:16 +08:00
huili2
443630b098 Merge pull request #1992 from sijchen/ps11
[Encoder] Refactoring: move the post-encoding exchanging in preprocessing to more reasonable function
2015-06-18 08:33:19 +08:00