Commit Graph

546 Commits

Author SHA1 Message Date
licaiguo
abb1311fb9 rename decoder's intra-prediction prefix from Wels to WelsDecoder. 2014-01-06 11:22:39 +08:00
Martin Storsjö
0640c1d834 Update the readme with current platform support
Both 32 and 64 bit is supported, on windows, linux and OS X,
including x86 assembly code.
2014-01-06 01:18:43 +02:00
Martin Storsjö
4a08781c18 Use MSVC inline assembly only on (32-bit) X86
Currently this used the _MSC_VER && !WIN64 to enable the inline
assembly, which still tried to use this code on windows on arm.
Using _MSC_VER && _M_IX86 is enough since _M_IX86 is defined only
when targeting 32 bit x86, not for x64.
2014-01-05 19:20:20 +02:00
ekr
16ad879daf Merge pull request #102 from mstorsjo/remove-pragma-once
Remove pragma once
2014-01-05 07:46:15 -08:00
Martin Storsjö
790110b2ce Remove commented out pragmas 2014-01-05 15:04:34 +02:00
Martin Storsjö
b1c070cf8b Remove "pragma once"
The same thing is handled by proper standard C header include guards
in all these files.
2014-01-05 15:03:25 +02:00
Martin Storsjö
d1b0713c76 Add a proper include guard to dec_console.h 2014-01-05 15:03:08 +02:00
Martin Storsjö
55b82b3cd7 Rerun astyle on the C++ source files
astyle was only run on .cpp files this time - already in
ff6b66917 where the style cleanup was done initially, not all
.h files seem to have gotten the same styling (rerunning astyle
on .h files at that commit produces a huge diff).
2014-01-05 14:59:18 +02:00
Martin Storsjö
d3ee1de5ac Remove trailing whitespace in comments
The astyle cleanup keeps trailing whitespace within comments,
but the whitespace here is not significant nor intentional
and thus should be removed.
2014-01-05 14:53:21 +02:00
Martin Storsjö
70802891b2 Add the console applications to .gitignore 2014-01-05 14:51:16 +02:00
Martin Storsjö
0ad7c4c9b6 Get rid of trailing whitespace in the platform makefiles 2014-01-05 14:48:52 +02:00
Martin Storsjö
12d7f72eec Mark the mktargets shell/python scripts executable 2014-01-05 14:43:53 +02:00
Martin Storsjö
44240ce778 Remove the executable bit accidentally set on an asm source file 2014-01-05 14:43:53 +02:00
Ethan Hugg
1198033863 Add nasm to apt-get list for Travis 2014-01-04 22:46:41 -08:00
Ethan Hugg
8c1550954b Add release builds to Travis and fix warning in release build. 2014-01-04 22:42:57 -08:00
Andreas Gal
dba62070bf Merge pull request #80 from ethanhugg/othercontribs
Fixed typo in old Linux encoder makefile
2014-01-04 18:50:20 -08:00
Andreas Gal
6123fc94be Merge pull request #93 from volvet/64bits_Support
64bits support for assembly codes.
2014-01-04 18:47:45 -08:00
volvet
8a7a15ff30 fix merge conflict 2014-01-04 08:20:56 +08:00
volvet
2c828d7918 merge VS2012 makefile for 64bits assembly 2014-01-03 16:12:47 +08:00
volvet
ec84f4bcc9 resolve conflict 2014-01-03 14:49:45 +08:00
Andreas Gal
3958118bf0 Merge pull request #89 from RichiH/patch-1
README.md: Formatting
2014-01-02 06:25:27 -08:00
Andreas Gal
e87cf9e277 Merge pull request #90 from ruil2/new_request
fix mingw build issue
2014-01-02 06:25:01 -08:00
unknown
1e5a290855 1. fix gcc 3.4 link error.
2. fix mingw build issue when enable asm
2014-01-02 17:19:25 +08:00
Richard Hartmann
7caa3941d5 README.md: Formatting 2014-01-01 14:57:34 +01:00
Martin Storsjö
8f3c129f25 Remove pragmas for non-standard struct packing in the public API
These pragmas specified that structs should be packed in a way
different from the normal way defined by the current platform ABI.
Since these pragmas are in headers part of the public API, and the
pragmas are nonstandard, this is a portability and compatibility
hazard (all code calling the library need to have the same support
for the nonstandard pragma).

