sijchen
71aa533038
move the printing of MEMORY_CHECK part to more reasonable
2016-02-15 10:12:34 -08:00
sijchen
e5e7013b73
Merge pull request #2350 from sijchen/th00
...
[Common] Add sink to IWelsTask
2016-02-08 14:59:38 -08:00
unknown
3873addc3d
fix frame size constraints for width and height
2016-02-01 15:55:53 +08:00
Sindre Aamås
3088d96978
[Encoder] Add an AVX2 4x4 IDCT implementation
...
~2.03x faster on Haswell as compared to the SSE2 version.
2016-01-19 13:12:28 +01:00
sijchen
5eb18b101e
change the output way of debug trace
2016-01-13 22:13:43 -08:00
sijchen
cce1c29844
add sink to IWelsTask (for further enhancements)
2016-01-13 16:24:54 -08:00
Sijia Chen
3e0ee69812
remove unneeded codes and add some logs
2015-11-02 23:15:29 -08:00
Sijia Chen
054a297ca7
adjust encoder tasks, add ut and enable new thread pool under some slice modes
2015-10-28 09:39:26 -07:00
HaiboZhu
e0cee02d77
Merge pull request #2177 from sijchen/thp21
...
[Encoder] add encoder tasks and task-management class
2015-10-23 13:21:42 +08:00
Martin Storsjö
80c8b7b1cc
Add a missing include of stdlib.h
...
This is required for malloc in this header.
This fixes building for Windows Phone.
2015-10-20 08:59:41 +03:00
Sijia Chen
819f6f5d93
[Encoder] add encoder tasks and task-management class
...
https://rbcommons.com/s/OpenH264/r/1334/
2015-10-19 22:48:28 -07:00
Martin Storsjö
dac26cf923
Remove unused STL includes
...
This fixes building for Android, where libopenh264.so is intended
not to link to any particular STL implementation.
2015-10-19 11:21:29 +03:00
Sijia Chen
b29760ee31
remove unneeded parts
2015-10-15 11:31:34 -07:00
Sijia Chen
ade32f5c48
implementation for WelsSleep on WP8.0
...
https://rbcommons.com/s/OpenH264/r/1315/
2015-10-15 11:27:43 -07:00
Sijia Chen
a3f606e58a
replacement of std::list for m_cBusyThreads
...
https://rbcommons.com/s/OpenH264/r/1320/
2015-10-15 11:17:29 -07:00
Sijia Chen
bc566f0923
put m_cIdleThreads to CWelsCircleQueue rather than std::map
...
https://rbcommons.com/s/OpenH264/r/1313/
2015-10-15 10:24:48 -07:00
Sijia Chen
eb00d5cb9e
change std::list to internal implementation and add the new ut file for CWelsCircleQueue
...
https://rbcommons.com/s/OpenH264/r/1310/
2015-10-15 10:11:29 -07:00
Sijia Chen
757a596e97
add basic threadpool functions
...
https://rbcommons.com/s/OpenH264/r/1294/
2015-10-15 10:04:00 -07:00
Haibo Zhu
03d16bb4d1
Remove UBSAN warnings about negative left shift
2015-10-14 19:43:19 -07:00
HaiboZhu
3067d127aa
Merge pull request #2153 from mstorsjo/fix-warnings
...
Fix warnings when building for iOS with xcode
2015-10-13 18:26:56 +08:00
Martin Storsjö
8363d43588
Fix warnings when building for iOS with xcode
2015-10-13 12:27:11 +03:00
Martin Storsjö
837599becc
Revert an accidental change that broke MSVC compilation
...
This reverts an unrelated part of e7e3b4f37f0.
Since the function still is declared as taking an int32_t parameter
in the header, changing the function implementation makes it end
up as a different function.
2015-10-13 12:15:01 +03:00
Haibo Zhu
e7e3b4f37f
Init the string value and add protection for WelsStrcat()
2015-10-10 08:45:48 -07:00
HaiboZhu
d0d7ad57c2
Merge pull request #2116 from mstorsjo/remove-tab-indentation
...
Fix indentation to consistently use spaces instead of tabs
2015-09-16 09:12:07 +08:00
Martin Storsjö
c31e4e23f2
Fix indentation to consistently use spaces instead of tabs
...
Also get rid of other stray tabs in scripts.
2015-09-15 08:41:19 +03:00
fstd
4d063b84cc
Build successfully on OpenBSD (which lacks sysctlbyname(3))
2015-09-12 21:31:39 +02:00
Nathan Kidd
fdabca4cc9
Only use CPU_COUNT if available
...
Fixes build error on Linux hosts with GLIBC < 2.6.
Resolves issue #2089
2015-09-02 18:24:24 -04:00
Guangwei Wang
1f8ef8f0a3
Add new x86 assembly functions to support sub8x8 mode
2015-07-10 09:00:05 +08:00
Guangwei Wang
49b569a018
Add new ARM AArch64 assembly functions to support sub8x8 mode
2015-07-08 10:34:49 +08:00
Guangwei Wang
9f0d51d8d2
add new AArch32 asm functions to support sub8x8 mode
2015-07-07 10:13:56 +08: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
huili2
57bd721b2f
add sub8x8 mode decision functions
2015-06-30 10:29:49 +08:00
sijchen
bf44265c2c
Merge pull request #1989 from sijchen/memc
...
[Encoder] Amendments with MEMORY_CHECK on
2015-06-17 17:34:57 +08:00
Martin Storsjö
22cb778730
Fix the NEON register restoring in McHorVer30WidthEq8_AArch64_neon
...
This function pushes 16 bytes to the stack, but popped off 32
bytes.
This fixes a regression since 6f64f2372.
2015-06-11 21:30:40 +03:00
Sijia Chen
71d0a7f71f
fix macro
2015-06-11 15:45:26 +08:00
Sijia Chen
89d5ad249f
add byte info in free
2015-06-11 15:29:19 +08:00
Sijia Chen
4fb4c9536f
remove build error if MEMORY_CHECK is on
2015-06-11 15:21:58 +08:00
sijchen
52cd5d99ab
Merge pull request #1979 from GuangweiWang/lumaMc
...
modify part of AArch64 LumaMc assembly functions to get improvement
2015-06-10 15:58:38 +08:00
Martin Storsjö
78e0ec6130
Convert tabs to spaces before comments
2015-06-10 10:22:29 +03:00
Martin Storsjö
764793d74b
Remove tabs in struct and class definitions
2015-06-10 10:22:01 +03:00
Martin Storsjö
ca51ee0f44
Remove tabs where a simple space is just enough
2015-06-10 10:21:52 +03:00
Martin Storsjö
51efa57a3d
Convert tabs to spaces in vertically aligned code
2015-06-10 10:21:29 +03:00
Martin Storsjö
723044837a
Convert tabs to spaces in defines
2015-06-10 10:21:25 +03:00
Martin Storsjö
43767cddb6
Remove tabs from commented out code
2015-06-10 10:21:21 +03:00
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
Guangwei Wang
c930424642
modify part of AArch64 LumaMc assembly functions to get improvement
2015-06-05 13:26:00 +08:00
Martin Storsjö
26c1ce2d05
Remove tabs from class constructor member initializer lists
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