sijchen
26ccd837f1
Merge pull request #1672 from huili2/parseonly_sizemodif
...
unify parseonly to have 0x0001
2014-12-26 09:58:28 +08:00
Haibo Zhu
586893ca4b
Add SPS/SubSPS/PPS update when AU number==0 and iOverwriteFlags==true
...
Add TotalNumMbRec>0 judgement for EC
2014-12-25 15:03:47 -08:00
sijchen
b455c035f7
Merge pull request #1670 from ruil2/level
...
add profile and level checking in ParamValidation
2014-12-25 17:37:01 +08:00
ruil2
00a2dc290c
modify trace info for LEVEL_UNKNOWN
2014-12-25 16:58:29 +08:00
sijchen
bac135ae81
Merge pull request #1665 from ruil2/frame_rate
...
refine frame rate
2014-12-25 16:53:52 +08:00
huili2
9c0bbeb4da
unify parseonly to have 0x0001
2014-12-24 23:11:49 -08:00
ruil2
0babd8d7ab
add profile and level checking in ParamValidation
2014-12-24 15:40:30 +08:00
ruil2
13f6ff59cc
add RC_TIMESTAMP_MODE mode
2014-12-24 14:57:03 +08:00
Martin Storsjö
8b7be9f3bc
Initialize a local variable
...
This fixes warnings with GCC about a variable that may be used
uninitialized (if iResProperty was an incorrect value).
2014-12-23 23:18:20 +02:00
Martin Storsjö
8de54078d7
Use an unsigned variable for comparison with unsigned values
...
This avoids warnings about comparison between signed and unsigned.
2014-12-23 23:17:18 +02:00
Martin Storsjö
328094acfd
Remove a write-only variable
...
This fixes warnings with GCC about a variable that is set but
not used.
2014-12-23 23:16:56 +02:00
ruil2
cf6450b269
refine frame rate
2014-12-23 17:30:01 +08:00
sijchen
9cc395fc4e
Merge pull request #1632 from ruil2/encoder_refine
...
use the same complexity computation branch for screen and camera
2014-12-23 10:51:53 +08:00
huili2
2c99f5810e
Merge pull request #1659 from syureyi/scalinglist
...
Scalinglist
2014-12-23 10:50:49 +08:00
Martin Storsjö
bdbda13929
Use the correct types instead of void pointers in function signatures in rc.h
2014-12-22 23:54:06 +02:00
sijchen
692614b057
Merge pull request #1660 from ruil2/frame_rate
...
using function pointer to make different branch for different rc
2014-12-22 15:55:46 +08:00
Sijia Chen
eb8e25a038
update the version header file for 1.3
2014-12-22 14:13:30 +08:00
ruil2
e3bf63db59
using function pointer to make different branch for different rc
2014-12-22 12:00:39 +08:00
sijchen
9a602cac1b
Merge pull request #1657 from mstorsjo/clip-bitrate
...
Make sure the random test bitrate is high enough
2014-12-21 18:49:26 -08:00
Martin Storsjö
7411469e1d
Avoid a warning about an unused static variable
2014-12-19 11:06:51 +02:00
dongzha
809adc4129
Merge pull request #1654 from syureyi/newest
...
maintain codec demo
2014-12-19 14:05:07 +08:00
zhuiling
f0934c7bf3
maintain codec demo
2014-12-19 13:53:29 +08:00
ruil2
3ae2507c99
remove macro definition to the header file
2014-12-19 10:53:06 +08:00
HaiboZhu
afd82b2cfa
Merge pull request #1652 from huili2/newseq_bugfix
...
use picture-level new seq begin detection for output functions
2014-12-19 09:55:26 +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
huili2
b8ce2eb40e
use picture-level new seq begin detection for output functions
2014-12-18 01:19:33 -08:00
Sijia Chen
e6134b5972
skip the git version hash in the header
2014-12-18 16:07:37 +08:00
sijchen
5b2469c0b5
Merge pull request #1642 from mstorsjo/avoid-rebuilds
...
Avoid rebuilds if the version header hasn't changed
2014-12-18 15:51:07 +08:00
sijchen
4db34bdf43
Merge pull request #1634 from ruil2/trace
...
use WELS_LOG_ERROR as default trace level in console app
2014-12-18 10:11:38 +08:00
sijchen
b208cac1c5
Merge pull request #1638 from ruil2/default_trace
...
modify WELS_LOG_WARNING as the default trace level
2014-12-18 10:11:19 +08:00
huili2
916d24d99e
Merge pull request #1650 from huili2/bugfix_cabac_mbqpdelta
...
unify spsid for pic and add check for mb_qp_delta
2014-12-18 10:01:37 +08:00
HaiboZhu
7f27198c68
Merge pull request #1648 from huili2/bugfix_cabacinitidc
...
add check for cabac_init_idc range in parsing
2014-12-18 09:07:17 +08:00
huili2
208400eeb4
unify spsid for pic and add check for mb_qp_delta
2014-12-17 00:31:20 -08:00
ruil2
ab480fe387
Merge pull request #1649 from sijchen/fix_trace
...
[Encoder] fix a potential problem of trace
2014-12-17 16:05:32 +08:00
ruil2
58e868c074
Merge pull request #1643 from mstorsjo/check-num-refs
...
If lowering the maximum number of ref frames, check iNumRefFrames as well
2014-12-17 15:51:52 +08:00
Sijia Chen
1b26bd4b88
put this file into good format
2014-12-17 14:15:10 +08:00
Sijia Chen
3c08f04993
add fix for protection of wrong reading if input is invalid
2014-12-17 14:14:23 +08:00
huili2
030d320e43
Merge pull request #1646 from dongzha/cabacfix
...
cabac fix
2014-12-17 11:18:23 +08:00
huili2
182ae421a1
Merge pull request #1647 from HaiboZhu/Debug_Check_Ref_Picture_Complete
...
Change the name and call logic of CheckRefPicturesComplete function
2014-12-17 11:18:11 +08:00
huili2
9f0ed3fc4b
add check for cabac_init_idc range in parsing
2014-12-16 18:13:21 -08:00
ruil2
ac992acaa9
Merge pull request #1640 from mstorsjo/fix-tests
...
Fix occasional failures in some tests
2014-12-17 09:29:36 +08:00
dong zhang
490a3e5562
cabac fix
2014-12-17 09:27:41 +08:00
Haibo Zhu
590eef6059
Change the name and call logic of CheckRefPicturesComplete function.
2014-12-16 17:26:13 -08:00
Martin Storsjö
f89780ddd8
Use the correct types instead of void pointers in function signatures
...
This gets rid of 50 lines of code with just casts of void pointers,
making the code shorter and clearer.
2014-12-16 22:13:38 +02:00
Martin Storsjö
4746ce8fd4
If lowering the maximum number of ref frames, check iNumRefFrames as well
...
Make sure we don't set iMaxNumRefFrames lower than iNumRefFrames.
This fixes occasional test failures in
EncodeDecodeTestAPI.SetOptionEncParamExt.
2014-12-16 13:56:50 +02:00
Martin Storsjö
f90cd367d2
Avoid rebuilds if the version header hasn't changed
...
When generating the version header, don't overwrite it if the
new version is identical to the old one.
2014-12-16 12:23:50 +02:00
lyao2
9692f6cb20
Merge pull request #1639 from ruil2/qp_trace
...
fix error output info
2014-12-16 17:32:00 +08:00
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
ruil2
0612b07a6f
fix error output info
2014-12-16 16:10:52 +08:00
dong zhang
89f78e9211
astyle and speed up decoding by removing unnessary memset
2014-12-16 15:30:09 +08:00
ruil2
fdb938a2c2
modify WELS_LOG_WARNING as the default trace level
2014-12-16 15:29:56 +08:00
ruil2
b932547fe8
astyle two files
2014-12-16 15:16:09 +08:00
ruil2
026ce4030a
use WELS_LOG_ERROR as default trace level in console app
2014-12-16 13:14:53 +08:00
ruil2
173ec608ff
use the same complexity computation branch for screen and camera
2014-12-16 10:42:36 +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
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
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
huili2
8b9be2b3dc
accumulate dec stat
2014-12-01 19:01:06 -08:00
dong zhang
f668e1be98
fix issue 1535
2014-12-02 09:35:39 +08:00
sijchen
607d814e0f
Merge pull request #1577 from ruil2/set_param
...
modify log info(remove unuseful log and add some new logs)
2014-12-01 11:36:24 -08:00
zhilwang
852ed8a2d0
Merge pull request #1578 from ruil2/rc
...
use existed assembly function in cabac encoder
2014-12-01 17:12:52 +08:00
ruil2
2e15351d6d
Merge pull request #1567 from dongzha/FixMvCpBug
...
avoid using the same picture buff for prev pic and curr pic
2014-12-01 14:53:17 +08:00
ruil2
b1dccaa627
use existed assembly function in cabac encoder
2014-12-01 14:45:04 +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
ruil2
9a08b7f97c
Merge pull request #1574 from huili2/dec_stat_add_freeze
...
add dec status for freezing
2014-12-01 12:43:22 +08:00
ruil2
a100fb8031
modify log info(remove unuseful log and add some new logs)
2014-12-01 12:13:58 +08:00
sijchen
8e39cb3a3a
Merge pull request #1575 from ruil2/set_param
...
add SetOption(ENCODER_OPTION_SVC_ENCODE_PARAM_BASE,&base) for encoder
2014-11-30 19:39:18 -08:00
dongzha
d58f90947c
avoid using the same picture buff for prev pic and curr pic
2014-12-01 10:52:37 +08:00
ruil2
8028fe7130
add SetOption(ENCODER_OPTION_SVC_ENCODE_PARAM_BASE,&base) for encoder
2014-12-01 10:35:32 +08:00
ruil2
30820fd8b5
use iBitsVaryPercentage passed by the app instead of the macro
2014-12-01 09:16:35 +08:00
Sijia Chen
7cea82bdf8
remove a too-tight checking of bit rate
2014-11-28 16:15:49 -08:00
Martin Storsjö
0bae0f869a
Validate that iLoopFilterDisableIdc is set to a sensible value in ParamValidationExt
...
In WelsEncoderParamAdjust it is already clipped in the
same way, but here we should probably rather error out
than to silently clip it to the right range.
2014-11-28 13:08:52 +02:00
Martin Storsjö
24cd934ba9
Log what uiDisableDeblockingFilterIdc was set to when printing an error message
2014-11-28 13:06:12 +02:00
huili2
504cabf106
add dec status for freezing
2014-11-28 00:05:36 -08:00
Martin Storsjö
917d41bd47
Add casts when converting pointer differences to integers
...
This fixes warnings when building with MSVC in 64 bit mode.
2014-11-27 11:31:13 +02:00
ruil2
7c0369da23
add iBitsVaryPercentage parameters to control bitrate
2014-11-27 15:55:48 +08:00
HaiboZhu
82b70b34fe
Merge pull request #1561 from ruil2/cleanup
...
remove some macro definitions in header files
2014-11-27 14:22:06 +08:00
zhilwang
3a73179cab
Merge pull request #1559 from HaiboZhu/EC_off_crash_no_output
...
Debug for (1) decoder crash when delay decoding (2) no output when EC off
2014-11-27 14:21:48 +08:00
HaiboZhu
69f6db1b90
Merge pull request #1560 from ruil2/max2
...
cleanup macro definition
2014-11-27 14:21:37 +08:00
HaiboZhu
c2c861f199
Merge pull request #1562 from zhilwang/asm-cabac
...
Add asm code for decoder cabac
2014-11-27 14:21:02 +08:00
zhiliang wang
92bc88eacb
Add asm code for decoder cabac
2014-11-26 16:44:12 +08:00
ruil2
80ce939d7a
remove some macro definitions in header files
2014-11-26 16:15:19 +08:00
ruil2
a43fa3aec2
cleanup macro definition
2014-11-26 15:22:04 +08:00
sijchen
e1262a9ac9
Merge pull request #1558 from huili2/comment_outputlog
...
comment output info with FREEZE
2014-11-25 22:54:43 -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
Haibo Zhu
aa5e7f7927
Remove the SPS/PPS exist ahead reset logic and change the CheckSpsActive logic
2014-11-25 21:53:40 -08:00
huili2
9da19758cf
Merge pull request #1556 from ruil2/max2
...
remove some unused code
2014-11-26 13:33:21 +08:00
dong zhang
2e5243e5fc
add timestamp in decoder
2014-11-26 13:03:46 +08:00
ruil2
4a6de5bb13
remove some unused code
2014-11-26 10:26:16 +08:00
huili2
347e4893a9
add parse only comment in API
2014-11-25 18:22:23 -08:00
huili2
94dde141fa
comment output info with FREEZE
2014-11-25 18:09:01 -08:00
sijchen
f48b2e55ba
Merge pull request #1553 from ruil2/max2
...
add maxbitrate verification
2014-11-25 09:14:39 -08:00
Martin Storsjö
1ff9de36ce
Explicitly cast int64_t to float
...
This fixes warnings when bulding with MSVC.
2014-11-25 14:28:20 +02:00
ruil2
d543ae89db
add maxbitrate verification
2014-11-25 17:12:06 +08:00
Sijia Chen
cef85118b5
add parentness
2014-11-24 22:44:06 -08:00
huili2
305a2421be
Merge pull request #1549 from dongzha/ECMvCopy
...
add EC MV copy
2014-11-25 12:59:48 +08:00
dong zhang
9425c2ab10
add EC MV copy
2014-11-25 10:45:58 +08:00
Sijia Chen
3be7e90221
add one more conditin for statistics printing to avoid timestamp problem
2014-11-24 16:11:52 -08:00
sijchen
48e79d51b5
Merge pull request #1547 from huili2/ParseDecode
...
parse only add and UT: passed reviewed at https://rbcommons.com/s/OpenH264/r/910/
2014-11-24 11:28:17 -08:00
sijchen
336b2d1537
Merge pull request #1542 from sijchen/review
...
[Encoder] refactor Sps generation: passed review at https://rbcommons.com/s/OpenH264/r/930/
2014-11-24 11:27:38 -08:00
huili2
b231e3f000
parse only add and UT
2014-11-24 00:04:36 -08:00
ruil2
3025c58a67
add some traces
2014-11-21 13:27:10 +08:00
ruil2
a0b0866597
Merge pull request #1543 from dongzha/Fix1535
...
Check and Fix some issue #1535
2014-11-21 11:30:36 +08:00
huashi
7175d3c90e
1.doxgen documentation format for comments in api/*.h 2. comments to wiki tools in openh264/docs/*
2014-11-21 10:38:30 +08:00
Sijia Chen
cdd410ca66
refactor Sps generation
2014-11-20 12:55:48 -08:00
Sijia Chen
0b2c82d92b
add UNSPECIFIED value for max bit rate setting
2014-11-19 16:05:19 -08:00
Sijia Chen
810b9770fc
using same type as in interface rather than int32 for uiTimestamp to avoid missing of preciseness
2014-11-19 15:45:09 -08:00
dong zhang
b18e905946
Check and Fix some issue#1535
2014-11-19 16:03:34 +08:00
ruil2
c13bfe6407
Merge pull request #1536 from sijchen/improve_br_valid
...
[Encoder] adjust the param validation of max bit rate
2014-11-18 18:42:03 +08:00
sijchen
0252f3f346
Merge pull request #1526 from ruil2/max_nal_size
...
add return value processing
2014-11-17 16:43:45 -08:00
Sijia Chen
7e24efc620
adjust the param validation of max bit rate
2014-11-17 16:39:42 -08:00
zhuiling
02853a9a96
add level 9 supporting
2014-11-17 16:29:33 +08:00
dongzha
bfee07dde4
Merge pull request #1532 from huili2/new_EC_IDR_reschange
...
add EC method to freeze sequence when resolution changed and decoding IDR error
2014-11-14 17:14:09 +08:00
huili2
0d16fd61b2
add EC method to freeze sequence when resolution changed and decoding IDR error
2014-11-13 19:26:10 -08:00
Sijia Chen
b56b8725fc
add total length in encoder output and complete most of the statistis calculation
2014-11-13 13:56:58 -08:00
HaiboZhu
7a2e536e44
Merge pull request #1525 from dongzha/FixbuginMVClip
...
fix mv clip at right boarder
2014-11-13 14:01:45 +08:00
ruil2
66165a65d5
add return value processing
2014-11-13 13:26:14 +08:00
sijchen
b3922b1d3a
Merge pull request #1519 from ruil2/max_nal_size
...
add maxnalsize control for gmp wrapper
2014-11-12 20:44:24 -08:00
dong zhang
e4f114e006
fix mv clip at right boarder
2014-11-13 10:48:35 +08:00
dongzha
429ccb38a8
Merge pull request #1524 from huili2/parse_err_return_bug_fix
...
fix bug of parse error return for VCL data
2014-11-12 13:18:08 +08:00
ruil2
9ba0a1d977
Merge pull request #1522 from sijchen/after_review
...
[Encoder] fix a calculation of fAverageFrameRate
2014-11-12 12:29:13 +08:00
huili2
2527cf5d0b
fix bug of parse error return for VCL data
2014-11-11 19:23:58 -08:00
Sijia Chen
cd5928d397
fix a calculation of fAverageFrameRate
2014-11-11 16:12:38 -08:00
sijchen
a37f1abe5e
Merge pull request #1517 from ruil2/cabac_qp
...
fix cabac encoding bug -- don't get the correct previous mb qp
2014-11-11 14:52:04 -08:00
ruil2
128546b992
add maxnalsize control for gmp wrapper
2014-11-11 14:18:02 +08:00
ruil2
560fcf17fd
rename parameters
2014-11-11 12:21:01 +08:00
sijchen
9512515a41
Merge pull request #1515 from ruil2/add_nal_trace
...
add some traces for bitstream output
2014-11-10 15:00:08 -08:00
ruil2
c31511257b
fix cabac encoding bug -- don't get the correct previous mb qp
2014-11-10 15:34:49 +08:00
ruil2
1c44c43b8a
add some traces for bitstream output
2014-11-10 15:20:25 +08:00
Martin Storsjö
0aa77d2985
Remove a duplicated field in SWelsSvcCodingParam
...
The same field already exists in SEncParamExt. When the
initialization was deduplicated in ac404ce
, this lead to
reading the now uninitialized field in SWelsSvcCodingParam,
instead of the properly initialized one in the base class.
2014-11-10 09:03:18 +02:00
sijchen
8b49f98475
Merge pull request #1507 from ruil2/init
...
remove repeat initialization
2014-11-09 18:07:21 -08:00
ruil2
fc811a80fb
Merge pull request #1512 from mstorsjo/add-float-cast
...
Add a cast when converting from double to float
2014-11-09 09:36:21 +08:00
Ethan Hugg
3c753c42b8
Merge pull request #1509 from mstorsjo/fix-warnings-cast
...
Add casts to avoid warnings about comparison between signed and unsigned
2014-11-07 09:46:33 -08:00
Martin Storsjö
c8afd15681
Add a cast when converting from double to float
...
This fixes warnings with MSVC.
2014-11-07 11:41:59 +02:00
Martin Storsjö
2b9f4f6607
Add casts to avoid warnings about comparison between signed and unsigned
...
This fixes warnings with gcc.
2014-11-07 11:17:44 +02:00
Martin Storsjö
08c07e4b8f
Remove unused variables
...
This fixes warnings with clang and gcc.
2014-11-07 11:12:51 +02:00
ruil2
ac404ce69d
remove repeat initialization
2014-11-07 14:58:43 +08:00
dongzha
789603a8b1
Merge pull request #1503 from huili2/ec_crossIDR
...
enable cross IDR EC method
2014-11-06 17:24:17 +08:00
dongzha
0fa667ac5f
Merge pull request #1502 from dongzha/RemoveUglyCode
...
remove ugly MC code
2014-11-06 15:26:38 +08:00
dongzha
1a7826c6eb
remove ugly MC code
2014-11-06 14:44:33 +08:00
sijchen
5cb5c28331
Merge pull request #1500 from syureyi/decoderstatics
...
decoder statictis adding
2014-11-06 14:25:04 +08:00
zhuling13
45ef803e4d
decoder statictis adding
...
mem
mem
decstatictis
time change
time change
set decTime=0
2014-11-05 22:01:32 -08:00
dongzha
ba0351f569
fix cabac bug in deltaqp
2014-11-06 10:51:18 +08:00
ruil2
8ed4e83e93
Merge pull request #1490 from sijchen/after_review
...
[Encoder] Fixing for large number of slices
2014-11-04 15:12:38 +08:00
huili2
103fa5bbed
enable cross IDR EC method
2014-11-03 22:11:49 -08:00
ruil2
18ed25fbb3
use %lld instead of %8d for longlong type
2014-11-04 10:37:23 +08:00
Sijia Chen
54c677cdd7
fixing OverallMbMap for slice_idx>255 and some log improvements
2014-11-04 09:19:36 +08:00
Martin Storsjö
8ffacf0918
Add casts to avoid warnings about comparison between signed and unsigned
...
This fixes warnings with gcc and msvc.
2014-11-03 11:28:40 +02:00
Martin Storsjö
0e9541247a
Use the right data type for some local variables
...
pDecEngine->uiOffset is an uint64_t as well, and *pSliceNum
is uint32_t.
This fixes warnings about comparison between signed and unsigned
in gcc and msvc.
2014-11-03 11:28:35 +02:00
Martin Storsjö
2951a7f3a3
Remove variables that are set but not used
...
This fixes build warnings with gcc.
2014-11-03 10:52:02 +02:00
sijchen
9ac2d2ad85
Merge pull request #1483 from dongzha/EnhanceDecConsole
...
modify console code for Demo interfaces test (this is reviewed at: https://rbcommons.com/s/OpenH264/r/890/ )
2014-11-03 15:41:42 +08:00
sijchen
dbd4330508
Merge pull request #1482 from ruil2/cabac_refine
...
add setoption trace
2014-11-03 15:39:45 +08:00
dong zhang
880e0fff06
modify macro STICK_STREAM_SIZE // For Demo interfaces test with track file of integrated frames
...
add macro NO_DELAY_DECODING // For Demo interfaces test with no delay decoding
2014-11-03 11:26:14 +08:00
ruil2
c19db25043
add setoption trace
2014-11-03 10:37:07 +08:00
dong zhang
cf85745752
add decoder cabac support and add UT
2014-11-03 10:03:43 +08:00
Martin Storsjö
53e2f67e80
Set constraint set 0 and 1 flags for non-scalable as well
...
This allows decoders to know that a baseline stream doesn't
contain any of the features that aren't in the constrained
baseline subset.
Set the flags based on what profile we target.
2014-10-31 10:48:09 +02:00
ruil2
3abd54ca73
Merge pull request #1477 from mstorsjo/avoid-msvc-warnings
...
Avoid warnings when building with MSVC
2014-10-31 15:36:14 +08:00
Sijia Chen
24192cc235
add validation of slice parameters instead of assert
2014-10-30 18:31:50 +08:00
Martin Storsjö
655f3b43b6
Add a cast when converting from int64_t to float
...
This avoids a warning when building with MSVC.
2014-10-30 11:07:22 +02:00
Martin Storsjö
a291470072
Avoid warnings about converting from int to bool
...
MSVC used to warn about this.
2014-10-30 11:06:46 +02:00
ruil2
055915d720
update windows project for table change
2014-10-30 12:47:26 +08:00
ruil2
100de97b49
move cabac table to common
2014-10-30 12:42:09 +08:00
Martin Storsjö
7ce4da8a41
Use WelsLog instead of fprintf for normal runtime errors
2014-10-29 22:45:44 +02:00
ruil2
c83ab3bca1
Merge pull request #1462 from sijchen/after_review1
...
updated documents from v1.2
2014-10-29 17:17:38 +08:00
ruil2
58cc29225e
Merge pull request #1463 from sijchen/after_review4
...
[Encoder] for reference selection under screen
2014-10-29 17:17:07 +08:00
ruil2
329ccd7d6f
Merge pull request #1464 from mstorsjo/unify-msvc-nasm
...
Revert unrelated changes to MSVC project file nasm commands
2014-10-29 09:55:20 +08:00
Martin Storsjö
f84560474c
Revert unrelated changes to MSVC project file nasm commands
...
The cabac encoder commit accidentally changed some of the nasm
commands in the MSVC project file, that were previously
made consistent in b17e9bb32
and 7720f2cc5
.
2014-10-28 23:38:14 +02:00
Martin Storsjö
f2c1395ab6
Remove the pBuffer parameter from the entropy encoder stash functions
...
The parameter didn't make sense since it only pointed to the
pSliceBsa field, which isn't what should be used to stash
the cabac context.
2014-10-28 14:59:50 +02:00
Martin Storsjö
9a9f92bcfe
Don't stash the cabac state into the SBitStringAux buffer
...
This fixes crashes on some platforms, and fixes valgrind
errors.
2014-10-28 14:59:50 +02:00
Sijia Chen
4fab8c2ee7
for reference selection under screen:
...
1, ref_list_mgr_svc.cpp, Ln314: fix a wrong DeleteLTRFromLongList which should not be used under screen strategy
2, ref_list_mgr_svc.cpp, Ln910: remove the frame which is furthest in distance to the current frame in ref list
3, wels_preprocess.cpp: use scene LTR ref list when the current frame is scene LTR
-, ref_list_mgr_svc.cpp, Ln811: add DEBUG trace
reviewed at: https://rbcommons.com/s/OpenH264/r/870/
2014-10-28 16:58:59 +08:00
sijchen
292d2511e2
Merge pull request #1457 from ruil2/enc_cabac
...
add encoder cabac support
2014-10-28 16:51:56 +08:00
Sijia Chen
4292f91ae5
add updated documents from v1.2
2014-10-28 13:55:37 +08:00
ruil2
abc01e6b81
add encoder cabac support
2014-10-27 13:06:33 +08:00
dong zhang
d3c8ade8d0
fix Rc int32_t bitrate overflow
2014-10-27 09:54:44 +08:00
ruil2
2dbb757d30
Merge pull request #1451 from sijchen/for_format
...
Fixes and change naming
2014-10-24 15:18:55 +08:00
sijchen
34cb0d60aa
Merge pull request #1450 from mstorsjo/avoid-warnings
...
Add casts to avoid warnings about comparison between signed and unsigned
2014-10-24 14:41:51 +08:00
Sijia Chen
6a2a4efef6
fix names to keep consistent of style
...
improve UT to cover more cases under GetStatistics
2014-10-24 14:39:50 +08:00
Sijia Chen
ea9b80adb3
fix a wrong range clip
2014-10-24 14:12:53 +08:00
Martin Storsjö
f0c6891627
Add casts to avoid warnings about comparison between signed and unsigned
2014-10-24 09:05:32 +03:00
Sijia Chen
50fd617e86
roll back the file which is mis-formatted by astyle
2014-10-24 13:04:35 +08:00
Sijia Chen
3cce92ea19
fix a small range of slice idx
2014-10-24 12:28:59 +08:00
sijchen
273e1227a5
Merge pull request #1440 from shihuade/APIUTV1.4
...
fix bug in set option return value
2014-10-24 09:00:56 +08:00
sijchen
43c62d06eb
Merge pull request #1439 from sijchen/for_format
...
[Reformat] format cpp files for next release
2014-10-24 09:00:36 +08:00
sijchen
5d6b20119a
Merge pull request #1442 from mstorsjo/android-pthread-setname
...
Only use pthread_setname_np on Android >= 9 (2.3)
2014-10-24 09:00:09 +08:00
Martin Storsjö
0a3d4c4ebc
Only use pthread_setname_np on Android >= 9 (2.3)
...
Older versions of Android don't have this function.
2014-10-23 15:36:40 +03:00
Martin Storsjö
57aae73d4c
Add casts to avoid warnings about comparison between signed and unsigned
2014-10-23 14:20:38 +03:00
huili2
94a1d4426e
Merge pull request #1437 from sijchen/after_review2
...
[Encoder] add a thread name for easier profiling
2014-10-23 18:03:24 +08:00
huili2
23b5a61153
Merge pull request #1429 from sijchen/add_statistics1
...
[Encoder] add EncoderStatistics
2014-10-23 18:02:23 +08:00
huashi
8d5863a170
fix bug in set option return value
2014-10-23 17:51:35 +08:00
Sijia Chen
97298de90a
reformat cpp files for next release
2014-10-23 17:50:50 +08:00
huili2
3c4279cdd8
fix crash bug of sps/pps
2014-10-23 02:36:08 -07:00
Sijia Chen
41720f8df5
add a thread name for easier profiling
2014-10-23 16:38:05 +08:00
Martin Storsjö
b17e9bb320
Make nasm commands in vcproj files consistent
...
Some commands had different spacing than others, and commands
for some files had accidentally missed a few parameters.
2014-10-22 10:14:22 +03:00
Martin Storsjö
7720f2cc5d
Add literal CRLF at the end of nasm commands that are missing them
...
These are added by MSVC as soon as the file is touched anyway.
This avoids stray changes to the files if the files are resaved
from within the IDE.
2014-10-22 10:14:08 +03:00
Sijia Chen
a765197b73
add interface and basic implementaion and UT for EncoderStatistics
2014-10-22 11:35:17 +08:00
Sijia Chen
cbe7891300
add clip in ParamTranscode for input para checking
2014-10-21 16:00:46 +08:00
ruil2
5762cbb8fc
Merge pull request #1419 from sijchen/fix_sm4_mt
...
[Encoder] improve the logic of locking in the function
2014-10-17 16:32:40 +08:00
HaiboZhu
1a78f69f2f
Merge pull request #1418 from huili2/EC_option_bugfix
...
ec disable bug fix
2014-10-17 10:09:39 +08:00
ruil2
89454f0cf9
modify trace level and fix potential issues
2014-10-16 14:57:15 +08:00
huili2
9a0d56da97
Merge pull request #1412 from daniel-j-h/clang_cleanup
...
Clang's -Weverything and Static Analyzer's reports
2014-10-16 14:24:58 +08:00
Haibo Zhu
9d182ee515
Add picture bIsComplete flag to reflect the status of decoder
...
Modify the output error status and add some some judgement
2014-10-15 11:36:24 -07:00
Sijia Chen
2479abf5c0
improve the logic of locking in the function
2014-10-15 17:46:59 +08:00
huili2
869c567f04
ec disable bug fix
2014-10-15 02:41:44 -07:00