Martin Storsjö
59fefbe7c7
Use an inline function instead of a macro for clipping which contains rand()
...
When using a macro, the macro parameters get evaluated
multiple times, which means that the rand() value compared
actually isn't the same that is used as return value.
This makes sure that clipping works as intended for the
random tests.
2014-12-16 11:13:22 +02:00
dongzha
a4370b8ca8
Merge pull request #1637 from dongzha/SpeedUpSkipMode
...
astyle and speed up decoding by removing unnessary memset
2014-12-16 16:31:10 +08:00
dong zhang
89f78e9211
astyle and speed up decoding by removing unnessary memset
2014-12-16 15:30:09 +08:00
ruil2
b932547fe8
astyle two files
2014-12-16 15:16:09 +08:00
lyao2
ca2436bb5e
add average QP in statistics
2014-12-16 10:32:44 +08:00
ruil2
827c7b2aef
Merge pull request #1629 from mstorsjo/msvc-casts
...
Cast a float to integer
2014-12-16 09:09:53 +08:00
Zaheer Abbas Merali
91736e85e8
Fix comments to be up to date with current API.
2014-12-15 11:37:32 -08:00
Martin Storsjö
54cc3daaa7
Cast a float to integer
...
This fixes warnings with MSVC.
2014-12-15 17:38:22 +02:00
huili2
8fb4048241
Merge pull request #1627 from HaiboZhu/Debug_potential_out_of_memory
...
Reset parameter set status and clear AU list when out of memory
2014-12-15 17:39:36 +08:00
Haibo Zhu
57043d16ad
(1) Reset parameter set status and clear AU list when out of memory
...
(2) Free un-complete malloc memory, keep the original state, special when increase memory
2014-12-15 00:53:40 -08:00
dongzha
ac061fe635
add protection
2014-12-15 14:47:55 +08:00
dongzha
091e5cba0a
Merge pull request #1624 from huili2/au_data_check
...
change au_ready status and check au number
2014-12-15 13:46:27 +08:00
dongzha
eeee1a2e95
Merge pull request #1622 from dongzha/setunuse
...
add set unused in dpb
2014-12-15 13:35:36 +08:00
huili2
c20e1c6795
change au_ready status and check au number
2014-12-14 20:46:14 -08:00
ruil2
5ab5fe155b
keep the consistency between sps level and parameter level
2014-12-15 09:56:54 +08:00
sijchen
7dcaaf5328
Merge pull request #1618 from huili2/modify_freeze_pos
...
modify freeze output to proper location
2014-12-12 17:50:02 +08:00
dong zhang
ad38cfe46c
add set unused in dpb
2014-12-12 16:53:13 +08:00
sijchen
cc1f3ade3a
Merge pull request #1617 from ruil2/bits_update
...
fix a typo
2014-12-12 16:25:48 +08:00
huili2
984497cc09
modify freeze output to proper location
2014-12-11 23:42:04 -08:00
ruil2
06c251fa48
fix a typo
2014-12-12 14:29:45 +08:00
sijchen
93265d7a44
Merge pull request #1616 from dongzha/testcrash
...
fix two continus IDR, with same sps/pps id, but different resolution
2014-12-12 10:43:32 +08:00
dongzha
1bdf00ddf4
fix two continus IDR, with same sps/pps id, but different resolution
2014-12-12 09:38:44 +08:00
sijchen
0ff1eb482f
Merge pull request #1612 from huili2/log_add_this_codec
...
add this log for codec
2014-12-11 17:01:38 +08:00
ruil2
ec99819ce8
Merge pull request #1614 from sijchen/fix_idr_id1
...
[Encoder] fix idr_id: idr_id should be adding regardless of the sps strategy
2014-12-11 16:41:59 +08:00
huili2
3e57fdc448
add this log for codec
2014-12-10 22:15:32 -08:00
sijchen
5ff55a6ec2
Merge pull request #1608 from ruil2/bits_update
...
update maxbitrate to control bitrate vary range
2014-12-11 13:46:07 +08:00
dongzha
44e4531897
Merge pull request #1609 from dongzha/NewFixEcRatioCalc
...
New fix ec ratio calc
2014-12-11 13:08:01 +08:00
dongzha
44bd61683a
Merge pull request #1606 from huili2/log_for_memory_realloc
...
add log for ref pic buffer memory alloc
2014-12-11 13:07:43 +08:00
dong zhang
d20a3bdb28
fix typo bug
2014-12-11 12:28:32 +08:00
Sijia Chen
32d6193f97
fix idr_id: idr_id should be adding regardless of the sps strategy
2014-12-11 10:58:27 +08:00
ruil2
5ba9e409ba
update maxbitrate to control bitrate vary range
2014-12-11 10:56:58 +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
dong zhang
ecc8ae6ebb
fix decodestatus uiEcRatio calc bug
2014-12-11 10:39:44 +08:00
Martin Storsjö
7da17b5abd
Log the encoder version later in the initialization
...
Previously, the encoder logging was done in InitEncoder(),
which is called from the constructor. Therefore, it was impossible
to override the log level, to silence this message.
2014-12-10 14:39:08 +02:00
dongzha
44017193ed
Merge pull request #1601 from dongzha/FixDecodeStatusFps
...
add a decoder status: float fActualAverageFrameSpeedInMs
2014-12-10 10:40:08 +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
Haibo Zhu
e47a3638af
Add subSPS pre-active check in CheckActiveSPS
2014-12-09 00:06:19 -08:00
huili2
14eeaf2278
add log for ref pic buffer memory alloc
2014-12-08 22:35:07 -08:00
Martin Storsjö
901a599b36
Add casts when converting from int64_t or double to int32_t
...
This fixes warnings when building with MSVC.
2014-12-08 11:48:31 +02:00
sijchen
cc5978b252
Merge pull request #1594 from lyao2/RC_maxBr_commit5
...
Rate control refine to fit MAX bitrate requirement
2014-12-08 11:03:43 +08:00
ruil2
317ac1ca85
change info level as default level
2014-12-05 17:36:03 +08:00
ruil2
56c895ffb4
1. should not set WELS_LOG_ERROR level in encoder initilization.
...
2.fix UT bug
2014-12-05 17:08:00 +08:00
lyao2
c01606c28a
Rate control refine to fit MAX bitrate requirement
2014-12-05 12:09:08 +08:00
dongzha
fc895c13ce
fix grey picture when resolution is the same
2014-12-04 17:22:27 +08:00
HaiboZhu
054b8eeb3a
Merge pull request #1588 from huili2/dec_stat_accumulate
...
accumulate dec stat
2014-12-04 15:37:10 +08:00
huili2
928a7eac2a
fix crash issue of sliceskip and inf-loop in fmo
2014-12-03 20:26:00 -08:00
ruil2
91ae2dab7a
Merge pull request #1587 from mstorsjo/msvc-warnings
...
Don't implicitly convert int to bool
2014-12-02 15:54:35 +08:00
ruil2
dd24edc8ff
Merge pull request #1585 from dongzha/issue1535New
...
fix issue #1535 new
2014-12-02 15:54:26 +08:00
Martin Storsjö
5d4eb63d52
Don't implicitly convert int to bool
...
This avoids warnings with MSVC.
2014-12-02 09:35:05 +02:00
ganyangbbl
6981aec743
fix chinese character
2014-12-02 14:30:31 +08:00