Commit Graph

1346 Commits

Author SHA1 Message Date
Licai Guo
538d22560f refine android build, add TARGET option to specify target in sdk 2014-02-19 20:49:30 -08:00
Licai Guo
a921bc6589 Merge pull request #320 from huili2/mb_residual_size_check
remain size to prevent MB residual reading overflow
2014-02-20 11:19:57 +08:00
Licai Guo
205e48c766 Merge pull request #319 from ruil2/encoder_update
Simplify encoder interface--remove EncoderFrame2 function
2014-02-20 11:11:04 +08:00
ruil2
3ba6a5f4da Simplify encoder interface--remove EncoderFrame2 from interface
function
2014-02-20 10:33:07 +08:00
volvet
f2d5f05b50 Merge pull request #318 from zhilwang/add-ios-decoder
Add iOS support for decoder.
2014-02-20 10:25:35 +08:00
Ethan Hugg
5306881061 Merge pull request #317 from licaiguo/enable-x86asm-android
enable x86 asm for android
2014-02-19 18:16:49 -08:00
Licai Guo
65c7168d8d Add iOS support for decoder. 2014-02-20 10:08:37 +08:00
Licai Guo
f6e4ed6524 enable x86 asm for android 2014-02-19 17:31:21 -08:00
Ethan Hugg
b20728cc8c Merge pull request #316 from licaiguo/fix-readme
Fix readme
2014-02-19 17:01:02 -08:00
Licai Guo
15fbae9b55 fix typo 2014-02-19 16:54:23 -08:00
Licai Guo
aedb0ebd1d minor fix readme 2014-02-19 16:51:14 -08:00
Ethan Hugg
89cd3cb5b6 Merge pull request #315 from mstorsjo/android-cleanup
Minor cleanup of the android build files
2014-02-19 15:58:12 -08:00
Martin Storsjö
fe17cd5a13 Remove unnecessary commented out code in the android makefiles
Comments isn't a place to store code snippets that might (or
might not) be useful later.
2014-02-19 22:16:09 +02:00
Martin Storsjö
0b74eee631 Ignore files generated while building the android projects 2014-02-19 22:16:09 +02:00
Martin Storsjö
72fb054c10 Remove unused proguard config files 2014-02-19 22:16:09 +02:00
Martin Storsjö
810db4e3fd Add a missing include directory in the android makefiles 2014-02-19 22:16:09 +02:00
Ethan Hugg
6ad8f517dd Merge pull request #314 from mstorsjo/fix-osx-32-bit
Explicitly allow read-only relocations when building on OS X in 32 bit mode
2014-02-19 11:25:13 -08:00
Martin Storsjö
e3fce5095b Explicitly allow read-only relocations when building on OS X in 32 bit mode
This fixes building libwels.dylib, since the assembly code
isn't position independent.
2014-02-19 21:17:57 +02:00
Ethan Hugg
d8e318e0a4 Merge pull request #313 from mstorsjo/fix-msvc-build
Fix msvc build
2014-02-19 11:12:41 -08:00
Martin Storsjö
561027ebac Install the import library as well, in MSVC builds 2014-02-19 21:04:30 +02:00
Martin Storsjö
b1d8671bd4 Support building DLLs with MSVC
MSVC doesn't export any functions at all by default, contrary to
gcc which exports all global functions by default.

