zhilwang
b1a76aa936
Merge pull request #1215 from mstorsjo/x86-asm-noexec-stack
...
Mark the x86 assembly object files as not requiring an executable stack
2014-07-25 14:15:17 +08:00
zhilwang
6ba537bee5
Merge pull request #1203 from dongzha/AddAQArm64
...
add ARM64 Adaptative Quantization code and UT
2014-07-25 13:46:10 +08:00
Martin Storsjö
d5a45ec513
Mark the x86 assembly object files as not requiring an executable stack
...
This avoids having to add extra linker flags in order to specify this.
This is similar to how this already is handled for the arm assembly.
2014-07-25 00:56:39 +03:00
Jed Davis
cf0ac5504b
Don't request executable stacks for Linux GMP plugin.
...
The codec seems to work without executable stack memory, and in general
executable stacks should be avoided if possible, but the assembler used
for the .asm source files requests it. This commit adds a linker option
to override that.
2014-07-24 10:55:03 -07:00
Martin Storsjö
4433740722
Fix the name of the version generation makefile target
2014-07-24 17:02:40 +03:00
Martin Storsjö
8253049383
Add dependencies to generating version.h in the object files that use it
...
Previously the makefile didn't know that there was any dependency between
compiling welsDecoderExt.o and welsEncoderExt.o and the regeneration
of the version.h header. This meant that in parallel builds (make -jX),
make could try to regenerate version.h while compiling welsDecoderExt.o
and welsEncoderExt.o, which would lead to errors about version.h not
existing.
Also add some spacing around the makefile rules.
This fixes parallel make building in certain cases.
2014-07-24 17:02:40 +03:00
HFVideoMac
910c64ef22
add ARM64 Adaptative Quantization code and UT
2014-07-22 15:07:25 +08:00
Martin Storsjö
93e9694bc6
Fix generating the version header when building outside of the source tree
...
Also silence this command in silent builds.
2014-07-16 10:40:45 +03:00
ruil2
29bb1df645
Merge pull request #1177 from huili2/version_all
...
version-generate
2014-07-16 10:35:20 +08:00
Martin Storsjö
27499895f7
Support building outside of the source tree
...
This allows building two versions for different architectures at
the same time, without the built files clobbering each other.
This is very helpful when trying to track down differences between
two build configurations.
To build outside of the source tree, create the other directory to
use for building (either outside of the openh264 directory, or as
a subdirectory), enter that directory, and do
"make -f path/to/openh264/Makefile".
2014-07-15 20:40:51 +03:00
huili2
333cf6aa97
version-generate
2014-07-14 23:39:31 -07:00
Ethan Hugg
3bc9b47465
Changed gmp-api branch to master and astyled the changes.
2014-07-11 08:42:51 -07:00
Ethan Hugg
17c14d44e2
Pull gmp-api by branch name
2014-07-09 14:51:16 -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
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
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
Martin Storsjö
7ae3fbcfbf
Share one implementation of the CReadConfig class between the decoder and encoder console apps
2014-06-30 09:04:12 +03:00
Martin Storsjö
5e9492cb6e
Use a less generic name for linking to STL when building the plugin for android
...
This matches the common naming scheme more closely for adding extra
flags to individual parts of the build.
Also deduplicate the static stlport lib name.
2014-06-25 09:12:06 +03:00
Martin Storsjö
a24b781e54
Make sure that libgmpopenh264.so is removed on "make clean"
...
Nothing used the makefile variable $(PLUGINS), and $(LIBRARIES)
is only used for the clean target.
2014-06-25 09:12:01 +03:00
Martin Storsjö
b3f7896a51
Inject STL_INCLUDES via MODULE_INCLUDES for the gmp plugin
...
This avoids having to rely on manual modifications to targets.mk,
which are overwritten if the targets.mk files are regenerated
via the script.
2014-06-25 08:59:55 +03:00
enda mannion
7c0b92e3f6
building plugin on Android
2014-06-24 12:32:09 +01:00
Ethan Hugg
0bc0b71ef3
Rollup of Gecko Media Plugin patches
2014-06-17 19:54:16 -07:00
ruil2
1e43075b25
update expand picture UT
2014-06-12 09:37:30 +08:00
Martin Storsjö
1b3dca6b7d
Build libgtest.a and libopenh264.a when doing "make test" for iOS
2014-06-10 16:10:48 +03:00
zhuling13
cb1c0f9b5a
modify
2014-06-06 02:44:22 -07:00
zhuling13
310137d045
t
2014-06-05 01:40:28 -07:00
zhuling13
d6ac7f4a60
add iosutdemo
2014-06-05 01:20:50 -07:00
zhuling13
6bf7ad4e2b
and space to colon, modify bad note
2014-06-04 18:23:19 -07:00
zhuling13
b4c8f6b778
for cleaning .o and .d files generated by android demo
2014-06-02 20:21:10 -07:00
zhuling13
1e4f367a1d
clear up TAP space
2014-05-23 00:59:40 -07:00
zhuling13
9a33512564
Add unittest demo for android platform
2014-05-19 23:19:23 -07:00
Martin Storsjö
3cc01c6239
Use CCASFLAGS when assembling .S sources
...
This allows overriding whether all of CFLAGS should be passed
when assembling.
2014-05-13 19:39:26 +03:00
Ethan Hugg
deb01d34dd
Parameterize the project name and change it to openh264
2014-05-02 08:12:40 -07:00
Martin Storsjö
97faa3abb6
Add a stub makefile target for binaries
...
This avoids the following error when doing "make OS=ios" if gtest
isn't installed:
make: *** No rule to make target `binaries', needed by `all'. Stop.
This fixes issue #752 .
2014-04-30 21:08:17 +03:00
lyao2
34ad719cf2
Squashed commit of the following:
...
commit f73d6cf0fcae5f401fc2817ab736af996113ca09
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Thu Apr 24 15:02:21 2014 +0800
remove comments
commit 75416c2cf6c1ebb7aabf9e8c52d8c7163a8009b7
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Thu Apr 24 14:52:09 2014 +0800
for test
commit 7dfb65ce514edcff892bfb3919921cadcce1d055
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Thu Apr 24 14:12:31 2014 +0800
for test
commit eff771645e8c349dc4e454ab1751530b3cef18ed
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Thu Apr 24 10:51:34 2014 +0800
for test
commit 9c42b9a7a04068e70be94529941f549b58e63780
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Wed Apr 23 17:46:59 2014 +0800
update cpu_flag
commit cce3fccc0a4249b82ab2e0e92fe53579ef942799
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Wed Apr 23 17:26:56 2014 +0800
for test
commit 3d292995b3c4437a2674a687cc4e8da1b5fb83f5
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Wed Apr 23 16:45:57 2014 +0800
remove space
commit c608c2ba7cf010f1dcf8c0344f68536c48e181cb
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Wed Apr 23 16:42:43 2014 +0800
remove tabs
commit 3b769342a06e25ad23a2c86f23a94d0d7ca1a4c8
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Wed Apr 23 16:33:55 2014 +0800
refine UT case
commit 89b869f0c8f8c9bbd61e9de32caa77877aeae064
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Tue Apr 22 13:40:50 2014 +0800
Squashed commit of the following:
commit abe55494134ef8342ffe9566df4e1b3265fe21b6
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Tue Apr 22 10:50:07 2014 +0800
set MV range
commit 8c7f70c351e50d945c29118bed8b3781c22b7dbc
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Mon Apr 21 16:53:10 2014 +0800
refinement
commit bf35f19a7dc88743aacf8e89e681e0ef3302d40a
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Fri Apr 18 17:24:31 2014 +0800
correct tabs
commit 130b7f895d7020bfc571d910966891da93150242
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Fri Apr 18 17:17:06 2014 +0800
correct format
commit 0429703b0844363559dd2b3d44e45034232a9d8f
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date: Fri Apr 18 15:12:44 2014 +0800
add scroll UT
2014-04-24 15:12:49 +08:00
Martin Storsjö
1342da9bc4
Remove everything related to NO_DYNAMIC_VP
...
This mode is the default and used everywhere now.
2014-04-08 15:09:21 +03:00
Licai Guo
032706f769
fix build failure without gtest
2014-03-25 18:01:00 -07:00
Martin Storsjö
77bf17937e
Use the right linker output parameters for codec_unittest.exe
...
This also includes the -nologo parameter to silence extra output
from the compiler/linker.
Also add a separating empty line between the codec_unittest rule
and the include for dependency rules.
2014-03-25 09:47:00 +02:00
Licai Guo
818203b5e4
fix make test failure issue
2014-03-24 22:14:43 -07:00
Licai Guo
759948c610
fix a typo
2014-03-24 22:14:43 -07:00
Licai Guo
f26bb57415
reorganize tests
2014-03-24 22:14:43 -07:00
Licai Guo
31a93de513
add missing build files
2014-03-18 19:47:26 -07:00
Martin Storsjö
e1b5e038d2
Use .obj as suffix for object files on MSVC
...
This avoids warnings when linking about "unrecognized source file
type, object file assumed".
2014-03-18 19:41:06 +02:00
sijchen
2fe99d688b
add basic me test
2014-03-14 16:40:02 +08:00
Licai Guo
c74f44101e
add code coverage test.
...
use lcov & gcov to generate coverage report
use genhtml to generate html pages
on ubuntu: sudo apt-get install lcov will install
these two cmd lines.
2014-03-13 01:38:33 -07:00
Martin Storsjö
a614ee1b50
Add separate install-static and install-shared targets
...
This allows installing only the static library or shared library
without the other.
2014-03-07 15:10:46 +02:00
Martin Storsjö
560c14b67c
Add the APPLE_IOS define when building for iOS with make
...
Previously the define was only used when building from within the
xcode project files.
This enables the arm neon assembly.
2014-03-04 09:26:15 +02:00
Martin Storsjö
1118dd4f71
Update the makefile generator to support .S arm assembly files
...
These are built if ASM_ARCH is set to arm.
2014-03-04 08:56:42 +02:00
Martin Storsjö
2f02bf9626
Link codec_unittest to the static android STL
...
This allows building (and running) codec_unittest for android.
This explicitly needs to go at the end of the LDFLAGS, since both
this and -lgtest etc. are static libraries, and code in gtest
relies on the STL. Since this explicitly needs to be at the end,
a separate makefile variable is added for it.
2014-02-24 17:03:18 +02:00