ruil2
44b048edd6
move trace related info to interface header
2014-06-11 17:05:40 +08:00
Martin Storsjö
090229f8a1
Add public options for setting a log callback
2014-06-11 08:08:56 +03:00
Martin Storsjö
cb5ee6c239
Remove the global log callback function
...
Now all logging should use a non-null log context, allowing to
pass the messages to the right recipient.
2014-06-11 08:08:56 +03:00
Martin Storsjö
9583ac4d52
Set and use a proper log context in the encoder
2014-06-11 08:08:55 +03:00
Martin Storsjö
c4a59690da
Allow setting the trace level before initializing the encoder
2014-06-11 08:08:29 +03:00
Martin Storsjö
65616c2c53
Use a more descriptive include guard in the welsEncoder/DecoderExt.h files
2014-06-10 17:06:14 +03:00
Martin Storsjö
e6ba730c59
Remove a misleading comment
...
This comment claimed to be a completely different file.
2014-06-10 17:06:13 +03:00
Martin Storsjö
17fc6bd66e
Remove the unnecessary method WelsTraceModuleIsExist(), which always returned true
2014-06-10 10:52:26 +03:00
Martin Storsjö
40af75c19d
Remove the unnecessary WelsSet/GetLogLevel functions
...
Nothing actually used the variable that these functions
handled.
2014-06-10 10:52:06 +03:00
ruil2
4c12f8970c
cleanup trace module
2014-06-10 10:24:45 +08:00
ruil2
00a2a9feef
Merge branch 'master' of https://github.com/cisco/openh264 into enc_quant
2014-05-22 11:09:57 +08:00
ruil2
e0b92bb633
miss a branch for auto reference frame setting
2014-05-22 10:53:02 +08:00
ganyang
c08c0f85eb
This refine is to remove slice number limitation in the future. The changes contains:
...
1. add pNalLen in Structure SWelsEncoderOutput to store each nal length
2. rename iNalLengthInByte[MAX_NAL_UNITS_IN_LAYER] to pNalLengthInByte in Structure SLayerBSInfo, the pointer point to pNalLen, like pBSBuf point to pFrameBS.
2014-05-14 16:00:36 +08:00
huili2
5ed24f216b
astyle all files
2014-05-05 19:30:21 -07:00
ruil2
2508cf925f
fix the issue that long term reference frame is disable for screen
2014-04-29 17:24:22 +08:00
Varun B Patil
422d1d1569
Fix calculation of num ref frames
2014-04-24 10:42:15 +05:30
Martin Storsjö
c4e1d2bbb8
Simplify the use of return values from Wels*Snprintf
...
Also similarly simplify the use of the return value from
WelsStrftime and GetCodeName/GetLibName/GetVerNum.
2014-04-21 22:03:47 +03:00
Martin Storsjö
ade7df0ca7
Remove an unused local variable
2014-04-21 21:57:28 +03:00
sijchen
736a6753c0
fix the GetOption: bit rate part
2014-04-21 16:32:16 +08:00
ruil2
8539071583
modify the initialization of the number of LTR
2014-04-11 15:07:32 +08:00
ruil2
c8eaea2f27
add memory allocation for screen content
2014-04-10 17:07:26 +08:00
sijchen
c96fe5fec4
Merge pull request #652 from volvet/refine_enc_wrap
...
remove m_pScrPicList, which is not needed anymore
2014-04-09 14:00:30 +08:00
Licai Guo
4b5a455e16
Merge pull request #654 from volvet/refine_enc_frame
...
refine method EncodeFrame
2014-04-09 09:16:14 +08:00
volvet
52af29ec77
refine method EncodeFrame
2014-04-08 17:21:56 -07:00
volvet
ecb7fbc6a0
fix colorsapce check
2014-04-08 16:50:44 -07:00
volvet
691c2bc1e7
remove m_pScrPicList, which is not needed anymore
2014-04-08 15:43:44 -07:00
volvet
d98ba6137c
remove RC enable flag, use RC Mode to indicate RC on or off
2014-04-07 22:08:28 -07:00
volvet
b0ed3cb924
remove RawData2SrcPic, which is never called
2014-04-07 11:36:10 -07:00
volvet
bed051b631
rename Initialize2 to IntializeInternal
2014-04-07 11:30:12 -07:00
JuannyWang
df6813063f
[Encoder UT] add expGolom UT and encoder trace modification
2014-04-02 13:57:09 +08:00
Andoni Morales Alastruey
328740f294
Prefix API with the Wels namespace
2014-03-25 17:40:01 +01:00
Martin Storsjö
b6883b4ef8
Make the iRCMode field use the RC_MODES type instead of plain int
...
This makes it even clearer for users about how to set this field.
2014-03-21 09:19:30 +02:00
Licai Guo
7a29b1f55a
Merge pull request #549 from lyao2/rc_tune
...
RC LOWBR mode merge
2014-03-21 09:15:18 +08:00
ruil2
258185f8c2
add maxbitrate parameter
2014-03-20 14:30:20 +08:00
lyao2
4bc881c3ae
RC LOWBR mode merge
2014-03-20 09:26:16 +08:00
ruil2
e74f01ad47
use the same frame type EVideoFrameType in encoder internal
2014-03-19 16:11:06 +08:00
ruil2
9cf9238cfc
fix bug that there is no output in encoder console
2014-03-18 17:38:48 +08:00
Martin Storsjö
4c829a12e2
Fix the comment in welsEncoderExt.h about the EncodeFrame return value
...
This was changed in 36d56b6638
in the public api, but the
internal implementation header was missed and left inconsistent.
2014-03-18 10:07:23 +02:00
volvet
fb1958ad13
Merge pull request #519 from mstorsjo/push-xmm-registers
...
Backup/restore the xmm6-xmm15 SSE registers within asm functions on win64
Reviewed by zhiliang
2014-03-18 15:04:54 +08:00
Martin Storsjö
4633626d69
Remove XMMREG_PROTECT
...
This isn't necessary any longer, when all the assembly routines
take care of restoring registers as necessary.
2014-03-17 13:47:01 +02:00
ruil2
895c0ff635
fix typo
2014-03-17 12:09:52 +08:00
ruil2
36abe317a5
modify unit test for return type modification
2014-03-17 11:56:19 +08:00
ruil2
36d56b6638
modify EncoderFrame return type.
...
commit b99a307ab94183c32a293ad5fda8b0e3323546a0
Author: ruil2 <ruil2@cisco.com>
Date: Wed Mar 12 13:34:27 2014 +0800
fix typo
2014-03-17 10:46:38 +08:00
unknown
94f8c351ca
fix dump file issue
2014-03-14 15:13:24 +08:00
ruil2
ba6b2a8d62
use global trace in encoder
2014-03-10 15:22:40 +08:00
ruil2
b3c45946ff
modify typing format
2014-03-07 16:29:12 +08:00
ruil2
594fc4fe7b
dump file refactor
2014-03-07 10:23:25 +08:00
ruil2
b552944453
fix sizeof() bug
2014-03-03 10:46:32 +08:00
volvet
e3bf5ced53
Merge pull request #371 from ruil2/encode_ret
...
add verification on return value -- review request #128
2014-03-03 10:27:26 +08:00
volvet
4c951aab83
refine welsEncoderEncodeExt
2014-02-28 15:13:38 +08:00