Additionally, accessing unaligned struct members (as produced by this
tight struct packing) can give reduced performance or even lead to
crashes on platforms that require strict alignment.

The only theoretical possible benefits of using the pragma are either
matching a certain struct layout defined in some other, fixed ABI
(but since this is an interface defined by this library itself, there's
no such prior binary interface that needs to be matched), or to reduce
the memory usage by packing the structs tighter (where the reduction
would be marginal at best).
2013-12-31 10:05:27 +02:00
Varun B Patil
d43e91a8a6 Safe parsing of command line parameters in enc console app 2013-12-29 18:01:32 +05:30
Varun B Patil
0e6f493ea3 Linux shell scripts refactored 2013-12-29 13:24:10 +05:30
Andreas Gal
469419bfb4 Merge pull request #82 from mstorsjo/include-guards
Don't use include guards with leading underscores
2013-12-28 14:52:50 -08:00
Martin Storsjö
cf59a34464 Don't use include guards with leading underscores
Defines with leading underscores are reserved.

This fixes issue #10.
2013-12-29 00:13:34 +02:00
ekr
3ed2a4698b Merge pull request #79 from ethanhugg/cosmetic
Updated CONTRIBUTORS file
2013-12-28 11:47:00 -08:00
Ethan Hugg
71e48218c4 Merge pull request #63 from mstorsjo/crossbuild
Use $(AR) instead of explicitly calling 'ar'
2013-12-27 08:23:06 -08:00
Ethan Hugg
ee08adf262 Updated CONTRIBUTORS file 2013-12-27 08:16:48 -08:00
Ethan Hugg
93d58ee06e Merge branch 'master' of https://github.com/ethanhugg/openh264 into cosmetic 2013-12-27 08:09:00 -08:00
Ethan Hugg
9254d722d3 Merge pull request #62 from varunbpatil/cleanup
minor cleanup and bug fixes
2013-12-26 17:52:49 -08:00
Ethan Hugg
32ebf966c5 Merge branch 'master' of https://github.com/ethanhugg/openh264 into cosmetic 2013-12-26 09:57:36 -08:00
Ethan Hugg
d1f8b10b24 Merge pull request #75 from ruil2/master
remove some redundant files
2013-12-26 09:56:20 -08:00
Ethan Hugg
adc90d6f14 Merge pull request #64 from Vproject/mingw
Add MinGW platform makefile and related source changes
2013-12-26 09:39:09 -08:00
Ethan Hugg
90db78dede Fixed typo in old Linux encoder makefile 2013-12-26 07:16:35 -08:00
Varun B Patil
70d2ae8334 Non-multiple of 16 width/height support for enc testapp
Also included test sequence.
../h264enc welsenc_arbitrary_res.cfg
2013-12-25 16:14:37 +05:30
ruil2
d6cea43bd7 remove some redundant files 2013-12-24 11:49:14 +08:00
V
b939d91517 Add workaround for missing strnlen.
Enabled by default, define HAVE_STRNLEN to disable workaround.
2013-12-23 22:03:41 +01:00
V
47e8134b92 Remove extra [:digit:] from tr command 2013-12-23 21:42:34 +01:00
V
7fa09903cf Add MinGW platform makefile and related source changes 2013-12-23 21:42:31 +01:00
ekr
e66b3488c5 Merge pull request #69 from ethanhugg/cosmetic
Turn on -Werror for OSX builds
2013-12-23 03:54:35 -08:00
ekr
c01ffd25c8 Merge pull request #58 from ethanhugg/othercontribs
Rollup of minor fixes found by Martin Ettl
2013-12-23 03:53:59 -08:00
ekr
130786c234 Merge pull request #70 from ethanhugg/readme
Updated readme and CmdLineExamples to point to new make system.
2013-12-23 03:53:04 -08:00
ekr
c21b70f159 Merge pull request #73 from ruil2/master
typo correction
2013-12-23 03:37:24 -08:00
ruil2
973902cf3f typo correction-- update another file 2013-12-23 11:01:35 +08:00
ruil2
27bd915423 typo correction 2013-12-23 10:47:13 +08:00
Ethan Hugg
da2936c537 Fix typo in CmdLineExamples.sh 2013-12-21 08:22:01 -08:00