Commit Graph

2159 Commits

Author SHA1 Message Date
Martin Storsjö
3c584cd2c4 Fix a path in the MSVC autobuild bat script 2014-07-04 15:11:39 +03:00
ruil2
aa1786254a Merge pull request #1082 from mstorsjo/msvc-ltcg
Enable whole program optimization for both decoder and encoder MSVC projects
2014-07-04 18:40:36 +08:00
Martin Storsjö
31e3884a68 Enable whole program optimization for both decoder and encoder MSVC projects
Enable it on the project level, instead of having to set separate options
for both compiler and linker.

The processing project actually had the options set in this way originally
as well.
2014-07-04 11:59:45 +03:00
ruil2
0fa845ed27 Merge pull request #1081 from sijchen/scc_param_valid
avoid using AQ which is untuned for screen route
2014-07-04 16:35:02 +08:00
huili2
ef0c3e2b91 Merge pull request #1075 from HaiboZhu/Debug_InvHadamard_Chroma
Debug for chroma inv-hadamard dequant mismatch error
2014-07-04 13:49:36 +08:00
HaiboZhu
5dbd3f01ea Merge pull request #1080 from huili2/enable_ASM_EC
add missing ASM in EC
2014-07-04 13:46:46 +08:00
sijchen
10804f316e avoid using AQ which is untuned for screen route 2014-07-04 11:02:24 +08:00
ruil2
9506f71b43 Merge pull request #1060 from mstorsjo/loopfilter-multithreading
Only force iLoopFilterDisableIdc to 2 if multithreading has been enabled
2014-07-04 10:43:41 +08:00
sijchen
fb4c907ecb Merge pull request #1076 from lyao2/RCdiv
refactor code to eliminate potential div by 0, review at: https://rbcommons.com/s/OpenH264/r/595/
2014-07-04 10:31:38 +08:00
ruil2
2bb23a79ed Merge pull request #1061 from mstorsjo/welsenc-init-defaults
Use GetDefaultParams instead of memset to initialize SEncParamExt in the console test app
2014-07-04 10:21:36 +08:00
huili2
3f5f0d6a57 add missing ASM in EC 2014-07-03 18:43:52 -07:00
Haibo Zhu
da75e15b4a Modify the unit test for WelsDequantIHadamard2x2Dc 2014-07-03 18:40:12 -07:00
Ethan Hugg
35b739c754 Merge pull request #1079 from mstorsjo/linker-flags
Don't pass -L. to the MSVC linker
2014-07-03 12:35:21 -07:00
Martin Storsjö
d9f12135d4 Don't pass -L. to the MSVC linker
This avoids warnings - this parameter isn't necessary on MSVC.
2014-07-03 22:05:55 +03:00
Ethan Hugg
58576712fa Merge pull request #1063 from mstorsjo/unify-makefile
Use += for all submodules INCLUDE variables
2014-07-03 12:00:13 -07:00
Ethan Hugg
f1710e6efb Merge pull request #1074 from mstorsjo/simplify-travis
Simplify the travis configuration, reduce duplicated rebuilds
2014-07-03 09:50:50 -07:00
Martin Storsjö
ab866bef09 Simplify the travis configuration, reduce duplicated rebuilds
The -B make option rebuilds everything from scratch - thus a "make -B",
"make -B test" sequence would first build everything from scratch, then
rebuild (almost) everything and run the tests.

The previous sequence, with "make -B test" without specifying
BUILDTYPE=Debug, meant that it rebuilt a new release build instead
and tested that, thus never actually testing the debug build.

This should reduce the time used for compilation in travis runs
to less than half.

Also explicitly specify BUILDTYPE=Release, for clarity.
2014-07-03 10:43:15 +03:00
dongzha
b9de87ea5d Merge pull request #1077 from mstorsjo/fix-test-out-of-bounds-access
Avoid writing in array index [-1] in DecUT_IntraPrediction
2014-07-03 01:42:43 -06:00
Martin Storsjö
292d78db5c Avoid writing in array index [-1] in DecUT_IntraPrediction
This fixes running the tests when built with clang in debug mode.

This was accidentally broken in 6e815e708 when switched to using
ENFORCE_STACK_ALIGN_1D instead of manually aligning the buffers.

