Martin Storsjö
958113073f
Simplify code by calling WelsFree directly instead of using a helper function
...
This makes the code simpler and clearer. It's not necessary to use the
_SafeFree helper macro in neither of the case - in one case the
pointer is overwritten immediately, in the other case it's witihin
the destructor where the pointer won't ever be read again.
2014-09-16 11:53:19 +03:00
Martin Storsjö
37ae6505d4
Use delete instead of the _SafeDelete macro
...
Since this is the destructor of the class, the member variables
won't be read afterwards, and setting the pointers to NULL afterwards
is redundant.
2014-09-16 11:53:19 +03:00
Martin Storsjö
c5091e73be
Remove unnecesary use of _SafeDelete
...
It is not necessary to check whether a pointer is NULL before
deleting it, "delete NULL" is explicitly ok.
The deleted pointer is a local variable here, so setting it to
NULL after deleting isn't necessary in these cases either.
2014-09-16 11:53:19 +03:00
dongzha
f8d5f93b16
Merge pull request #1355 from syureyi/clean
...
Clean
2014-09-16 09:58:27 +08:00
HaiboZhu
49ce86c78a
Merge pull request #1354 from lyao2/fix_qualitymode_bug2
...
Fix bug RC_QUALITY_MODE not works as expected
2014-09-15 15:55:26 +08:00
lyao2
72862118f9
Fix bug RC_QUALITY_MODE not works as expected
2014-09-15 15:31:20 +08:00
lyao2
631ca210a8
Fix bug RC_QUALITY_MODE not works as expected
2014-09-15 13:21:29 +08:00
huili2
b51ff51387
Merge pull request #1350 from lyao2/ut_interface2
...
add encoder Interface additional option set test
2014-09-15 09:15:28 +08:00
huili2
4001551027
Merge pull request #1349 from dongzha/AddAPIUTEncoder_Decoder
...
add encoder/decoder api test for LTR and EC flag
2014-09-15 09:15:08 +08:00
ruil2
458cc6b4fd
Merge pull request #1351 from lyao2/bitrate_mode
...
enlarge QP range when skipframeflag off on BitRate mode
2014-09-12 16:09:37 +08:00
lyao2
522aa4457a
enlarge QP range when skipframeflag off on BitRate mode
2014-09-12 14:45:08 +08:00
dongzha
311f7006fd
1. add encoder-engine-decoder API UT for: IDR request, LTR request
...
2. add decoder api UT for EC: Disable/Enable EC
3. Fix a decoder bug when EC is disabled
itoltalMbDec should be set to zero when encouter a new sequence/picture, even when EC is disabled.
2014-09-12 11:12:59 +08:00
zhuiling
9913b73cb1
improve py and mk
2014-09-12 10:30:56 +08:00
zhuiling
9e7a19291c
improve py
2014-09-12 10:29:07 +08:00
zhuiling
0fe477625c
improve py, and change mk according to mk
2014-09-12 10:25:46 +08:00
zhuiling
6b64efbf92
improve py
2014-09-12 09:59:46 +08:00
zhuiling
235f6e3474
improve py
2014-09-12 09:56:51 +08:00
zhuiling
77552551f7
py improvement according to Martin's sugesstion
2014-09-12 09:39:14 +08:00
lyao2
679cc4ac6c
Merge pull request #1346 from ruil2/ltr_limit
...
using default value for LTR.
2014-09-11 13:02:02 +08:00
ruil2
c6a136c742
using default value for LTR.
2014-09-11 10:32:46 +08:00
ruil2
1a394d1432
Merge pull request #1343 from huili2/ec_disable_set
...
disable EC SetOption
2014-09-10 15:15:49 +08:00
dongzha
bffbde9f45
Merge pull request #1342 from ruil2/update_pic
...
update spatial picture when abnormal exit
2014-09-10 13:38:18 +08:00
huili2
84848bb7d3
disable EC SetOption
2014-09-09 20:12:01 -07:00
ruil2
bb43c1c9a9
update spatial picture when abnormal exit
2014-09-10 09:45:32 +08:00
ruil2
f003fa1fe6
Merge pull request #1341 from sijchen/enable_ltr01
...
[Encoder] fix a LTR range problem when LTR num is larger than 2
2014-09-10 08:51:44 +08:00
ruil2
1df4cd43cc
Merge pull request #1338 from sijchen/add_setoption
...
[Encoder] remove unsupported lines in cfg to avoid misleading
2014-09-09 15:38:26 +08:00
Sijia Chen
6f553c9742
remove unused lines
2014-09-09 15:09:07 +08:00
Sijia Chen
79157ce632
fix a LTR range problem when LTR num is larger than 2
2014-09-09 15:05:57 +08:00
Sijia Chen
a6df69c305
remove unsupported lines in cfg to avoid misleading
2014-09-09 14:20:27 +08:00
zhuiling
a1dbf6ab13
make clean without OS ARCH except android platform
2014-09-05 16:38:28 +08:00
dongzha
ef590de0dc
Merge pull request #1335 from lyao2/fixppsbug
...
fix pps caused death loop issue
2014-09-05 14:18:16 +08:00
huili2
684c42536d
Merge pull request #1330 from ruil2/delivery_status
...
modify delivery status interface
2014-09-05 13:32:52 +08:00
lyao2
881667a533
fix pps caused death loop issue
2014-09-05 13:28:13 +08:00
ruil2
4fc144b698
Merge pull request #1333 from huili2/print_ver_master
...
modify version info in enc/dec
2014-09-05 13:23:49 +08:00
huili2
1b1ea2b9ef
modify version info in enc/dec
2014-09-04 21:55:06 -07:00
ruil2
d63172db9b
Merge pull request #1331 from sijchen/add_setoption
...
[Encoder] add setoption of 'isLosslessLink' for further strategy tuning
2014-09-05 12:49:25 +08:00
ruil2
2f041c7a4b
modify delivery status interface
2014-09-05 10:57:51 +08:00
huili2
43dc6f01e1
Merge pull request #1322 from ruil2/MinCr_waring
...
add MinCr checking and output warings if the MinCr isn't met
2014-09-05 09:39:56 +08:00
sijchen
61926f208c
add a setoption for further setting
2014-09-04 14:24:14 +08:00
ruil2
199d19a785
Merge pull request #1328 from lyao2/fix_maxbitrate
...
fix bug that iMaxSpatialBitrate is not correct assigned
2014-09-04 13:06:24 +08:00
lyao2
7c95ccc6a7
update SHA1Table
2014-09-04 11:07:35 +08:00
lyao2
f2437f24b9
fix bug that iMaxSpatialBitrate is not correct assigned
2014-09-03 17:40:19 +08:00
huili2
c287a9109f
Merge pull request #1324 from ruil2/ltr_check_update
...
add UT for LTR setopton and fix crash issue
2014-09-03 15:51:23 +08:00
dongzha
3735cfc1bd
Merge pull request #1323 from huili2/ps_ne_deal
...
when sps/pps non exist, return dsNoParamSets
2014-09-03 13:56:56 +08:00
dongzha
315d9315c4
Merge pull request #1325 from huili2/ps_ne_deal_v1.1.1
...
when sps/pps non exist, return dsNoParamSets
2014-09-03 13:56:30 +08:00
ruil2
7e8cde055f
add UT for LTR setopton and fix crash issue
2014-09-03 13:28:14 +08:00
huili2
0227f87b7a
when sps/pps non exist, return dsNoParamSets
2014-09-02 22:22:18 -07:00
huili2
d98fd57252
when sps/pps non exist, return dsNoParamSets
2014-09-02 22:06:05 -07:00
ruil2
4ece8efaed
add MinCr checking and output warings if the MinCr isn't met
2014-09-03 10:41:54 +08:00
dongzha
cef43e30fe
Merge pull request #1321 from ruil2/ltr_check
...
avoid LTR reference frames overflow
2014-09-02 15:50:04 +08:00