Martin Storsjö
70360cb11e
Move the ASM variable declaration into the x86-common file
2014-02-28 10:22:19 +02:00
Martin Storsjö
078681a097
Add a platform file for building for iOS using the makefile build system
...
This doesn't build the actual demo apps that you can run on the
phone (not yet at least), but is useful for easily testing compilation
in different setups, and for building a precompiled static library for
use in external projects.
2014-02-28 10:19:53 +02:00
Martin Storsjö
ab3609c4c7
Don't add x86 assembly specific options on darwin if building for other archs
...
This avoids warnings about using the -read_only_relocs suppress
if building for other architectures than x86.
2014-02-28 10:19:53 +02:00
Martin Storsjö
fbc7519d90
Don't explicitly set/clear USE_ASM in the android makefile
...
The USE_ASM variable is architecture independent now and only
controls whether assembly optimizations should be enabled in
the general sense, regardless of the target architecture.
2014-02-28 10:19:53 +02:00
Martin Storsjö
7d2c761604
Allow using the USE_ASM makefile variable for architectures other than x86
...
Add an ASM_ARCH variable which specifies which kind of assembly
is supposed to be built.
2014-02-28 10:19:53 +02:00
Martin Storsjö
59e6ab91cf
Use an intermediate platform header for including architecture specific rules
...
This avoids coupling the architecture directly to the platform,
allowing building on e.g. linux on architectures other than x86,
without having to explicitly specify USE_ASM=No while building
on those.
Later this will also facilitate enabling assembly optimizations
where applicable, e.g. arm assembly on linux.
2014-02-28 10:19:53 +02:00
Martin Storsjö
8d95d0841d
Indent nested ifdefs in the android makefile
...
This makes the makefile slightly more readable.
2014-02-28 10:19:52 +02:00
huili2
3943119a68
Merge pull request #370 from volvet/develop_b
...
refine welsEncoderEncodeExt
2014-02-28 15:39:52 +08:00
volvet
4808eca022
update comments on welsEncoderEncodeExt
2014-02-28 15:27:54 +08:00
volvet
4c951aab83
refine welsEncoderEncodeExt
2014-02-28 15:13:38 +08:00
sijchen
10a4fb04c7
remove macros to clear codes
2014-02-28 14:54:11 +08:00
ruil2
823b3b6820
add verification on return value
2014-02-28 14:31:17 +08:00
Licai Guo
e4b6fc3f9a
modify SPS, PPS buffer management and remove a build warning
2014-02-27 22:28:16 -08:00
Licai Guo
0279cd7597
Merge pull request #367 from volvet/refine-enc-plus
...
refine encode plus code
2014-02-28 14:18:06 +08:00
huili2
2dd41096d5
Merge pull request #366 from licaiguo/refine-rpl-pr
...
refine rpl
2014-02-28 14:08:41 +08:00
Licai Guo
0fd9db2878
Add ARM 32bit asm code for decoder.
2014-02-28 13:36:34 +08:00
volvet
d0d050d8e5
refine encode plus code
2014-02-28 13:06:49 +08:00
Licai Guo
e902f0fea4
refine rpl
2014-02-27 21:04:31 -08:00
Ethan Hugg
3d47b7847d
Merge pull request #358 from volvet/add_ios_encDemo
...
add encode test for iOS
2014-02-27 10:52:14 -08:00
Ethan Hugg
e5ee43173d
Merge pull request #361 from mstorsjo/get-core-count
...
Use higher level APIs for getting the number of cores if WelsCPUFeatureDetect didn't report anything
2014-02-27 10:51:17 -08:00
ruil2
9319f879e4
Merge pull request #362 from mstorsjo/encoder-default-params
...
Add a new public method for initializing SEncParamExt to default values
2014-02-27 17:38:16 +08:00
Licai Guo
573b02797b
Merge pull request #363 from huili2/remove_store_base
...
remove unused codes in reference picture management
2014-02-27 12:39:23 +08:00
Licai Guo
5303eaaeb9
remove store_ref_base_pic_flag related codes in reference picture management
2014-02-26 20:00:32 -08:00
volvet
e8ecee2616
make the makefile is indepent with the pch file
2014-02-27 09:30:35 +08:00
volvet
3544aaaaab
remove boilerplate comments
2014-02-27 09:17:24 +08:00
Martin Storsjö
a5f5b37a25
Renumber vtable entries in the C ABI test
2014-02-26 22:13:59 +02:00
Martin Storsjö
c7ff8876bb
Add a new public method for initializing SEncParamExt to default values
...
This simplifies forward source compatibility when new fields are
added to SEncParamExt - when new fields are added to SEncParamExt,
this method makes sure those fields are initialized to the
default value - otherwise all API users would have to manually check
SEncParamExt every time it is updated to make sure there's no new fields
that should be set to a nonzero value by default (e.g. like
bEnableFrameSkip).
2014-02-26 22:12:11 +02:00
Martin Storsjö
6021ff3908
Refactor initializing defaults in a SEncParamExt to a separate function
2014-02-26 22:03:56 +02:00
Martin Storsjö
bb5b3978bf
Use higher level APIs for getting the number of cores if WelsCPUFeatureDetect didn't report anything
...
On processors without HTT, WelsCPUFeatureDetect can't return
a number of cores but might still return a nonzero set of
CPU feature flags. Previously the nonzero cpu feature flag
indicated that cpuid worked and the encoder wouldn't use the
higher level API for getting the number of cores, even though the
number of cores was left at 1.
2014-02-26 21:43:46 +02:00
Ethan Hugg
a31f2b3265
Merge pull request #360 from mstorsjo/typofix
...
Fix a typo in a function pointer name
2014-02-26 11:31:22 -08:00
Martin Storsjö
e239d9fddc
Fix a typo in a function pointer name
2014-02-26 21:26:54 +02:00
Ethan Hugg
eb9c7c9f2c
Merge pull request #359 from licaiguo/add-unit-test-cases
...
Add unit test cases
2014-02-26 09:37:52 -08:00
volvet
ed499b9f93
Merge pull request #356 from ruil2/cleanup
...
modify output help info and commands line input -- review request #115
2014-02-26 20:49:01 +08:00
ruil2
cb4bc5ee28
add command line example
2014-02-26 16:58:03 +08:00
volvet
6dc1d43a5b
remove precompiled files
2014-02-26 16:26:16 +08:00
Licai Guo
2cc9f51571
add the bitstreams
2014-02-26 00:26:12 -08:00
volvet
73ce4adc85
add encode test for iOS
2014-02-26 14:53:31 +08:00
Licai Guo
e762951539
add more unit test on decoder
2014-02-25 22:51:56 -08:00
ruil2
1edefc4d50
modify output help info and commands line input
2014-02-26 09:21:46 +08:00
huili2
c89a6911a0
Merge pull request #355 from licaiguo/check-sliceheader
...
add a check to parseSliceHeaderSyntaxes
2014-02-25 16:56:33 +08:00
Licai Guo
a9fd78f1e2
add a check to parseSliceHeaderSyntaxes
2014-02-25 00:47:12 -08:00
volvet
be43cf888f
Merge pull request #354 from zhilwang/arm-asm
...
Refine structure of iOS project to fix the issue.
I will merge this pull request for it is to fix broken the iOS build. please raise fix patch If exist any issue on the iOS makefile
2014-02-25 15:31:00 +08:00
Licai Guo
fc056c7ef0
Refine structure of iOS project to fix the issue.
2014-02-25 13:46:18 +08:00
Ethan Hugg
d6e14c14da
Merge pull request #352 from mstorsjo/simplify-travis-32bit
...
Don't install 32 bit zlib in travis builds
2014-02-24 07:58:24 -08:00
Martin Storsjö
9c21760d88
Don't install 32 bit zlib in travis builds
...
It shouldn't be necessary for anything in the build.
2014-02-24 17:47:46 +02:00
Ethan Hugg
3940beb7e8
Merge pull request #351 from mstorsjo/simplify-travis
...
Simplify the travis configuration now that OpenSSL isn't required any longer
2014-02-24 07:45:44 -08:00
Ethan Hugg
2966abd937
Merge pull request #350 from mstorsjo/android-unittest
...
Link codec_unittest to the static android STL
2014-02-24 07:45:13 -08:00
Ethan Hugg
72990e1290
Merge pull request #349 from mstorsjo/cleanup-ios-project
...
Remove unnecessary precompiled headers from the xcode projects
2014-02-24 07:44:41 -08:00
Martin Storsjö
3fdda8782a
Simplify the travis configuration now that OpenSSL isn't required any longer
2014-02-24 17:09:07 +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