Martin Storsjö
043575ffb0
Add a public C API to the library
...
Add a struct that matches the C++ interface vtable.
This requires that the C++ interface methods are declared to use
the same calling convention as normal C functions, and that the
C struct exactly matches the layout and ordering of the C++
virtual table - MSVC seemed to reorder methods if there were
overloaded methods.
2014-01-21 20:54:32 +02:00
Martin Storsjö
dd0db820fc
Rename public interface methods to avoid two overloaded methods with the same name
...
This is required to make the order in the C++ virtual table
consistent in MSVC - previously the overloaded methods were
ordered differently in the vtable compared to the interface
declaration.
2014-01-21 20:54:32 +02:00
Ethan Hugg
efaa153bb1
Merge pull request #183 from mstorsjo/remove-unused-typedef
...
Remove unused typedefs
2014-01-21 10:34:14 -08:00
Ethan Hugg
ae0bd3ee02
Merge pull request #182 from mstorsjo/move-threadlib
...
Move the WelsThreadLib files to the common directory/library
2014-01-21 10:33:50 -08:00
Ethan Hugg
b6dcd94cb0
Merge pull request #180 from mstorsjo/remove-disabled-bundle-loading
...
Remove disabled/broken/unused code for bundle loading in the console tools
2014-01-21 10:30:28 -08:00
Ethan Hugg
57a292b106
Merge pull request #179 from mstorsjo/fix-bundleloader-64bit
...
Fix building of macos bundle loading code on 64 bit
2014-01-21 09:46:40 -08:00
Ethan Hugg
c4609af29c
Merge pull request #178 from mstorsjo/remove-system-header-hackery
...
Remove system header/define hackery in welsenc.cpp
2014-01-21 09:45:38 -08:00
Ethan Hugg
47db901f29
Merge pull request #177 from mstorsjo/remove-unused-function
...
Remove an unused function
2014-01-21 09:44:08 -08:00
Ethan Hugg
6d880360b0
Merge pull request #175 from mstorsjo/remove-unused-define
...
Remove the __NO_CTYPE define
2014-01-21 09:39:49 -08:00
Martin Storsjö
c196fd1ef0
Remove unused typedefs
2014-01-21 15:44:05 +02:00
Martin Storsjö
68f32c3c29
Move the WelsThreadLib files to the common directory/library
...
This simplifies building the thread library code via the
makefile based build system.
2014-01-21 15:11:07 +02:00
Martin Storsjö
249b4e3d1f
Only build the thread code if multithreading is enabled
...
This allows including the source file in the build even if
multithreading isn't desired.
2014-01-21 15:11:07 +02:00
Martin Storsjö
867d39e01b
Remove system header/define hackery in welsenc.cpp
...
There doesn't seem to be any actual need for this, building
on linux still works just fine.
2014-01-21 15:02:51 +02:00
Martin Storsjö
67405177d9
Remove an unused function
...
This function contains a lot of platform specific constants
whose use is unknown.
2014-01-21 15:01:52 +02:00
Martin Storsjö
d1a6929516
Fix building of macos bundle loading code on 64 bit
2014-01-21 15:00:56 +02:00
Martin Storsjö
35ad8cb3a5
Remove an exclude of an nonexistent file
2014-01-21 14:59:41 +02:00
Martin Storsjö
41928236e4
Remove unused files about macos bundle loading from the console tools
2014-01-21 14:59:41 +02:00
Martin Storsjö
b903aa8273
Remove/disable broken code for loading the encoder library from a macos bundle
...
This refers to a file "bundlewelsenc.h" which doesn't even
exist in the project at the moment.
The corresponding bundle loading code is not called at all
in the decoder console tool.
2014-01-21 14:59:41 +02:00
Martin Storsjö
ccca04453a
Remove the MSVC 2010 and 2012 project files
...
Only the 2008 version is kept up to date at the moment.
The newer versions of MSVC can open and upgrade the 2008 version
files anyway, so by removing the unmaintained ones we reduce the
confusion and maintainance burden.
Additionally, the preferred way of building with MSVC is with the
makefile build system, according to the readme.
2014-01-21 13:51:41 +02:00
Martin Storsjö
5cb3fc93e0
Remove the __NO_CTYPE define
...
Nothing within the project uses it, and it's not necessary to
build the project either, tested on both linux and mingw.
2014-01-21 12:48:33 +02:00
volvet
f8b84b642d
Merge pull request #173 from mstorsjo/readme-rc-issue
...
Mention the issues about the rate control if frame skipping is disabled
2014-01-21 00:36:47 -08:00
Licai Guo
56767f8154
add parenthses
2014-01-21 00:23:41 -08:00
Martin Storsjö
1f688a8731
Mention the issues about the rate control if frame skipping is disabled
...
As requested by Volvet in the review of the frame skipping option.
2014-01-21 10:20:29 +02:00
volvet
1d86dbdc0f
fix coverity issues
2014-01-21 16:17:56 +08:00
volvet
5c9f447c0e
fix win64 float issue, enable AQ assembly
2014-01-21 11:16:48 +08:00
Ethan Hugg
ae027b83d8
Merge pull request #159 from mstorsjo/frameskip-option
...
Add a runtime option for controlling frame skipping
2014-01-20 16:56:32 -08:00
Ethan Hugg
a8f16f3bb1
Merge pull request #170 from varunbpatil/unused_headers
...
Removed unused headers in test/
2014-01-20 11:11:21 -08:00
Ethan Hugg
a22313acc8
Merge pull request #169 from varunbpatil/mktargets_sh
...
Don't execute mktargets.py if cannot cd into correct directory
2014-01-20 10:59:31 -08:00
Varun B Patil
d1d444b622
Removed unused headers in test/
2014-01-20 22:11:47 +05:30
Varun B Patil
2d83e4561a
Don't execute mktargets.py if cannot cd into correct directory
2014-01-20 21:52:36 +05:30
Licai Guo
a2164c22af
fix 960932 by add boundary checks on run_before
2014-01-19 22:15:25 -08:00
Licai Guo
64380c46b8
fix 961370
2014-01-19 18:54:45 -08:00
Ethan Hugg
7d6035d5d4
Merge pull request #164 from varunbpatil/mktargets_cleanup
...
Cleanup mktargets.py
2014-01-19 09:14:52 -08:00
Ethan Hugg
a8a2c36fbd
Merge pull request #163 from varunbpatil/makefile_cleanup
...
Cleanup include dir list in Makefile
2014-01-19 09:14:11 -08:00
Varun B Patil
d78906aa21
Cleanup mktargets.py
...
1.Remove semicolons
2.close file
2014-01-19 21:39:20 +05:30
Varun B Patil
32b3b72e9f
Cleanup include dir list in Makefile
2014-01-19 20:30:31 +05:30
Ethan Hugg
a50d54f8e8
Merge pull request #162 from Vproject/yasm
...
Allow yasm to be used instead of nasm.
2014-01-18 08:55:49 -08:00
V
a6463be0cc
Allow yasm to be used instead of nasm.
...
http://www.nasm.us/doc/nasmdoc3.html#section-3.4.1 says a zero should
follow $ in numeric constants, but yasm complains about it when not
followed.
2014-01-18 13:59:24 +01:00
ekr
bbe51935c7
Merge pull request #160 from ethanhugg/windows_readme
...
Update ReadMe for new Windows builds
2014-01-17 14:16:25 -08:00
ekr
8892e99fbc
Merge pull request #161 from ethanhugg/msvc_flags
...
Update msvc options from VS projects.
2014-01-17 14:16:17 -08:00
Ethan Hugg
2011a7407e
Merge pull request #147 from volvet/illegal_assembly_fix
...
fix illegal instruction use
2014-01-17 14:13:24 -08:00
Ethan Hugg
00e9293433
Update msvc options from VS projects.
2014-01-17 12:56:15 -08:00
Ethan Hugg
0da712380b
Merge pull request #155 from mstorsjo/update-gtest-makefile
...
Regenerate gtest-targets.mk using mktargets.sh/py
2014-01-17 12:14:22 -08:00
Ethan Hugg
5ed47afc82
Update ReadMe for new Windows builds
2014-01-17 11:47:38 -08:00
Martin Storsjö
b38976944a
Regenerate gtest-targets.mk using mktargets.sh/py
...
This simplifies updating all makefiles consistently.
2014-01-17 18:53:17 +02:00
Martin Storsjö
a8d549e343
Omit assembler source rules if no asm sources are found
2014-01-17 18:52:46 +02:00
Ethan Hugg
16099cfd32
Merge pull request #154 from mstorsjo/no-recursive-make
...
Don't call make recursively to build codec_unittest
2014-01-17 08:49:56 -08:00
Ethan Hugg
dc2d799d2b
Merge pull request #150 from mstorsjo/msvc-make
...
Support building with MSVC via the makefiles by doing "make UNAME=msvc"
2014-01-17 08:49:00 -08:00
Ethan Hugg
0c438ecdd3
Merge pull request #158 from mstorsjo/fix-msvc-2012-build
...
Fix building in MSVC 2012 by avoiding redefining the inline keyword
2014-01-17 08:45:44 -08:00
Martin Storsjö
cee3329ff0
Add a runtime option for controlling frame skipping
2014-01-17 12:39:33 +02:00