Previously the aligned pointer always had at least 16 bytes of
extra space in the stack before the pointer, so using [-1] was ok,
while now when using ENFORCE_STACK_ALIGN_1D, it's only guaranteed
that the pointer itself is aligned, but not that there's any extra
space before the pointer. Therefore, we need to manually offset
everything by one kiStride extra. (This already was accounted for
in the total number of bytes allocated for the array.)
2014-07-03 10:20:42 +03:00
lyao2
21deaddc48 refactor code to eliminate potential div by 0 2014-07-03 15:01:48 +08:00
Haibo Zhu
e0ba5cd9f3 Debug for Chroma InvHadamard Dequant error 2014-07-02 23:36:44 -07:00
zhilwang
ba7dca89d5 Merge pull request #1070 from mstorsjo/remove-unused-function
Remove an unused function in mktargets.py
2014-07-03 13:48:21 +08:00
zhilwang
56edea9bcd Merge pull request #1066 from mstorsjo/android-cpufeatures-dir
Build the android cpu-features.o file in codec/common/src
2014-07-03 13:47:14 +08:00
zhilwang
0ef26d6a3f Merge pull request #1068 from mstorsjo/android-clean
Ignore failures in cleaning android projects
2014-07-03 13:46:59 +08:00
Martin Storsjö
6e40991cc7 Only force iLoopFilterDisableIdc to 2 if multithreading has been enabled
Previously these lines were within an #ifdef MT_ENABLED block,
but now that threading is enabled by default, we should probably
only do it if threading has been requested.
2014-07-03 08:38:23 +03:00
ruil2
2c250179dc Merge pull request #1071 from ganyangbbl/typo_bug
fix a typo issue in ParamValidation
2014-07-03 11:23:33 +08:00
ruil2
f245dc34ff Merge pull request #1062 from sijchen/scc_md_bgd1
fix BGD under screen and remove a build warning in ME
2014-07-03 11:23:17 +08:00
ganyang
01559a684e fix a typo issue in ParamValidation 2014-07-03 11:02:09 +08:00
Sijia Chen
49fb042f21 add bgd fix to camera route as well to avoid visible artifact when using fake content in video 2014-07-03 11:01:02 +08:00
zhilwang
782e94b05c Merge pull request #1065 from mstorsjo/remove-old-includes
Remove leftover include directories
2014-07-03 09:21:11 +08:00
zhilwang
8e03f0351d Merge pull request #1069 from mstorsjo/generate-targets
Regenerate test/common/targets.mk via the mktargets.sh script as well
2014-07-03 09:20:23 +08:00
sijchen
601105471f Merge pull request #1067 from lyao2/interface_ut_commit
encoder interface UT for temporal layer setting change
2014-07-03 09:07:09 +08:00
Martin Storsjö
323dc793da Remove an unused function in mktargets.py 2014-07-02 16:56:39 +03:00
Martin Storsjö
dd05a655c2 Regenerate test/common/targets.mk via the mktargets.sh script as well 2014-07-02 15:07:02 +03:00
Martin Storsjö
239050d73c Ignore failures in cleaning android projects
If the android test projects hasn't been built yet, the "make clean"
command will stop at "ant clean" (which fails since build.xml doesn't
exist yet). If this happens, one still would want to run the "make
clean" command to the end, cleaning up any possible intermediate object
files (e.g. from a build for a different platform).
2014-07-02 13:42:52 +03:00
lyao2
44faa1c9a7 add encoder interface UT for IDR request 2014-07-02 18:42:05 +08:00
Martin Storsjö
10eeea52fe Build the android cpu-features.o file in codec/common/src
Up until now it was built in codec/common (where all other common
source files were built, until they were split up into
inc/src/x86/arm/arm64).
2014-07-02 13:39:26 +03:00
Martin Storsjö
1c1468210f Remove leftover include directories
codec/common no longer contains headers, they're all in
codec/common/inc now.
2014-07-02 13:31:36 +03:00
Martin Storsjö
96307dfd2e Use += for all submodules INCLUDE variables
This makes it easier for platform specific makefiles to add
things to some of them. (build/platform-android.mk already does this
for a few submodules, e.g. GTEST_INCLUDES and CODEC_UNITTEST_INCLUDES
already use +=.)
2014-07-02 12:28:35 +03:00
Sijia Chen
0a3db78bb9 fix BGD under screen and remove a build warning in ME 2014-07-02 16:50:59 +08:00
Martin Storsjö
4d494cb0f1 Use GetDefaultParams instead of memset to initialize SEncParamExt in the console test app
Most of the default parameters still are overwritten with hardcoded
values in FillSpecificParameters though, but this makes sure that
defaults are applied for any new fields at least.
2014-07-02 11:47:31 +03:00
ruil2
3ef97dc0c9 Merge pull request #1057 from sijchen/scc_md_merge11
[Encoder] Completing and bug-fixing the screen content MD/ME process
2014-07-02 14:02:51 +08:00
ruil2
bdf9f6b4ff Merge pull request #1043 from mstorsjo/avoid-globals
Get rid of global non-readonly variables within the library
2014-07-02 14:01:35 +08:00
ruil2
dce9541199 Merge pull request #1055 from ethanhugg/frameleakonerror
Destroy input frame on GMP encode on error conditions.
2014-07-02 14:01:08 +08:00
Sijia Chen
a964ae8cfa completing and bug-fixing the screen content MD/ME process 2014-07-02 10:33:47 +08:00
huili2
19273b1ae5 Merge pull request #1052 from sijchen/scc_md_merge2
[Processing] fix the different threshold between camera and screen
2014-07-02 10:33:14 +08:00
ruil2
2eb65d7d72 Merge pull request #1053 from mstorsjo/fix-include-spacing
Add proper spacing in include directvies
2014-07-02 09:04:14 +08:00
ruil2
9caf082b4a Merge pull request #1054 from huili2/output_bs_enc
fix when output enabled in encoder
2014-07-02 09:04:01 +08:00
Ethan Hugg
e4a2fad99b Destroy input frame on GMP encode on error conditions. 2014-07-01 09:35:10 -07:00
huili2
05cd0e8ada fix when output enabled in encoder 2014-07-01 02:13:03 -07:00