Sijia Chen
6ca397e758
correct a typo along with the in-plan v1.5 release
2015-10-15 09:55:06 -07:00
Sijia Chen
9d25161f40
add version updates after 1.5 release
2015-10-15 09:54:10 -07:00
Nathan Kidd
f21fffda3b
Use stdbool.h with Visual Studio 2013 or higher
...
2013 is the first version to include the header.
Avoids "codec_api.h(40): error C2632: 'char' followed by 'bool' is illegal"
when building C code.
2015-09-02 09:32:41 -04:00
Sijia Chen
99aaf3198c
first version of post-frame skipping for rate control (not enabled)
2015-06-23 17:04:02 +08:00
Sijia Chen
dea37ce439
add a frame-skip setting option
2015-06-11 12:35:03 +08:00
Sijia Chen
8ca76ec342
improve comments of the API
2015-06-04 15:06:46 +08:00
Martin Storsjö
87eabf2721
Regenerate codec_ver.h using generate_codec_ver.sh
...
This adds some spacing to the version struct, so that astyle won't
need to change the file.
This was changed in 02354832cf
, both in the earlier codec_ver.h
and in the script that generates it, but a recent change manually
overwrote the spacing.
2015-06-01 09:20:03 +03:00
Sijia Chen
8b7af7cbef
add comment for interface and better condiction for warning trace
2015-05-26 15:19:47 +08:00
Sijia Chen
7a3ef3a003
update version info to get accord with release
2015-05-25 10:30:45 +08:00
Martin Storsjö
df994fa3f5
Convert tabs to spaces in enums and tables of defines
2015-05-15 11:20:11 +03:00
Martin Storsjö
61027613dd
Convert tabs to spaces in the public headers
...
Since these spaces aren't at the start of lines, astyle doesn't
change it when fixing indentation.
The spacing and alignment is manually fixed up in a few places.
2015-05-15 10:52:42 +03:00
Martin Storsjö
5c7fe31277
Convert tabs to spaces in the public header code examples
2015-05-14 13:58:44 +03:00
Martin Storsjö
02354832cf
Add spaces in the struct in codec_ver.h
...
This avoids unnecessary changes if this file is run through astyle.
2015-04-29 15:48:33 +03:00
Sijia Chen
94d1976a4e
complete parameter checking related to loop-filter-idc
2015-03-03 18:31:37 +08:00
dong zhang
d28970d625
modify decoder log
2015-03-02 16:55:37 +08:00
Sijia Chen
a4f09f4d76
update the version info to sync with recent change of API
2015-01-29 11:14:08 +08:00
Sijia Chen
d557578be3
fix statistics: updating should be independent with log interval
2015-01-27 10:12:51 +08:00
Sijia Chen
d9502aa71d
rename the strategy to enum
2015-01-19 10:49:38 +08:00
Sijia Chen
98ed302990
add new SpsPpsStrategy and UT
2015-01-15 18:04:39 +08:00
dongzha
993caea18c
Merge pull request #1721 from huili2/DecodeFrameNodelay
...
add new API as DecodeFrameNoDelay for immediate decoding
2015-01-15 09:54:10 +08:00
Sijia Chen
ea06cbe06b
enhance param checking with num-ref and related logging
2015-01-12 10:39:51 +08:00
ruil2
04cb9f3477
Merge pull request #1678 from sijchen/savc1
...
[Encoder] interface for simulcast avc
2015-01-12 09:23:17 +08:00
Martin Storsjö
aa1ec23ecd
Clarify the comment about ABI issues with WelsGetCodecVersion
...
The incompatibility between mingw and msvc is smaller than it seemed
at first; this turned out to only be a bug in older versions.
2015-01-07 09:15:34 +02:00
Martin Storsjö
3422d3b976
Declare the g_strCodecVer variable as const
...
Previously, the variable itself wasn't const (which meant that
it could be set to point to another const string instead).
By declaring it as const, gcc doesn't warn about it being unused,
and we can get rid of a workaround.
2015-01-04 21:00:23 +02:00
ruil2
2ef9a8aee9
Merge pull request #1692 from mstorsjo/improved-version-function
...
Add a new public function WelsGetCodecVersionEx
2015-01-04 09:14:29 +08:00
Martin Storsjö
50dc4757e4
Add a new public function WelsGetCodecVersionEx
...
This function doesn't return a struct, but fills in a struct via
a provided pointer.
The ABI of returning a struct is different between MSVC and mingw.
This allows using the same function from mingw, even though the DLL
has been built with MSVC.
2015-01-03 01:09:04 +02:00
Martin Storsjö
ba314d16e7
Add void to the parameter list of WelsGetCodecVersion
...
When the header is used from C instead of C++, an empty parameter
list means that it can take any number of parameters, and can cause
warnings like "function declaration isn’t a prototype" with some
C compilers. Clarify this by explicitly adding void to this function.
2014-12-31 17:07:36 +02:00
huili2
e3e5208509
add new API as DecodeFrameNoDelay for immediate decoding, which will be recommended decoding method for h.264 bitstream
2014-12-30 23:43:47 -08:00
Sijia Chen
6050bf89f6
add interface of simulcast avc, the actual support is coming later
2014-12-29 10:54:01 +08:00
ruil2
13f6ff59cc
add RC_TIMESTAMP_MODE mode
2014-12-24 14:57:03 +08:00
Martin Storsjö
8bfeae27a4
Add a public function for getting the codec version
...
If the codec library is loaded dynamically, it may be necessary that
the loaded library actually matches the version that was used when
it was built, to avoid issues due to ABI differences. Therefore add
a public function to allow getting the version of the currently
loaded library.
2014-12-18 13:20:33 +02:00
Martin Storsjö
4fb442a983
Captizalize OpenH264 correctly in the version header
2014-12-18 13:18:30 +02:00
ruil2
91574afca4
Merge pull request #1603 from sijchen/add_ver1
...
add generating script and the first version of codec_ver.h
2014-12-18 17:33:29 +08:00
Sijia Chen
e6134b5972
skip the git version hash in the header
2014-12-18 16:07:37 +08:00
ruil2
fdb938a2c2
modify WELS_LOG_WARNING as the default trace level
2014-12-16 15:29:56 +08:00
lyao2
ca2436bb5e
add average QP in statistics
2014-12-16 10:32:44 +08:00
Zaheer Abbas Merali
91736e85e8
Fix comments to be up to date with current API.
2014-12-15 11:37:32 -08:00
dong zhang
2c468b96a9
add flag to count EC Mbs due to ref error
...
add UT
2014-12-11 10:49:55 +08:00
Sijia Chen
b65410ebdb
add generating script and the first version of codec_ver.h
2014-12-10 10:10:23 +08:00
dong zhang
354eee3e2b
add a decoder status: float fActualAverageFrameSpeedInMs; ///< actual average_Decoding_Time, includeing freezed picture
2014-12-10 10:00:34 +08:00
ruil2
317ac1ca85
change info level as default level
2014-12-05 17:36:03 +08:00
huili2
8b9be2b3dc
accumulate dec stat
2014-12-01 19:01:06 -08:00
sijchen
8c7aaa8421
Merge pull request #1568 from ruil2/cleanup
...
add iBitsVaryPercentage parameters to control bitrate
2014-11-30 21:39:39 -08:00
huili2
504cabf106
add dec status for freezing
2014-11-28 00:05:36 -08:00
ruil2
7c0369da23
add iBitsVaryPercentage parameters to control bitrate
2014-11-27 15:55:48 +08:00
ruil2
80ce939d7a
remove some macro definitions in header files
2014-11-26 16:15:19 +08:00
sijchen
fe7faf768a
Merge pull request #1555 from huili2/comment_API_parseonly
...
add parse only comment in API
2014-11-25 22:54:04 -08:00
dong zhang
2e5243e5fc
add timestamp in decoder
2014-11-26 13:03:46 +08:00
huili2
347e4893a9
add parse only comment in API
2014-11-25 18:22:23 -08:00
dong zhang
9425c2ab10
add EC MV copy
2014-11-25 10:45:58 +08:00