Doing the same for linux/OS X isn't too hard, but they use yet
two other, different syntaxes for the corresponding symbol file.
2014-02-19 21:04:30 +02:00
Martin Storsjö
42fb4f562e Make the -shared flag an overrideable variable 2014-02-19 21:04:30 +02:00
Martin Storsjö
44522094bf Use CXX_LINK_O when building the shared library 2014-02-19 21:04:30 +02:00
Martin Storsjö
c6aaf7d117 Install the shared library as well 2014-02-19 21:04:30 +02:00
Martin Storsjö
03c00dc226 Include the x86 common header for x86 MSVC as well 2014-02-19 21:04:30 +02:00
Martin Storsjö
f2be484456 Fix silent builds of the shared library 2014-02-19 21:04:30 +02:00
Ethan Hugg
0a73155bdd Merge pull request #306 from licaiguo/add-android-pull-clean
Add android Support
2014-02-19 09:59:25 -08:00
Ethan Hugg
f7758a3074 Merge pull request #312 from mstorsjo/cleanup-vp-interface
Avoid duplicating the IWelsVP.h header
2014-02-19 09:55:34 -08:00
Ethan Hugg
50e49f3704 Merge pull request #310 from mstorsjo/remove-unused-variables
Avoid declaring unused variables
2014-02-19 09:26:00 -08:00
Martin Storsjö
7acb6cd4d0 Remove the duplicated IWelsVP.h file
Instead have the encoder include it directly from the processing
library.

Both copies of the files were mostly identical so far.
2014-02-19 15:00:49 +02:00
Martin Storsjö
3e4e74a4d8 Remove unused include directories 2014-02-19 14:57:06 +02:00
Martin Storsjö
099595696b Add the common processing include directories to the include path
This avoids using relative paths for including these files.
2014-02-19 14:42:03 +02:00
Martin Storsjö
79838d4aad Remove unused include directories
The processing lib doesn't need (and shouldn't) look into the
encoder's private include directories.
2014-02-19 14:22:20 +02:00
Licai Guo
9d244abb22 Merge pull request #308 from mstorsjo/mc-const-pointers
Mark source parameters to MC functions as const
2014-02-19 17:02:00 +08:00
Martin Storsjö
f6a46960c9 Check a string length before doing a strncpy 2014-02-19 10:42:52 +02:00
Martin Storsjö
fd100598ab Avoid declaring unused variables
Move the variable declarations within the ifdef instead.
2014-02-19 10:39:43 +02:00
Martin Storsjö
3532781556 Mark source parameters to MC functions as const 2014-02-19 10:19:56 +02:00
volvet
e441ae2fd5 Merge pull request #307 from mstorsjo/cleanup-static-func-declarations
Cleanup static function declarations
2014-02-19 16:04:38 +08:00
Martin Storsjö
ebb890e03e Declare static functions within the file they are used/defined in
It does not make sense to declare but not define static functions
in a header.
2014-02-19 09:51:25 +02:00
Martin Storsjö
1a1b78e9c5 Remove unnecessary declarations of static functions
These functions don't need to be declared in advance at all.
2014-02-19 09:25:27 +02:00
Licai Guo
a3c38b5631 add safety check for bit-reading for headers 2014-02-18 22:55:12 -08:00
ruil2
dd93aa90b2 Merge pull request #290 from volvet/develop_b
Refactor CWelsPreProcess
2014-02-19 10:18:56 +08:00
Licai Guo
bcf29e5b9f fix typo in README 2014-02-18 18:05:56 -08:00
volvet
bb58c5c720 correct style 2014-02-19 10:04:17 +08:00
Licai Guo
fbcf01cbbc add missing icon files 2014-02-18 18:01:27 -08:00
Licai Guo
d058176c3b add android support, single commit 2014-02-18 17:54:27 -08:00
ruil2
e79769fb88 Merge pull request #305 from mstorsjo/fix-encoder-param-interface
Don't duplicate the SEncParamExt/SEncParamBase structs for C compatibility
2014-02-19 09:12:58 +08:00
huili2
0fcd066cde Merge pull request #298 from licaiguo/decoder-syntax-element-step1
add decoder syntax checks
2014-02-19 08:57:50 +08:00
Martin Storsjö
7d638f8a6b Remove the now unused INIT_TYPE data type 2014-02-18 22:52:00 +02:00
Martin Storsjö
49f4dad1b7 Split the encoder Initialize method into two
This avoids the struct type casting and having to pass a parameter
that says which kind of struct it actually is.
2014-02-18 22:51:54 +02:00