sijchen
02d7f3d386
Merge pull request #2198 from HaiboZhu/Add_binary_address_RELEASES_v1.5
...
Add binary package address in RELEASES
2015-10-28 21:53:33 -07:00
Haibo Zhu
59cec41c53
Add binary package address in RELEASES
2015-10-29 09:24:38 +08:00
HaiboZhu
2610ab1832
Merge pull request #2174 from HaiboZhu/Bugfix_CHECK_SE_UPPER_conditions_v1.5
...
Fix the macro UPPER_CHECK conditions
2015-10-20 09:49:05 +08:00
Haibo Zhu
1072deea64
Fix the macro UPPER_CHECK conditions
2015-10-19 18:14:18 -07:00
HaiboZhu
9e1f1790e3
Merge pull request #2171 from HaiboZhu/Bugfix_entropy_decoding_upper_check_v1.5
...
Add protection for unsigned int output for openh264v1.5
2015-10-19 16:31:26 +08:00
Haibo Zhu
fdc713099e
(1) add protection for golomb GetUe output value
...
(2) change the max length of cabac bypass to 16
2015-10-18 23:47:38 -07:00
HaiboZhu
32c51ecb11
Merge pull request #2164 from HaiboZhu/Remove_cabac_shift_exponent_too_large_v1.5
...
Remove the shift exponent too large warning
2015-10-16 21:17:06 +08:00
HaiboZhu
c24aad5654
Merge pull request #2162 from huili2/MMCO_overflow_1.5
...
prevent too many MMCO num overflow
2015-10-16 16:58:25 +08:00
Haibo Zhu
f99f65099b
Remove the shift exponent too large warning
2015-10-16 01:40:05 -07:00
huili2
e007606545
prevent too many MMCO num overflow
2015-10-16 16:00:24 +08:00
HaiboZhu
9c88070c6e
Merge pull request #2156 from HaiboZhu/Remove_UBSAN_negative_left_shift_warning_v1.5
...
Remove ubsan negative left shift warning in v1.5
2015-10-15 12:03:34 +08:00
Haibo Zhu
6e052edcef
Remove UBSAN warnings about negative left shift
2015-10-14 19:49:01 -07:00
HaiboZhu
fcab199083
Merge pull request #2154 from HaiboZhu/Fix_warnings_from_Martin
...
Fix some warnings according to master branch pull request
2015-10-13 19:35:03 +08:00
Haibo Zhu
aa2c5cee0d
Fix some warnings according to master branch pull request
2015-10-13 18:37:13 +08:00
sijchen
68c6835c76
Merge pull request #2149 from sijchen/doc2
...
add release notes and version updates for v1.5 release
2015-10-12 22:31:40 -07:00
Sijia Chen
e86a91498d
complete the description of CHP
2015-10-12 21:42:26 -07:00
huili2
97ba688a54
Merge pull request #2148 from HaiboZhu/Bugfix_uninit_strcat_v1.5
...
Init the string value and add protection for WelsStrcat()
2015-10-13 09:05:09 +08:00
Sijia Chen
02904aa40e
add release notes and version updates for v1.5 release
2015-10-12 16:59:16 -07:00
Haibo Zhu
a58e169ee8
Init the string value and add protection for WelsStrcat()
2015-10-10 08:53:57 -07:00
sijchen
0b2d724c3e
Merge pull request #2141 from sijchen/v15api2
...
correct a typo along with the in-plan v1.5 release
2015-10-09 09:58:33 -07:00
huili2
d6b1680842
Merge pull request #2142 from HaiboZhu/Bugfix_SPS_update_logic_under_EC_v1.5
...
Fix the SPS update logic bug under EC mode
2015-10-09 11:42:07 +08:00
huili2
c6714d395f
Merge pull request #2143 from HaiboZhu/Bugfix_CAVLC_8x8_init_error_v1.5
...
Fix the 8x8 init bug under CAVCL when scalinglist enable
2015-10-09 11:41:53 +08:00
Haibo Zhu
ba5a21705b
Fix the SPS update logic bug under EC mode
2015-10-08 19:32:40 -07:00
Haibo Zhu
b548bd098e
Fix the 8x8 init bug under CAVCL when scalinglist enable
2015-10-08 18:19:54 -07:00
Sijia Chen
ccf994f00a
correct a typo along with the in-plan v1.5 release
2015-10-08 12:23:32 -07:00
huili2
7fc14895ee
Merge pull request #2125 from HaiboZhu/Bugfix_Duplicate_frame_num_v1.5
...
Check the duplicate frame_num in short ref list
2015-09-22 15:45:50 +08:00
HaiboZhu
8599789ac0
Merge pull request #2123 from sijchen/fixsimul
...
[Encoder] fix for simulcast case when the frame rate of lower resolution is higher
2015-09-22 14:51:41 +08:00
unknown
a1e09bf8c0
Check the duplicate frame_num in short ref list
...
Add more judgement for return value in WelsMarkAsRef()
2015-09-21 23:47:40 -07:00
Sijia Chen
53c057a8a8
fix for simulcast case when the frame rate of lower resolution is higher, and add test case
2015-09-21 15:42:17 -07:00
HaiboZhu
5c301defba
Merge pull request #2119 from sijchen/size_limit
...
fix a size range to avoid triggering latest constraints of input
2015-09-17 14:21:43 +08:00
Sijia Chen
829f216dbf
fix a size range to avoid triggering latest constraints of input
2015-09-16 15:23:13 -07:00
HaiboZhu
d0d7ad57c2
Merge pull request #2116 from mstorsjo/remove-tab-indentation
...
Fix indentation to consistently use spaces instead of tabs
2015-09-16 09:12:07 +08:00
HaiboZhu
8994f1f757
Merge pull request #2115 from fstd/support_netbsd_2
...
Support NetBSD and OpenBSD; consolidate BSD build.
2015-09-16 09:07:08 +08:00
fstd
f383137fe1
Consolidate BSD build to support NetBSD and OpenBSD as well
2015-09-15 18:06:16 +02:00
HaiboZhu
0474068503
Merge pull request #2118 from ruil2/valid1
...
fix UT failed
2015-09-15 14:00:48 +08:00
Martin Storsjö
c31e4e23f2
Fix indentation to consistently use spaces instead of tabs
...
Also get rid of other stray tabs in scripts.
2015-09-15 08:41:19 +03:00
karina li
1c3f7b2b11
fix UT failed
2015-09-15 13:07:30 +08:00
HaiboZhu
e0d43a8a1f
Merge pull request #2117 from mstorsjo/fix-arm-binutils
...
Fix building down_sample_neon.S with gnu binutils
2015-09-15 09:16:46 +08:00
Martin Storsjö
77bd41ca7e
Fix building down_sample_neon.S with gnu binutils
2015-09-14 21:38:26 +03:00
fstd
4d063b84cc
Build successfully on OpenBSD (which lacks sysctlbyname(3))
2015-09-12 21:31:39 +02:00
HaiboZhu
5373b8a3aa
Merge pull request #2111 from GuangweiWang/downsampler
...
add new c and assembly functions to optimize downsampler when downscale equal 1:3/1:4
2015-09-11 17:36:13 +08:00
Guangwei Wang
64657d3cfd
add new c and assembly functions to optimize downsampler when downscale equal 1:3/1:4
2015-09-11 16:45:40 +08:00
huili2
69a62ea58e
Merge pull request #2108 from HaiboZhu/Bugfix_ResetDecoder
...
Bug fix with add DecoderConfigParam in ResetDecoder
2015-09-11 10:17:40 +08:00
Haibo Zhu
28d7d303e3
Bug fix with add DecoderConfigParam in ResetDecoder
2015-09-10 16:47:37 +08:00
HaiboZhu
12d50ad565
Merge pull request #2105 from ruil2/valid
...
update UT that makes input width or height more than 16
2015-09-10 09:05:20 +08:00
karina li
e8d09bac0c
update UT that makes input width or height more than 16
2015-09-09 10:29:51 +08:00
HaiboZhu
e84284523a
Merge pull request #2104 from ruil2/valid
...
exception case for width or height is less than 16
2015-09-09 09:01:18 +08:00
karina li
2c830e64d7
exception case for width or height is less than 16
2015-09-08 17:21:56 +08:00
HaiboZhu
c48f47ab19
Merge pull request #2099 from nathankidd/master
...
Use stdbool.h with Visual Studio 2013 or higher
2015-09-06 09:51:44 +08:00
HaiboZhu
9add9883b1
Merge pull request #2100 from nathankidd/fix-CPU_COUNT-error
...
Only use CPU_COUNT if available
2015-09-06 09:18:29 +08:00
Nathan Kidd
fdabca4cc9
Only use CPU_COUNT if available
...
Fixes build error on Linux hosts with GLIBC < 2.6.
Resolves issue #2089
2015-09-02 18:24:24 -04: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
HaiboZhu
fd7a02b557
Merge pull request #2096 from ruil2/rc0
...
use individual iDecompositionStages for each spatial layer
2015-09-02 10:10:02 +08:00
karina li
8c7ef9c1a7
use individual iDecompositionStages for each spatial layer
2015-09-01 16:46:59 +08:00
zhilwang
d1fc002430
Merge pull request #2091 from HaiboZhu/Bugfix_CheckRefPicturesComplete_FMO_enable
...
Fix the bug that calculate mbAddr error when FMO enable
2015-08-28 17:22:36 +08:00
Haibo Zhu
646f3e92de
Fix the bug that calculate mbAddr error when FMO enable
2015-08-27 23:46:47 -07:00
HaiboZhu
96de6e0158
Merge pull request #2088 from shihuade/RDBugFixed_V2.1_Push
...
replace LayerBsInfo with FrameBsInfo in thread-based private data str…
2015-08-28 10:04:16 +08:00
huade
7b286bc637
replace LayerBsInfo with FrameBsInfo in thread-based private data structure
2015-08-27 17:24:48 +08:00
zhilwang
5d9b95288f
Merge pull request #2083 from HaiboZhu/Bugfix_OutOfMemory_post_process
...
Force reset decoder when out of memory error
2015-08-26 16:14:32 +08:00
zhilwang
7da20f8738
Merge pull request #2081 from HaiboZhu/Change_InitDecoder_Trace
...
Add bParseOnly flag into Trace
2015-08-26 16:14:21 +08:00
Haibo Zhu
27a9af0b09
Force reset decoder when out of memory error
2015-08-26 00:13:44 -07:00
Haibo Zhu
195dbdd5bd
Add bParseOnly flag into Trace
2015-08-25 08:58:28 +08:00
huili2
ab4e0df75a
Merge pull request #2079 from HaiboZhu/Change_ParserBsInfo_resolution
...
Change the SParserBsInfo resolution to actual value
2015-08-24 15:13:51 +08:00
Haibo Zhu
1173f879f1
Change the SParserBsInfo resolution to actual value
2015-08-24 14:37:32 +08:00
HaiboZhu
2b59746c68
Merge pull request #2077 from shihuade/RDBugFixed_V2.0_01
...
bug-fixed----left length of destination buffer for writing slice bs
2015-08-19 10:30:30 +08:00
huade
47d6ac3b57
bug-fixed----left length of destination buffer for writing slice bs
2015-08-19 09:05:15 +08:00
HaiboZhu
bf33bde15d
Merge pull request #2075 from sijchen/fix_abnormal_tid
...
[Encoder] change the solution when invalid tid is found
2015-08-17 16:38:54 +08:00
HaiboZhu
c9f19241fb
Merge pull request #2076 from ruil2/rc0
...
convert maxqp and minqp to encoder
2015-08-17 16:02:08 +08:00
karina li
d569a0276b
convert maxqp and minqp to encoder
2015-08-17 13:19:20 +08:00
Sijia Chen
82e7dcd84f
change the solution when invalid tid is found
2015-08-14 17:01:19 -07:00
zhilwang
8a96d06fa2
Merge pull request #2074 from HaiboZhu/Bugfix_max_ref_pic_count_error
...
Bug fix about RefList size memory access violation
2015-08-14 15:44:21 +08:00
HaiboZhu
669089d63a
Merge pull request #2073 from GuangweiWang/sub8x8asmUT
...
add UT for sub8x8 modes assembly functions
2015-08-14 15:44:08 +08:00
Haibo Zhu
5ebb64cc45
Add MAX_DPB_COUNT equals to MAX_REF_PIC_COUNT + 1 to set the size of RefList
...
Make the reorder search range sync with JM
2015-08-13 23:54:47 -07:00
HaiboZhu
c0808f1f1d
Merge pull request #2072 from sijchen/fix_readcfg
...
[Encoder] fix the range of writable cfg to avoid problem
2015-08-14 08:58:22 +08:00
Sijia Chen
97351a5cdf
fix the range of writable cfg to avoid problem
2015-08-13 16:01:49 -07:00
huili2
0fb5242b86
Merge pull request #2071 from HaiboZhu/Bugfix_Encoder_DetectSceneChangeScreen_overflow
...
Add default when iCurTId invalid
2015-08-13 17:19:10 +08:00
Haibo Zhu
68d9bc230d
Add default when iCurTId invalid
2015-08-13 01:11:30 -07:00
HaiboZhu
2273624a6a
Merge pull request #2070 from HaiboZhu/Bugfix_Emulation_prevention_three_byte
...
Add protection about emulation_prevention_three_byte error bytes
2015-08-11 22:52:28 +08:00
HaiboZhu
d7b344f18d
Merge pull request #2069 from huili2/bugfix_rplr_num_overflow
...
prevent error RPLR number overflow case
2015-08-11 17:26:46 +08:00
Haibo Zhu
e90068c234
Add protection about emulation_prevention_three_byte error bytes
2015-08-11 12:56:09 +08:00
huili2
c45e08a984
prevent error RPLR number overflow case
2015-08-11 09:45:09 +08:00
huili2
6ba10ce6f3
Merge pull request #2065 from HaiboZhu/Bugfix_RPLR_logic
...
Fix the RPLR logic error when picNumLX <= refIdxLX
2015-08-07 17:30:08 +08:00
huili2
be2b7f196f
Merge pull request #2063 from HaiboZhu/Add_EC_memcpy_protection
...
Add protection for memcpy overlap
2015-08-05 11:09:06 +08:00
huili2
6ab697ef78
Merge pull request #2060 from HaiboZhu/Bugfix_default_value_chroma_array_type
...
Add default value for ChromaArrayType to avoid NO value
2015-08-05 11:08:41 +08:00
HaiboZhu
47dcacee83
Merge pull request #2059 from sijchen/mt52
...
[Encoder] multi-threading refactoring
2015-08-05 09:28:13 +08:00
Haibo Zhu
6b4912c716
Add protection for memcpy overlap
2015-08-05 09:23:32 +08:00
Haibo Zhu
930161c6cc
Fix the RPLR logic error when picNumLX <= refIdxLX
2015-08-04 14:04:48 +08:00
Sijia Chen
9aafb779eb
1, refactor to remove similar function (WriteSliceToFrameBs is removed)
...
2, use slice-level variable in child-thread function so there can be a better independency in child-thread function
3, add two more test cases
2015-08-03 21:42:47 -07:00
Haibo Zhu
e621610776
Add default value for ChromaArrayType to avoid NO value
2015-08-04 11:11:06 +08:00
Guangwei Wang
e42ce60cc9
add UT for sub8x8 modes assembly functions
2015-07-30 10:02:32 +08:00
huili2
6b503843ec
Merge pull request #2054 from HaiboZhu/Bugfix_pps_update_logic
...
Fix the pps update logic error
2015-07-29 09:56:50 +08:00
Haibo Zhu
bc8dfcd1f4
Fix the pps update logic error
2015-07-28 01:59:26 -07:00
huili2
11e0fc8376
Merge pull request #2051 from huili2/sh_check_slice_type
...
add slice_type check for num_ref_frame
2015-07-27 14:19:42 +08:00
huili2
0400792778
add slice_type check for num_ref_frame
2015-07-27 10:53:51 +08:00
HaiboZhu
87c7307391
Merge pull request #2049 from ruil2/rc6
...
refine RC parameters
2015-07-27 09:44:33 +08:00
karina li
ab370cd607
refine RC parameters
2015-07-24 09:07:55 +08:00
ruil2
3c06753dcc
Merge pull request #2047 from huili2/T1_error_handling
...
bugfix for T1 error decoder dealing
2015-07-23 17:29:09 +08:00
huili2
091805b883
bugfix for T1 error decoder dealing
2015-07-23 11:04:23 +08:00
HaiboZhu
f30ad4e512
Merge pull request #2039 from shihuade/NewSHA1TableV1.3
...
syn/unify with local SHA1 script and update SHA1 tables
2015-07-20 15:54:20 +08:00
huili2
36a7aca674
Merge pull request #2040 from mstorsjo/fix-warnings
...
Avoid warnings about comparison between signed and unsigned
2015-07-20 08:55:29 +08:00
Martin Storsjö
9319301621
Avoid warnings about comparison between signed and unsigned
2015-07-18 16:31:36 +03:00
huili2
2c7857ab53
Merge pull request #2038 from HaiboZhu/Bugfix_disable_redundant_picture
...
[Decoder bug fix] Disable redundant picture to avoid the memory overflow
2015-07-17 10:46:03 +08:00
huili2
4ecdd071ff
Merge pull request #2035 from HaiboZhu/Bugfix_width_height_level_limit_check
...
Fix the bug that decoder not return when level limit occur
2015-07-17 10:45:03 +08:00
huili2
a0c9f02bde
Merge pull request #2034 from HaiboZhu/BugFix_CheckAccessUnitBoundaryExt
...
Fix logic errors in CheckAccessUnitBoundaryExt
2015-07-17 10:44:50 +08:00
huade
057799e298
syn/unify with local SHA1 script and update SHA1 tables
2015-07-17 10:44:15 +08:00
huili2
c0feee817d
Merge pull request #2032 from GuangweiWang/sub8x8asm
...
add new assembly functions to support sub8x8 mode
2015-07-16 13:33:04 +08:00
huili2
24d8b8a82c
Merge pull request #2033 from HaiboZhu/Bugfix_FMO_judgement_error
...
Fix max slice group number judgement error in FMO
2015-07-16 13:32:29 +08:00
HaiboZhu
b6ddfabf2b
Merge pull request #2028 from sijchen/mt42
...
[Encoder] save memory usage and improve error return logic under VLCOVERFLOW
2015-07-16 11:38:24 +08:00
Haibo Zhu
11c7bfa098
Disable redundant picture to avoid the memory overflow
2015-07-16 11:20:21 +08:00
sijchen
2407292882
Merge pull request #2031 from mstorsjo/astyle-tabs
...
Make astyle convert tabs to spaces
2015-07-14 17:59:01 +08:00
Haibo Zhu
d48b8b49d0
Fix the bug that decoder not return when level limit occur
2015-07-14 15:58:45 +08:00
Haibo Zhu
663bd94038
Fix max slice group number judgement error in FMO
2015-07-14 15:45:40 +08:00
Haibo Zhu
70d08736dd
Fix logic errors in CheckAccessUnitBoundaryExt
2015-07-14 15:38:16 +08:00
Martin Storsjö
7c739795b7
Make astyle convert tabs to spaces
...
Previously astyle only changed tabs to spaces if they were used for
indentation, but tabs in the middle of lines were left untouched.
2015-07-14 10:03:40 +03:00
sijchen
f743f04ed7
Merge pull request #2029 from mstorsjo/remove-tabs
...
Remove unnecessary tabs in the middle of lines
2015-07-14 10:33:58 +08:00
Martin Storsjö
282eda21cb
Remove unnecessary tabs in the middle of lines
...
At 6ff4ef3b38 all the (stray, mixed) tabs had been cleaned out from
the source code; remove newly added tabs and convert to spaces.
2015-07-13 23:05:26 +03:00
sijchen
41caf38152
Merge pull request #2027 from sijchen/dbp2
...
[Encoder] use func pointer for deblocking to save judgements at each slice
2015-07-10 11:02:37 +08:00
Guangwei Wang
1f8ef8f0a3
Add new x86 assembly functions to support sub8x8 mode
2015-07-10 09:00:05 +08:00
sijchen
703cce0214
Merge pull request #2023 from ethanhugg/refcount
...
Change GMP code to RefCount instead of deleting on enc/decode complete.
2015-07-09 16:28:02 +08:00
sijchen
95ad76f65d
Merge pull request #2024 from huili2/submbtype_modif
...
modify sub_mb_type, and fix a function name typo
2015-07-09 12:37:57 +08:00
Sijia Chen
e70621c194
save memory usage and improve error return logic under VLCOVERFLOW
2015-07-09 12:37:08 +08:00
Sijia Chen
cae5af52d7
use func pointer for deblocking to save judgements at each slice
2015-07-09 10:03:00 +08:00
sijchen
a8ae134610
Merge pull request #2026 from sijchen/fix_rc
...
[Encoder] let qp clip to min/max qp available in all rc settings
2015-07-08 17:02:17 +08:00
Guangwei Wang
49b569a018
Add new ARM AArch64 assembly functions to support sub8x8 mode
2015-07-08 10:34:49 +08:00
Sijia Chen
ee09f4d7bf
let qp clip to min/max qp available in all rc settings, so as to avoid qp exceed 51
2015-07-07 17:49:11 +08:00
Guangwei Wang
9f0d51d8d2
add new AArch32 asm functions to support sub8x8 mode
2015-07-07 10:13:56 +08:00
Ethan Hugg
a4bddf417e
Change GMP code to RefCount instead of deleting on enc/decode complete.
2015-07-06 09:48:50 -07:00
huili2
338a448946
modify sub_mb_type to be faster, and fix a function nam typo
2015-07-06 13:46:32 +08:00
Ethan Hugg
d04c7b9347
Merge pull request #2020 from brion/emscripten
...
Allow compilation to JavaScript via emscripten
2015-07-04 11:30:28 -07:00
Brion Vibber
522639f768
Allow compilation to JavaScript via emscripten
...
Currently the emscripten JavaScript environment for C/C++ programs
cannot do multithreading, and doesn't have a sysctl implementation
to get hardware CPU count. Hardcode to 1.
Using the Linux OS settings works, so not adding a platform file.
To build with emscripten (tested 1.30.0):
emmake make OS=emscripten ARCH=asmjs
The resulting libopenh264.so is LLVM bitcode which can be further
linked into an emscripten project for final JavaScript output.
2015-07-03 03:15:40 -07:00
sijchen
507ffbadb6
Merge pull request #2022 from sijchen/fix_slc
...
[Encoder] fix a first-mb judgement
2015-07-03 12:25:40 +08:00
huili2
159ca4461f
Merge pull request #2021 from sijchen/mt32
...
[Encoder] put pSliceBsBuffer to thread buffer rather than per slice, so as …
2015-07-03 11:10:05 +08:00
Sijia Chen
43ca6db9f5
put pSliceBsBuffer to thread buffer rather than per slice, so as to save memory usage
2015-07-03 09:55:16 +08:00
Sijia Chen
f265ab8e85
fix a first-mb judgement and enablings a test
2015-07-02 15:59:02 +08:00
sijchen
bee0d7d230
Merge pull request #2015 from huili2/sub8_final
...
add sub8x8 mode decision functions
2015-07-02 15:52:36 +08:00
huili2
1308027377
Merge pull request #2013 from sijchen/mem10
...
[Encoder] refactoring: simplify and wrap a function
2015-06-30 14:25:33 +08:00
huili2
57bd721b2f
add sub8x8 mode decision functions
2015-06-30 10:29:49 +08:00
Sijia Chen
dfcc78eaf5
refactor for future simplification
2015-06-29 09:31:08 +08:00
sijchen
82a0d3e4a2
Merge pull request #2010 from sijchen/mt2
...
[Encoder] correct the termination of error handling under multi-thread
2015-06-29 09:13:22 +08:00
Ethan Hugg
e6e46f84f3
Merge pull request #2011 from mstorsjo/fix-arflags
...
Don't concatenate $@ to AR_OPTS
2015-06-26 07:56:53 -07:00
Martin Storsjö
4c8347aa22
Don't concatenate $@ to AR_OPTS
...
The MSVC version of AR_OPTS already contains $@, in a very specific
way.
This fixes MSVC builds after c8bed8a9 .
2015-06-26 14:09:00 +03:00
sijchen
0f1371e461
Merge pull request #2004 from sijchen/ps55
...
[Encoder] first version of post-frame skipping for rate control (not enabled)
2015-06-26 17:42:08 +08:00
sijchen
d0a1b58374
Merge pull request #2003 from sijchen/rc_trace2
...
[Encoder] improve statistics logs
2015-06-26 17:41:55 +08:00
Sijia Chen
2a15a7975f
correct the termination of error handling under multi-thread
2015-06-26 17:40:49 +08:00
sijchen
25dd5c3c6f
Merge pull request #2009 from ruil2/rc3
...
use the external qp setting for screen content (reviewed: https://rbcommons.com/s/OpenH264/r/1246/ )
2015-06-26 15:58:23 +08:00
sijchen
a4fb978bb7
Merge pull request #1997 from deadNightTiger/deterministic-build
...
Enable deterministic mode for ar
2015-06-26 15:06:41 +08:00
karina li
c51975acdf
use the external qp setting for screen content
2015-06-26 12:35:21 +08:00
deadNightTiger
c8bed8a9bd
Move -D flag for ar to platform-linux.mk
2015-06-25 14:25:28 +04:00
deadNightTiger
3a131800a8
Enable deterministic mode for ar
2015-06-25 13:57:00 +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
fe965a2444
improve statistics logs
2015-06-23 17:01:30 +08:00
Ethan Hugg
9be80c088d
Merge pull request #1999 from bmiklautz/build
...
Make the static library directory configurable
2015-06-21 07:54:48 -07:00
Bernhard Miklautz
356f081f0a
Make the static library directory configurable
...
When running "make install" the destination of pkgconfig/openh264.pc and
lib/libopenh264.a was hard coded to "lib". When building packages it
might be required to change the install location of those files to
the systems default library location (like lib64 or lib/x86_64-linux-gnu
for example).
This commit adds an additional make variable "LIBDIR_NAME" that allows
it to change the destination directory for those files.
Without setting LIBDIR_NAME the installation location is the same as before
(lib).
2015-06-19 16:23:34 +02:00
sijchen
93af25eaef
Merge pull request #1993 from huili2/dec_mem_stat
...
add dec memory check
2015-06-19 13:37:41 +08:00
huili2
2ca6af54b9
Merge pull request #1995 from sijchen/ps22
...
[Encoder] make two un-error ending of encoding go to a same exit and save the d…
2015-06-19 08:44:55 +08:00
huili2
dea4303357
Merge pull request #1994 from sijchen/mt1
...
[encoder] remove one always-on macro to save code complexity
2015-06-19 08:44:16 +08:00
huili2
443630b098
Merge pull request #1992 from sijchen/ps11
...
[Encoder] Refactoring: move the post-encoding exchanging in preprocessing to more reasonable function
2015-06-18 08:33:19 +08:00
sijchen
e9429e2f93
Merge pull request #1988 from sijchen/ps4
...
add a frame-skip setting option
2015-06-17 17:35:03 +08:00
sijchen
bf44265c2c
Merge pull request #1989 from sijchen/memc
...
[Encoder] Amendments with MEMORY_CHECK on
2015-06-17 17:34:57 +08:00
Sijia Chen
ee4dafaa70
remove the core-1 setting for multi-thread, if application has concern of using all thread, it can be done by setting specific value to iMultipleThreadIdc
2015-06-16 17:05:48 +08:00
huili2
3cb417f14a
add dec memory check
2015-06-16 14:17:12 +08:00
Sijia Chen
daee3dcf22
remove one always-on macro to save code complexity, and use core-1 for multi-threading in real-time
2015-06-15 18:09:39 +08:00
zhilwang
9ecc671fc3
Merge pull request #1984 from mstorsjo/aarch64-fix
...
Fix the NEON register restoring in McHorVer30WidthEq8_AArch64_neon
2015-06-11 17:51:51 -07:00
Martin Storsjö
22cb778730
Fix the NEON register restoring in McHorVer30WidthEq8_AArch64_neon
...
This function pushes 16 bytes to the stack, but popped off 32
bytes.
This fixes a regression since 6f64f2372 .
2015-06-11 21:30:40 +03:00
Sijia Chen
71d0a7f71f
fix macro
2015-06-11 15:45:26 +08:00
Sijia Chen
89d5ad249f
add byte info in free
2015-06-11 15:29:19 +08:00
Sijia Chen
4fb4c9536f
remove build error if MEMORY_CHECK is on
2015-06-11 15:21:58 +08:00
Sijia Chen
dea37ce439
add a frame-skip setting option
2015-06-11 12:35:03 +08:00
sijchen
52cd5d99ab
Merge pull request #1979 from GuangweiWang/lumaMc
...
modify part of AArch64 LumaMc assembly functions to get improvement
2015-06-10 15:58:38 +08:00
sijchen
6ff4ef3b38
Merge pull request #1983 from mstorsjo/remove-tabs
...
Remove tabs from the source code
2015-06-10 15:51:09 +08:00
Martin Storsjö
78e0ec6130
Convert tabs to spaces before comments
2015-06-10 10:22:29 +03:00
Martin Storsjö
3052b7ac64
Remove tabs from vertically aligned function declarations and typedefs
2015-06-10 10:22:13 +03:00
Martin Storsjö
764793d74b
Remove tabs in struct and class definitions
2015-06-10 10:22:01 +03:00
Martin Storsjö
ca51ee0f44
Remove tabs where a simple space is just enough
2015-06-10 10:21:52 +03:00
Martin Storsjö
51efa57a3d
Convert tabs to spaces in vertically aligned code
2015-06-10 10:21:29 +03:00
Martin Storsjö
723044837a
Convert tabs to spaces in defines
2015-06-10 10:21:25 +03:00
Martin Storsjö
43767cddb6
Remove tabs from commented out code
2015-06-10 10:21:21 +03:00
Martin Storsjö
e1840a0ed6
Change indentation to use tabs instead of spaces in a few test project files
2015-06-10 10:21:19 +03:00
Martin Storsjö
8796e40f89
Run astyle on a newly added function
...
This function previously used tabs for indentation.
2015-06-10 10:21:15 +03:00
Martin Storsjö
c2b79fa51d
Convert tabs to spaces within comments
2015-06-10 10:21:13 +03:00
Sijia Chen
2ff38e9175
make two un-error ending of encoding go to a same exit and save the duplicated calling of UpdateSpatialPictures and ForceCodingIDR
2015-06-10 11:28:23 +08:00
Sijia Chen
84b441d4e4
move the post-encoding exchanging in preprocessing to more reasonable function
2015-06-10 10:49:39 +08:00
Guangwei Wang
6f64f2372e
save neon register d8,d9
2015-06-09 11:06:15 +08:00
Guangwei Wang
0237194f6e
bugfix:save neon register v8-v15
2015-06-09 10:19:09 +08:00
huili2
32d1510d29
Merge pull request #1981 from HaiboZhu/Debug_mosaic_T30
...
Bug fix about PrevRefFrameNum update logic error
2015-06-09 09:10:36 +08:00
Haibo Zhu
682b0b7335
Bug fix about mosaic on T30 which caused by prev frame num update
2015-06-08 01:10:12 -07:00
sijchen
aeed1fa677
Merge pull request #1980 from ruil2/rc_update
...
use the external setting for max_qp and min_qp
2015-06-08 13:25:27 +08:00
sijchen
b2c08598bc
Merge pull request #1978 from sijchen/doc
...
improve comments of the API
2015-06-08 12:07:03 +08:00
sijchen
70de76a253
Merge pull request #1975 from sijchen/rc_tr
...
[Encoder] Improve rate control trace
2015-06-08 12:06:36 +08:00
karina li
f2d391980e
use the external setting for max_qp and min_qp
2015-06-08 00:44:42 +08:00
Guangwei Wang
c930424642
modify part of AArch64 LumaMc assembly functions to get improvement
2015-06-05 13:26:00 +08:00
Sijia Chen
8ca76ec342
improve comments of the API
2015-06-04 15:06:46 +08:00
sijchen
a3c96509ec
Merge pull request #1976 from mstorsjo/remove-tabs
...
Remove tabs from table-like code, SIMD function pointer assignments and accidental tabs
2015-06-04 15:04:02 +08:00
Martin Storsjö
ebbcb67fb7
Convert tabs to spaces in assignment of SIMD function pointers
2015-06-03 15:39:30 +03:00
Martin Storsjö
26c1ce2d05
Remove tabs from class constructor member initializer lists
2015-06-03 15:39:30 +03:00
Martin Storsjö
c618b44b9e
Remove tabs from the end of lines like ") {"
2015-06-03 15:39:30 +03:00
Martin Storsjö
c134aa753a
Remove unnecessary/pointless/accidental tabs from the middle of lines of code
2015-06-03 15:39:30 +03:00
Martin Storsjö
b052a9580e
Convert tabs to spaces in code that looks like tables
...
Also fix the alignment in some related cases, even though they
didn't use tabs originally.
2015-06-03 13:26:36 +03:00
sijchen
8c60f84f7b
Merge pull request #1974 from mstorsjo/sample-test-valgrind
...
Initialize enough samples in the new 4x8 tests
2015-06-03 16:59:20 +08:00
Martin Storsjö
0298b3f580
Initialize enough samples in the new 4x8 tests
...
This fixes valgrind warnings about tests using uninitialized data.
2015-06-03 09:45:06 +03:00
Sijia Chen
a9d0d90ed2
correct a typo in rc log
2015-06-03 14:31:00 +08:00
Sijia Chen
ece17ff1b4
add layer info in RC detail trace
2015-06-03 14:13:21 +08:00
huili2
f76325edc7
Merge pull request #1973 from huili2/sub8
...
modify some functions extending to sub8x8 usage, especially in ME part
2015-06-02 14:44:06 +08:00
huili2
87f22d35fb
Merge pull request #1972 from GuangweiWang/mc
...
change aarch64 chroma mc function
2015-06-02 14:42:50 +08:00
huili2
c3cfce5223
modify some functions extending to sub8x8 usage, especially in ME part
2015-06-02 13:39:38 +08:00
sijchen
b0a822dd30
Merge pull request #1971 from mstorsjo/version-header-spacing
...
Regenerate codec_ver.h using generate_codec_ver.sh
2015-06-01 16:23:18 +08:00
sijchen
b55292413b
Merge pull request #1969 from BelledonneCommunications/bc-out-of-tree-build
...
fixes for out-of-tree build
2015-06-01 16:20:08 +08:00
Ghislain MARY
9d1ff982a7
Use -fo option instead of /fo.
2015-06-01 09:54:42 +02: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
sijchen
ed73d51945
Merge pull request #1963 from llyzs/dynamic_qp
...
Copy QP value when changing encoder config
2015-06-01 10:43:58 +08:00
sijchen
5588e82fce
Merge pull request #1961 from mstorsjo/fix-warnings
...
Remove a redundant check of this!=NULL
2015-06-01 10:42:56 +08:00
sijchen
7150d4feb1
Merge pull request #1968 from sijchen/mup
...
[Encoder] Multiple updates on logging and UT
2015-06-01 10:40:25 +08:00
Ghislain MARY
93a5597c11
More fixes for out-of-tree build:
...
- Generate version header in the build tree
- Generate .res file in the build tree on Windows
- Add the $(SRC_PATH) prefix to the .def files on Windows
2015-05-29 14:57:07 +02:00
Guangwei Wang
b8592d105b
add aarch64 for mc
2015-05-29 13:50:07 +08:00
Sijia Chen
92237fa329
improve a log for frame-skip
2015-05-29 10:48:02 +08:00
sijchen
fc97e3a602
Merge pull request #1967 from mstorsjo/outoftree-install
...
Use vpath instead of explicit $(SRC_PATH) for building .pc files out of tree
2015-05-29 09:31:09 +08:00
Martin Storsjö
9ed902a8d7
Use vpath instead of explicit $(SRC_PATH) for building .pc files out of tree
2015-05-29 00:10:45 +03:00
sijchen
3a42ae54cf
Merge pull request #1958 from BelledonneCommunications/master
...
Fix install targets for out-of-tree builds.
2015-05-28 17:04:32 +08:00
Vic Lee
ccaf242b80
Copy QP value when changing encoder config
2015-05-28 10:19:55 +08:00
Martin Storsjö
1239bb24ba
Remove a redundant check of this!=NULL
...
'this' can't be NULL in well-defined C++ code. This fixes a warning
with clang 3.6 from Xcode 6.3.
2015-05-27 11:46:53 +03:00
Sijia Chen
5eb11b5329
Add encoding in UT for better coverage
2015-05-26 15:46:44 +08:00
Sijia Chen
9442a7a0b5
add parameter checking on resolution and related UT
2015-05-26 15:41:47 +08:00
Sijia Chen
11c159b6a2
add parameter checking on resolution and related UT
2015-05-26 15:21:45 +08:00
Sijia Chen
8b7af7cbef
add comment for interface and better condiction for warning trace
2015-05-26 15:19:47 +08:00
Sijia Chen
585b61626c
add some warning traces in case the setting of frame rate has problem
2015-05-26 14:49:46 +08:00
Ghislain MARY
1b97daab20
Fix install targets for out-of-tree builds.
2015-05-25 13:02:12 +02:00
Sijia Chen
d15afbbee0
improve rate control trace
2015-05-25 10:31:58 +08:00
Sijia Chen
7a3ef3a003
update version info to get accord with release
2015-05-25 10:30:45 +08:00
huili2
4da932426c
Merge pull request #1957 from HaiboZhu/Change_trace_level_avoid_too_many_traces
...
Change the trace level from INFO to DEBUG to avoid too many traces
2015-05-22 14:37:31 +08:00
huili2
a62784e482
Merge pull request #1956 from HaiboZhu/Debug_EC_off_mosaic
...
Fix bug about the decoder with mosaic when EC off
2015-05-21 15:39:07 +08:00
Haibo Zhu
e757dce0e4
Change the trace level from INFO to DEBUG to avoid too many traces
2015-05-20 20:54:51 -07:00
Haibo Zhu
a484681202
Fix bug about the decoder with mosaic when EC off
2015-05-20 18:27:20 -07:00
sijchen
7d7a5c28bc
Merge pull request #1954 from mstorsjo/fix-screen-enc-bigendian
...
Avoid endian assumptions in FillQpelLocationByFeatureValue_c
2015-05-18 16:57:20 +08:00
sijchen
a3ab13c30d
Merge pull request #1955 from ruil2/rc_reset
...
reset buffer status when force IDR
2015-05-18 16:56:32 +08:00
karina li
85869921d3
reset buffer status when force IDR
2015-05-18 02:40:21 +08:00
Martin Storsjö
b90eca78cd
Avoid endian assumptions in FillQpelLocationByFeatureValue_c
...
These values are read as two separate 16 bit integers from an
array in the FeatureSearchOne function, therefore we should
also store them in a well-defined order.
This fixes encoding of screen content on big endian; now the
full testsuite passes on big endian.
2015-05-15 13:11:23 +03:00
sijchen
89728faf8d
Merge pull request #1953 from mstorsjo/remove-tabs
...
Remove tabs from multiline comments, public headers, enums and lists of defines
2015-05-15 18:09:02 +08:00
sijchen
5994075317
Merge pull request #1952 from mstorsjo/deblock-fix-test-bigendian
...
Revert broken big-endian fix for DeblockingBsMarginalMBAvcbase
2015-05-15 18:05:59 +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ö
b05468b5c1
Convert tabs to spaces in multiline comments
2015-05-15 10:50:49 +03:00
Martin Storsjö
31453e3072
Revert broken big-endian fix for DeblockingBsMarginalMBAvcbase
...
The function actually was correct for big-endian use already
(and the changes in 239e22d0 actually broke normal decoding tests),
it was only the test function itself that needed fixing for big-endian.
2015-05-15 10:13:40 +03:00
sijchen
853423b5ad
Merge pull request #1944 from mstorsjo/deblock-bigendian
...
Remove endianness assumptions from DeblockingBsMarginalMBAvcbase
2015-05-15 14:08:08 +08:00
sijchen
1d1b4f1d30
Merge pull request #1950 from mstorsjo/remove-tabs
...
Remove tabs fom copyright headers, def files, public header code examples and SIMD function pointer assignments
2015-05-15 14:07:47 +08:00
sijchen
f5b7513df6
Merge pull request #1949 from shihuade/NewSHATableV1.2
...
update SHA1 table as long time cost on travis, for issue#1946
2015-05-15 08:44:13 +08:00
Martin Storsjö
0ca7ff49e2
Convert tabs to spaces in assignment of SIMD function pointers
2015-05-14 14:07:49 +03:00
Martin Storsjö
95ac72754e
Convert tabs to spaces in .def files
...
The three def files in the project currently use tabs very inconsistently.
2015-05-14 13:58:44 +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ö
d152c25485
Remove tabs from the copyright/license section in file headers
2015-05-14 13:58:40 +03:00
huade
8c66a7c2f8
update SHA1 table as long time cost on travis
2015-05-14 18:09:11 +08:00
sijchen
569e7d1253
Merge pull request #1945 from mstorsjo/remove-tabs
...
Remove tabs from multi-line macro indentation and tables
2015-05-14 12:37:31 +08:00
sijchen
8c5f36ba23
Merge pull request #1941 from mstorsjo/c++-warnings
...
Enable -Wc++11-compat-reserved-user-defined-literal when building with clang on linux
2015-05-14 09:57:23 +08:00
sijchen
0185a07e7a
Merge pull request #1942 from mstorsjo/fix-longlong-consts
...
Add a LL suffix to 64 bit integer literals
2015-05-14 09:56:30 +08:00
Martin Storsjö
7a80c21526
Reformat tables without tabs
2015-05-13 22:06:58 +03:00
Martin Storsjö
dd913ef878
Don't use tabs for indentation in multi-line macros
...
The astyle configuration makes sure normal code is indented consistently
with 2 spaces, but astyle doesn't seem to touch the indentation in
these multi-line macros.
2015-05-13 22:06:54 +03:00
Martin Storsjö
239e22d088
Remove endianness assumptions from DeblockingBsMarginalMBAvcbase
...
This fixes a decoder unit test when running on big endian.
2015-05-13 20:48:04 +03:00
Martin Storsjö
652ee84e0d
Enable -Wc++11-compat-reserved-user-defined-literal when building with clang on linux
...
This allows catching issues that causes the build to fail on MSVC 2015 RC,
without having to include such a configuration in travis.
2015-05-13 14:53:00 +03:00
Martin Storsjö
2af19fa654
Add a LL suffix to 64 bit integer literals
...
This fixes building with gcc 4.0.
2015-05-13 10:38:02 +03:00
zhilwang
cf33d7031e
Merge pull request #1937 from brly/feature-detect-avx2
...
Add detection of AVX2
2015-05-13 00:37:56 -07:00
sijchen
2453042bf0
Merge pull request #1938 from mstorsjo/format-string-spacing
...
Add spaces around PRId64 macros in format strings, fix building with MSVC 2015 RC
2015-05-13 14:58:42 +08:00
sijchen
6e3e42b625
Merge pull request #1939 from mstorsjo/msvc-app
...
Add a separate platform makefile for "msvc-app"
2015-05-13 14:57:55 +08:00
Martin Storsjö
9ac4c8208e
Add spaces around PRId64 macros in format strings
...
This does the same cleanup as was done in 4fc27714bd on new occurrances
in the code base.
This fixes building with MSVC 2015 (which is still only a release
candidate).
2015-05-12 13:38:08 +03:00
Martin Storsjö
b2f1cbaae9
Add a separate platform makefile for "msvc-app"
...
This is for building code in the "app" mode (for Windows
Store apps/RT/metro/modern UI/appcontainer), which restricts API
usage and uses the Windows Runtime APIs for threading instead of the
old Win32 functions that aren't available for such apps.
This is similar to building for Windows Phone, but without the phone
specific libraries.
The common parts are abstracted to a common include makefile, that
both the targets "msvc-app" and "msvc-wp" use.
2015-05-11 23:30:46 +03:00
brly
b7fb9414c5
Add detection of AVX2
2015-05-10 20:27:36 +09:00
Martin Storsjö
6d5ef0ba2d
Use separate string literals instead of line continuation for multiline log messages
...
This avoids including excessive spacing from the indentation in
the actual message.
2015-05-08 21:48:52 +03:00
Martin Storsjö
b3342fa11a
Add spaces around an assignment to match the surrounding style
2015-05-08 14:19:06 +03:00
huili2
f1d1af0d34
Merge pull request #1934 from sijchen/fix_stat
...
[Encoder] remove un-calculated value setting, and add one more item in log
2015-05-08 16:24:49 +08:00
huili2
84a5f883db
Merge pull request #1935 from sijchen/fix_rc3
...
fix an improper mb-size assignment
2015-05-08 16:24:22 +08:00
Sijia Chen
38ffbf7df4
fix an improper mb-size assignment
2015-05-08 11:10:19 +08:00
Sijia Chen
00168404b7
remove un-calculated value setting, and add one more item in log to supervise
2015-05-07 14:50:06 +08:00
huili2
7c868cab4d
Merge pull request #1931 from HaiboZhu/Bug_Fix_EncoderInterface_OptionSetTest
...
Bug fix for encoder interface UT
2015-05-06 13:43:50 +08:00
Haibo Zhu
61b82d28c4
Add framerate & spatialbitrate comparison for encoder UT
2015-05-05 18:53:50 -07:00
sijchen
55a5272f68
Merge pull request #1927 from shihuade/WP8_UNICODE_API_Fixed
...
fixed no-support issues due to UNICODE macro for WP8
2015-05-05 11:53:08 +08:00
sijchen
3aed85f717
Merge pull request #1926 from mstorsjo/remove-unnecessary-continuation
...
Remove unnecessary line continuation for concatenating strings
2015-05-05 11:44:13 +08:00
sijchen
fc4e905891
Merge pull request #1925 from mstorsjo/misc-minor-whitespace
...
Misc minor whitespace fixes
2015-05-05 11:43:06 +08:00
sijchen
b19041c1b0
Merge pull request #1924 from mstorsjo/mismatched-filenames
...
Fix cases where file headers refer the wrong (old?) file name
2015-05-05 11:42:49 +08:00
Martin Storsjö
f21aaa1cd4
Remove unnecessary line continuation for concatenating strings
...
There's no need to use backslashes for continuing the lines here,
the strings are concatenated just fine even if split over multiple
lines.
2015-05-04 12:49:01 +03:00
Martin Storsjö
65d6826470
Astyle a cpp file in the android test project
...
This gets rid of indentation with tabs.
2015-05-04 12:47:31 +03:00
Martin Storsjö
ad9e65b96a
Remove trailing whitespace in the iOS codec unittest files
2015-05-04 12:47:19 +03:00
Martin Storsjö
8d34c68ad6
Add a missing newline at the end of a file
...
Some tools (like git) complain if a file lacks a newline at
the end of a file, and some editors will automatically readd
it when editing such files.
2015-05-04 12:46:48 +03:00
Martin Storsjö
613a7a0ead
Convert a tab to a space in an #ifndef
2015-05-04 12:46:38 +03:00
huade
67723a5122
fixed no-support issues due to UNICODE macro for WP8
2015-05-04 17:45:47 +08:00
Martin Storsjö
2bd89983cd
Fix cases where file headers refer the wrong (old?) file name
2015-05-04 12:45:03 +03:00
zhilwang
2d2c5d0112
Merge pull request #1918 from mstorsjo/ifdef-spaces
...
Remove unnecessary double spaces and tabs in ifdef directives
2015-04-29 17:41:52 -07:00
zhilwang
15a8977ad8
Merge pull request #1919 from mstorsjo/printf-tabs
...
Use \t or plain spaces instead of literal tabs in printf formats
2015-04-29 17:41:42 -07:00
zhilwang
9bda41b1ae
Merge pull request #1920 from mstorsjo/codec-ver-spacing
...
Add spaces in the struct in codec_ver.h
2015-04-29 17:41:32 -07:00
zhilwang
617f7c5d73
Merge pull request #1921 from mstorsjo/remove-brace-tabs
...
Remove tabs from the end of lines like ") {"
2015-04-29 17:41:20 -07:00
Martin Storsjö
a9c6a9d760
Remove tabs from the end of lines like ") {"
2015-04-29 15:49:28 +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
Martin Storsjö
ec99a3bcc5
Use \t or plain spaces instead of literal tabs in printf formats
2015-04-29 15:46:27 +03:00
Martin Storsjö
f324c354b1
Remove unnecessary double spaces and tabs in ifdef directives
2015-04-29 15:34:38 +03:00
HaiboZhu
baf93a340e
Merge pull request #1916 from huili2/bugfix_nodelay_dpbcrash
...
disable ECed output for nodelay decoding
2015-04-29 15:18:17 +08:00
huili2
3c8e2a1792
Merge pull request #1915 from sijchen/winver3
...
remove the VS2008 unsupport option -nologo
2015-04-28 16:25:03 +08:00
huili2
ecd6102688
disable ECed output for nodelay decoding
2015-04-28 13:42:01 +08:00
zhilwang
5cf163449f
Merge pull request #1914 from mstorsjo/asm-cleanup
...
Clean up assembly source files
2015-04-27 17:54:38 -07:00
huili2
faf1bdde0f
Merge pull request #1913 from mstorsjo/style-cleanup
...
Clean up trailing whitespace, astyle a new file, clean up mixed spaces/tabs indentation
2015-04-28 08:47:04 +08:00
Martin Storsjö
b1570b17be
Convert mixed tabs to spaces in shell scripts
...
All other shell scripts use spaces for indentation.
2015-04-27 14:10:09 +03:00
Martin Storsjö
a00e2e7229
Convert tabs to spaces in sample_sc.asm
...
This makes them consistent with the rest of the assembly source
files. Prior to f2314151e8 , all the assembly files had consistent
indentation, but after that, this file had been made different.
2015-04-27 14:07:04 +03:00
Martin Storsjö
7d3bb19bed
Fix up indentation in some arm assembly files
2015-04-27 14:05:52 +03:00
Martin Storsjö
db750af868
Remove stray dos newlines in files that otherwise have unix newlines
2015-04-27 14:05:42 +03:00
Martin Storsjö
8e26d9c31c
Astyle the android unittest java file
2015-04-27 14:03:15 +03:00
Martin Storsjö
31a9fb6913
Remove trailing whitespace
2015-04-27 14:02:28 +03:00
Sijia Chen
486f2daf3d
remove the unsupport option -nologo
2015-04-27 12:11:37 +08:00
sijchen
81df4c6972
Merge pull request #1910 from mstorsjo/make-simplify
...
Simplify handling of the default "all" rule
2015-04-27 10:34:42 +08:00
huili2
f78db981f8
Merge pull request #1912 from HaiboZhu/Bug_fix_ref_picture
...
Bug fix about ref picture management
2015-04-23 14:56:47 +08:00
Haibo Zhu
c24c967c65
Fix the possible infinite loop bug and Fix the judgement condition
2015-04-22 19:58:39 -07:00
Martin Storsjö
9ebab7094f
Clean up spacing in the quiet rules in the makefile
2015-04-22 09:23:08 +03:00
Martin Storsjö
f077d51f7e
Move the "all" make target before including any platform files
...
This makes sure that "all" stays as the default make target even if
platform makefiles add extra rules.
2015-04-22 09:20:31 +03:00
Martin Storsjö
75251b5af7
Remove stray spaces before colon in messages
2015-04-22 09:19:59 +03:00
Martin Storsjö
33e4f14be4
Remove a stray space in a makefile rule
2015-04-22 09:18:01 +03:00
Martin Storsjö
fed2043f8d
Group version related makefile variables together
2015-04-22 09:15:57 +03:00
sijchen
4f527a0fb6
Merge pull request #1909 from mstorsjo/fix-msvc-make
...
Mention the "all" target before the extra dependencies for openh264.dll in msvc.mk
2015-04-22 09:31:01 +08:00
Martin Storsjö
615b0b53d1
Mention the "all" target before the extra dependencies for openh264.dll in msvc.mk
...
This makes sure that all components get built, not only the DLL,
if doing a plain "make OS=msvc" after 2b33c74993 .
2015-04-21 09:21:31 +03:00
huili2
dac13639c9
Merge pull request #1908 from HaiboZhu/Add_Highprofile
...
Add high profile support
2015-04-21 09:42:49 +08:00
sijchen
15b7bc22c3
Merge pull request #1907 from mstorsjo/x86-64-arch-simplify
...
Use ARCH instead of ENABLE64BIT for distinguishing between x86 and x86_64
2015-04-21 09:06:33 +08:00
sijchen
dc59a7586f
Merge pull request #1906 from mstorsjo/dll-res
...
Include the version number and other info in the built DLL file
2015-04-21 08:55:42 +08:00
sijchen
3b01ce3f82
Merge pull request #1903 from mstorsjo/fix-msvc-autobuild
...
Fix an error in the msvc autobuild script, output into the correct outdir used by the project files
2015-04-21 08:51:37 +08:00
Haibo
e9916c7592
Add Transform 8x8 support
...
Add Intra 8x8 support
Add no_deblocking support inside T8x8
Add CABAC parse support
Add static data sheet for dequant
Fix bugs and clean/astyle the code
Remove build warnings
Modify the UT cases
Fix the ParseNalHeader bug
2015-04-20 04:04:30 -07:00
Martin Storsjö
9acca331c0
Remove unnecessary setting of ENABLE64BIT
...
The ARCH variable already indicates everything here.
2015-04-20 12:25:20 +03:00
Martin Storsjö
24f8f2138a
Use ARCH instead of ENABLE64BIT for distinguishing between x86 and x86_64
...
Keep support for the ENABLE64BIT flag (as a flag for choosing between
32 and 64 bit, if the current arch happens to be x86) but avoid using
it in code that wants to know the exact architecture used.
This makes the platform build files more straightforward and
consistent.
2015-04-20 12:22:46 +03:00
Martin Storsjö
a436676bc8
Update openh264.rc when updating the version number
2015-04-20 12:08:52 +03:00
Martin Storsjö
350b69bbf0
Simplify the version generation script
2015-04-20 12:08:52 +03:00
Martin Storsjö
2b33c74993
Include the version number and other info in the built DLL file
2015-04-20 12:08:52 +03:00
Martin Storsjö
e5439b4533
Output MSVC autobuild files into bin/arch/config instead of into bin/arch-config-asm
...
This is the same dirs as used as output dir by the msvc project files.
This makes sure that the project files can pick up the output files
directly instead of having to manually copy them around.
2015-04-20 09:37:22 +03:00
Martin Storsjö
dc661a6139
Fix a typo in the MSVC autobuild script
...
This typo made it fail to copy ut.dll when building for windows
phone.
2015-04-20 09:33:17 +03:00
sijchen
473f2e3d42
Merge pull request #1901 from mstorsjo/cleanup
...
Clean up warnings and incorrect indentation in the console tools
2015-04-20 11:18:59 +08:00
sijchen
d0eec6df78
Merge pull request #1902 from mstorsjo/makefile-cleanup
...
Simplify the makefile rules for unit test libraries for mobile platforms
2015-04-20 11:18:28 +08:00
sijchen
c8ee9a0308
Merge pull request #1904 from mstorsjo/wp-proj-gitignore
...
Add a gitignore file for the windowsphone project
2015-04-20 11:18:05 +08:00
sijchen
cffd2df923
Merge pull request #1895 from mstorsjo/add-release-binaries
...
List the v1.4.0 release binaries in the release file
2015-04-20 09:57:59 +08:00
zhilwang
91800fbc49
Merge pull request #1900 from mstorsjo/x86-32-asm
...
Hook up the x86_32-only assembly as well
2015-04-19 18:42:29 -07:00
Martin Storsjö
aa0fa56cdc
Simplify the makefile handling of building the unit test library
...
Instead of repeating everything hardcoded with platform ifdefs,
use a common define BUILD_UT_EXE to define whether we should build
an executable or a library of the unit test suite. Later factorize
all other platform differences into smaller and simpler ifdefs.
2015-04-17 16:17:35 +03:00
Martin Storsjö
95a46f1fc6
Add a gitignore file for the windowsphone project
2015-04-17 16:13:31 +03:00
Martin Storsjö
0e99473a46
Reorder ifeq/ifneq for a long if statement
...
By having the very short clause first, it is easier to see
what it belongs to.
2015-04-17 15:56:56 +03:00
Martin Storsjö
8368f66afe
Remove a stray double space
2015-04-17 15:46:15 +03:00
Martin Storsjö
513dfde31c
Reduce some nested ifdefs in the makefile
2015-04-17 15:38:06 +03:00
Martin Storsjö
4f8c4f5925
Don't try to run the unit test suite on "make test" for windows phone
...
This makes it consistent with android and iOS.
2015-04-17 15:28:05 +03:00
Martin Storsjö
f39f58e9db
Avoid warnings about conversion from double to float
2015-04-17 14:58:55 +03:00
Martin Storsjö
15c71312d2
Use spaces for indentation instead of tabs
2015-04-17 14:58:55 +03:00
Martin Storsjö
f619c16840
Hook up the x86_32-only assembly as well
...
This makes sure the code is at least somewhat tested. Ideally those
assembly functions should be upgraded to work in 64 bit mode as well,
but until then it's better to actually use them in the configurations
where they can be built.
2015-04-17 13:00:46 +03:00
sijchen
864ff21021
Merge pull request #1899 from shihuade/WP8V4.8-UTDemo
...
add ut demo for wp8
2015-04-17 17:24:30 +08:00
huade
f092b2a478
add ut demo for wp8
2015-04-17 14:10:12 +08:00
sijchen
18dc37a887
Merge pull request #1897 from shihuade/WP8V4.6
...
enhance auto script for windows platform
2015-04-17 10:45:03 +08:00
ruil2
7e3c06421f
Merge pull request #1894 from sijchen/smallfix2
...
[Encoder] multiple small improvements on logs and statistics and avoid warning
2015-04-17 09:23:40 +08:00
huade
ea4f7f1b89
enhance auto script for both windows phone and win32/win64 under VC9.0/VC10./VC11.0/VC/12.0
2015-04-16 17:03:55 +08:00
Martin Storsjö
052a379ec3
List the v1.4.0 release binaries in the release file
2015-04-16 11:48:21 +03:00
Sijia Chen
7b52c402db
add command line option to set input frame rate
2015-04-16 12:46:18 +08:00
Sijia Chen
8c2ee58fd9
update the SHA table because of default setting changed
2015-04-16 12:46:11 +08:00
Sijia Chen
cfea91666c
add the usage of unspecified bit rate into cfg files and use it
2015-04-16 12:46:01 +08:00
Sijia Chen
1922b533f6
change the range of frame rate from 30 to 60
2015-04-16 12:45:43 +08:00
Sijia Chen
8b679cad73
improve statistic calc
2015-04-16 12:45:33 +08:00
Sijia Chen
6a31bc3785
downgrade the log level of screen reference logs to save log volume
2015-04-16 12:45:22 +08:00
Sijia Chen
2a9035a571
add a clip to avoid warning on gcc4.8.2
...
https://github.com/cisco/openh264/issues/1858
2015-04-16 12:45:09 +08:00
sijchen
d718ad89f4
Merge pull request #1891 from darealshinji/patch-1
...
Indentation in PrintHelp() for better reading flow
2015-04-13 14:38:29 +08:00
HaiboZhu
46d1c93016
Merge pull request #1892 from huili2/bugfix_greenissue_parseonly
...
bugfix for HW decoding green issue
2015-04-13 10:24:28 +08:00
HaiboZhu
2f0b6c8f14
Merge pull request #1893 from huili2/bugfix_nodelayAPI
...
bug fix for nodelay API for buffer storage
2015-04-13 10:24:19 +08:00
huili2
cf3845779f
bugfix for HW decoding green issue
2015-04-10 12:52:32 +08:00
darealshinji
60a6dceb7d
Indentation in PrintHelp() for better reading flow
2015-04-10 00:38:13 +02:00
huili2
4d913096a1
bug fix for nodelay API for buffer storage
2015-04-08 11:20:52 +08:00
HaiboZhu
78ab4000c0
Merge pull request #1890 from huili2/parseonly_bugfix_for_multi_in
...
bug fix for parseonly multi-data in
2015-04-08 10:29:54 +08:00
huili2
20f28cd2f2
bug fix for parseonly multi-data in
2015-04-07 02:18:13 -07:00
sijchen
050c683a27
Merge pull request #1887 from ethanhugg/gmpapiff39
...
Use gmp-api branch Firefox39
2015-04-07 10:53:05 +08:00
sijchen
f771347483
Merge pull request #1888 from shihuade/WP8V4.1
...
add Codec demo and auto build script for WP8
2015-04-07 10:52:41 +08:00
huade
8abe601d33
add Codec demo and auto build script for WP8
2015-04-07 09:55:37 +08:00
Ethan Hugg
ee4ae13ce3
Use gmp-api branch Firefox39
2015-04-03 09:39:02 -07:00
Ethan Hugg
819f379837
Merge pull request #1885 from mstorsjo/add-release-binaries
...
Add (old) binary releases for 1.3.1
2015-03-31 10:21:52 -07:00
Martin Storsjö
649456a2a3
Add (old) binary releases for 1.3.1
2015-03-31 09:06:19 +03:00
zhilwang
7751d756b0
Merge pull request #1883 from mstorsjo/arm-asm-cleanup
...
Remove duplication in arm assembly
2015-03-30 01:02:02 -07:00
Ethan Hugg
ae0f6cc465
Merge pull request #1882 from zhilwang/readme
...
exlpain to prevent building with nasm2.11.08 in Mac OSX 64-bit
2015-03-27 10:14:27 -07:00
Martin Storsjö
0995390c4a
Remove apple specific versions of arm macros with arguments
...
The apple assembler for arm can handle the gnu binutils style
macros just fine these days, so there is no need to duplicate all
of these macros in two syntaxes, when the new one works fine in all cases.
We already require a new enough assembler to support the gnu binutils
style features since we use the .rept directive in a few places.
2015-03-27 11:11:45 +02:00
Martin Storsjö
d8202cf38f
Remove apple specific versions of arm64 macros with arguments
...
The apple assembler for arm64 can handle the gnu binutils style
macros just fine, so there is no need to duplicate all of these
macros in two syntaxes, when the new one works fine in all cases.
We already require a new enough assembler to support the gnu binutils
style features since we use the .rept directive in a few places.
2015-03-27 11:11:23 +02:00
Martin Storsjö
cdce1b73ca
Remove a stray, unused parameter to a gnu binutils style macro in arm assembly
2015-03-27 11:11:23 +02:00
Martin Storsjö
0b0884874d
Remove superfluous .text directives at the start of arm assembly files
...
This directive can be set by the common include header that is
included by all files anyway.
2015-03-27 10:46:34 +02:00
zhiliang wang
573a9f394e
exlpain to prevent building with nasm2.11.08 in Mac OSX 64-bit
2015-03-27 14:56:49 +08:00
HaiboZhu
2b1c815184
Merge pull request #1880 from huili2/wels_const
...
merge wels_const.h
2015-03-26 16:14:40 +08:00
huili2
62bcf95d8c
Merge pull request #1878 from mstorsjo/msvc-proj-cleanup
...
Remove references to missing files, clean up MSVC proj files
2015-03-26 09:46:24 +08:00
zhilwang
4768087556
Merge pull request #1879 from mstorsjo/downscale-min-res
...
Don't downsample to anything smaller than 4x4 pixels
2015-03-25 17:44:38 -07:00
Martin Storsjö
b60d91f78e
Don't downsample to anything smaller than 4x4 pixels
...
This makes for a chroma plane of 2x2. The SIMD versionf of generic
downscalers assume that the width and height is at least 2, since
it does an unconditional loop for the body of the image, and a
separate step for the last pixel and last row. The SIMD versions
assume that (width-1) and (height-1) are larger than zero.
This is the same fix as in e8cdbd2ea7 , but making sure it applies
to both dimensions, that commit only fixed it for one of the
dimensions.
This fixes spurious crashes in EncodeDecodeTestAPI.SimulcastSVC.
2015-03-25 12:15:51 +02:00
Martin Storsjö
b98e7c1f7d
Rename a vcproj folder to camelcase, to match all other folders in the same project
2015-03-25 11:46:41 +02:00
Martin Storsjö
19bcb45c22
Fix the indentation of a line in a vcproj file
...
This line seems to have been misindented by a manual edit.
2015-03-25 11:40:28 +02:00
Martin Storsjö
b6a1e1ce83
Remove references to missing files from the vcproj files
2015-03-25 11:40:10 +02:00
huili2
2673f0a579
merge wels_const.h
2015-03-25 17:11:40 +08:00
sijchen
cbc5681c01
Merge pull request #1876 from ruil2/base_vui
...
fix vui writting
2015-03-25 15:11:44 +08:00
ruil2
149e029c27
Merge pull request #1874 from sijchen/check_param2
...
[Encoder] fix a param checking for profile_idc
2015-03-25 14:12:11 +08:00
ruil2
4c352d13f3
fix vui writting
2015-03-25 14:10:18 +08:00
sijchen
3dbc36cdda
Merge pull request #1872 from huili2/fix_1145964
...
fix order of null pointer protection
2015-03-25 11:18:37 +08:00
Sijia Chen
91b186ddc8
fix a param checking for profile_idc
...
reviewed at: https://rbcommons.com/s/OpenH264/r/1163/
2015-03-25 10:02:10 +08:00
sijchen
dd1d979d33
Merge pull request #1871 from huili2/nal_prefix
...
remove nal_prefix in encoder
2015-03-25 09:51:10 +08:00
huili2
bd8ad20e8a
fix order of null pointer protection
2015-03-24 18:41:09 -07:00
huili2
88f5d1dde7
remove nal_prefix in encoder
2015-03-24 15:25:40 +08:00
huili2
a384df3246
Merge pull request #1868 from huili2/wels_common_basis
...
merge common part of wels_common_basis
2015-03-24 09:18:43 +08:00
sijchen
da8646f5b2
Merge pull request #1865 from ruil2/vui
...
update bGapsInFrameNumValueAllowedFlag according to parameters setting
2015-03-23 09:50:09 +08:00
huili2
403cc57dc6
merge common part of wels_common_basis
2015-03-20 12:44:00 +08:00
ruil2
e7fb44c451
update tables and update ut for different return value
2015-03-18 16:05:16 +08:00
ruil2
cce966fbba
update bGapsInFrameNumValueAllowedFlag according to parameters setting
2015-03-18 13:44:03 +08:00
sijchen
499be24cda
Merge pull request #1863 from mstorsjo/aarch64-official-instructions
...
Use the correct, official syntax for aarch64 mov instructions
2015-03-18 11:52:02 +08:00
huili2
821a0c981b
Merge pull request #1862 from mstorsjo/avoid-variable-shadowing
...
Avoid shadowing variables within functions
2015-03-17 16:34:38 +08:00
huili2
2e8e0d0a28
Merge pull request #1861 from mstorsjo/readme-wp
...
Mention Windows Phone in the list of supported OSes
2015-03-17 16:09:39 +08:00
Martin Storsjö
18a595468f
Avoid shadowing variables within functions
...
There is already a variable int iIdx declared just a few lines
above.
2015-03-17 09:44:08 +02:00
Martin Storsjö
3956bccc3d
Use the correct, official syntax for aarch64 mov instructions
...
Previously this used unofficial, apple specific syntax (with fallback
macros for gnu binutils), since Xcode 5.x didn't support the official
syntax of these instructions. Since Xcode 6 has been out for quite a
number of months already, it should be safe to require this (for
building 64 bit binaries for iOS, armv7 builds can still be built
with older Xcode versions).
This clarifies the code by avoiding apple specific syntax in the
assembler instructions.
2015-03-17 09:26:01 +02:00
Martin Storsjö
858e73c4be
Mention Windows Phone in the list of supported OSes
2015-03-17 09:02:54 +02:00
sijchen
b66703133e
Merge pull request #1856 from mstorsjo/ltr-mark-test-init
...
Initialize iLastCorrectFrameNum in GetOptionLTR_ALLLTR
2015-03-17 09:23:20 +08:00
sijchen
4f43624eec
Merge pull request #1849 from mstorsjo/msvc2013-wp-dll
...
Fix building DLLs for Windows Phone with MSVC 2013
2015-03-17 09:19:36 +08:00
Ethan Hugg
74545d3d6b
Merge pull request #1857 from mstorsjo/destdir-slash
...
Remove the extra slash between $(DESTDIR) and $(PREFIX)
2015-03-16 14:32:40 -07:00
Martin Storsjö
4780c6a8f8
Remove the extra slash between $(DESTDIR) and $(PREFIX)
...
If DESTDIR is set, it needs to include a trailing slash now.
This fixes "make install" on msys (i.e. on windows), where a path
starting with // is interpreted as a special network path.
2015-03-16 15:47:32 +02:00
ruil2
df1435835a
Merge pull request #1854 from sijchen/fix_rc
...
Fixes in using RC variables
2015-03-16 17:21:02 +08:00
Martin Storsjö
09fcc93575
Initialize iLastCorrectFrameNum in GetOptionLTR_ALLLTR
...
This avoids valgrind warnings about uninitialized variables
in case the random uiIDRPicId actually turns out to be correct.
2015-03-16 11:08:49 +02:00
sijchen
45d13338ed
Merge pull request #1850 from mstorsjo/readme-update
...
Update the readme styling, fix outdated information
2015-03-16 15:18:33 +08:00
Sijia Chen
cd3ebfa3d4
fix the usage of a rc variable
2015-03-16 15:01:14 +08:00
Sijia Chen
b4a9e99823
fix an uninitialization in RC when slice-increasing
2015-03-16 14:48:55 +08:00
huili2
7f3d6d8411
Merge pull request #1853 from syureyi/scalinglist_8x8
...
support scalinglist8x8
2015-03-16 10:48:15 +08:00
huili2
2d5a94ca75
Merge pull request #1847 from huili2/bit_stream
...
merge bit_stream.h for encoder&decoder
2015-03-16 10:47:44 +08:00
sijchen
9243fdf58a
Merge pull request #1852 from ruil2/vui
...
update vui parameters
2015-03-16 09:15:07 +08:00
zhuiling
17e5ea95c0
support scalinglist8x8
...
fix issue
update according to wayne's suggestiong
2015-03-16 08:57:04 +08:00
ruil2
ae9c5e2516
update vui parameters
2015-03-13 19:11:10 +08:00
Martin Storsjö
52808550d8
Fix building DLLs for Windows Phone with MSVC 2013
2015-03-13 13:04:04 +02:00
Martin Storsjö
12046fba2e
Recommend using ARCH instead of ENABLE64BIT for setting the target arch
...
This is more generic, while the ENABLE64BIT variable is used on
x86 only.
2015-03-13 12:57:19 +02:00
Martin Storsjö
5f3fef469d
Don't mention require setting the SDK variable when building for iOS
...
This variable is set automatically nowadays.
2015-03-13 12:53:50 +02:00
Martin Storsjö
2394e793bc
Update the information about the supported android architectures
2015-03-13 12:53:29 +02:00
Martin Storsjö
36360c521d
Adjust README.md to use proper markdown styling
2015-03-13 12:51:18 +02:00
sijchen
60f6f13d7e
Merge pull request #1846 from ruil2/vui
...
add VUI for base layer
2015-03-13 16:41:29 +08:00
huili2
ed1140b846
merge bit_stream.h for encoder&decoder
2015-03-13 16:19:25 +08:00
ruil2
c109f4dc8d
add VUI for base layer
2015-03-13 14:31:08 +08:00
sijchen
d7af7cedf9
Merge pull request #1845 from ruil2/rc_check
...
use each spatial layer qp instead of global qp and update traces
2015-03-12 17:27:24 +08:00
ruil2
fd7cd76b60
use each spatial layer qp instead of global qp and update traces
2015-03-12 15:05:51 +08:00
HaiboZhu
585855b00e
Merge pull request #1843 from huili2/as264_common
...
remove unused as264_common.h in decoder
2015-03-11 11:11:30 +08:00
huili2
a93e4647df
remove unused as264_common.h in decoder
2015-03-10 15:48:37 +08:00
sijchen
698ba11bb6
Merge pull request #1840 from shihuade/UT_BugFixed_V1.0
...
fixed bug for UT--setoptionParamExt
2015-03-09 09:16:05 +08:00
huashi
82cd357bae
fixed bug for UT--setoptionParamExt
2015-03-06 13:47:08 +08:00
sijchen
3a75956fb2
Merge pull request #1838 from sijchen/upd_doc
...
update RELEASES file
2015-03-05 17:25:12 +08:00
Sijia Chen
d086f28a30
re-order the items in RELEASES
2015-03-05 17:10:17 +08:00
sijchen
18b202df0a
Merge pull request #1837 from mstorsjo/initialize-func-pointers
...
Set pfMeCost to NULL when it isn't initialized
2015-03-05 17:05:07 +08:00
Sijia Chen
46de229fee
update RELEASES file
2015-03-05 16:41:48 +08:00
Martin Storsjö
0ef69e55e2
Set pfMeCost to NULL when it isn't initialized
...
This avoids using uninitialized data in the check for bSatdInMdFlag.
2015-03-05 10:29:40 +02:00
ruil2
5921e5e7d3
Merge pull request #1836 from sijchen/imp_ut4
...
[UT] add more condition to improve the coverage of DecoderCrashTest
2015-03-05 15:47:24 +08:00
Sijia Chen
2c44dbae5c
[UT] add more condition to improve the coverage of DecoderCrashTest
...
https://rbcommons.com/s/OpenH264/r/1132/
2015-03-05 13:22:48 +08:00
huili2
4048b9791a
Merge pull request #1834 from sijchen/check_param
...
complete parameter checking related to loop-filter-idc
2015-03-05 09:39:46 +08:00
huili2
3022d4f655
Merge pull request #1832 from sijchen/imp_mc
...
[Encoder] replace conditional judgements with faster operations
2015-03-05 09:39:31 +08:00
sijchen
b304687197
Merge pull request #1833 from huili2/parseonly_au_incomplete_input_final
...
allow slice-level data come in for parse only
2015-03-05 09:24:30 +08:00
huili2
06b8e1abb7
allow slice-level data come in for parse only
2015-03-04 00:57:43 -08:00
dongzha
5b12578960
Merge pull request #1829 from syureyi/wp_p
...
Decoder WP support
2015-03-04 14:58:40 +08:00
zhuiling
9ef0c74fdd
Decoder WP suppor
...
missed some part
fix clip value
update according to wayne's suggestion
2015-03-04 09:49:32 +08:00
Sijia Chen
94d1976a4e
complete parameter checking related to loop-filter-idc
2015-03-03 18:31:37 +08:00
sijchen
5a1aedb622
Merge pull request #1827 from dongzha/cleanlog
...
modify decoder log
2015-03-03 11:01:46 +08:00
dong zhang
153dd0d3f5
format the files
2015-03-03 09:14:27 +08:00
Sijia Chen
63926a3d10
put a flag calculation in higher-level to save calculation in MB level
2015-03-02 17:36:55 +08:00
Sijia Chen
303bf77e42
replace conditional judgements with function pointer for acceleration
2015-03-02 17:11:11 +08:00
dong zhang
d28970d625
modify decoder log
2015-03-02 16:55:37 +08:00
huili2
2da0ce6451
Merge pull request #1826 from HaiboZhu/Add_Length_Input_Support
...
Add Bs Lenght File Input in Console
2015-03-02 14:05:00 +08:00
Haibo Zhu
afbb499c77
Add Bs Lenght File Input in Console
2015-03-01 18:22:40 -08:00
sijchen
7c9597c36d
Merge pull request #1825 from ethanhugg/gmpapi-version-38
...
Change gmp-api version to Firefox38
2015-03-02 09:40:33 +08:00
zhilwang
bf3cc1ed63
Merge pull request #1823 from mstorsjo/downsample-min
...
Don't downsample to anything smaller than 4x4 pixels
2015-03-01 16:45:03 -08:00
Ethan Hugg
cea83438bf
Change gmp-api version to Firefox38
2015-02-28 08:50:23 -08:00
Martin Storsjö
e8cdbd2ea7
Don't downsample to anything smaller than 4x4 pixels
...
This makes for a chroma plane of 2x2. The SIMD versionf of generic
downscalers assume that the width and height is at least 2, since
it does an unconditional loop for the body of the image, and a
separate step for the last pixel and last row. The SIMD versions
assume that (width-1) and (height-1) are larger than zero.
This fixes spurious crashes in EncodeDecodeTestAPI.SetOptionEncParamExt.
2015-02-28 14:58:53 +02:00
Ethan Hugg
67664f4dc0
Merge pull request #1821 from mstorsjo/remove-srand
...
Remove a stray srand
2015-02-27 11:16:41 -08:00
Martin Storsjö
c301db696e
Remove a stray srand
...
The individual tests shouldn't reseed the random number generator
(other than for local debugging).
Hardcoding a specific random seed here leads to this test (and
all subsequent tests) not testing things randomly as intended, but
always testing the same parameters.
2015-02-27 12:06:44 +02:00
sijchen
2294b786cf
Merge pull request #1774 from huili2/dec_flowchart_ec
...
modify decoder flowchart for non vcl AU check
2015-02-27 17:44:03 +08:00
Ethan Hugg
9ea4d5bd73
Merge pull request #1816 from mstorsjo/downscale-min-limit
...
Avoid trying to downscale layers to dimensions below 2
2015-02-23 13:53:58 -08:00
Ethan Hugg
497b38e341
Merge pull request #1815 from mstorsjo/test-param-strings
...
Store a const char* instead of a std::string in gtest parameter arrays
2015-02-23 13:52:19 -08:00
Martin Storsjö
861f54887d
Avoid trying to downscale layers to dimensions below 2
...
When calculating what resolution to actually downscale to,
it can end up smaller than what the caller set. When scaling
down to resolutions close to the limit of allowed values,
this can end up setting values lower than the limit.
Previously, e.g. a downscale from 2266x8 to 566x2 will end
up as 566x1 after this calculation. When scaling to a
566x1, the chroma plane gets a height of 0, which doesn't
make sense, and which breaks e.g. the SSE2 scaler. Therefore,
make sure none of the dimensions end up set below 2.
2015-02-19 14:53:02 +02:00
Martin Storsjö
7208ed14b1
Store a const char* instead of a std::string in gtest parameter arrays
...
This avoids valgrind warnings about using unintialized data.
2015-02-19 14:52:11 +02:00
ruil2
e29ceca392
Merge pull request #1813 from sijchen/savc61
...
[Encoder] complete logic of simulcastavc with sps_pps_listing
2015-02-13 16:31:18 +08:00
Sijia Chen
15723e1204
add comments for write para set functions
2015-02-13 15:48:17 +08:00
HaiboZhu
1641ce9ee5
Merge pull request #1812 from huili2/cropping_error
...
return error for cropping data error
2015-02-12 11:27:48 +08:00
Sijia Chen
f9080ac090
complete logic of simulcastavc with sps_pps_listing
2015-02-11 17:31:17 +08:00
huili2
a73c1e6814
Merge pull request #1810 from dongzha/addUTLargeSize
...
add a UT for large picture
2015-02-11 17:28:08 +08:00
dong zhang
7d6d86b63a
add a UT for large picture
2015-02-11 16:31:00 +08:00
huili2
4e9e5f5c36
Merge pull request #1794 from syureyi/monochroma
...
to support monochroma
2015-02-11 16:10:07 +08:00
huili2
5683393f38
return error for cropping data error
2015-02-10 22:31:24 -08:00
ruil2
ab3b55ae9c
Merge pull request #1809 from sijchen/savc51
...
[Encoder] fix a nal generation for simulcast avc
2015-02-11 14:08:08 +08:00
Sijia Chen
943981abc4
fix a nal generation for simulcast avc and add nal-type check for simulcast avc UT
2015-02-09 13:50:31 +08:00
sijchen
bea361a1f0
Merge pull request #1805 from syureyi/fix_android_demo
...
Maintain android demo of encoder, fix a typo error
2015-02-09 11:05:17 +08:00
Ethan Hugg
9391c1586d
Merge pull request #1808 from mstorsjo/update-readme
...
Update the readme about android 64 bit support
2015-02-08 11:21:23 -08:00
Martin Storsjö
58d9efb582
Update the readme about android 64 bit support
2015-02-08 21:17:29 +02:00
sijchen
9008b15d94
Merge pull request #1799 from mstorsjo/copy-spatial-downsample
...
Allow forcing copying in downscale
2015-02-06 14:22:18 +08:00
ruil2
8fc2af760f
Merge pull request #1804 from sijchen/fix_over3
...
[Encoder] fix potential overflow under large bit rate
2015-02-06 14:22:01 +08:00
ruil2
296ab4d490
Merge pull request #1802 from sijchen/savc50
...
[Encoder] fix for in-middle changing simulcast avc setting
2015-02-06 14:21:47 +08:00
Sijia Chen
431bcee310
1, update the max-nal-size setting in UT and param check since we are using a larger input check
...
2, fix potential overflow (will change bs but little impact on bs)
2015-02-06 13:24:20 +08:00
ruil2
7d055cae94
Merge pull request #1786 from sijchen/fix_over
...
improve error logging in UT
2015-02-06 12:17:56 +08:00
ruil2
8246225eed
Merge pull request #1791 from sijchen/fix_nal1
...
[Encoder] add a para check for max_nal_size
2015-02-06 12:17:40 +08:00
sijchen
3f19534dd6
Merge pull request #1790 from mstorsjo/simplify-vcproj
...
Remove the intermediate SW folder in the decoder vcproj files
2015-02-06 09:49:49 +08:00
Martin Storsjö
0a2cd1e59a
Allow forcing copying in downscale
...
Normally, the DownsamplePadding skips scaling if the target
size is the same as the source size, assuming that the caller
will use the source data pointer in that case. This is true
for the base layer (the first call to DownsamplePadding in
SingleLayerPreprocess), but when downsampling the other layers,
there is no special handling for the case when the target
is the same size as the source.
Previously, the encoding of such spatial layers will use
completely uninitialized data, encoding complete garbage.
Instead force DownsamplePadding to make a copy if no scaling
is required, for the dependency layers. The base layer still
avoids a copy unless scaling of that layer is required.
Whether it actually makes sense to have lower spatial layers
the same size as the original one is a different question
though - currently the code allows it, and
EncodeDecodeTestAPI.SetOptionEncParamExt will try to use it.
2015-02-05 13:10:39 +02:00
Sijia Chen
bc1b28b5dd
fix for in-middle changing simulcast avc setting
2015-02-05 16:34:28 +08:00
sijchen
09518da545
Merge pull request #1795 from mstorsjo/avoid-variable-shadowing
...
Avoid declaring a new variable shadowing an existing one in the same function
2015-02-04 17:57:38 +08:00
Martin Storsjö
6c1aa29431
Avoid declaring a new variable shadowing an existing one in the same function
...
All the following loops below assume that int iIdx already is declared.
2015-02-04 11:25:09 +02:00
sijchen
dc067286b3
Merge pull request #1792 from dongzha/AddUTMaxNalLen
...
add UT for set MaxNalUnitLen
2015-02-04 15:56:51 +08:00
zhuiling
0a8a4f2284
to support monochroma
...
add mbtype judge logic
2015-02-04 15:00:54 +08:00
dong zhang
d3b2be5ec2
add UT for set MaxNalUnitLen
...
ignore the cases: 2 MBs in one picture, and the multithreads case, enable them when code is ready
2015-02-04 14:39:11 +08:00
HaiboZhu
442230a91d
Merge pull request #1789 from huili2/bugfix_checkspsactive
...
bug fix for multi-layer active sps check
2015-02-04 09:13:18 +08:00
Sijia Chen
2211324e2b
add a para check for max_nal_size
2015-02-03 15:14:36 +08:00
Martin Storsjö
87b73257cb
Remove the intermediate SW folder in the decoder vcproj files
...
This makes the folder structure in these project files match all
the other ones.
2015-02-03 09:09:58 +02:00
sijchen
fba745f04e
Merge pull request #1788 from mstorsjo/share-wels-const
...
Share parts of wels_const.h
2015-02-03 15:06:44 +08:00
huili2
1734133012
bug fix for multi-layer active sps check
2015-02-02 22:31:50 -08:00
Martin Storsjö
e4a278620b
Remove dependencies on the decoder internals in unit test for the common library
2015-02-02 12:44:04 +02:00
Martin Storsjö
4f237b51ef
Move parts of wels_const.h into a shared header
2015-02-02 12:41:11 +02:00
Martin Storsjö
713beb7df7
Fix typos in header include guards
2015-02-02 12:41:11 +02:00
sijchen
5fdd01ec0c
Merge pull request #1787 from mstorsjo/remove-stray-semicolon
...
Remove accidental double semicolons
2015-02-02 18:15:02 +08:00
sijchen
e7a7a35611
Merge pull request #1779 from mstorsjo/share-memalign
...
Move the memory allocation/deallocation routines to the common library
2015-02-02 18:14:55 +08:00
Martin Storsjö
a3063531c4
Remove accidental double semicolons
2015-02-02 09:20:35 +02:00
zhuiling
ee515e8b35
fix it
2015-02-02 10:17:19 +08:00
zhilwang
fb5c60b6fc
Merge pull request #1782 from mstorsjo/avoid-yasm-warnings
...
Move DEFAULT REL into the x86_64 cases
2015-02-01 17:38:59 -08:00
zhilwang
7629543e3e
Merge pull request #1784 from mstorsjo/force-arm-mode
...
Force armv7/neon within the arm assembly header file
2015-02-01 17:36:36 -08:00
sijchen
79b38f55ff
Merge pull request #1783 from mstorsjo/simplify-includes
...
Simplify include paths for unittest sub libraries
2015-02-02 09:30:27 +08:00
sijchen
16ca41cada
Merge pull request #1780 from mstorsjo/speedup-tests
...
Set m_iPicResSize in PrepareOneSrcFrame
2015-02-02 09:29:50 +08:00
sijchen
0f1737e035
Merge pull request #1778 from mstorsjo/fix-version-generation
...
Don't overwrite the git-tracked version.h
2015-02-02 09:23:05 +08:00
Martin Storsjö
5a78735802
Force armv7/neon within the arm assembly header file
...
This avoids having to add extra compiler flags to be able to build
them.
2015-02-02 00:53:39 +02:00
Martin Storsjö
8d539600bb
Simplify unittest include paths
...
Move the "test" directory to CODEC_UNITTEST_INCLUDES instead of
duplicating it in every definition.
2015-02-02 00:51:02 +02:00
Martin Storsjö
84b3216d7c
Remove redundant unittest include paths
...
The local directory doesn't need to be added to the include path.
2015-02-02 00:50:54 +02:00
Martin Storsjö
3243a78959
Move DEFAULT REL into the x86_64 cases
...
This fixes warnings when building for x86_32 using yasm, which says
the "DEFAULT REL" is ignored for non-64-bit targets.
2015-02-02 00:49:37 +02:00
Ethan Hugg
195df08bb9
Merge pull request #1746 from kinetiknz/gmp-fixes
...
Various fixes for the GeckoMediaPlugin wrapper
2015-01-30 09:25:35 -08:00
Martin Storsjö
4394d22b70
Set m_iPicResSize in PrepareOneSrcFrame
...
If the calling test hasn't set m_iPicResSize, it is set to the
maximum frame size, which takes much longer to initialize than the
current actual frame size.
This reduces the runtime of EncoderInterfaceTest.SkipFrameCheck
in valgrind from 229 seconds to 8 seconds, and the total runtime
of all the test cases in EncoderInterfaceTest from 405 seconds
to 89 seconds.
2015-01-30 16:02:40 +02:00
Martin Storsjö
2356eb1ff6
Move the memory allocation/deallocation routines to the common library
...
They are still used slightly differently in the encoder and decoder;
the decoder uses plain functions while the encoder uses one object
keeping track of the number of allocated bytes, and keeping track
of the requested alignment.
2015-01-30 11:30:59 +02:00
Martin Storsjö
078d96bef7
Don't overwrite the git-tracked version.h
...
When generating a new version of the header, that includes the
actual git hash, don't overwrite the file that is tracked by git.
Instead create a new file, and include this only if the build system
indicates that it exists (by setting a define). This allows the
untouched source tree to be built from within an IDE even if make
has not been run.
This reduces the hassle with a file that needs to be ignored in the
git configuration.
The downside is that the generated file isn't used if building
from within an IDE, if the header has been updated by calling make
before (since the IDE configuration doesn't know whether the user
actually has run make). Since users of the IDE might not build via
make in the command line at all (in the same source checkout at least),
this should not be an issue in practice. The previous way things worked,
the version hash (generated by make) when used in an IDE could actually
be outdated and misleading.
2015-01-30 10:55:16 +02:00
Martin Storsjö
869870e670
Rename the decoder WelsMalloc to WelsMallocz
...
This function actually zero-initializes the allocated memory, thus
make this clear in the function name.
This makes the function name match the same behaviour in the encoder.
2015-01-30 10:37:48 +02:00
Sijia Chen
3c085aec79
improve error logging in UT
2015-01-30 15:43:20 +08:00
sijchen
9b442b3d44
Merge pull request #1776 from mstorsjo/mc-test-fix
...
Avoid writing outside of the target rect in MCHalfPelFilterAnchor
2015-01-30 10:38:40 +08:00
sijchen
e48cf9f471
Merge pull request #1769 from ruil2/status
...
add screen content type setting
2015-01-30 10:25:19 +08:00
sijchen
28469ab3dc
Merge pull request #1775 from sijchen/upd_ver
...
update the version info to sync with recent change of API
2015-01-30 10:24:56 +08:00
Martin Storsjö
76b0f8c17a
Avoid writing outside of the target rect in MCHalfPelFilterAnchor
...
This simplifies comparison between the output of MCHalfPelFilterAnchor
and the actual MC function implementations.
2015-01-29 08:51:02 +02:00
Matthew Gregan
02365371e8
Initialize SVideoProperty struct completely.
2015-01-29 19:01:47 +13:00
Matthew Gregan
9ea6603071
Pass AVCC extra data to the decoder (in AnnexB format) in InitDecode.
2015-01-29 18:58:44 +13:00
Matthew Gregan
30d7352d03
Call InputExhausted when input has not produced a frame, call Error when
...
the decoder did not produce valid output, call DrainComplete in Drain
and FlushComplete in Flush. Without these, the caller of the GMP may
end up waiting forever on a requested operation to complete.
2015-01-29 18:58:44 +13:00
Sijia Chen
a4f09f4d76
update the version info to sync with recent change of API
2015-01-29 11:14:08 +08:00
dongzha
4f4adcec49
Merge pull request #1772 from mstorsjo/mc-unify
...
Move the MC implementation to the common library
2015-01-29 09:28:57 +08:00
dongzha
59b3b428a2
Merge pull request #1768 from mstorsjo/msvc-ignore
...
Add a .gitignore file for test/build/win32
2015-01-29 09:28:02 +08:00
huili2
8a84d14617
Merge pull request #1770 from mstorsjo/remove-moved-file
...
Remove leftover references to expand_pic in the welsdec xcode project
2015-01-29 09:22:28 +08:00
huili2
7ab0386436
Merge pull request #1771 from mstorsjo/mc-enc-ut
...
Improve and fix a few details in the encoder MC test
2015-01-29 09:18:46 +08:00
Martin Storsjö
605f2fb858
Remove the now unnecessary mc_test_common.h
2015-01-28 23:59:41 +02:00
Martin Storsjö
f03edd79c2
Merge all MC unit tests into one file
...
Since both encoder and decoder use the same MC implementation now,
one set of tests is enough.
2015-01-28 23:59:37 +02:00
Martin Storsjö
9a0663620a
Move the MC routines to the common library
...
Use the decoder versions of the functions (which are capable
of handling widths 4/8/16 for luma, not only 16 as in the
encoder). By using the more generic versions, there may be a small
performance loss since the functions need to check the width
in every call. Actual measurements show that the actual change is
very small (and the shared routines turn out to actually be faster
than the existing ones in ARM NEON setups).
2015-01-28 15:32:46 +02:00
Martin Storsjö
1a7d0ab831
Hook up McChromaWidthEq8_ssse3 into use in the decoder as well
2015-01-28 15:20:43 +02:00
Martin Storsjö
909a508749
Use the right stride in a memset in the EncMcHalfpel test
2015-01-28 15:19:19 +02:00
Martin Storsjö
5d67df4adb
Remove leftover references to expand_pic in the welsdec xcode project
...
These files are part of the common library (and the common xcode
project) now instead.
2015-01-28 15:13:50 +02:00
Martin Storsjö
151dfe04d5
Extend the tested area in the encoder MC test
2015-01-28 15:11:17 +02:00
Martin Storsjö
9a9fc4c489
Change pfSampleAveraging to be a single function with internal width handling
...
This makes it match the behaviour of pMcLumaFunc and pMcChromaFunc.
2015-01-28 13:59:58 +02:00
Martin Storsjö
1127aa7761
Simplify the MC unit tests now that the naming is made consistent
2015-01-28 13:59:58 +02:00
Martin Storsjö
8b6bf0499f
Rename the encoder MC chroma/luma functions to match the naming in the decoder
2015-01-28 13:59:58 +02:00
Martin Storsjö
bb21b62cbd
Simplify the MC unit tests now that the luma functions have a similar signature
2015-01-28 13:59:58 +02:00
Martin Storsjö
1cf68cad13
Move the qpel function table into the luma function itself
...
This unifies the luma MC interface to match the decoder side.
2015-01-28 13:59:58 +02:00
sijchen
a8262dd9e6
Merge pull request #1767 from mstorsjo/fix-msvc-warnings
...
Use float literals instead of double literals when setting float values
2015-01-28 16:48:23 +08:00
sijchen
c245cd2d68
Merge pull request #1766 from mstorsjo/make-clean
...
Remove more generated files in "make clean"
2015-01-28 16:34:53 +08:00
ruil2
095bb83e77
add screen content type setting
2015-01-28 16:25:51 +08:00
huili2
b6e28495dd
modify decoder flowchart for non vcl AU check
2015-01-28 00:22:48 -08:00
Martin Storsjö
1be2cd14c0
Add a .gitignore file for test/build/win32
...
This file is copied from codec/build/win32.
2015-01-28 09:42:10 +02:00
sijchen
e4260f6e97
Merge pull request #1765 from mstorsjo/mccopy-neon
...
Handle width==2 for the neon version of McCopy
2015-01-28 15:40:02 +08:00
Martin Storsjö
b444f8d9d0
Remove more generated files in "make clean"
...
Make sure to remove *.exe also, if cross-building from unix to
windows (and running "make clean" without specifying mingw as
target OS).
2015-01-28 09:39:55 +02:00
Martin Storsjö
853d2922db
Use float literals instead of double literals when setting float values
...
This fixes warnings with MSVC 2008.
2015-01-28 09:19:09 +02:00
Martin Storsjö
7354a8cbae
Handle width==2 for the neon version of McCopy
...
Fall back on the C version of the algorithm here, just as in
McCopy_sse2.
This fixes 2 of the McCopy tests on arm/aarch64.
2015-01-28 09:01:00 +02:00
ruil2
c4c73ee5d6
Merge pull request #1764 from sijchen/fix_br3
...
[Encoder] fix potential overflow and save unnecessary calculation
2015-01-28 11:45:47 +08:00
ruil2
051a16e02e
Merge pull request #1762 from sijchen/fix_sta
...
[Encoder] fix statistics: updating should be independent with log interval
2015-01-28 10:51:51 +08:00
Sijia Chen
5752888c81
1, fix a potential overflow
...
2, remove some unnecessary multiplier and add input check of spatial BR
2015-01-28 10:51:27 +08:00
sijchen
a00dd56f1c
Merge pull request #1763 from mstorsjo/mc-ut-simplify
...
Remove the forceC parameter from DEF_MCCOPYTEST
2015-01-28 10:13:46 +08:00
Martin Storsjö
e5c2f333be
Remove the forceC parameter from DEF_MCCOPYTEST
...
Even if there actually is no SIMD optimized version of the
width==2 cases, luma function for SIMD still needs to handle
it by calling McCopyWidthEq2_c for these cases.
This simplifies the UT code a little, and makes sure that
those codepaths are tested properly.
2015-01-27 12:11:38 +02:00
sijchen
d9ee702031
Merge pull request #1759 from mstorsjo/enc-mc-ut
...
Add unit tests for encoder MC
2015-01-27 16:51:42 +08:00
Martin Storsjö
23b20fb14c
Simplify code in HorFilterInput16bit in MC
...
This avoids a gcc optimizer bug (which seems to be present in some
gcc 4.6 and 4.7 versions) at the -O3 level.
2015-01-27 09:41:00 +02:00
Martin Storsjö
279e14b34e
Add const to some inline functions within MC
2015-01-27 09:41:00 +02:00
Martin Storsjö
10e2f90b7e
Bundle MC tests for all motion vectors in one single test
...
This speeds up the compile time from 21.3 to 2.6 seconds
for the MC test files.
This makes it slightly harder to see exactly which test
failed on a quick glance, but it makes the overall structure of
the unit test output more manageable and readable, by reducing
the number of tests from 1300 to 430.
2015-01-27 09:41:00 +02:00
Martin Storsjö
ca97f78ae8
Add unit tests for special cased MC functions in the encoder
2015-01-27 09:41:00 +02:00
Martin Storsjö
8084a2c797
Add unit tests for encoder MC
2015-01-27 09:41:00 +02:00
Martin Storsjö
4df4c1d757
Prepare the shared MC test code for adding an encoder MC test
2015-01-27 09:41:00 +02:00
Martin Storsjö
49af2b592d
Split DecUT_MotionCompensation to a shareable header
...
This allows adding a version of the same test for the encoder.
2015-01-27 09:40:59 +02:00
Martin Storsjö
cf3e7b5dec
Make local functions and tables in DecUT_MotionCompensation static
2015-01-27 09:40:59 +02:00
Martin Storsjö
478af8f00c
Unify the pfChromaMc function signature with the decoder version
...
Instead of passing a struct with x/y, pass them as two separate
parameters.
2015-01-27 09:40:59 +02:00
Martin Storsjö
8ecb8b4200
Remove unused includes in DecUT_MotionCompensation
2015-01-27 09:40:59 +02:00
Martin Storsjö
420a81afe4
Unify the order of iX and iY in DecUT_MotionCompensation
...
They are in the order iX, iY in the rest of the file.
2015-01-27 09:40:59 +02:00
Martin Storsjö
9fc9acfd14
Avoid a duplicate local typedef
2015-01-27 09:40:59 +02:00
Martin Storsjö
7d9fc35235
Unify the encoder MC init function with the decoder
...
This simplifies the code a little, by passing a pointer to the sub-struct
SMcFunc instead of to the full SWelsFuncPtrList, which isn't necessary.
2015-01-27 09:40:59 +02:00
ruil2
5b27407993
Merge pull request #1757 from sijchen/sps_list4
...
[Encoder] add input checking and fix a bs length under new strategy
2015-01-27 10:43:20 +08:00
ruil2
1b48e6c88c
Merge pull request #1756 from sijchen/savc4
...
[Encoder] Implementation of bSimulcastAVC and UT
2015-01-27 10:42:50 +08:00
Sijia Chen
d557578be3
fix statistics: updating should be independent with log interval
2015-01-27 10:12:51 +08:00
sijchen
f404ce2e56
Merge pull request #1758 from mstorsjo/add-missed-test
...
Hook up the DecUT_ParseSyntax test
2015-01-27 08:47:40 +08:00
Martin Storsjö
e64e2bb620
Avoid warnings in DecUT_ParseSyntax
2015-01-26 23:54:34 +02:00
Martin Storsjö
4192165ec9
Add DecUT_ParseSyntax to the build system
...
This test seems to have been added to the git tree in commit
9a602cac (which does much more than what the commit message
tells), and finally merged into git master in 2c99f581 .
2015-01-26 15:59:43 +02:00
Martin Storsjö
faf62464a8
Make DecUT_ParseSyntax.cpp actually build and run successfully
2015-01-26 15:59:43 +02:00
Martin Storsjö
4ca8ad2612
Initialize pCodecInstance in the constructor
...
This avoids using uninitialized memory if SetCodecInstance
isn't ever called (as in DecUT_ParseSyntax).
2015-01-26 13:16:09 +02:00
Sijia Chen
deccd1eadb
fix profileidc
2015-01-26 16:36:42 +08:00
ruil2
1ae06eab91
Merge pull request #1755 from sijchen/fix_lvl
...
[Encoder] fix level-idc related input checking and a statistics calculation
2015-01-26 15:58:03 +08:00
Sijia Chen
e2fb48d404
change the trace to warning
2015-01-26 15:42:09 +08:00
Sijia Chen
8d5ec6759d
add support of SimulcastAVC functions
2015-01-26 15:25:09 +08:00
sijchen
89159ab25f
Merge pull request #1754 from ruil2/status
...
use the new no delay decoderframe interface instead of old one
2015-01-26 15:23:49 +08:00
Sijia Chen
f13624316e
fix level-idc related input checking and a statistics calculation
...
will change bs but tested there is little impact on RD
being reviewed at: https://rbcommons.com/s/OpenH264/r/1084/
2015-01-26 15:20:58 +08:00
Sijia Chen
45e3424364
add input checking and fix a bs length under new strategy
2015-01-26 11:12:24 +08:00
ruil2
4b52d99d97
use the new no delay decoderframe interface instead of old one
2015-01-26 09:56:11 +08:00
dongzha
de68ec6f45
Merge pull request #1751 from ruil2/status
...
return decoder error
2015-01-26 09:31:48 +08:00
dongzha
51f1ea3839
Merge pull request #1753 from mstorsjo/test-cpu-flags
...
Add checks for cpu features in tests
2015-01-26 09:29:47 +08:00
Martin Storsjö
acafbb442d
Add checks for cpu features in tests
...
This allows running the tests on devices that don't have
all the SIMD instruction sets.
2015-01-24 22:47:23 +02:00
ruil2
6afdf36ecc
return decoder error
2015-01-23 15:48:13 +08:00
sijchen
7f967f6fc4
Merge pull request #1750 from syureyi/crqp
...
to support different chroma qp
2015-01-23 13:30:21 +08:00
sijchen
dfd24a987d
Merge pull request #1748 from dongzha/fixcrash
...
fix crash in SGE test
2015-01-23 09:45:54 +08:00
zhuiling
a45c661525
to support different chroma qp
...
fix travis ci error
2015-01-23 09:06:09 +08:00
dong zhang
6dcaf2f890
fix crash in SGE test
2015-01-22 09:10:28 +08:00
ruil2
e7fff10d91
Merge pull request #1745 from sijchen/fix_ut
...
[UT] fix a random failure of UT
2015-01-21 17:31:34 +08:00
ruil2
17030193e6
Merge pull request #1742 from sijchen/fix_max_br
...
[Encoder] improve the para checking of max-br
2015-01-21 17:31:24 +08:00
Sijia Chen
d74234d975
enhance max-br checking logic
2015-01-21 16:54:43 +08:00
Sijia Chen
6664593ef7
Merge branch 'master' of https://github.com/cisco/openh264 into fix_max_br
2015-01-21 16:35:31 +08:00
sijchen
4b231c8fe6
Merge pull request #1744 from dongzha/modifydecoderlog
...
modify decoder console log level to WELS_LOG_WARNING
2015-01-21 09:43:41 +08:00
ruil2
96b1183574
Merge pull request #1743 from sijchen/fix_test
...
[UT] add a default param function for EncodeDecoderAPI test
2015-01-21 09:19:21 +08:00
Sijia Chen
5b10c1ff8d
fix random failure of UT under randon seed 1421732719
2015-01-20 15:47:05 +08:00
dong zhang
bd7fabd892
modify decoder console log level to WELS_LOG_WARNING
...
change the postion of setting EC method
2015-01-20 13:18:33 +08:00
Sijia Chen
8cc53b0231
astyle an unformatted file
2015-01-20 10:50:44 +08:00
Sijia Chen
489d121549
add a default param function for EncodeDecoderAPI test
2015-01-20 10:49:25 +08:00
Sijia Chen
ee40ba6392
improve the para checking of max-br
2015-01-20 10:31:13 +08:00
sijchen
8bef6bc942
Merge pull request #1738 from huili2/init_EC_modify
...
modify EC init position
2015-01-19 16:36:29 +08:00
sijchen
2df0185252
Merge pull request #1740 from mstorsjo/fix-tests
...
Fix issues in the ParameterSetStrategy tests
2015-01-19 16:36:07 +08:00
Martin Storsjö
d6f7a07b14
Undefine a define for writing debug files
2015-01-19 10:06:30 +02:00
Martin Storsjö
c1aa2a1edb
Use WelsClip3 instead of WELS_CLIP3 for random values
...
Since WELS_CLIP3 is a macro, using it will cause the arguments
to be evalated multiple times, which means that the clip will
not work as intended. If using a rand() argument, always use
WelsClip3 instead, which is an inline function.
2015-01-19 10:02:21 +02:00
Martin Storsjö
fcae7fd300
Compare macro block widths instead of picture widths
...
Since cropping is disabled (prepareParam does
memset (pParam, 0, sizeof (SEncParamExt)); which clears the
cropping flag), we need to make sure that the number of
macroblocks differ, not only the number of pixels.
2015-01-19 10:01:12 +02:00
Martin Storsjö
58f1fef520
Fix a comparison in ParameterSetStrategy_SPS_LISTING_AND_PPS_INCREASING3
...
Previously, this test picked a width at random until it found
a width that had been used before, meaning that all tests were
made with the same single width.
2015-01-19 09:58:25 +02:00
huili2
01fd220ef9
Merge pull request #1739 from sijchen/sps_list3
...
[Encoder] rename the SpsPpsStrategy to enum
2015-01-19 13:31:51 +08:00
sijchen
eb7b149fcc
Merge pull request #1736 from mstorsjo/werror-tests
...
Build using -Werror in travis unit tests
2015-01-19 10:54:11 +08:00
sijchen
4930111ad3
Merge pull request #1734 from mstorsjo/fix-unused-variable-warning
...
Avoid a warning about a variable set but not used
2015-01-19 10:51:33 +08:00
Sijia Chen
d9502aa71d
rename the strategy to enum
2015-01-19 10:49:38 +08:00
huili2
50ce93e31c
modify EC init position
2015-01-18 18:07:27 -08:00
dongzha
7d1d2d658f
Merge pull request #1735 from mstorsjo/msvc-test-warnings
...
Fix build warnings with MSVC
2015-01-19 09:37:39 +08:00
Martin Storsjö
5702e7c0ca
Build using -Werror in travis unit tests
...
This makes all compiler warnings to be treated as errors.
This allows catching warnings that are introduced, that may only be
visible with some compilers.
This option is only added within travis unit tests, not during normal
builds, so there is no risk of unnecessarily breaking builds on
new/untested systems.
2015-01-16 14:02:01 +02:00
Martin Storsjö
c69d628a82
Avoid warnings about an unused variable in debug mode
2015-01-16 14:02:01 +02:00
Martin Storsjö
4df6f9420f
Check for an already defined nullptr macro
...
In addition to the existing compiler version/feature checks, also
check if there is such a macro.
This avoids warnings when building with Xcode 6.0.
2015-01-16 14:02:01 +02:00
Martin Storsjö
3cf2be2590
Don't override the externally set CFLAGS variable in debug mode
...
This is similar to how it is done in release mode already.
The fact that this behaviour differed between release and debug
can be traced back to commit cf92e8d6 .
2015-01-16 14:02:01 +02:00
Martin Storsjö
9e00bf89aa
Use VerifyVersionInfo instead of GetVersionEx
...
The GetVersionEx function has been deprecated since Windows 8.1.
VerifyVersionInfo exists at least since Windows 2000.
This fixes warnings about use of deprecated functions in MSVC.
2015-01-16 13:38:21 +02:00
Martin Storsjö
4f33b38ac1
Move a conversion from size_t to int into one single place within BaseDecoderTest.cpp
2015-01-16 13:38:07 +02:00
Martin Storsjö
b83b19254d
Add a cast when converting from uint64_t to int
...
This silences warnings with MSVC.
2015-01-16 13:38:07 +02:00
Martin Storsjö
96384bd578
Add casts when converting from size_t or std::streamsize to int
2015-01-16 13:38:07 +02:00
Martin Storsjö
af938a640f
Add casts when converting from float to int
2015-01-16 13:38:07 +02:00
Martin Storsjö
ef82e18d74
Silence warnings about insecure CRT functions in the test suite
...
There is no problem in using the "insecure" CRT functions, as long as
they are used correctly - especially not within the test suite where
they are only are exposed to the test suite input data.
Within the library, these are used via the library internal wrappers
in codec/common/src/crt_util_safe_x.cpp, but we'd rather not use them
in the test suite - just use the normal standard C functions here.
2015-01-16 13:38:06 +02:00
Martin Storsjö
1646f86b37
Allow setting cflags specifically for the unit test suite
2015-01-16 13:38:06 +02:00
Martin Storsjö
a1b8ffc9df
Use the right data type for a variable
...
There is little point in using an int32_t variable for something
that will only be used for passing in as a bool parameter to a
function.
2015-01-16 13:38:06 +02:00
Martin Storsjö
a852ac99ed
Fix a cast to actually cast to the right type
...
The existing cast didn't make much sense. The expression itself is
already int, there's little point in casting it to int, especially
when assigning to a float.
This fixes warnings with MSVC.
2015-01-16 13:38:06 +02:00
Martin Storsjö
93cb617932
Add a comparison in ASSERT_TRUE
...
This makes sure the compared value actually is bool, not any other
type that can be used as condition.
This fixes warnings with MSVC.
2015-01-16 13:38:06 +02:00
Martin Storsjö
99925984b3
Consistently compare integers with integers and bools with bools
...
MSVC warns when comparing integers with booleans in with the gtest
assertion macros.
2015-01-16 13:37:15 +02:00
Martin Storsjö
cd55201600
Ignore armasm warnings about instructions that are deprecated in ARMv8
...
This disables armasm warning A4509, "This form of conditional
instruction is deprecated".
The conditional instructions (such as movcs, addcs, subscs)
have been deprecated in ARMv8, in favor of conditional branches.
This isn't something that we need to take immediate action about,
though, therefore silence the warning.
2015-01-16 13:36:35 +02:00
Martin Storsjö
a44643aeda
Avoid a warning about a variable set but not used
...
The return values may be useful later, so instead of removing the
variable, just silence the warning.
This fixes a warning in builds with GCC.
2015-01-16 09:26:42 +02:00
ruil2
aea1017562
Merge pull request #1732 from sijchen/sps_list2
...
[Encoder] add new SpsPpsStrategy and UT
2015-01-16 10:53:45 +08:00
ruil2
9ba316caf4
Merge pull request #1731 from mstorsjo/warning-fixes
...
Fixes for some new compiler warnings
2015-01-16 09:00:46 +08:00
Martin Storsjö
d6b4b5365d
Declare a float constant as float instead of as double
...
This avoids warnings about converting from double to float
in MSVC.
2015-01-15 12:38:42 +02:00
Martin Storsjö
75bbc286e1
Add explicit casts when converting from double to int32_t
...
This fixes build warnings with MSVC.
2015-01-15 12:38:39 +02:00
Martin Storsjö
c8972f1c32
Consistently use the right type for log prints
...
These fields were originally int64_t. Even though long long is
the same size as int64_t in all setups, some compilers treat
it as a different type than long long (in 64 bit environments,
int64_t is a long, not a long long, even if they are the same
size).
%"PRId64" is used for printing int64_t, while %lld is used
for printing long long.
This fixes build warnings with gcc.
2015-01-15 12:33:44 +02:00
Sijia Chen
98ed302990
add new SpsPpsStrategy and UT
2015-01-15 18:04:39 +08:00
sijchen
e9ec603fd7
Merge pull request #1727 from huili2/addUT_parseonly_frameincomplete
...
add UT for incomplete frame for parse only
2015-01-15 16:23:05 +08:00
sijchen
dbcbe180e6
Merge pull request #1729 from ruil2/rc_submit1
...
add rc function
2015-01-15 16:22:39 +08:00
dongzha
b603844126
Merge pull request #1730 from HaiboZhu/Debug_EC_off_Delay_mode_early_exit_process
...
Fix the bug that the pDec not set to NULL when early exit
2015-01-15 14:08:26 +08:00
ruil2
0250acc665
Merge pull request #1725 from ethanhugg/startcode2
...
gmp-openh264 should avoid writing outside the input frame buffer with start code.
2015-01-15 11:33:29 +08:00
ruil2
d7304bbaf4
Merge pull request #1728 from sijchen/fix_mbidx
...
[Encoder] expand the mb_idx range so as to support frame size > 32767
2015-01-15 11:33:15 +08:00
Haibo Zhu
264cf57616
Fix the bug that the pDec not set to NULL when early exit
...
Add more judgement for diff set EC mode under no-delay call
2015-01-14 19:22:34 -08:00
ruil2
5b5cc8434e
add rc function
2015-01-15 11:14:05 +08:00
huili2
ea533e6405
add UT for incomplete frame for parse only
2015-01-14 18:00:33 -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
dongzha
cb49f8ecbd
Merge pull request #1718 from huili2/sps_avc_flag_remove
...
allow non-avc check when subset SPS exists
2015-01-15 09:53:15 +08:00
Ethan Hugg
fc6ea7e5a8
gmp-openh264 check buffer length before we overwrite with start code.
2015-01-14 15:28:55 -08:00
Ethan Hugg
9a55a8609e
Merge pull request #1722 from sijchen/win_pdb2
...
add option for generating pdb in windows builds
2015-01-14 07:35:49 -08:00
Sijia Chen
560a33a373
fix to avoid link warning
2015-01-14 18:02:24 +08:00
Sijia Chen
c02d9b0865
expand the mb_idx range so as to support frame size > 32767
2015-01-14 17:59:16 +08:00
Sijia Chen
4f826f2e94
add option for generating pdb in windows builds
2015-01-14 16:31:48 +08:00
ruil2
a39c46601d
Merge pull request #1720 from mstorsjo/remove-unused-format-args
...
Log all provided parameters in WelsEncoderApplyLTR
2015-01-14 16:19:43 +08:00
Martin Storsjö
f594d96a51
Log all provided parameters in WelsEncoderApplyLTR
...
This fixes warnings with gcc and clang.
2015-01-14 09:06:36 +02:00
ruil2
34661f1d86
Merge pull request #1715 from huili2/parseonly_flowchart_modify
...
modify parse only flowchart to use DecodeFrameConstruction()
2015-01-13 16:11:02 +08:00
ruil2
cdd072e1d4
Merge pull request #1714 from sijchen/fix_ref4
...
[Encoder] enhance param checking with num-ref and related logging
2015-01-13 16:10:20 +08:00
ruil2
47dd4de412
Merge pull request #1717 from sijchen/fix_ltr1
...
[Encoder] fix for the valgrid warning of issue#1362
2015-01-13 15:30:53 +08:00
huili2
1518b5da58
allow non-avc check when subset SPS exists
2015-01-12 22:29:18 -08:00
huili2
8e35224134
modify parse only flowchart to use DecodeFrameConstruction()
2015-01-11 23:16:24 -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
ruil2
958c60d041
Merge pull request #1713 from mstorsjo/valgrind
...
Avoid a spurious valgrind warning in DecoderIntraPredictionTest.WelsDecoderI16x16LumaPredPlane_sse2
2015-01-12 09:22:37 +08:00
Martin Storsjö
44bce08d60
Avoid a spurious valgrind warning in DecoderIntraPredictionTest.WelsDecoderI16x16LumaPredPlane_sse2
...
valgrind thinks xmm2 is uninitialized - in fact it is, but
its value here doesn't really matter. Instead set it to a known value
before using it in SUMW_HORIZON.
2015-01-10 13:25:00 +02:00
Sijia Chen
a4ae5e3747
add fix for the valgrid warning of issue#1362
2015-01-09 16:17:51 +08:00
Sijia Chen
76ef30dc82
refactor
2015-01-09 15:55:03 +08:00
dongzha
a5cb0ea22c
Merge pull request #1711 from huili2/parseonly_noEC
...
disable EC for parseonly
2015-01-09 09:23:55 +08:00
huili2
900a908929
disable EC for parseonly
2015-01-08 00:16:01 -08:00
HaiboZhu
3a91abf28c
Merge pull request #1710 from huili2/parseonly_framecomplete_error_prop
...
prevent error propagation for parse only when frame is not complete
2015-01-08 16:09:02 +08:00
huili2
e48585236e
prevent error propagation for parse only when frame is not complete
2015-01-07 22:34:55 -08:00
Ethan Hugg
d92853c88e
Merge pull request #1706 from mstorsjo/add-destdir-static
...
Add $(DESTDIR) for the install-static rule as well
2015-01-07 13:13:23 -08:00
Martin Storsjö
fb33b359d5
Add $(DESTDIR) for the install-static rule as well
...
The change for adding these were merged after the commit for
adding $(DESTDIR) was done.
2015-01-07 20:24:09 +02:00
Ethan Hugg
17a87e8081
Merge pull request #1704 from lu-zero/master
...
build: Support DESTDIR
2015-01-07 10:20:17 -08:00
Ethan Hugg
71123f29ef
Merge pull request #1702 from mstorsjo/adjust-comment
...
Clarify the comment about ABI issues with WelsGetCodecVersion
2015-01-07 09:07:12 -08:00
Ethan Hugg
178a18b30e
Merge pull request #1703 from mstorsjo/add-cast
...
Add a cast to silence GCC warnings about comparison between signed and unsigned
2015-01-07 09:05:42 -08:00
Luca Barbato
735172d387
build: Support DESTDIR
...
Distribution rely on that to properly package software.
2015-01-07 10:44:35 +01:00
Martin Storsjö
5c3c2a569c
Add a cast to silence GCC warnings about comparison between signed and unsigned
2015-01-07 09:15:48 +02: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
huili2
62c6a1e099
Merge pull request #1705 from HaiboZhu/Debug_Delay_mode_rawdata_update_error
...
Fix a bug when EC disable under delay mode
2015-01-07 15:12:11 +08:00
Haibo Zhu
207082e237
Fix a bug when EC disable under delay mode (buf point not update when early exit)
2015-01-06 17:48:58 -08:00
sijchen
68ff8468af
Merge pull request #1691 from mstorsjo/pkgconfig-fixes
...
Improve pkg-config files for use with static libraries
2015-01-07 09:45:45 +08:00
ruil2
61cd77d487
Merge pull request #1701 from huili2/parseonly_framecomplete_bugfix
...
bug fix for parseonly for complete frame judge
2015-01-07 09:13:16 +08:00
huili2
e8b68d2460
bug fix for parseonly for complete frame judge: reset total_mb if correct.
2015-01-05 23:07:17 -08:00
huili2
ac08cc4b2f
Merge pull request #1694 from zhilwang/asm-SetNoneZero
...
Add asm code for NoneZeroCount and refine related code
2015-01-06 13:37:56 +08:00
sijchen
9a89ee72b0
Merge pull request #1698 from ruil2/fix_param
...
fix bug when some parameters change dynamically
2015-01-06 09:37:48 +08:00
ruil2
c72d3ad51a
Merge pull request #1697 from huili2/parseonly_frame_complete_return
...
output error when frame incomplete for parse only usage
2015-01-05 17:06:56 +08:00
ruil2
ce14a0e4f9
fix bug when some parameters change dynamically
2015-01-05 17:01:35 +08:00
huili2
3244f11cfe
Merge pull request #1696 from mstorsjo/add-header-const
...
Declare the g_strCodecVer variable as const
2015-01-05 09:42:43 +08:00
huili2
b719c3b0d5
output error when frame incomplete for parse only usage
2015-01-04 17:13:57 -08: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
zhiliang wang
01b74ea7c1
Add asm code for NoneZeroCount and refine related code
2015-01-04 16:39:17 +08:00
sijchen
7d5e88ffda
Merge pull request #1687 from mstorsjo/update-releases
...
Update the RELEASES file with the 1.3.0 binaries
2015-01-04 10:21:29 +08: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
huili2
65e73d969a
Merge pull request #1688 from mstorsjo/add-void
...
Add void to the parameter list of WelsGetCodecVersion
2015-01-04 09:00:26 +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ö
1a995cc991
Include private dependencies in the Libs line in pkg-config if only installing a static library
...
If only a static library is installed, the user of the library may
not know that only a static version of this particular library is
available (and doesn't know that --static should be added to the
pkg-config call). Therefore, one common practice is to include private
dependencies in the public Libs line if a static-only library is
installed.
2015-01-02 22:07:29 +02:00
Martin Storsjö
93621d6d9a
Include -lstdc++ under Libs.private in the pkg-config file
...
This allows linking statically to the library, by passing --static
to pkg-config.
2015-01-02 21:54:21 +02:00
Martin Storsjö
a24bac34bd
Don't install the pkg-config file as readonly
...
This file should be installed just as any other file, protected by
normal user permissions, not by making the file readonly.
2015-01-02 21:52:36 +02:00
Martin Storsjö
3901045318
Simplify the makefile rule for generating the pkg-config file
2015-01-02 21:52:05 +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
Martin Storsjö
bdd02db04a
Update the RELEASES file with the 1.3.0 binaries
2014-12-31 15:37:07 +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
huili2
47d8a840c0
Merge pull request #1682 from huili2/parseonly_initial_no_colorformat
...
disable color format check for parse only
2014-12-31 13:14:47 +08:00
huili2
ad8ba85136
Merge pull request #1685 from HaiboZhu/Debug_No_Deblocking_when_TotalMB_equals_to_0
...
Force NO deblocking when no MB decoded in current slice
2014-12-31 13:14:17 +08:00
Haibo Zhu
81805ab23d
Force NO deblocking when no MB decoded in current slice
...
Remove the judgment outside of the function
2014-12-30 18:25:54 -08:00
sijchen
22cabd39ca
Merge pull request #1683 from HaiboZhu/Change_default_EC_mode
...
Change default EC mode
2014-12-30 16:17:42 +08:00
Haibo Zhu
a53dc467f6
Change default EC mode to ERROR_CON_SLICE_MV_COPY_CROSS_IDR_FREEZE_RES_CHANGE
2014-12-29 22:17:38 -08:00
HaiboZhu
d2d4ab8c67
Merge pull request #1680 from dongzha/SpeedupDecoding
...
speedup decoding
2014-12-29 17:17:25 +08:00
huili2
65dcd57c1b
Merge pull request #1679 from HaiboZhu/Debug_Crash_1115349_AU_StartPos_Not_Reset
...
Reset AU start pos to 0 after construct AU
2014-12-29 16:58:26 +08:00
dong zhang
dc86cfe5d8
speedup decoding
2014-12-29 16:40:26 +08:00
huili2
b12b39a47b
disable color format check for parse only
2014-12-28 23:43:09 -08:00
Haibo Zhu
7ee00b0618
Reset AU uiStartPos to 0 in ResetCurrentAccessUnit for svc
...
Reset uiStartPos to 0 when init and forceReset
2014-12-28 23:14:33 -08:00
Sijia Chen
6050bf89f6
add interface of simulcast avc, the actual support is coming later
2014-12-29 10:54:01 +08:00
sijchen
26ccd837f1
Merge pull request #1672 from huili2/parseonly_sizemodif
...
unify parseonly to have 0x0001
2014-12-26 09:58:28 +08:00
dongzha
4ebeb4bb70
Merge pull request #1673 from HaiboZhu/Debug_Crash_NoAU_SPS_Update
...
Add SPS/SubSPS/PPS update when AU number==0 and iOverwriteFlags==true
2014-12-26 09:30:43 +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
sijchen
1fb6b91b72
Merge pull request #1669 from ruil2/rc
...
add RC_TIMESTAMP_MODE mode
2014-12-25 16:35:40 +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
ruil2
bd50f64152
Merge pull request #1668 from mstorsjo/fix-warnings
...
Fix build warnings with GCC
2014-12-24 09:09:29 +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
ruil2
59aee6052a
Merge pull request #1667 from lyao2/ut_fix3
...
fix a spatial layer index error
2014-12-23 17:19:49 +08:00
lyao2
2e4fd4248a
fix a spatial layer index error
2014-12-23 16:25:11 +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
ruil2
1c7d3d4b47
Merge pull request #1664 from mstorsjo/type-signatures
...
Use the correct types instead of void pointers in function signatures in rc.h
2014-12-23 09:05:45 +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
Ethan Hugg
63375de8d7
Merge pull request #1662 from zaheerm/makefileversion
...
Update version in Makefile.
2014-12-22 09:59:38 -08:00
Zaheer Abbas Merali
09f6eeb940
Update version in Makefile.
2014-12-22 13:05:08 +00: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
sijchen
ca36fe5128
Merge pull request #1661 from sijchen/docx
...
update the version header file to 1.3
2014-12-22 14:15:45 +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
lingzhu
83b502b3f6
Delete \
2014-12-22 11:12:05 +08:00
zhuling13
1699775cbb
support scaling list
...
astyle
change bugs
fix security issue
fix the issue pps sps order
change according to wayne's suggestion
change according to wayne's
2014-12-21 19:00:28 -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
sijchen
c1752e2818
Merge pull request #1657 from mstorsjo/clip-bitrate
...
Make sure the random test bitrate is high enough
2014-12-22 10:37:43 +08:00
ruil2
397c7caa56
Merge pull request #1656 from mstorsjo/avoid-warning-unused
...
Avoid a warning about an unused static variable
2014-12-22 09:04:45 +08:00
Martin Storsjö
887b4f47fc
Make sure the random test bitrate is high enough
...
This is the same fix as in 47df41 (for the ForceIntraFrame
test) applied to the ForceIntraFrameWithTemporal test.
2014-12-20 00:35:13 +02:00
Martin Storsjö
7411469e1d
Avoid a warning about an unused static variable
2014-12-19 11:06:51 +02:00
sijchen
ef5f1c46b9
Merge pull request #1655 from sijchen/docx
...
add release note for preparation of v1.3.0
2014-12-19 14:43:59 +08:00
Sijia Chen
7d8bb6f290
add release note for preparation of v1.3.0
2014-12-19 14:10:39 +08: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
sijchen
c3de0f99c5
Merge pull request #1653 from ruil2/framerate
...
remove macro definition to the header file
2014-12-19 13:27:52 +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
sijchen
0dc461541a
Merge pull request #1651 from mstorsjo/improve-version-header
...
Improve version header
2014-12-19 09:32:48 +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
sijchen
8dbdb418ca
Merge pull request #1641 from mstorsjo/test-min-bitrate
...
Make sure the random test bitrate is high enough
2014-12-17 15:50:13 +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
ruil2
affa753d5d
Merge pull request #1645 from mstorsjo/type-signatures
...
Use the correct types instead of void pointers in function signatures
2014-12-17 09:21:11 +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
Ethan Hugg
6f876d79a6
Merge pull request #1644 from mstorsjo/fix-script-typos
...
Fix a number of typos in run_SafeDelete.sh
2014-12-16 09:26:23 -08:00
Martin Storsjö
ee5896e4a1
Fix a number of typos in run_SafeDelete.sh
2014-12-16 16:28:45 +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
Martin Storsjö
47df411b1a
Make sure the random test bitrate is high enough
...
The ForceIntraFrame test will fail (giving up after 100 skipped
frames) if the bitrate is not set high enough.
Set the minimum bitrate to w*h/50, which is a very low value,
but which still should allow getting a non-skipped frame within
a few attempts.
2014-12-16 11:56:48 +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ö
f4b3724976
Increase the minimum frame size in a test with multiple spatial layers
...
Make sure the input frame size is large enough that the downsampled
layers also have a nonzero resolution.
2014-12-16 11:13:22 +02: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
Martin Storsjö
a9c2e1b431
Use the common WELS_CLIP3 macro instead of a custom reimplementation
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
lyao2
6a10553dce
Merge pull request #1636 from ruil2/qp_trace
...
astyle two files
2014-12-16 16:04:50 +08:00
ruil2
f132745882
Merge pull request #1635 from mstorsjo/binary-comparison-ignore
...
Add a gitignore entry for another file created by the binary comparison scripts
2014-12-16 15:40:23 +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
Martin Storsjö
d387ebc358
Add a gitignore entry for another file created by the binary comparison scripts
2014-12-16 09:06:10 +02:00
ruil2
026ce4030a
use WELS_LOG_ERROR as default trace level in console app
2014-12-16 13:14:53 +08:00
sijchen
2c69638773
Merge pull request #1633 from lyao2/avg_qp2
...
add average QP in statistics
2014-12-16 11:51:18 +08:00
ruil2
812b57c704
Merge pull request #1628 from mstorsjo/fix-tests
...
Fix binary comparison scripts and tables
2014-12-16 10:54:41 +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
ruil2
d87663b913
Merge pull request #1630 from zaheerm/fixcomments
...
Fix comments to be up to date with current API.
2014-12-16 09:09:44 +08:00
Martin Storsjö
c0633a147e
Readd and update the accidentally cleared SHA1 test tables
...
These were accidentally cleared in 5ab5fe15 , when the script
for updating them was broken.
2014-12-15 23:33:16 +02: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
Martin Storsjö
8a2237751a
Fix a check in the binary comparison scripts
2014-12-15 17:28:10 +02:00
Martin Storsjö
3aac5e0fae
Properly update hashes
2014-12-15 17:26:23 +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
huili2
d422ee59ad
Merge pull request #1626 from dongzha/testcrash1
...
add protection
2014-12-15 15:39:46 +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
sijchen
509727e225
Merge pull request #1623 from ruil2/level_5
...
keep the consistency between sps level and parameter level
2014-12-15 11:55:30 +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
ruil2
41339f3023
Merge pull request #1615 from lyao2/ut_idr3
...
refine the UT case for checking IDR request
2014-12-12 09:13:29 +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
ruil2
3be8ae7a4e
Merge pull request #1613 from sijchen/fix_ut2
...
[UT] encoder log level adjustment
2014-12-11 16:29:34 +08:00
lyao2
2e85e3c7d9
refine the UT case for checking IDR request
2014-12-11 14:32:26 +08:00
Sijia Chen
f1a7a1a966
encoder log level adjustment in UT to avoid too many output and some formatting
2014-12-11 14:31:32 +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
sijchen
065c3a7769
Merge pull request #1607 from mstorsjo/encoder-init-log
...
Log the encoder version later in the initialization
2014-12-11 10:28:24 +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
af97f2d4bb
Merge pull request #1605 from sijchen/fix_ut1
...
fix a UT function
2014-12-10 11:18:08 +08:00
sijchen
4e88de1755
Merge pull request #1600 from shihuade/UpdateSHA1
...
update SHA1 table which have been broken by previous update
2014-12-10 11:09:11 +08:00
Sijia Chen
87c83c0d36
fix a UT function
2014-12-10 10:49:58 +08: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
huili2
155a91406c
Merge pull request #1599 from HaiboZhu/Debug_Add_subSPS_check
...
Add subSPS pre-active check in CheckActiveSPS
2014-12-09 17:11:06 +08:00
Haibo Zhu
e47a3638af
Add subSPS pre-active check in CheckActiveSPS
2014-12-09 00:06:19 -08:00
huade
944a041066
1 update SHA1 table which have been broken by previous update; 2 enhance script to support more case(multi layer etc.)
2014-12-09 15:59:07 +08:00
huili2
14eeaf2278
add log for ref pic buffer memory alloc
2014-12-08 22:35:07 -08:00
sijchen
e041bc6938
Merge pull request #1597 from mstorsjo/msvc-casts
...
Add casts when converting from int64_t or double to int32_t
2014-12-09 10:03:03 +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
sijchen
c2d585761a
Merge pull request #1595 from ruil2/update_2
...
should not set WELS_LOG_ERROR level in encoder initilization.
2014-12-08 11:01:19 +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
ruil2
ea93f3943e
Merge pull request #1593 from ethanhugg/gmpapiversion
...
Switch to use stable branch of gmp-api
2014-12-05 09:40:05 +08:00
Ethan Hugg
a8159c89d1
Switch to use stable branch of gmp-api
2014-12-04 10:24:36 -08:00
HaiboZhu
befd5bdd56
Merge pull request #1592 from dongzha/FixGreyPic
...
fix grey picture when resolution is the same
2014-12-04 18:11:07 +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
HaiboZhu
60b6ce1454
Merge pull request #1589 from huili2/fix_fmo_sliceskip
...
fix crash issue of sliceskip and inf-loop in fmo
2014-12-04 15:36:51 +08:00
huili2
928a7eac2a
fix crash issue of sliceskip and inf-loop in fmo
2014-12-03 20:26:00 -08:00
sijchen
a5cabf0be4
Merge pull request #1582 from mstorsjo/lib-install-fixes
...
Fix/clean up building and installing shared libraries
2014-12-02 11:48:22 -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
ruil2
f4af5d2fda
Merge pull request #1586 from ganyangbbl/fix_character
...
fix chinese character
2014-12-02 15:10:55 +08: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
Martin Storsjö
3d263d1087
Set a default SHAREDLIB_DIR in the main Makefile
...
Only override it in the ones where the default isn't desired.
2014-12-01 15:44:27 +02:00
Martin Storsjö
9b59e50292
Simplify creating output directories for the install-shared rule
2014-12-01 15:44:27 +02:00
Martin Storsjö
a48b632aed
Actually install the shared library into $(SHAREDLIB_DIR) as intended
2014-12-01 15:44:27 +02:00
Martin Storsjö
e132658346
Set SHAREDLIB_DIR for msvc as well
2014-12-01 15:44:27 +02:00
Martin Storsjö
59c30f8952
Handle generating the versionless library via make rules
...
This makes sure both "make libopenh264.so" and "make libopenh264.so.0"
work as intended.
Use the versionless name as dependency for the install rule,
to make sure both (if possible) are created.
2014-12-01 15:43:35 +02:00
Martin Storsjö
575b6fb570
Check the suffix instead of checking whether a file is a link
...
This feels more straightforward - some file systems/environments
(such as MSys) implement symlinks as plain file copies, where
distinguishing whether a file is a link might be hard.
2014-12-01 15:40:25 +02:00
Martin Storsjö
2c9b5b98c0
Actually install the versioned shared library file as well
2014-12-01 15:40:25 +02:00
Martin Storsjö
8e419e41d3
Simplify setting the shlib flags for msvc
2014-12-01 15:40:25 +02:00
Martin Storsjö
80beaed5c6
Fix the dependencies of the install-shared target
...
Previously calling "make install" failed unless the target
actually already was built, for platforms where the shared
libraries are versioned.
2014-12-01 15:40:25 +02:00
Martin Storsjö
8f7e10ab12
Honor the silent build flag when adding the shared library symlink
2014-12-01 15:40:25 +02:00
Martin Storsjö
a7d8142a44
Set the right SHAREDLIBSUFFIXVER for msvc
2014-12-01 15:40:25 +02:00
Martin Storsjö
397e20b0f3
Install the import library via the EXTRA_LIB mechanism on mingw as well
...
Prior to 3f69873c99 , there already was a mechanism for installing
the import library, used for the MSVC builds. Use that for mingw
as well, instead of adding more hardcoded rules.
2014-12-01 15:40:25 +02: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
c592d18dfd
Merge pull request #1573 from sijchen/after_review1
...
[Encoder] remove a too-tight checking of bit rate
2014-12-01 10:31:47 +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
sijchen
e7debe7351
Merge pull request #1571 from mstorsjo/silence-intentional-errors
...
Silence logging in a test which intentionally can trigger errors
2014-11-28 10:28:05 -08:00
sijchen
59e782a8a5
Merge pull request #1572 from mstorsjo/loopfilter-opts
...
Fixes relating to the loopfilter parameter
2014-11-28 10:27:14 -08:00
Ethan Hugg
1526de3ae5
Merge pull request #1566 from nirbheek/master
...
Makefile: Fix shared library building on various OSes
2014-11-28 08:49:25 -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
Martin Storsjö
90eee67eb7
Don't set invalid iLoopFilterDisableIdc in RandomParamExtCombination
2014-11-28 13:05:32 +02:00
Martin Storsjö
b9dc310857
Silence logging in a test which intentionally can trigger errors
2014-11-28 11:04:03 +02:00
huili2
504cabf106
add dec status for freezing
2014-11-28 00:05:36 -08:00
ruil2
c44d4a7f07
Merge pull request #1569 from mstorsjo/pointer-diff-cast
...
Add casts when converting pointer differences to integers
2014-11-27 21:54:42 +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
Nirbheek Chauhan
3f69873c99
Makefile: Fix shared library building on various OSes
...
Versioned for OS not in (Windows, Android), and create a .dll.a implib on Windows
2014-11-27 02:04:06 +05:30
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
huili2
f131b4540b
Merge pull request #1557 from dongzha/AddDecoderTimeStampNew
...
add timestamp in decoder
2014-11-26 13:32:40 +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
sijchen
7be8d200d5
Merge pull request #1554 from mstorsjo/add-float-cast
...
Explicitly cast int64_t to float
2014-11-25 09:12:37 -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
22cc0a88c6
Merge pull request #1552 from mstorsjo/init-parameters
...
Initialize the bParseOnly field in DecoderInterfaceTest::TestInitUninit
2014-11-25 17:14:32 +08:00
ruil2
0d426b826d
Merge pull request #1551 from sijchen/after_review2
...
add parentness
2014-11-25 17:13:54 +08:00
ruil2
d543ae89db
add maxbitrate verification
2014-11-25 17:12:06 +08:00
Martin Storsjö
29da6a600a
Initialize the bParseOnly field in DecoderInterfaceTest::TestInitUninit
...
This fixes valgrind warnings about using uninitialized data
in this test.
2014-11-25 09:59:25 +02: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
ruil2
f1fb0d6b69
Merge pull request #1548 from sijchen/after_review
...
[Encoder] add one more condition for statistics printing to avoid potential timestamp problem
2014-11-25 11:20:38 +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
sijchen
53c14dccf0
Merge pull request #1545 from ruil2/add_traces
...
add some traces
2014-11-21 14:01:43 -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
ruil2
1359583c55
Merge pull request #1544 from shihuade/master
...
1.doxgen documentation format for comments in api/*.h 2. comments to wik...
2014-11-21 11:29:34 +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
ruil2
24fb213d6e
Merge pull request #1537 from sijchen/after_review
...
[Encoder] Two refinements related to max bit rate setting and Timestamp
2014-11-20 09:33:36 +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
sijchen
b05a52be7a
Merge pull request #1534 from syureyi/level9
...
add level 9 supporting
2014-11-17 16:43:37 -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
cbb6e993cf
Merge pull request #1533 from mstorsjo/speedup-tests
...
Speed up some slow tests in the unit test suite
2014-11-14 17:16:06 +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
Martin Storsjö
deefdcee10
Use & 0xff instead of WELS_CLIP3(, 0, 255)
...
This speeds up the whole EncoderInterfaceTest to about double
the speed from before.
2014-11-14 10:41:21 +02:00
Martin Storsjö
45c322a8ae
Reduce the number of rounds in DecoderCrashTest
...
Currently this one single test accounts for 12-20% of the total
runtime of running the unit test suite.
2014-11-14 10:41:21 +02:00
ruil2
606da1a97d
Merge pull request #1531 from mstorsjo/use-right-type
...
Use the right data type for a variable
2014-11-14 16:30:17 +08:00
Martin Storsjö
9ec743c156
Use the right data type for a variable
...
Both pNalLengthInByte[] that are accumulated, and sFbi.iFrameSizeInBytes
that it is compared to, are plain 'int', not 'uint32_t'.
This fixes warnings about comparison between signed and unsigned.
2014-11-14 09:47:49 +02:00
huili2
0d16fd61b2
add EC method to freeze sequence when resolution changed and decoding IDR error
2014-11-13 19:26:10 -08:00
ruil2
703bbef128
Merge pull request #1530 from sijchen/after_review
...
[Encoder] add total length in encoder output and complete statistics
2014-11-14 11:20:45 +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
ruil2
aed7b2316c
Merge pull request #1528 from mstorsjo/fix-warnings
...
Cast to the right data type to avoid comparison warnings in gcc
2014-11-13 17:17:41 +08:00
Martin Storsjö
2453676960
Cast to the right data type to avoid comparison warnings in gcc
2014-11-13 10:48:45 +02: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
f42c9fae42
Merge pull request #1518 from huili2/ec_UT_0_bugfix
...
EC UT fail bug fix
2014-11-11 14:52:28 -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
huili2
fd45e7ff15
EC UT fail bug fix
2014-11-10 17:56:26 -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
24823621e1
Merge pull request #1516 from mstorsjo/remove-duplicated-field
...
Remove a duplicated field in SWelsSvcCodingParam
2014-11-10 15:56:51 +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
ruil2
843955bc06
Merge pull request #1511 from mstorsjo/check-fread-return-value
...
Check the return value of fread
2014-11-09 09:35:26 +08:00
Ethan Hugg
a7b22795bf
Merge pull request #1510 from mstorsjo/unsigned-int-literals
...
Change integer literals to unsigned to avoid warnings about comparison between signed and unsigned
2014-11-07 09:49:00 -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
Ethan Hugg
067fa09781
Merge pull request #1508 from mstorsjo/remove-unused-variables
...
Remove unused variables
2014-11-07 09:45:52 -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ö
80bfc43df5
Check the return value of fread
...
This silences warnings on linux/gcc.
2014-11-07 11:24:30 +02:00
Martin Storsjö
50e2eb5e3c
Change integer literals to unsigned to avoid warnings about comparison between signed and unsigned
...
This fixes warnings in gcc.
2014-11-07 11:19:19 +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
HaiboZhu
44013d4cd5
Merge pull request #1504 from syureyi/android_bugfix
...
android platform bug fix
2014-11-06 21:31:03 +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
zhuiling
7fa6c576e3
android platform bug fix
2014-11-06 17:15:42 +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
huili2
3d21825901
Merge pull request #1497 from dongzha/FixCabacBug
...
fix cabac bug in deltaqp
2014-11-06 12:19:13 +08:00
dongzha
ba0351f569
fix cabac bug in deltaqp
2014-11-06 10:51:18 +08:00
sijchen
63180b9b36
Merge pull request #1494 from huili2/ec_final_crash_UT
...
add a simple UT for debugging decoder crash
2014-11-05 14:24:54 +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
32697b046b
add a simple UT for debugging decoder crash
2014-11-03 23:05:34 -08:00
sijchen
b896faa47c
Merge pull request #1493 from ruil2/printf
...
use %lld instead of %8d for longlong type
2014-11-04 14:30:36 +08:00
huili2
103fa5bbed
enable cross IDR EC method
2014-11-03 22:11:49 -08:00
ruil2
fe55d5a208
update timestamp unit as millisecond
2014-11-04 11:28:35 +08:00
ruil2
18ed25fbb3
use %lld instead of %8d for longlong type
2014-11-04 10:37:23 +08:00
sijchen
783daf3d8a
Merge pull request #1485 from ruil2/cabac_refine
...
pass each frame timestamp to codec
2014-11-04 09:31:07 +08:00
Sijia Chen
54c677cdd7
fixing OverallMbMap for slice_idx>255 and some log improvements
2014-11-04 09:19:36 +08:00
sijchen
08baf65251
Merge pull request #1488 from mstorsjo/fix-warnings
...
Fix warnings with gcc and MSVC
2014-11-04 09:13:55 +08:00
sijchen
ca1c357058
Merge pull request #1486 from mstorsjo/fix-pow-params
...
Don't try to use pow(int,int)
2014-11-04 09:13:46 +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ö
c1b48640fb
Don't try to use pow(int,int)
...
When building for android or older MSVC versions, this makes the build
fail, when it is ambiguous which pow() overload to use, when there
is no function matching pow(int, int).
2014-11-03 11:23:10 +02:00
ruil2
c5029ef275
Merge pull request #1484 from mstorsjo/fix-chmod
...
Remove the executable bit from new test sequences
2014-11-03 17:10:44 +08:00
ruil2
e061bb3fc9
pass each frame timestamp to codec
2014-11-03 17:05:38 +08: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
Martin Storsjö
7478714ac9
Remove the executable bit from new test sequences
2014-11-03 10:10:17 +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
sijchen
938f441751
Merge pull request #1480 from dongzha/cleanCabacDecoder
...
add decoder cabac support and add UT
2014-11-03 15:38:24 +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
sijchen
c7b5051738
Merge pull request #1469 from shihuade/APIUTV1.5.2
...
refactor --for BaseEncoderTest
2014-11-03 09:31:11 +08:00
ruil2
07bf80ba39
Merge pull request #1476 from mstorsjo/sps-constraints
...
Set constraint set 0 and 1 flags for non-scalable as well
2014-11-03 09:29:26 +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
ruil2
8e49898243
Merge pull request #1478 from sijchen/after_review61
...
[Encoder] add validation of slice parameters instead of assert
2014-10-31 15:34:37 +08:00
sijchen
66b1610114
Merge pull request #1472 from mstorsjo/fix-test-random
...
Make sure the width/height is large enough in SetOptionEncParamExt
2014-10-31 13:50:10 +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
Martin Storsjö
ec0d151879
Make sure the width/height is large enough in SetOptionEncParamExt
...
When using 4 downsampled layers, make sure the random width/height
is large enough that the downsampled layers don't have a zero size.
Since the value never will be too small now, there's no need to
use WELS_CLIP3 any longer.
2014-10-30 08:54:18 +02:00
dongzha
3b5448cbbc
Merge pull request #1475 from ruil2/cabac_refine
...
Cabac refine
2014-10-30 13:39:46 +08: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
sijchen
3a1f0a3d95
Merge pull request #1471 from mstorsjo/fix-warnings
...
Remove unused variables and an impossible condition
2014-10-30 09:10:08 +08:00
sijchen
41ed734674
Merge pull request #1473 from mstorsjo/silence-test-warnings
...
Silence warning logging while running tests that can produce errors
2014-10-30 09:08:55 +08:00
sijchen
b8e0a3fa38
Merge pull request #1474 from mstorsjo/use-proper-logging
...
Use WelsLog instead of fprintf for normal runtime errors
2014-10-30 08:21:28 +08:00
Martin Storsjö
7ce4da8a41
Use WelsLog instead of fprintf for normal runtime errors
2014-10-29 22:45:44 +02:00
Martin Storsjö
1c2940479d
Silence warning logging while running tests that can produce errors
2014-10-29 22:44:40 +02:00
Martin Storsjö
2907cb2875
Remove an impossible condition
...
uiIntraPeriod is unsigned, and thus can't ever be negative.
The subtraction on the line above can't ever make the value wrap
around either, since param_.uiIntraPeriod % uiGOPSize always is
smaller than or equal to param_.uiIntraPeriod. Thus, the check
never is necessary even if the value would be signed either.
This fixes warnings when building with clang.
2014-10-29 22:07:21 +02:00
Martin Storsjö
a625dc836d
Remove unused variables
2014-10-29 22:07:20 +02:00
Ethan Hugg
9be23c7821
Merge pull request #1470 from mstorsjo/fix-chmod
...
Remove the executable bit from the API docs
2014-10-29 11:43:13 -07:00
Martin Storsjö
7f645bf2f7
Remove the executable bit from the API docs
2014-10-29 20:33:26 +02:00
huashi
54c24dfd60
refactor --for BaseEncoderTest
2014-10-29 17:53:08 +08: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
sijchen
d3a971e32c
Merge pull request #1466 from shihuade/APIUTV1.5
...
set option for ParamExt----random cases
2014-10-29 14:41:46 +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
ruil2
f10f6a788f
Merge pull request #1467 from mstorsjo/cabac-stash-fix
...
Don't stash the cabac state into the SBitStringAux buffer
2014-10-29 09:28:06 +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
huashi
26615fffd0
set option for ParamExt----random cases
2014-10-28 20:36:33 +08:00
Sijia Chen
a2d5254bc3
update VERSION in Makefile
2014-10-28 17:57:57 +08: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
Ethan Hugg
5cefad2d3f
Merge pull request #1460 from zaheerm/pkgconfig
...
Add .pc file generation to PHONY targets
2014-10-27 10:48:30 -07:00
Ethan Hugg
fcb84f5fb6
Merge pull request #1459 from tp-m/pkgconfig-install-fix
...
Fix openh264.pc file installation
2014-10-27 10:01:41 -07:00
Zaheer Abbas Merali
fe621b92bf
Add .pc file generation to PHONY targets as version change in Makefile needs to cause a rebuild.
2014-10-27 10:00:13 -07:00
Tim-Philipp Müller
1ad797a81e
Fix openh264.pc file installation
...
If there's no pkgconfig subdirectory yet in our
install prefix, create it first, otherwise we'll
end up with a file called 'pkgconfig' instead.
2014-10-27 16:22:58 +00:00
Ethan Hugg
9a72378c34
Merge pull request #1455 from zaheerm/pkgconfig
...
Add pkg-config file.
2014-10-27 09:01:18 -07:00
ruil2
ec901a14d6
Merge pull request #1456 from dongzha/fixRCOverFlow
...
fix Rc int32_t bitrate overflow
2014-10-27 13:08:54 +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
Zaheer Abbas Merali
46d30cd33c
Add pkg-config file.
2014-10-26 15:26:52 -07: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
sijchen
468fce0887
Merge pull request #1448 from sijchen/for_format
...
roll back the file which is mis-formatted by astyle
2014-10-24 14:12:40 +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
ruil2
ac290d65c7
Merge pull request #1446 from sijchen/for_format
...
[Encoder] fix a small range of slice idx
2014-10-24 12:50:07 +08:00
Sijia Chen
3cce92ea19
fix a small range of slice idx
2014-10-24 12:28:59 +08:00
huili2
dcdcc7f3b8
Merge pull request #1443 from dongzha/AddUTSwitch
...
add UT for sim-SVC layer switch
2014-10-24 10:21:36 +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
Ethan Hugg
a594ddf3e7
Merge pull request #1441 from mstorsjo/avoid-warnings
...
Add casts to avoid warnings about comparison between signed and unsigned
2014-10-23 09:07:19 -07: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
sijchen
33e67427ab
Merge pull request #1438 from huili2/EC_crashfix
...
fix crash bug of sps/pps
2014-10-23 18:01:20 +08:00
Sijia Chen
4e89e71e8f
reformat cpp files for unit tests
2014-10-23 17:54:33 +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
sijchen
452fb868c7
Merge pull request #1432 from mstorsjo/rename-makefiles
...
Remove the "platform-" prefix from common shared makefiles
2014-10-23 16:40:22 +08:00
Sijia Chen
41720f8df5
add a thread name for easier profiling
2014-10-23 16:38:05 +08:00
dong zhang
769c38d4c4
add UT for sim-SVC switch
2014-10-23 15:50:43 +08:00
Ethan Hugg
195d13612c
Merge pull request #1430 from mstorsjo/make-param-reorder
...
Set LDFLAGS after the object files in shared library linking commands
2014-10-22 09:04:12 -07:00
zhilwang
6c4f0d7d85
Merge pull request #1431 from mstorsjo/msvc-unify-nasm
...
Unify nasm commands in MSVC project files
2014-10-22 17:09:47 +08:00
Martin Storsjö
e415c3fe70
Remove the "platform-" prefix from common shared makefiles
...
This makes it clearer which ones actually are real platforms
(chosen automatically or explicitly via "make ARCH=foo") and which
ones just are shared helpers.
2014-10-22 10:18:53 +03: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
Martin Storsjö
88b7a62f98
Set LDFLAGS after the object files in shared library linking commands
...
This makes sure that the built libopenh264.so actually links to
libpthread.so.
2014-10-22 09:43:53 +03:00
Sijia Chen
a765197b73
add interface and basic implementaion and UT for EncoderStatistics
2014-10-22 11:35:17 +08:00
ruil2
d720122a37
Merge pull request #1426 from sijchen/fix_paramtranscode1
...
[Encoder] add clip in ParamTranscode for input para checking
2014-10-21 17:23:57 +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
sijchen
d1a3bd3d33
Merge pull request #1416 from ruil2/fix
...
modify trace level and fix potential issues
2014-10-16 15:21:12 +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
huili2
d74c0f6ae6
Merge pull request #1414 from HaiboZhu/LTR_EC
...
Add picture bIsComplete flag to reflect the status of decoder
2014-10-16 14:22:43 +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
Daniel J. Hofmann
cdb7e5da61
Removed accidentally committed vim swapfile
2014-10-15 09:12:19 +02:00
Daniel J. Hofmann
46ee46c186
Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
2014-10-14 23:57:54 +02:00
Daniel J. Hofmann
d9e0f2b023
Wtautological-undefined-compare
2014-10-14 23:36:14 +02:00
Daniel J. Hofmann
39d725c113
Wnewline-eof
2014-10-14 23:23:50 +02:00
Daniel J. Hofmann
cab92a3e36
Wheader-hygiene
2014-10-14 23:11:59 +02:00
Daniel J. Hofmann
ba535bda4d
Wextra-semi
2014-10-14 22:56:57 +02:00
Daniel J. Hofmann
2ff61475d6
Wc++11-extra-semi
2014-10-14 22:21:06 +02:00
Daniel J. Hofmann
1e62aafcde
Wc++11-extensions
2014-10-14 22:20:10 +02:00
Daniel J. Hofmann
4fc27714bd
Wc++11-compat-reserved-user-defined-literal
2014-10-14 22:16:42 +02:00
Ethan Hugg
3ad4d9070e
Merge pull request #1410 from dabenham/master
...
Update RELEASES
2014-10-13 11:04:05 -07:00
dabenham
024ac63f15
Update RELEASES
...
Removed links to iOS binaries.
2014-10-13 10:59:56 -07:00
huili2
614e898b67
Merge pull request #1408 from HaiboZhu/Add_UT_Deblocking
...
Fix bugs WelsDeblockingFilterSlice UT when random value is 0
2014-10-10 17:24:36 +08:00
Ethan Hugg
3885bd8f0e
Merge pull request #1406 from mstorsjo/fix-warnings
...
Fix compiler warnings about comparison between signed and unsigned
Fix bugs WelsDeblockingFilterSlice UT when random value is 0
2014-10-09 19:51:58 -07:00
Ethan Hugg
b425450bc1
Merge pull request #1406 from mstorsjo/fix-warnings
...
Fix compiler warnings about comparison between signed and unsigned
2014-10-09 08:28:09 -07:00
Martin Storsjö
ad247a9a4a
Fix compiler warnings about comparison between signed and unsigned
2014-10-09 11:58:23 +03:00
huili2
f9bab05b3a
Merge pull request #1402 from HaiboZhu/Add_UT_Deblocking
...
Add ut deblocking
2014-10-09 09:04:55 +08:00
Ethan Hugg
52419bd13e
Merge pull request #1400 from mstorsjo/warning-fix
...
Fix compiler warnings
2014-10-02 12:26:45 -07:00
ruil2
8c8cd50c96
Merge pull request #1403 from sijchen/fr_setting_fix1
...
[Encoder] Add checking of frame rate and temporal layer setting
2014-09-30 21:40:31 +08:00
Sijia Chen
68fed53687
add checking of frame rate and temporal layer setting for encoder input param
...
Reviewed at https://rbcommons.com/s/OpenH264/r/836/
2014-09-30 17:54:24 +08:00
Haibo Zhu
b7c54242a9
Modify the random value range which only for debug
...
Modify the CLIP3 macros to match the CLIP3(value, min, max)
Add partly UT cases into it which related to function call
Modify the typo for WELS_NEON
Add partly UT cases into it which related to Bs calculation
Update Windows VS project
2014-09-30 01:36:18 -07:00
Haibo Zhu
04c2a7ac5c
Add CLIP3 and using ASSERT_FALSE macros
2014-09-30 01:36:18 -07:00
Haibo Zhu
27a21edcc9
Modify the targets.mk
2014-09-30 01:36:18 -07:00
Haibo Zhu
3593f2e3e7
Add partly UT code for deblocking filter
2014-09-30 01:36:18 -07:00
HaiboZhu
007fb47004
Merge pull request #1399 from huili2/ParseOnlyAPI
...
add API only for decode parser
2014-09-30 14:51:49 +08:00
Martin Storsjö
0affe66f93
Remove unused variables
2014-09-30 08:57:29 +03:00
Martin Storsjö
311272d341
Use the right log format for printing 64 bit integers
2014-09-30 08:56:40 +03:00
huili2
efdefdba28
add API only for decode parser for HW decoding support
2014-09-29 19:14:58 -07:00
dongzha
a3a0effc88
Merge pull request #1398 from shihuade/APIUT_V1
...
refator for API test--prepareEncDecParam and EncodeOneFrame
2014-09-30 10:05:31 +08:00
shihuade
d875d923f8
refator for API test--prepareEncDecParam and EncodeOneFrame
2014-09-29 19:58:43 +08:00
ruil2
6b1630cc90
Merge pull request #1396 from lyao2/rc_trace2
...
add debug info for RC max bitrate control test
2014-09-29 17:09:28 +08:00
lyao2
3904c025cb
add debug info for RC max bitrate control test
2014-09-29 15:41:03 +08:00
dongzha
72df20000b
Merge pull request #1391 from sijchen/modi_stra34
...
[Encoder] Fix a warning and refactor
2014-09-29 08:34:44 +08:00
dongzha
fd8d41dbb9
Merge pull request #1392 from dongzha/addMissedFileInVSUT
...
add missed files in VS UT solution
2014-09-29 08:33:35 +08:00
dongzha
07fa3d1898
add missed files in VS UT solution
2014-09-28 15:20:47 +08:00
Sijia Chen
6673a5f71e
1, fix a value in preprocess to avoid warning in UT
...
2, refactor to wrap the operation to m_pSpatialPic into WelsPreprocess
2014-09-28 13:12:16 +08:00
ruil2
e4b373a800
Merge pull request #1390 from sijchen/modi_stra25
...
[Encoder Screen] Add basic strategy for lossy+no LTR route (still in progress)
2014-09-26 17:11:49 +08:00
Sijia Chen
cf2cf9efd9
add basic strategy for lossy+no LTR route
2014-09-26 16:40:19 +08:00
ruil2
6ae38da3ab
Merge pull request #1389 from zhilwang/issue-fix
...
Fix crash issue due to commit 8945348 .
2014-09-26 11:43:34 +08:00
zhiliang wang
19c02bdfa8
Fix crash issue due to commit 8945348.
2014-09-26 11:16:13 +08:00
ruil2
bab0bf18f8
Merge pull request #1387 from dongzha/MoveDoubleInSCCRC
...
remove double in SCC rc
2014-09-25 16:53:46 +08:00
huili2
8945348c87
Merge pull request #1385 from ruil2/function
...
enable ARM assembly for SampleSad16x16
2014-09-25 15:04:46 +08:00
ruil2
ed341048de
refine common moudle for part of intra prediction function
2014-09-25 14:03:11 +08:00
ruil2
73d27e9776
Merge pull request #1386 from huili2/UT_bugfix_dataformat
...
bug fix for dataformat UT
2014-09-25 13:05:25 +08:00
ruil2
bef3d87f34
Merge pull request #1384 from sijchen/add_para21
...
[Encoder] Add a new reading para
2014-09-25 12:45:38 +08:00
dong zhang
9f20c727d1
remove double in SCC rc
2014-09-25 11:09:35 +08:00
huili2
810d20a59d
bug fix for dataformat UT
2014-09-24 18:04:24 -07:00
sijchen
d0f9b218f4
Merge pull request #1383 from ruil2/rc_refine
...
refine scc rc
2014-09-24 16:31:49 +08:00
ruil2
ffebbdb9b2
enable ARM assembly for SampleSad16x16
2014-09-24 15:59:36 +08:00
ruil2
4e57a46ca5
Merge pull request #1382 from huili2/dataformat_bugfix
...
add protection for decoder and data format
2014-09-24 13:47:02 +08:00
ruil2
c618cb1eaf
refine scc rc
2014-09-24 09:54:01 +08:00
huili2
a3bdf4ffc9
Merge pull request #1378 from sijchen/ref_refac22
...
[Encoder] Refactor a function for further strategy adjustment
2014-09-24 08:59:02 +08:00
Sijia Chen
147c9052b8
add reading of the new option
2014-09-23 18:04:24 +08:00
ruil2
cfbf32b3fb
Merge pull request #1381 from mstorsjo/silence-warnings
...
Silence warnings with gcc in GetOptionTid_AVC_NOPREFIX
2014-09-23 17:21:54 +08:00
huili2
f8d2ae42ef
add protection for decoder and data format
2014-09-23 00:29:23 -07:00
Martin Storsjö
a59a989d9b
Silence warnings with gcc in GetOptionTid_AVC_NOPREFIX
2014-09-23 09:39:18 +03:00
HaiboZhu
06e56ecdd8
Merge pull request #1380 from huili2/ec_option_free
...
add freely setoption for EC_idc and UT
2014-09-22 15:51:19 +08:00
huili2
f6fb459a7f
add freely setoption for EC_idc and UT
2014-09-21 21:51:48 -07:00
sijchen
fd8db0451e
Merge pull request #1377 from ruil2/scc_rc_1
...
add scc rate control
2014-09-19 17:08:48 +08:00
Sijia Chen
ee2f87dbbc
refactor a function for further strategy adjustment
2014-09-19 16:17:04 +08:00
ruil2
17df23c2eb
Merge pull request #1375 from sijchen/ref_refac11
...
[Encoder] Use function pointer for pEndofUpdateRefList
2014-09-19 16:01:14 +08:00
ruil2
480ff5acc2
Merge pull request #1374 from sijchen/ref_refac41
...
[Encoder UT] Add parameter and one case in UT
2014-09-19 16:00:44 +08:00
ruil2
66e38cc9ed
add scc rate control
2014-09-19 15:56:49 +08:00
Sijia Chen
c480ffdad5
use function pointer as refactoring for further strategy adjustment
2014-09-19 14:48:45 +08:00
Sijia Chen
84ca659f06
add parameter and one case in UT
2014-09-19 14:46:02 +08:00
ruil2
25cad576b3
Merge pull request #1372 from huili2/remove_release111
...
remove release note for internal v1.1.1
2014-09-18 17:27:13 +08:00
huili2
f5b9d920ff
Merge pull request #1369 from ruil2/console
...
set timestamp for each input frame to preparing for scc rate control
2014-09-18 14:46:28 +08:00
sijchen
64fa8a6b60
Merge pull request #1371 from ruil2/win_project
...
update interface definition
2014-09-18 14:38:58 +08:00
ruil2
ac2de4cbab
Merge pull request #1370 from dongzha/addAPIUTTid
...
Add Tid/Trace API UT and Fix a bug when set NULL trace
2014-09-18 14:29:26 +08:00
ruil2
3ba0a9956a
update interface definition
2014-09-18 14:20:16 +08:00
huili2
c4a446b43a
Merge pull request #1367 from ruil2/rename
...
rename namespace and funciton name to avoid conflicts with old library
2014-09-18 13:23:27 +08:00
ruil2
880bf2d621
set timestamp for each input frame to preparing for scc rate control
2014-09-18 12:12:15 +08:00
ruil2
1d37250301
Merge pull request #1368 from sijchen/remove_dul2
...
[Encoder] Remove duplicate constant macro and modify the num_ref check accordingly
2014-09-18 09:12:41 +08:00
Sijia Chen
7e71714863
add a missed line in last commit
2014-09-17 18:13:43 +08:00
Sijia Chen
05684744c9
remove duplicate constant macro and modify the num_ref check accordingly
2014-09-17 18:10:27 +08:00
ruil2
3ff145e839
rename namespace and funciton name to avoid conflicts with old library
2014-09-17 15:50:59 +08:00
ruil2
25b723c413
Merge pull request #1366 from lyao2/refine_frameskip2
...
fix skipframe count error
2014-09-17 15:19:40 +08:00
lyao2
ca96def4ff
fix skipframe count error
2014-09-17 14:26:05 +08:00
dongzha
c213c6ba30
1. add Tid API UT
...
2. add Trace UT
3. Fix a crash issue when set NULL trace
2014-09-17 09:26:54 +08:00
dongzha
8538b22f23
Merge pull request #1359 from mstorsjo/cleanup-simplification
...
Simplify code by getting rid of unnecesary SafeDelete/SafeFree macros
2014-09-17 08:49:24 +08:00
dongzha
399ca33284
Merge pull request #1356 from ruil2/memory
...
refine memory tag in order to trace issues related memory
2014-09-17 08:46:02 +08:00
Ethan Hugg
4e54fd191b
Merge pull request #1361 from mstorsjo/avoid-comparing-uninitialized
...
Make sure uiIDRPicId is initialized within EncodeDecodeTest
2014-09-16 08:39:22 -07:00
Ethan Hugg
19dcff8616
Merge pull request #1360 from mstorsjo/use-correct-delete
...
Use the correct version of delete within a unit test
2014-09-16 08:38:20 -07:00
Ethan Hugg
68e92f9eb6
Merge pull request #1358 from mstorsjo/remove-unused-macro
...
Remove an unused macro
2014-09-16 08:36:22 -07:00
Ethan Hugg
5c67f368c3
Merge pull request #1357 from mstorsjo/silence-warnings
...
Fix build warnings with gcc in EncodeDecodeTest
2014-09-16 08:35:39 -07:00
Martin Storsjö
a6cc71208e
Make sure uiIDRPicId is initialized within EncodeDecodeTest
...
This fixes valgrind warnings about comparison with uninitialized
values.
2014-09-16 11:59:09 +03:00
Martin Storsjö
58eba54e8c
Use the correct version of delete within a unit test
...
This fixes valgrind warnings when running this test. The mismatched
delete could also potentially have caused memory corruption issues
while running the tests.
2014-09-16 11:57:24 +03:00
Martin Storsjö
9d9c609aab
Remove some now unused macros
2014-09-16 11:53:19 +03:00
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
Martin Storsjö
8eafdfa598
Remove an unused macro
2014-09-16 11:52:06 +03:00
Martin Storsjö
e7cd53e81b
Fix build warnings with gcc in EncodeDecodeTest
...
Avoid a comparison between signed and unsigned integers, and avoid
a warning about a variable which is set but not used.
2014-09-16 10:10:57 +03:00
dongzha
f8d5f93b16
Merge pull request #1355 from syureyi/clean
...
Clean
2014-09-16 09:58:27 +08:00
huili2
48f203929e
remove release note for internal v1.1.1
2014-09-15 18:54:48 -07:00
ruil2
b85a09163f
refine memory tag in order to trace issues related memory
2014-09-16 09:49:44 +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
lyao2
15124b1258
fix bug
2014-09-02 13:41:00 +08:00
ruil2
b5a01efa96
avoid LTR reference frames overflow
2014-09-02 10:23:03 +08:00
lyao2
aa7eb5fd09
code refine
2014-09-02 09:21:31 +08:00
lyao2
849a730608
refine code
2014-09-01 17:49:59 +08:00
lyao2
24bd0b74ae
add additional option set test
2014-09-01 16:35:32 +08:00
ruil2
c1cc195ab1
Merge pull request #1319 from huili2/release_note_1.1.1
...
add release note for v1.1.1
2014-08-29 14:41:46 +08:00
huili2
06ab5b1934
Merge pull request #1318 from ruil2/threadIdc
...
fix auto threadIdc issue
2014-08-29 14:30:26 +08:00
ruil2
d4eff959ed
fix auto threadIdc issue
2014-08-29 13:57:08 +08:00
huili2
77e01435c0
add release note for v1.1.1
2014-08-28 22:40:17 -07:00
ruil2
43e1c46756
Merge pull request #1317 from mstorsjo/avoid-uninitialized-test
...
Avoid using uninitialized memory in the motion estimation tests
2014-08-28 17:29:16 +08:00
ruil2
3ff6bf8ac1
Merge pull request #1315 from dongzha/RemoveIntraPeriod
...
Fix following IntraPeriod set issue
2014-08-28 17:09:10 +08:00
Martin Storsjö
5809db9eff
Avoid using uninitialized memory in the motion estimation tests
2014-08-28 11:51:39 +03:00
zhilwang
22e7750bb3
Merge pull request #1316 from mstorsjo/avoid-warnings
...
Avoid warnings about comparison between signed and unsigned
2014-08-28 16:42:02 +08:00
dong zhang
0187c84f29
Fix following IntraPeriod set issue
...
1. In WelsInitSps function, if kuiIntraPeriod is huge, uiLog2MaxFrameNum might be bigger than 15, which may introduce illegal H264 bitstream.
2. if pSvcParm.uiIntraPeriod is not zero (e.g. 14) at the initial, it will init sps.iLog2MaxPocLsb. to 5.
But if I changed pSvcParm.uiIntraPeriod to 40, sps.iLog2MaxPocLsb. is still 5, need to recalcuted this parameter.
(Same with uiLog2MaxFrameNum.)
2014-08-28 16:35:23 +08:00
Martin Storsjö
c3710c4130
Avoid warnings about comparison between signed and unsigned
...
There's no need for these variables to be explicitly unsigned.
This also matches the function above.
2014-08-28 11:13:38 +03:00
huili2
2361f7543b
Merge pull request #1314 from ruil2/add_trace
...
update trace output
2014-08-28 15:59:56 +08:00
ruil2
cafb91a66a
remove redundent lines
2014-08-28 11:24:28 +08:00
ruil2
cebf586c3a
update trace output
2014-08-28 11:04:25 +08:00
dongzha
40ca34ae13
Merge pull request #1312 from huili2/win_ut_debug_env
...
add gtest debug environment for MSVC
2014-08-28 10:47:19 +08:00
dongzha
67b5a79c2e
Merge pull request #1313 from huili2/SDP_support
...
add decoder capability info
2014-08-28 10:47:12 +08:00
huili2
76c6ff4b0f
add gtest debug environment for MSVC
2014-08-27 17:58:59 -07:00
huili2
0b23d0facb
add decoder capability info
2014-08-27 17:48:58 -07:00
dongzha
9b97138786
Merge pull request #1310 from ruil2/trace_update_1
...
add warning trace
2014-08-27 17:35:14 +08:00
dongzha
674af41108
Merge pull request #1309 from zhilwang/downsample-ut
...
Add UT for Downsample functions.
2014-08-27 17:27:20 +08:00
ruil2
8935bfaa91
Merge pull request #1308 from dongzha/ModifyEncOutput
...
add crop output for encoder
2014-08-27 17:04:49 +08:00
ruil2
770400103f
add warning trace
2014-08-27 17:01:23 +08:00
dong zhang
6d4a628331
add crop output for encoder
2014-08-27 15:44:49 +08:00
zhiliang wang
93af7bfc64
Add UT for Downsample functions.
2014-08-27 15:40:14 +08:00
dongzha
81f7b0c108
Merge pull request #1306 from zhilwang/vaa-ut
...
Add UT for VaaCalc Functions.
2014-08-27 14:56:35 +08:00
dongzha
dcc3d90574
Merge pull request #1307 from ruil2/trace_update
...
remove "\n" which shoudl be added by the trace sink
2014-08-27 14:56:29 +08:00
ruil2
40e952f981
remove "\n" which shoudl be added by the trace sink
2014-08-27 14:34:05 +08:00
zhiliang wang
0163eb520d
Add UT for VaaCalc Functions.
2014-08-27 13:53:18 +08:00
dongzha
bac5511694
Merge pull request #1305 from ruil2/ltr_update_1
...
update the number of reference when ltr changes
2014-08-27 13:21:01 +08:00
ruil2
9b5902b94a
update the number of reference when ltr changes
2014-08-27 12:19:59 +08:00
dongzha
035019f052
Merge pull request #1304 from ruil2/mv_get_fix
...
get mv and mvd from level limitation
2014-08-27 12:16:15 +08:00
ruil2
ac7fac9644
get mv and mvd from level limitation
2014-08-26 16:30:57 +08:00
ruil2
0951c8fc0c
Merge pull request #1303 from lyao2/fix_pps
...
fix pps assert related issue when enable bEnableSpsPpsIdAddition
2014-08-26 14:50:24 +08:00
lyao2
0c32465aac
fix pps assert issue when enable bEnableSpsPpsIdAddition
2014-08-26 13:31:14 +08:00
dongzha
863dc78c25
Merge pull request #1301 from ruil2/ltr_check_1
...
add more LTR parameters
2014-08-26 12:22:27 +08:00
ruil2
d6f0dee0c4
add more LTR parameters
2014-08-26 11:06:30 +08:00
dongzha
ced2a8e4bc
Merge pull request #1300 from ruil2/mvcost_check_1
...
remove unused variables
2014-08-26 11:04:37 +08:00
Karina
ddbd41cbc5
remove unused variables
2014-08-26 09:13:20 +08:00
huili2
a4eea4c64d
Merge pull request #1299 from ruil2/mvcost_check_1
...
fix crash on mvd cost calculation
2014-08-25 16:38:16 +08:00
Karina
11c9f2037d
format update
2014-08-25 15:31:36 +08:00
Karina
a19974d009
fix crash on mvd cost calculation
2014-08-25 13:30:45 +08:00
dongzha
7486bb1100
Merge pull request #1297 from ruil2/overflow_mv_1
...
add mv range limitation and related ut
2014-08-25 13:12:09 +08:00
dongzha
94815cf993
Merge pull request #1298 from dongzha/AddDecoderAPIUTFrameNumNew
...
add encoder/decoder api test for IDR id and framenum
2014-08-25 13:10:25 +08:00
dong zhang
8da63eae33
1. add encoder/decoder api test for IDR id and framenum
...
2. use random value as input, instead of using *.264
2014-08-25 11:02:31 +08:00
ruil2
441dc45e69
add mv range limitation and related ut
2014-08-25 09:53:49 +08:00
zhilwang
153a0311db
Merge pull request #1293 from huili2/contributor
...
add new contributors
2014-08-22 11:01:45 +08:00
HaiboZhu
dddb825bbd
Merge pull request #1288 from lyao2/threadIDC
...
fix Loop filter error under multithreads on encoder when #TEST_BED enabled
2014-08-22 11:00:07 +08:00
HaiboZhu
eb6fb7fc72
Merge pull request #1294 from zhilwang/arm-ut
...
Add arm UT for Sad,IntraSad,IntraPred.
2014-08-22 10:59:09 +08:00
lyao2
6047ff930e
fix deblockIDC and mutithread logic error
2014-08-22 09:19:14 +08:00
zhiliang wang
e6f838e331
Add arm UT for Sad,IntraSad,IntraPred.
2014-08-21 15:36:57 +08:00
huili2
fd9a9e521f
add new contributors
2014-08-20 23:50:52 -07:00
dongzha
3f839e367c
Merge pull request #1292 from zhilwang/EncDemo_refine
...
Refine EncDemo.
2014-08-21 14:22:08 +08:00
ruil2
7fb9e57f30
Revert "ut_win32"
...
This reverts commit 462f56d413 .
2014-08-21 10:07:03 +08:00
zhiliang wang
e3d8524c82
Refine EncDemo.
2014-08-21 09:10:49 +08:00
ruil2
28fa2e7c98
Merge pull request #1287 from syureyi/ut_win32
...
ut_win32
2014-08-20 12:08:42 +08:00
lyao2
47f1ac7307
fix Loop filter error under multithreads on encoder when #TEST_BED enabled
2014-08-20 11:54:07 +08:00
unknown
462f56d413
ut_win32
2014-08-20 10:46:05 +08:00
ruil2
b230a6deee
Merge pull request #1285 from dongzha/TestRandomEnc
...
avoid encoder crash with random pixel input
2014-08-19 16:47:36 +08:00
dongzha
3596b6ced0
avoid encoder crash with random pixel input
2014-08-19 15:36:27 +08:00
huili2
d3dc48d1d1
Merge pull request #1284 from syureyi/perf
...
Perf
2014-08-18 12:52:44 +08:00
lingzhu
f4054f2633
Update run_AutoTest_android.sh
...
at now, need not such log file
2014-08-18 09:45:21 +08:00
lingzhu
fc9203cb50
Update run_AutoTest_ios.sh
...
typo wrong, need to copy
2014-08-18 09:44:07 +08:00
huili2
45d95d2f50
Merge pull request #1281 from mstorsjo/fix-arm-alignment
...
Fix building svc_motion_estimation.S for android
2014-08-15 15:17:09 +08:00
Martin Storsjö
81ac3d2a9b
Fix building svc_motion_estimation.S for android
...
The .align directive takes an argument in number of bits, i.e. the
actual alignment is 2^n. Previously building with binutils failed,
since 16 isn't a valid parameter to .align, the maximum is 15.
Thus, this makes the code try to align to 16 bytes, instead of aligning
to 65536 bytes.
This fixes building for android.
This also clears up the same mistake in the aarch64 code, even though
that one built just fine.
2014-08-15 09:53:42 +03:00
dongzha
464244ccbe
Merge pull request #1280 from mstorsjo/arm-common-ifdefs
...
Add ifdef HAVE_NEON around the contents of arm_arch_common_macro.S
2014-08-15 14:19:14 +08:00
HaiboZhu
955d27b3a2
Merge pull request #1278 from syureyi/perf
...
improve perf
2014-08-15 14:18:01 +08:00
zhilwang
e25a82b3d6
Merge pull request #1279 from dongzha/NewAddARMHash
...
add arm32/64 code for InitHash
2014-08-15 14:14:51 +08:00
Martin Storsjö
f69c9074e7
Add ifdef HAVE_NEON around the contents of arm_arch_common_macro.S
...
This file is built on its own from within the xcode projects,
even though it isn't necessary. Previously its contents was just
empty, but now a .syntax unified was added, which failed the build
when building for arm64.
Make this file a no-op, just like the other arm assembly source files,
unless HAVE_NEON is defined.
2014-08-15 08:49:31 +03:00
HFVideoMac
0f95fac4ca
add arm32/64 code for InitHash
2014-08-15 13:47:59 +08:00
Ethan Hugg
4b5e893fcc
Merge pull request #1277 from huili2/modify_releases_master
...
release note for master
2014-08-14 19:32:06 -07:00
dongzha
87107c50a3
Merge pull request #1275 from zhilwang/x86_hash_scc
...
Add x86 32/64bit asm code and UT for SCC hash functions
2014-08-15 10:12:18 +08:00
huili2
f9448ced69
release note for v1.1.0
2014-08-14 19:11:58 -07:00
zhiliang wang
ef88889404
refine format and add UT cases
2014-08-15 09:22:37 +08:00
huili2
136e169c01
Merge pull request #1270 from mstorsjo/android-tool-detect
...
Check for $(CXX).exe as well when checking for the android toolchain
2014-08-15 09:12:15 +08:00
huili2
a893e22311
Merge pull request #1266 from mstorsjo/fix-readme
...
Stop referring to a removed make variable
2014-08-15 09:12:06 +08:00
zhilwang
711f5cabe7
Merge pull request #1273 from dongzha/RefineArmCodeForSumBlock
...
refine arm code for sum of frame
2014-08-15 09:02:15 +08:00
zhiliang wang
76863f977a
Refine asm code format
2014-08-15 08:46:55 +08:00
zhiliang wang
b35f5797de
Add x86 32/64bit asm code for Scc_hash
2014-08-14 18:41:52 +08:00
HaiboZhu
1e34a61dd6
Merge pull request #1269 from huili2/enc_console_help
...
correct enc console help info
2014-08-14 17:07:16 +08:00
HaiboZhu
42384c0cb4
Merge pull request #1274 from huili2/test_VclNal
...
enable api test for decoder VclNal
2014-08-14 17:06:45 +08:00
huili2
f82726d7ef
enable api test for decoder VclNal
2014-08-14 00:52:21 -07:00
dongzha
d243608611
Merge pull request #1272 from zhilwang/x86_hash_scc
...
Add function define and init for SCC hash function
2014-08-14 14:49:43 +08:00
HFVideoMac
e14186b535
refine arm code for sum of frame
2014-08-14 14:41:07 +08:00
zhiliang wang
9d2e1a9384
Merge branch 'master' of https://github.com/cisco/openh264 into x86_hash_scc
2014-08-14 14:38:18 +08:00
zhiliang wang
dc833e19f4
Add function define and init for SCC hash function
2014-08-14 14:20:07 +08:00
dongzha
2b26a28d15
Merge pull request #1271 from dongzha/fixBuildError
...
Fix build error ARM
2014-08-14 13:16:40 +08:00
dongzha
3703ba16a4
Fix build error ARM
2014-08-14 12:54:36 +08:00
dongzha
186f4c0d29
Merge pull request #1267 from zhilwang/sumofblocks_scc
...
Add x86 32/64bit asm code for SumOfBlocks.
2014-08-14 10:12:55 +08:00
Martin Storsjö
0f9c2dbb12
Check for $(CXX).exe as well when checking for the android toolchain
...
This fixes building for android on windows.
Building for android on windows still requires MSYS for running make,
but running the ndk-build of the sample projects from within MSYS
doesn't seem to work (the OS variable from the OpenH264 makefile
interferes with the host system detection in ndk-build), so one still
needs to build it in two steps, first make OS=android ... libopenh264.so,
then building the sample projects manually.
2014-08-13 14:23:09 +03:00
huili2
e346bc5263
correct enc console help info
2014-08-12 23:25:27 -07:00
zhiliang wang
f2314151e8
Add x86 32/64bit asm code for SumOfBlocks.
2014-08-13 11:18:39 +08:00
syureyi
2ac973474a
improve perf
2014-08-12 14:29:39 +08:00
Martin Storsjö
a2b727fb6b
Stop referring to a removed make variable
...
Nothing uses the make variable GCCVERSION any longer, since we just
query the NDK for the default compiler.
2014-08-12 09:11:15 +03:00
huili2
681b1da698
Merge pull request #1265 from ruil2/namespace_2
...
merge level table
2014-08-12 10:06:59 +08:00
ruil2
493d254a4a
merge level table
2014-08-12 09:28:40 +08:00
huili2
49f8fe8c5c
Merge pull request #1264 from ruil2/namespace_1
...
use WelsEnc namespace instead of WelsSVCEnc
2014-08-11 16:55:11 +08:00
ruil2
f7cd6e7aad
use WelsEnc namespace instead of WelsSVCEnc
2014-08-11 16:08:49 +08:00
dongzha
57f4548daf
Merge pull request #1262 from ruil2/fix_errors
...
fix an errors that for single slice mode, the number of slices should be 1
2014-08-11 14:31:41 +08:00
ruil2
febb3ebb9b
fix an errors that for single slice mode, the number of slices should be 1
2014-08-11 13:58:33 +08:00
ruil2
5948e8af3f
Merge pull request #1259 from mstorsjo/fix-singlecpu-tests
...
Remove a needless, no-op change of the number of threads
2014-08-11 13:31:57 +08:00
dongzha
7b3bf074b3
Merge pull request #1258 from mstorsjo/fetch-codec-params
...
Get the actual used parameters in the codec in TemporalLayerSettingTest
2014-08-11 10:53:28 +08:00
dongzha
6190c10de8
Merge pull request #1256 from mstorsjo/speedup-tests
...
Speed up test cases in EncoderInterfaceTest
2014-08-11 10:47:44 +08:00
dongzha
f8e5d3a7bf
Merge pull request #1250 from huili2/test_EndOfStream
...
test end of stream for decoder API UT
2014-08-11 10:34:07 +08:00
zhilwang
46f1c898c6
Merge pull request #1257 from mstorsjo/fixup-apple-assembly
...
Explicitly add .syntax unified when building for iOS
2014-08-11 08:40:27 +08:00
Martin Storsjö
352f5eea7a
Get the actual used parameters in the codec in TemporalLayerSettingTest
...
Make sure that pOptions is initialized to the parameters that
the codec actually uses, not the ones that we initially tried
to set.
When calling SetOption to update the codec parameters, this may
cause a reset of the whole codec if e.g. the number of threads
differs from what is set within the codec itself.
If the number of threads was changed by the codec internally
when inited (e.g. changed from 0 to 1), WelsEncoderParamAdjust
may think the whole codec needs to be reset.
This fixes running EncoderInterfaceTest.TemporalLayerSettingTest
on machines where the detected number of cores is 1.
2014-08-08 22:57:22 +03:00
Martin Storsjö
2f6a986d7c
Remove a needless, no-op change of the number of threads
...
If kiCpuCores < 2, then iCountThreadsNum (and iMultipleThreadIdc)
can't be >= 2, because they're initialized with
WELS_MIN (kiCpuCores, ...) just a few lines above.
If iMultipleThreadIdc is initially set to 0 by the caller, this
removed piece of code would change it to 1, if kiCpuCores < 2.
When iMultipleThreadIdc is changed from the originally set value,
a call to WelsEncoderParamAdjust with the original parameters
would reset the whole codec since iMultipleThreadIdc differs.
This fixes running EncoderInterfaceTest.TemporalLayerSettingTest
on machines where the detected number of cores is 1.
2014-08-08 22:26:59 +03:00
Martin Storsjö
38d2d64ede
Explicitly add .syntax unified when building for iOS
...
This is the default when building with the clang built-in assembler,
but not if using the external assembler - thus always specify it,
for clarity.
Also use the three-operand for of a sub instruction in BS_NZC_CHECK.
The same is already done in the gnu version of the macro.
This fixes building most of the arm assembly with Apple's external
assembler. While this isn't a necessary goal in itself, there's no
harm in doing this either.
2014-08-08 14:09:37 +03:00
huili2
dacd22d695
Merge pull request #1254 from mstorsjo/alias-attribute
...
Add attributes incidating intentional data type aliasing, fix GetIntraPredictorTest on android
2014-08-08 17:36:07 +08:00
lyao2
03af36dc54
Merge pull request #1255 from ruil2/param_change
...
re-allocate resource when threadIDC changes
2014-08-08 17:29:21 +08:00
Martin Storsjö
38cc9acdd3
Set a specific frame size in TemporalLayerSettingTest
...
Previously, this test used whatever size was set in m_iWidth
and m_iHeight before, which depended on the order that the tests
were executed. When this test was the first one executed in the
EncoderInterfaceTest, the width and height were set to the max.
Instead of having the test behaviour depend on the test order,
set a specific size, just as InitializeParamExt and MemoryCheckTest
do.
This reduces the runtime of TemporalLayerSettingTest from 86 seconds
to 26 seconds, when run in valgrind.
2014-08-08 12:24:57 +03:00
Martin Storsjö
c3702d9075
Reduce the number of frames tested in EncoderInterfaceTest
...
There's little point in running the same test over and over for
a huge number of frames if it doesn't test much different things.
This reduces the runtime of EncoderInterfaceTest.* from 322 seconds
to 140 seconds, when running in valgrind.
2014-08-08 12:23:12 +03:00
ruil2
af417b5ae4
re-allocate resource when threadIDC changes
2014-08-08 16:43:38 +08:00
Martin Storsjö
642b405f87
Reenable GetIntraPredictorTest tests that were broken on android
...
These tests work as intended now.
2014-08-08 11:34:45 +03:00
Martin Storsjö
5f0ef6a5a9
Add attributes incidating intentional data type aliasing
...
Interpreting data of one type via a pointer of a different type is an
aliasing violating. This means that a compiler optimizer's analyzer
can assume that data loaded into an array as uint32_t isn't related
to data read out from the same array as uint64_t, and e.g. reorder
loads/stores.
Since these structs are intentionally used to load data via pointers
of a wrong size, tell the compiler that these accesses may alias
other reads.
This fixes the GetIntraPredictorTest tests of WelsI4x4LumaPredV_c
and WelsI4x4LumaPredH_c. (The compiler optimizer did the wrong thing
as long as WelsFillingPred8to16_c or WelsFillingPred8x2to16_c were
inlined into the calling function.)
2014-08-08 11:34:45 +03:00
zhilwang
0b85855e98
Merge pull request #1253 from dongzha/FixBugandBuildErroronAndroid
...
Disable failed UT and Fix Build Error onAndroid
2014-08-08 13:33:31 +08:00
HFVideoMac
84f33aa8e4
Disable failed UT and Fix Build Error onAndroid
2014-08-08 10:53:23 +08:00
zhilwang
439e51bc11
Merge pull request #1249 from dongzha/addArm32SCCNew
...
add arm 32/64 code and UT for SVC SCC motion estimation
2014-08-08 09:19:51 +08:00
HaiboZhu
ef1098be9c
Merge pull request #1251 from syureyi/sendmail
...
improve the shell scripts
2014-08-07 17:28:54 +08:00
syureyi
a5707738b7
improve the shell scripts
2014-08-07 15:43:08 +08:00
dongzha
4ebf8266a1
Merge pull request #1247 from mstorsjo/test-seed
...
Print the random seed at startup
2014-08-07 10:09:47 +08:00
dongzha
00d0180f26
Merge pull request #1248 from mstorsjo/silence-intentional-errors
...
Silence warnings and errors when running tests that intentionally produce errors
2014-08-07 10:09:35 +08:00
Martin Storsjö
e8fafebd96
Silence warnings and errors when running tests that intentionally produce errors
2014-08-06 21:32:08 +03:00
Martin Storsjö
df16cd9d0c
Print the random seed at startup
...
Also add an option for overriding the seed at startup.
This allows reproducing temporary issues by rerunning the test suite
with the same random seed.
Note that if tests are added or removed (or tests are skipped by passing
the --gtest_filter option), or if running on a different libc, the same
seed might result in different random values.
2014-08-06 19:32:25 +03:00
HFVideoMac
cff49f5e45
add arm 32/64 code and UT for SVC SCC motion estimation
2014-08-06 17:24:36 +08:00
huili2
3aec3a2606
Merge pull request #1245 from zhilwang/processing_sad
...
Add sad arm64 code to processing.
2014-08-06 09:31:22 +08:00
huili2
0dd0b06287
Merge pull request #1243 from ruil2/comment
...
add parameter verification
2014-08-05 14:58:01 +08:00
huili2
ed12e6aa46
test end of stream for decoder API UT
2014-08-04 23:46:11 -07:00
zhiliang wang
3139fe7a88
Add sad arm64 code to processing.
2014-08-05 11:23:38 +08:00
lyao2
11bf575892
Merge pull request #1244 from ruil2/slice_limit
...
this limitation of the number of MBs is removed in dynamic slice mode
2014-08-01 16:41:19 +08:00
ruil2
5356249100
if dynamic slice mode, this limitation should be removed
2014-08-01 16:10:11 +08:00
ruil2
059e19074a
add parameter verification
2014-08-01 12:39:29 +08:00
ruil2
11f0a11177
Merge pull request #1242 from huili2/test_dataformat
...
setget_dataformat_ut
2014-08-01 12:27:38 +08:00
huili2
ecfd7df157
Merge pull request #1237 from syureyi/mobileutat
...
Mobileutat
2014-07-31 17:15:16 +08:00
HaiboZhu
aa41dc43bd
Merge pull request #1241 from ruil2/comment
...
fix typo
2014-07-31 16:52:04 +08:00
HaiboZhu
2ac06c4a61
Merge pull request #1240 from ruil2/output-1
...
update recontruct frame output
2014-07-31 16:51:33 +08:00
ruil2
2ec91a0bbe
fix typo
2014-07-31 15:14:10 +08:00
ruil2
f68b0811f0
update recontruct frame output
2014-07-31 15:10:12 +08:00
lingzhu
baf82f1b32
Update run_unitTest.sh
2014-07-31 14:37:20 +08:00
Ethan Hugg
681919da8e
Merge pull request #1238 from mstorsjo/fix-msvc-tests
...
Fix building the tests with MSVC
2014-07-30 06:53:30 -07:00
Martin Storsjö
8c663ffe66
Use the common stdint typedefs in processing as well
...
This fixes building test/processing/ProcessUT_AdaptiveQuantization.cpp
with MSVC.
2014-07-30 13:53:54 +03:00
Martin Storsjö
a1bc5fa1b5
Include test_stdint.h to get stdint types for MSVC
2014-07-30 13:51:52 +03:00
lyao2
cd4a615c43
Merge pull request #1233 from ruil2/interface_ut_1
...
add a judgment
2014-07-29 12:01:19 +08:00
ruil2
8dd5d483d4
remove test case because this issue had been fixed
2014-07-29 11:05:48 +08:00
huili2
e8fdd4cf75
setget_dataformat_ut
2014-07-28 18:41:58 -07:00
ruil2
eff4b3ae4d
add a judgment
2014-07-29 09:37:14 +08:00
ruil2
d2896038b8
Merge pull request #1230 from lyao2/ut_fixbug
...
fix param initialization bug in UT
2014-07-29 09:33:06 +08:00
lyao2
4ee434691a
fix param initialization bug in UT
2014-07-28 17:43:56 +08:00
HaiboZhu
d0d6842f73
Merge pull request #1228 from huili2/dec_ut_api_module
...
add decoder UT module for API
2014-07-28 16:29:09 +08:00
huili2
adc7be9f01
add decoder UT module for API
2014-07-28 00:33:18 -07:00
zhilwang
4afb83e3b0
Merge pull request #1227 from mstorsjo/unify-asm-indentation
...
Unify the indentation in the new aarch64 assembly files
2014-07-28 15:33:01 +08:00
Martin Storsjö
ae62909aab
Unify the indentation in the new aarch64 assembly files
2014-07-28 09:23:36 +03:00
zhilwang
964e98fb76
Merge pull request #1226 from mstorsjo/arm64-fix-missing-endm
...
Add a missing .endm in the gnu version of macros
2014-07-28 14:20:49 +08:00
Martin Storsjö
3240a14baa
Add a missing .endm in the gnu version of macros
2014-07-28 09:01:24 +03:00
zhilwang
8fb6677266
Merge pull request #1225 from mstorsjo/fix-chmod
...
Clear the executable bit for new arm64 assembly source files
2014-07-28 13:49:08 +08:00
Martin Storsjö
79276c38dd
Clear the executable bit for new arm64 assembly source files
2014-07-28 08:29:01 +03:00
syureyi
4335167792
change the /sdcard/ and also alignment format
2014-07-28 13:25:27 +08:00
HaiboZhu
39d490b23d
Merge pull request #1224 from huili2/ec_flag_modif
...
modify EC API name and remove useless flag
2014-07-28 13:06:23 +08:00
huili2
933c477717
modify EC API name and remove useless flag
2014-07-27 21:35:26 -07:00
huili2
8e2d92e5c9
Merge pull request #1218 from zhilwang/arm64_vaa
...
Arm64 vaa
2014-07-28 09:30:16 +08:00
ruil2
91bbd18d2e
Merge pull request #1222 from mstorsjo/fix-test-valid-size
...
Don't set iPicWidth or iPicHeight to 0 in random tests
2014-07-26 10:23:59 +08:00
Martin Storsjö
6543900747
Don't set iPicWidth or iPicHeight to 0 in random tests
...
This should fix occasional failures in the EncoderInterfaceTests,
such as in https://travis-ci.org/cisco/openh264/jobs/30815104 .
2014-07-25 20:14:55 +03:00
huili2
e286144524
Merge pull request #1220 from ruil2/interface_ut
...
add encoder interface ut
2014-07-25 17:41:38 +08:00
ruil2
e58de20f3a
add encoder interface ut
2014-07-25 16:40:14 +08:00
syureyi
b53f8909de
astyle
2014-07-25 14:41:06 +08:00
syureyi
30e510e307
ss
2014-07-25 14:37:14 +08:00
zhilwang
b1a76aa936
Merge pull request #1215 from mstorsjo/x86-asm-noexec-stack
...
Mark the x86 assembly object files as not requiring an executable stack
2014-07-25 14:15:17 +08:00
zhiliang wang
7932845674
Refine code style.
2014-07-25 14:07:24 +08:00
zhiliang wang
de624c0972
Add arm64 code for vaa.
2014-07-25 14:07:24 +08:00
syureyi
f78f395683
checking the scripits for unittest automatically on mobile
2014-07-25 14:05:36 +08:00
syureyi
a22d976b4e
checking the scripits for unittest automatically on mobile
2014-07-25 14:05:21 +08:00
zhilwang
6ba537bee5
Merge pull request #1203 from dongzha/AddAQArm64
...
add ARM64 Adaptative Quantization code and UT
2014-07-25 13:46:10 +08:00
huili2
8b3aa2d826
Merge pull request #1217 from ruil2/crash_update
...
fix crash bugs that too large size local varialbe will cause stack overflow
2014-07-25 13:09:32 +08:00
ruil2
4d0c832b47
Merge pull request #1216 from lyao2/ut_bs_commit3
...
add interface UT for RC and code refactor
2014-07-25 13:06:05 +08:00
ruil2
1c42743999
fix crash bugs that too large size local varialbe will cause stack overflow
2014-07-25 09:55:41 +08:00
ruil2
7624b360f0
Merge pull request #1214 from mstorsjo/use-min-qp
...
Actually use iMinQp in WelRcPictureInitBufferBasedQp
2014-07-25 09:47:15 +08:00
huili2
a8286234bb
Merge pull request #1204 from syureyi/mobile_AT
...
Mobile at
2014-07-25 08:52:20 +08:00
Martin Storsjö
d5a45ec513
Mark the x86 assembly object files as not requiring an executable stack
...
This avoids having to add extra linker flags in order to specify this.
This is similar to how this already is handled for the arm assembly.
2014-07-25 00:56:39 +03:00
Martin Storsjö
a365b42d3b
Consistently use -f elf instead of -f elf32
...
The freebsd platform file already did things like this.
2014-07-25 00:54:13 +03:00
Martin Storsjö
d215a5f879
Actually use iMinQp in WelRcPictureInitBufferBasedQp
...
This fixes a warning in certain builds, about the variable iMinQp
being set but not used. This also probably is what was intended originally.
2014-07-25 00:46:35 +03:00
Ethan Hugg
ab1778a523
Merge pull request #1213 from jld/noexecstack
...
Don't request executable stacks for Linux GMP plugin.
2014-07-24 11:31:54 -07:00
Jed Davis
cf0ac5504b
Don't request executable stacks for Linux GMP plugin.
...
The codec seems to work without executable stack memory, and in general
executable stacks should be avoided if possible, but the assembler used
for the .asm source files requests it. This commit adds a linker option
to override that.
2014-07-24 10:55:03 -07:00
Ethan Hugg
ed4db186a1
Merge pull request #1207 from mstorsjo/android-compiler-check
...
Check that a working android toolchain was found
2014-07-24 08:20:16 -07:00
Ethan Hugg
0b80b7fa79
Merge pull request #1206 from mstorsjo/version-generate-deps
...
Fix generating version.h in parallel make builds (make -jX)
2014-07-24 08:18:56 -07:00
Martin Storsjö
4433740722
Fix the name of the version generation makefile target
2014-07-24 17:02:40 +03:00
Martin Storsjö
8253049383
Add dependencies to generating version.h in the object files that use it
...
Previously the makefile didn't know that there was any dependency between
compiling welsDecoderExt.o and welsEncoderExt.o and the regeneration
of the version.h header. This meant that in parallel builds (make -jX),
make could try to regenerate version.h while compiling welsDecoderExt.o
and welsEncoderExt.o, which would lead to errors about version.h not
existing.
Also add some spacing around the makefile rules.
This fixes parallel make building in certain cases.
2014-07-24 17:02:40 +03:00
jesup
300cceaabf
Merge pull request #1211 from ethanhugg/ff34-apichanges
...
Update for new GMP API changes in FF34
2014-07-24 09:23:46 -04:00
Ethan Hugg
06d92c4ed1
Update for new GMP API changes in FF34
2014-07-24 05:38:21 -07:00
lyao2
562f38afff
add interface UT for RC and code refactor
2014-07-24 17:27:55 +08:00
Martin Storsjö
33a7e02261
Check that a working android toolchain was found
...
If the user selects a nonexistent ARCH, previously the call that
sets TOOLCHAINPREFIX would set it to contain a long error message,
which makes it quite hard to figure out what actually went wrong.
Instead check that CXX=$(TOLCHAINPREFIX)g++ actually points to a
working executable, and abort immediately if this isn't true.
2014-07-24 01:09:45 +03:00
huili2
470246c20f
Merge pull request #1195 from mstorsjo/msvc-unify-linker-opts
...
Set MSVC linker debug options consistently in the project files
2014-07-23 13:29:14 +08:00
HFVideoMac
910c64ef22
add ARM64 Adaptative Quantization code and UT
2014-07-22 15:07:25 +08:00
syureyi
c12cf3b2a0
add .gitignore and also typo
2014-07-22 14:01:27 +08:00
dongzha
5397265021
Merge pull request #1202 from zhilwang/processing-refine
...
Add arm64 downsample code to processing project
2014-07-22 13:01:51 +08:00
Ethan Hugg
7847f69eab
Merge pull request #1200 from ruil2/decoder_ret_1
...
add decoder return value
2014-07-21 19:37:58 -07:00
zhiliang wang
e2425df06c
Add arm64 downsample code to processing project
2014-07-22 10:16:55 +08:00
ruil2
78650363b8
add decoder return value
2014-07-22 09:43:18 +08:00
syureyi
9b11f25300
also format the file
2014-07-21 16:26:33 +08:00
syureyi
f3a5655754
also delete spaces
2014-07-21 16:15:03 +08:00
syureyi
69be28bd1b
delete spaces in the file
2014-07-21 16:09:05 +08:00
zhilwang
123b904f77
Merge pull request #1199 from dongzha/AddResArm64master
...
Add Unit Test and ARM64 code for block_add (for master)
2014-07-21 15:41:39 +08:00
syureyi
a555639dd2
check in the code for do codec performance testing on mobile
2014-07-21 15:31:43 +08:00
HFVideoMac
0d1699b67f
Add Unit Test and ARM64 code for block_add
2014-07-21 14:37:52 +08:00
zhilwang
9ac7cd2816
Merge pull request #1191 from mstorsjo/merge-encdemo-include-paths
...
Set the encDemo header paths on the target level
2014-07-18 17:01:46 +08:00
zhilwang
3797aa1a14
Merge pull request #1194 from mstorsjo/msvc-simplify-output-dirs
...
Use macros for setting the output directory in MSVC project files
2014-07-18 16:59:28 +08:00
zhilwang
811e20f0d9
Merge pull request #1185 from mstorsjo/android-l-preview
...
Fix building for the Android L preview release, add support for new 64 bit Android ABIs
2014-07-18 16:56:22 +08:00
Martin Storsjö
71e59fd31c
Set MSVC linker debug options consistently in the project files
2014-07-18 11:26:26 +03:00
Martin Storsjö
f26c7e3f4f
Use macros for setting the output directory
...
This makes sure this is set to the exact same string in all
the configurations, simplifying editing multiple configurations
at the same time.
This changes the output directory for 64 bit binaries from
bin/win64 to bin/x64, but this is the common pattern used by
MSVC in new projects.
2014-07-18 11:23:48 +03:00
huili2
7e3812c970
Merge pull request #1148 from mstorsjo/dont-hardcode-xcode-archs
...
Don't hardcode the valid architectures in one xcode project
2014-07-18 09:24:31 +08:00
huili2
2627c05117
Merge pull request #1130 from mstorsjo/default-intermediates-path
...
Use default paths for and object files and other intermediate files
2014-07-18 09:23:30 +08:00
jesup
6b67aa3516
Merge pull request #1192 from ethanhugg/info-file
...
Update info file for bugzilla 1037754 - no longer need to advertise VP8.
2014-07-17 16:37:38 -04:00
Martin Storsjö
8d22836ecd
Set the encDemo header paths on the target level
...
Currently half of them are set on the project level, and half of them
on the target level.
In all other projects within OpenH264, they're set on the target level.
2014-07-17 17:41:06 +03:00
Ethan Hugg
df8623dce1
Merge pull request #1149 from mstorsjo/unify-build-active-arch
...
Unify the setting "Build Active Architecture Only"
2014-07-17 07:18:24 -07:00
Martin Storsjö
fa8e56e944
Unify the setting "Build Active Architecture Only"
...
Set it to Yes in Debug configurations, set on the project level
(not at the target level).
2014-07-17 12:36:49 +03:00
huili2
288e2b3cdf
Merge pull request #1188 from ruil2/trace_tag
...
fix reference frame update issue which will casue crash
2014-07-17 13:40:31 +08:00
ruil2
63e3c6588a
fix reference frame update issue which will casue crash
2014-07-17 12:45:17 +08:00
dongzha
a0320dac5d
Merge pull request #1186 from huili2/diff_logic_WME_master
...
modify the logic for WME usage
2014-07-17 10:43:49 +08:00
dongzha
74b52e8a31
Merge pull request #1183 from ruil2/trace_tag
...
add trace tag
2014-07-17 10:43:14 +08:00
ruil2
ef7cce3d14
modify trace output
2014-07-17 10:09:52 +08:00
huili2
a0e569da81
modify the logic for WME usage
2014-07-16 18:14:53 -07:00
dongzha
396249fedc
Merge pull request #1171 from shihuade/ReleaseV2.2
...
update binary comparison test script
2014-07-17 08:43:14 +08:00
dongzha
cd026ef166
Merge pull request #1152 from mstorsjo/xcode-inherit-include-paths
...
Include inherited header search paths in all projects
2014-07-17 08:42:15 +08:00
dongzha
2db10df5c6
Merge pull request #1180 from huili2/dpb_green_issue_master
...
solve green issue combined with EC and multi-packet input
2014-07-17 08:41:27 +08:00
dongzha
2a83a85eb7
Merge pull request #1151 from mstorsjo/unify-deployment-target
...
Set the iOS deployment target consistently
2014-07-17 08:40:39 +08:00
Ethan Hugg
948356993b
Update info file for bugzilla 1037754 - no longer need to advertise VP8.
2014-07-16 13:40:28 -07:00
Ethan Hugg
990bdda615
Merge pull request #1181 from mstorsjo/generate-version
...
Fix generating the version header when building outside of the source tree
2014-07-16 13:19:11 -07:00
Martin Storsjö
22f04159bb
Fix incorrect indentation in build/platform-android.mk
2014-07-16 21:33:14 +03:00
Martin Storsjö
04f066ae7c
Add support for building for the new 64 bit android ABIs
...
This requires the new NDK r10.
The mips64 ABI is handled by the default case, there's no need to
add custom code for that in platform-android.mk.
2014-07-16 21:32:54 +03:00
Martin Storsjö
9aaeef9264
Manually define the SWelsTime struct on unix, don't rely on struct timeb
...
We don't use the ftime function on unix for filling SWelsTime anyway,
we fill the time and millitm fields manually.
On android, the sys/timeb.h header has been removed in the next
platform version (currently available in NDK r10 in the "L preview"
release), since this header and the ftime function have been removed
from the POSIX 2008 specification.
This fixes compilation when targeting the Android "L preview" release,
even when targeting the 32 bit ABIs.
2014-07-16 21:32:18 +03:00
Martin Storsjö
6966679f33
Remove unused includes of sys/timeb.h
...
This header is included by crt_util_safe_x.h whenever necessary (it's
all hidden in the SWelsTime struct) - code which does not explicitly
use things from sys/timeb.h shouldn't include it.
2014-07-16 21:31:07 +03:00
Martin Storsjö
71c5acc7a1
Remove outdated advice from the readme
...
We no longer use the GCCVERSION variable - we let the NDK pick whichever
compiler version is the default for the chosen architecture.
2014-07-16 21:28:01 +03:00
ruil2
b9058e4987
add trace tag
2014-07-16 16:49:53 +08:00
Martin Storsjö
93e9694bc6
Fix generating the version header when building outside of the source tree
...
Also silence this command in silent builds.
2014-07-16 10:40:45 +03:00
huili2
efdb0cd2e2
Merge pull request #1175 from ruil2/scc_ut
...
enable hashcode verification for screen content
2014-07-16 14:00:16 +08:00
huili2
e63dad0b6c
Merge pull request #1172 from ruil2/pause_remove
...
remove pause frame interface which will be done in application level
2014-07-16 13:57:46 +08:00
ruil2
29bb1df645
Merge pull request #1177 from huili2/version_all
...
version-generate
2014-07-16 10:35:20 +08:00
ruil2
f94a20d7b5
Merge pull request #1174 from huili2/border_green_master
...
expand pic for EC
2014-07-16 10:01:02 +08:00
Ethan Hugg
5c3e16842d
Merge pull request #1141 from mstorsjo/outoftree
...
Support building outside of the source tree
2014-07-15 12:33:04 -07:00
Martin Storsjö
27499895f7
Support building outside of the source tree
...
This allows building two versions for different architectures at
the same time, without the built files clobbering each other.
This is very helpful when trying to track down differences between
two build configurations.
To build outside of the source tree, create the other directory to
use for building (either outside of the openh264 directory, or as
a subdirectory), enter that directory, and do
"make -f path/to/openh264/Makefile".
2014-07-15 20:40:51 +03:00
shihuade
c1a9beeab8
update binary comparison test script
2014-07-15 06:42:42 -04:00
Martin Storsjö
c9a6482fc6
Use default paths for and object files and other intermediate files
...
This makes sure that one can build for all architectures without
having the intermediates from one clobber the other.
2014-07-15 13:00:56 +03:00
huili2
9626596421
Merge pull request #1143 from mstorsjo/remove-stray-option
...
Remove a stray option set on only one MSVC project
2014-07-15 17:56:38 +08:00
huili2
b7ea251e95
Merge pull request #1142 from mstorsjo/remove-unused-hardcoded-paths
...
Don't set a custom path to browse information files, when no browse information is generated
2014-07-15 17:55:46 +08:00
huili2
d7f3331c9d
solve green issue combined with EC and multi-packet input
2014-07-15 02:51:20 -07:00
huili2
7f36b244f7
Merge pull request #1158 from HaiboZhu/Debug_codenomicon_3_015584
...
Debug for InitRefPicList
2014-07-15 17:50:51 +08:00
ruil2
832bf7c45d
Merge pull request #1176 from lyao2/ut_memcheck
...
add interface UT for memory align check
2014-07-15 16:37:27 +08:00
lyao2
d633f8584a
add interface UT for memory align check
2014-07-15 15:21:54 +08:00
ruil2
aaedb508c3
enable hashcode verification for screen content
2014-07-15 14:41:29 +08:00
huili2
333cf6aa97
version-generate
2014-07-14 23:39:31 -07:00
huili2
b02f75f608
expand pic for EC
2014-07-14 23:28:46 -07:00
ruil2
010e423b2b
Merge pull request #1169 from sijchen/interfaceUT12
...
[Encoder UT] Interface: EncoderEncodeParameterSets
2014-07-15 14:20:18 +08:00
ruil2
3632a0331c
remove pause frame interface which will be done in application level
2014-07-15 11:05:05 +08:00
ruil2
4a518655a6
Merge pull request #1170 from huili2/reuse_no_param_master
...
reuse dsNoParamSets in dec
2014-07-15 10:40:33 +08:00
huili2
c4fc6642cf
reuse dsNoParamSets in dec
2014-07-14 18:47:40 -07:00
Ethan Hugg
2791929e03
Merge pull request #1167 from mstorsjo/remove-unused-variable
...
Remove an unused variable
2014-07-14 07:54:54 -07:00
Ethan Hugg
b6b7bb7680
Merge pull request #1153 from mstorsjo/silence-error-testing
...
Silence error logging while running tests that are intended to produce errors
2014-07-14 07:53:45 -07:00
Martin Storsjö
110ce9ceca
Remove an unused variable
...
This fixes build warnings with clang on OS X.
2014-07-14 15:44:26 +03:00
Sijia Chen
b669801e89
add interface UT for WelsEncoderEncodeParameterSets
...
and fix previous value
2014-07-14 18:36:35 +08:00
lyao2
3a37586970
Merge pull request #1162 from sijchen/interfaceUT11
...
[Encoder] add interface UT for ForceIntraFrame
2014-07-14 16:10:20 +08:00
Sijia Chen
d1123a8bb1
remove blank lines
2014-07-14 15:34:40 +08:00
Sijia Chen
bc76a8f9b3
add interface UT for ForceIntraFrame
2014-07-14 15:30:01 +08:00
huili2
c36f864682
Merge pull request #1159 from ruil2/scc_rc_1
...
add buffer based rc
2014-07-14 14:21:11 +08:00
ruil2
36cfb3bd32
add buffer based rc
2014-07-14 13:57:03 +08:00
ruil2
4cdee3b2d1
Merge pull request #1150 from mstorsjo/unify-sdk-setting
...
Don't hardcode the sdk on the target level
2014-07-12 16:02:49 +08:00
ruil2
bd560b474a
Merge pull request #1147 from mstorsjo/avoid-hardcoded-xcode-paths
...
Don't hardcode an include path to the xcode default toolchain
2014-07-12 16:02:20 +08:00
Ethan Hugg
d49e7208fb
Merge pull request #1155 from ethanhugg/gmpapi-ff33
...
Updated to match gmp-api changes for Firefox33
2014-07-11 12:00:06 -07:00
Ethan Hugg
ee4166ebea
Merge pull request #1154 from mstorsjo/runtest-abort-errors
...
Abort directly on errors in the unit test in run_Test.sh
2014-07-11 09:00:49 -07:00
Ethan Hugg
3bc9b47465
Changed gmp-api branch to master and astyled the changes.
2014-07-11 08:42:51 -07:00
Ethan Hugg
1acb0fb89f
Updated to match gmp-api changes for Firefox33
2014-07-11 08:29:02 -07:00
Martin Storsjö
0ee2562004
Silence error logging while running tests that are intended to produce errors
...
The errors in the test log are distracting, making it look like
a test actually failed.
2014-07-11 12:47:52 +03:00
Martin Storsjö
db476bac57
Abort directly on errors in the unit test in run_Test.sh
...
Currently it runs all four unit test builds, and an error in any
of the earlier three ones will be missed as long as the fourth one
succeeds.
2014-07-11 12:31:19 +03:00
Martin Storsjö
edb9872473
Include inherited header search paths in all projects
2014-07-11 11:41:23 +03:00
Martin Storsjö
301ccb1081
Set the iOS deployment target consistently
...
Set it on the project level, don't override it on the target level.
Set the deployment target to 6.0 everywhere.
2014-07-11 11:39:08 +03:00
Martin Storsjö
c0c51eb73e
Don't hardcode the sdk on the target level
...
It's already set on the project level, and this is the default
value anyway.
This was the only project where the sdk was set on the target level.
2014-07-11 11:27:22 +03:00
Martin Storsjö
e9610e465e
Don't hardcode the valid architectures in one xcode project
...
There's no reason to hardcode these here - these are the default.
(We keep the intentionally hardcoded default arch in the
codec_unittest project though.)
2014-07-11 11:20:10 +03:00
Martin Storsjö
b63b13e6f0
Don't hardcode an include path to the xcode default toolchain
...
The necessary system include paths are already inherited, and manually
forcing this location can cause conflicts if using different versions
of xcode installed in parallel.
None of the other xcode projects hardcode this path.
2014-07-11 11:11:32 +03:00
huili2
140a67dfc9
Merge pull request #1144 from syureyi/openh264xcode
...
add openh264 xcode and adjust processing xcode project
2014-07-11 15:33:41 +08:00
lyao2
e02f5ba3cd
Merge pull request #1145 from sijchen/interfaceUT11
...
add BasicInitialize UT and fix in existing interface test
2014-07-11 14:04:29 +08:00
Haibo Zhu
cbc5f3bf4b
Remove the call function parameter.
2014-07-10 22:54:35 -07:00
Sijia Chen
99dc18c0ba
add BasicInitialize UT and some fix in create/destroy encoder in the existing interface test
2014-07-11 13:50:58 +08:00
Haibo Zhu
79891067e9
Debug for codenomicon bits, when one picture contains diff types of slices(I, P),may request null ref list.
2014-07-10 20:17:18 -07:00
syureyi
a3800d205d
add openh264 xcode and adjust processing xcode project
2014-07-10 20:47:27 -06:00
dongzha
da0f65ea0a
Merge pull request #1140 from zhilwang/x86_64-downsample
...
Add X86 64bit asm code for downsample
2014-07-11 08:48:45 +08:00
huili2
6310017877
Merge pull request #1139 from huili2/parse_fail_master
...
add return info for all cases
2014-07-10 17:48:18 +08:00
ruil2
c72f82e7a7
Revert "turn off LTR for screen content. after checking LTR logic, will turn on"
...
This reverts commit 0fda3d9235 .
2014-07-10 16:20:54 +08:00
Martin Storsjö
0dc2c3b031
Remove a stray option set on only one MSVC project
...
No other projects create browse information, and browse information
for the decConsole project alone doesn't help much. This is also
only enabled in debug mode, further indicating that this option is
only enabled accidentally, not by purpose.
2014-07-10 10:16:58 +03:00
Martin Storsjö
21691a6741
Don't set a custom path to browse information files, when no browse information is generated
...
These projects never had browse information generation enabled.
2014-07-10 10:15:30 +03:00
zhilwang
d4baad0dcb
Merge pull request #1134 from mstorsjo/aarch64-ext
...
Use the correct syntax for the aarch64 ext instructions
2014-07-10 14:17:17 +08:00
huili2
209c607020
add return info for all cases
2014-07-09 23:06:40 -07:00
Martin Storsjö
d5c71dbe2f
Use the correct syntax for the aarch64 ext instructions
...
Since Xcode 5.1, the apple tools actually support using the
official, correct syntax for the ext instructions. This syntax
is already used in a number of places already - use it consistently,
and get rid of the compatibility hacks.
2014-07-10 08:53:41 +03:00
huili2
019fb9e20e
Merge pull request #1132 from mstorsjo/unify-encoder-opts
...
Unify optimization options within the encoder MSVC projects
2014-07-10 13:50:48 +08:00
dongzha
0cafc565be
Merge pull request #1121 from ruil2/interface_update_1
...
interface update
2014-07-10 10:15:30 +08:00
zhiliang wang
eaf7d65518
Align C version to asm function.
2014-07-10 09:38:07 +08:00
ruil2
0110e5df55
Merge pull request #1137 from ethanhugg/gmpapi-bybranch32
...
Pull gmp-api by branch name
2014-07-10 09:33:19 +08:00
ruil2
4edc5f60a1
Merge pull request #1126 from mstorsjo/android-simplify
...
Avoid repeated code for getting the android toolchain prefix
2014-07-10 09:31:57 +08:00
ruil2
7bb422803d
Merge pull request #1131 from mstorsjo/avoid-hardcoding-paths
...
Use $(OutDir) instead of hardcoding the directory name
2014-07-10 09:30:37 +08:00
ruil2
2531e26da1
Merge pull request #1133 from dongzha/SpeedupArm64Neon
...
speed up memory loading in arm64 MC
2014-07-10 09:29:47 +08:00
ruil2
d070f9e7f2
Merge pull request #1135 from mstorsjo/msvc-make-debug-option
...
Set -Zi instead of -ZI when building with MSVC in debug mode
2014-07-10 09:28:29 +08:00
ruil2
1dd5a7a866
Merge pull request #1119 from mstorsjo/update-gitignore
...
Ignore files produced by the new binary comparison tool
2014-07-10 09:28:12 +08:00
ruil2
70e9ff3a33
Merge pull request #1128 from mstorsjo/reduce-prepare-compilation
...
Only build the needed binaries in run_PrepareAllTestData.sh
2014-07-10 09:27:20 +08:00
Ethan Hugg
17c14d44e2
Pull gmp-api by branch name
2014-07-09 14:51:16 -07:00
Martin Storsjö
a11fdcd647
Set -Zi instead of -ZI when building with MSVC in debug mode
...
The -ZI option is only supported when building for 32 bit x86,
when building for x64 or for arm, it gives the warning "/ZI is
not supported on this platform; enabling /Zi instead".
-ZI is for "edit & continue" debugging, which one probably wouldn't
be doing with a build outside of the IDE anyway, so keep it simple
instead of trying to set -ZI specifically for x86 32 bit builds.
2014-07-09 15:13:41 +03:00
dongzhang
beaf7c1893
speed up memory loading in arm64 MC
2014-07-09 18:22:42 +08:00
Martin Storsjö
e5eed1f65b
Remove stray optimization options from the WelsEncPlus project
...
There's not much performance critical code within this lib, all
the performance critical code in the encoder is in WelsEncCore and
WelsVP, so there's little point in having an extra odd option enabled
here.
2014-07-09 13:14:08 +03:00
Martin Storsjö
ac0e5cb7b4
Set optimizer options in WelsVP similarly to the other encoder projects
2014-07-09 13:13:59 +03:00
Martin Storsjö
013de2602a
Use $(OutDir) instead of hardcoding the directory name
...
This is how it is done in the other projects.
2014-07-09 13:12:12 +03:00
huili2
b86e1f00b2
Merge pull request #1127 from ruil2/temporal_bug_fix
...
fix bug when temporal layer changes
2014-07-09 17:26:59 +08:00
huili2
a29645cefe
Merge pull request #1125 from mstorsjo/remove-unused-options
...
Don't set custom build options for VCMIDLTool
2014-07-09 17:26:21 +08:00
huili2
e465cc8bc3
Merge pull request #1124 from mstorsjo/consistent-debug-options
...
Set DebugInformationFormat consistently in all projects
2014-07-09 17:25:58 +08:00
huili2
fb52509cee
Merge pull request #1122 from mstorsjo/remove-hardcoded-defaults
...
Remove some manually set options, that are set to the default value
2014-07-09 17:25:26 +08:00
huili2
9ccfea24a7
Merge pull request #1120 from mstorsjo/remove-nonexistent-paths
...
Remove unnecessarily set AdditionalLibraryDirectories
2014-07-09 17:24:41 +08:00
huili2
71617445df
Merge pull request #1123 from mstorsjo/remove-unused-pch-path
...
Don't set path to a precompiled header - precompiled headers are disabled
2014-07-09 17:24:17 +08:00
Martin Storsjö
73ccb74414
Only build the needed binaries in run_PrepareAllTestData.sh
...
Previously this did a full make, including all of gtest and the unit
test suite. This was done before every build, even for the binary
comparison tests which doesn't use the unit test.
This reduces the runtime of run_PrepareAllTestData.sh from 52 to 10
seconds in one setup.
2014-07-09 11:46:52 +03:00
ruil2
821483a4e9
fix bug when temporal layer changes
2014-07-09 16:43:58 +08:00
Martin Storsjö
6bf65da869
Avoid repeated code for getting the android toolchain prefix
2014-07-09 11:10:33 +03:00
Martin Storsjö
569033c091
Don't set custom build options for VCMIDLTool
...
This tool isn't even used in the build (and thus, these settings
aren't even visible in the IDE).
2014-07-09 10:48:15 +03:00
Martin Storsjö
46c4335cb5
Set DebugInformationFormat consistently in all projects
...
Use the "Program Database (/Zi)" in release mode and in debug
mode for x64, use "Program Database for Edit & Continue (/ZI)"
in debug mode for Win32.
This is how new visual studio projects are set by default.
2014-07-09 10:46:18 +03:00
Martin Storsjö
79f80ac7da
Don't set path to a precompiled header - precompiled headers are disabled
2014-07-09 10:43:57 +03:00
Martin Storsjö
3068814e90
Remove some manually set options, that are set to the default value
...
These are the only places where these options are overridden.
2014-07-09 10:42:32 +03:00
ruil2
45c2fff6b8
interface update
2014-07-09 15:41:04 +08:00
Martin Storsjö
fb47e529fc
Remove unnecessarily set AdditionalLibraryDirectories
...
Some of these even pointed to directories that don't exist (and
don't get created during the build process).
2014-07-09 10:35:54 +03:00
Martin Storsjö
53b79c0c1f
Ignore files produced by the new binary comparison tool
2014-07-09 10:30:05 +03:00
sijchen
2f53a08aba
Merge pull request #1109 from shihuade/Release2.0
...
add encoder binary comparison test model, reviewed at https://www.rbcommons.com/s/OpenH264/r/500
2014-07-09 12:59:20 +08:00
ruil2
6a54f9896b
Merge pull request #1117 from huili2/astyle_ut
...
astyle UT cpp files
2014-07-09 11:18:17 +08:00
ruil2
5861de98f5
Merge pull request #1116 from huili2/astyle_cpp
...
astyle all cpp files
2014-07-09 11:14:24 +08:00
huili2
70165d6843
astyle UT cpp files
2014-07-08 20:05:52 -07:00
huili2
adb0fa498f
astyle all cpp files
2014-07-08 20:01:42 -07:00
huili2
0dbdbfb53b
Merge pull request #1115 from huili2/dec_log_decrease
...
decrease dec log size
2014-07-09 10:59:56 +08:00
huili2
581f8fdf79
decrease dec log size
2014-07-08 19:46:01 -07:00
huili2
5f8822644f
Merge pull request #1108 from mstorsjo/regenerate-makefiles
...
Regenerate the targets.mk files
I'm not able to see the changes in rbcommons (strange), so directly look at here.
2014-07-09 10:14:04 +08:00
huili2
c2dd7df0f2
Merge pull request #1110 from mstorsjo/neon-deblock-fix
...
Check left/top flag instead of uiNeighborAvail in neon deblocking
2014-07-09 10:10:53 +08:00
huili2
6897398175
Merge pull request #1112 from huili2/EC_IDR_request
...
mark decoder always ECed status until correct IDR comes
2014-07-09 09:33:38 +08:00
huili2
7b9ae15482
Merge pull request #1114 from huili2/GREY
...
new IDR inserted as GREY
2014-07-09 09:33:06 +08:00
zhilwang
228ea1a668
Merge pull request #1101 from dongzha/AddArm64MBCopy
...
add arm64 MB COPY code and UT
2014-07-09 09:31:31 +08:00
zhilwang
ce740ee19e
Merge pull request #1113 from mstorsjo/asm-indent
...
Fix indentation of macros in reconstruct_aarc64_neon.S
2014-07-09 09:04:22 +08:00
zhilwang
1ae709dde0
Merge pull request #1106 from mstorsjo/fix-aarch64-hadamard
...
Fix WelsHadamardQuant2x2*_AArch64_neon
2014-07-09 09:03:14 +08:00
huili2
1a58488aeb
new IDR inserted as GREY
2014-07-08 17:58:23 -07:00
Martin Storsjö
cc8a2bd07e
Fix indentation of macros in reconstruct_aarc64_neon.S
2014-07-08 20:16:28 +03:00
shihuade
78771344b7
add encoder binary comparison test model
2014-07-08 13:15:57 -04:00
huili2
ce43674703
mark decoder always ECed status until correct IDR comes
2014-07-08 08:42:31 -07:00
zhilwang
6ff2b84736
Merge pull request #1107 from mstorsjo/fix-aarch64-gnu-build
...
Fix building for aarch64 with gnu binutils
2014-07-08 19:31:50 +08:00
zhiliang wang
ae12fbde1c
Add x86 64bit asm code for downsample
2014-07-08 19:25:31 +08:00
Martin Storsjö
e5abbdcdab
Check left/top flag instead of uiNeighborAvail in neon deblocking
...
When deblocking over slice edges (in single threaded sliced
encoding), uiNeighborAvail might say that a MB isn't available,
even though it is available for deblocking here.
This fixes the encoder test of dynamic slicing, with neon
optimizations enabled.
2014-07-08 13:53:28 +03:00
sijchen
ca61e286b4
Merge pull request #1104 from ruil2/rc_fix_1
...
turn off LTR for screen content. after checking LTR logic, will turn on
2014-07-08 16:48:19 +08:00
Martin Storsjö
7fc869cf0f
Regenerate the targets.mk files
...
This makes the indentation of some new lines consistent with the rest.
2014-07-08 11:42:05 +03:00
Martin Storsjö
03d9f07671
Fix WelsHadamardQuant2x2*_AArch64_neon
...
In WelsHadamardQuant2x2SkipKernel_AArch64_neon, write the output
of cmhi into v0 - this is the register that is assumed to hold
the output.
In WelsHadamardQuant2x2_AArch64_neon, subtract the count of zero
elements from 4, not from 16.
This makes the encoding unit tests pass again.
2014-07-08 11:36:40 +03:00
Martin Storsjö
86b3a999d5
Use mov.16b instead of mov.8h
...
According to the arm architecture reference manual, the mov (vector)
instruction can only use the arrangement specifiers '8b' and '16b'.
The apple tools still accept the '8h' form, but it assembles into the
same as '16b'. (When copying a vector register to another, the element
size in the vectors don't matter.)
This fixes building with gnu binutils.
2014-07-08 11:34:44 +03:00
Martin Storsjö
3a1cc63649
Don't use the non-standard apple syntax in a gnu version of a macro
2014-07-08 11:34:44 +03:00
ruil2
0fda3d9235
turn off LTR for screen content. after checking LTR logic, will turn on
...
it
2014-07-08 16:15:51 +08:00
huili2
c228c51423
Merge pull request #1102 from ruil2/rc_fix_1
...
add skip frame processing for screen content
2014-07-08 16:14:01 +08:00
ruil2
8bdf6abe59
Merge pull request #1103 from sijchen/log_clean
...
[Encoder] extend log level and remove unnecessary info log
2014-07-08 16:03:11 +08:00
Sijia Chen
0a6819c0b7
remove unnecessary log output
2014-07-08 15:43:15 +08:00
ruil2
d98cefecec
add skip frame processing for screen content
2014-07-08 14:41:34 +08:00
dongzha
09b95ad0bd
Merge pull request #1100 from mstorsjo/fix-include-spacing
...
Fix spacing in include directives
2014-07-08 14:29:48 +08:00
dongzhang
249b8a0aa6
add arm64 MB COPY code and UT
2014-07-08 14:22:14 +08:00
Martin Storsjö
fba362d1de
Fix spacing in include directives
...
Astyle doesn't change the spacing here, but make it consistent with
all the other files.
2014-07-08 09:01:42 +03:00
zhilwang
c1a24d52f5
Merge pull request #1099 from mstorsjo/fix-chmod
...
Remove the executable bit from new assembly source files
2014-07-08 13:59:05 +08:00
zhilwang
4d9c8de5a5
Merge pull request #1098 from dongzha/AddCPMBARM64
...
add MemoryZero Arm64 code and UT
2014-07-08 13:49:07 +08:00
Martin Storsjö
01835134ee
Remove the executable bit from new assembly source files
2014-07-08 08:46:44 +03:00
dongzhang
eace9b7b00
add MemoryZero Arm64 code and UT
2014-07-08 12:52:48 +08:00
dongzha
95ac333f3b
Merge pull request #1097 from dongzha/FixRecUT
...
add reconstruct UT input limitation
2014-07-08 12:51:51 +08:00
dongzha
6489e7b38a
Merge pull request #1096 from huili2/early_stop_parse_rec_bug
...
stop early error for parse/recon MB
2014-07-08 12:49:42 +08:00
dongzhang
9b753c9c39
add reconstruct UT input limitation
2014-07-08 12:33:14 +08:00
huili2
1ec213d5a7
stop early error for parse/recon MB
2014-07-07 21:27:44 -07:00
dongzha
e66cf5369e
Merge pull request #1091 from zhilwang/arm64-downsample
...
Add arm64 code for downsample.
2014-07-08 10:31:40 +08:00
huili2
9a68572240
Merge pull request #1092 from dongzha/AddRecARM64CodeAndUT
...
Add ARM64 Code and UnitTest for reconstruction
2014-07-08 10:31:22 +08:00
ruil2
589e40aa67
Merge pull request #1094 from huili2/ec_grey_replace_green
...
use grey instead of green in EC without ref
2014-07-07 17:39:37 +08:00
huili2
fb6379eeb1
use grey instead of green in EC without ref
2014-07-07 02:24:51 -07:00
sijchen
76b488a60d
Merge pull request #1095 from ruil2/rc_fix_1
...
bEnableSceneChangeDetect should be true for screen content
2014-07-07 17:07:37 +08:00
ruil2
b52aff7225
bEnableSceneChangeDetect should be true for screen content
2014-07-07 16:53:49 +08:00
HaiboZhu
f22a9e890f
Merge pull request #1093 from huili2/ec_return_error
...
LTR feedback check in decoder
2014-07-07 15:58:20 +08:00
dongzhang
d88b83df44
Add ARM64 Code and UnitTest for reconstruction
2014-07-07 15:31:46 +08:00
zhiliang wang
5cb66bd8a7
Add arm64 code for downsample.
2014-07-07 10:25:23 +08:00
huili2
60314ff570
LTR feedback check in decoder
2014-07-06 19:17:50 -07:00
huili2
5a60d0fef4
Merge pull request #1090 from HaiboZhu/Debug_ExpandBsBuffer
...
Remove warning
2014-07-07 10:17:41 +08:00
Haibo Zhu
863852259d
Remove warning
2014-07-06 19:04:59 -07:00
huili2
f638546d81
Merge pull request #1089 from ruil2/rc_fix_1
...
add some protection on rc module
2014-07-05 17:17:32 +08:00
ruil2
9015bd4049
fix typo
2014-07-05 17:08:38 +08:00
ruil2
21e3e81536
add some protection on rc module
2014-07-05 17:04:14 +08:00
ruil2
7cfce53f53
Merge pull request #1084 from JuannyWang/maxbr_refine
...
modify console for disable delay skip if maxbr==0
2014-07-05 14:12:55 +08:00
HaiboZhu
0ad30516c5
Merge pull request #1088 from huili2/crash_dpb_ec
...
dpb uninitial crash for EC
2014-07-05 13:24:10 +08:00
huili2
f1a0a81226
dpb uninitial crash for EC
2014-07-04 20:40:41 -07:00
huili2
ab41e69a5e
Merge pull request #1087 from HaiboZhu/Debug_ExpandBsBuffer
...
Debug about the ExpandBsBuffer (have no Bs buffer offset reset)
2014-07-04 22:28:20 +08:00
zhilwang
821ff96c70
Merge pull request #1085 from mstorsjo/fix-msvc-autobuild-script
...
Fix running the MSVC autobuild bat script
2014-07-04 21:40:08 +08:00
Martin Storsjö
c2cde65ac9
Explicitly mention WelsVP.lib as an additional dependency
...
This fixes building welsenc.dll from AutoBuild_Windows_VS2008.bat,
since the project interdependencies aren't taken into account
automatically in the linker commands when building one project at a
time.
2014-07-04 15:11:47 +03:00
Martin Storsjö
3c584cd2c4
Fix a path in the MSVC autobuild bat script
2014-07-04 15:11:39 +03:00
Haibo Zhu
8e400f19d2
Debug about the ExpandBsBuffer (have no Bs buffer offset reset)
2014-07-04 04:19:16 -07:00
ruil2
ee425ec785
Merge pull request #1083 from JuannyWang/maxbr_refine
...
disable delay skip if maxbr==0 (that means no maxbr setting from upper layer)
2014-07-04 18:45:09 +08:00
JuannyWang
c05e1ad797
modify console for disable delay skip if maxbr==0
2014-07-04 18:44:03 +08:00
ruil2
aa1786254a
Merge pull request #1082 from mstorsjo/msvc-ltcg
...
Enable whole program optimization for both decoder and encoder MSVC projects
2014-07-04 18:40:36 +08:00
JuannyWang
24cd5afa33
disable delay skip if maxbr=0 which means no maxbr setting from upper layer
2014-07-04 18:25:55 +08:00
Martin Storsjö
31e3884a68
Enable whole program optimization for both decoder and encoder MSVC projects
...
Enable it on the project level, instead of having to set separate options
for both compiler and linker.
The processing project actually had the options set in this way originally
as well.
2014-07-04 11:59:45 +03:00
ruil2
0fa845ed27
Merge pull request #1081 from sijchen/scc_param_valid
...
avoid using AQ which is untuned for screen route
2014-07-04 16:35:02 +08:00
huili2
ef0c3e2b91
Merge pull request #1075 from HaiboZhu/Debug_InvHadamard_Chroma
...
Debug for chroma inv-hadamard dequant mismatch error
2014-07-04 13:49:36 +08:00
HaiboZhu
5dbd3f01ea
Merge pull request #1080 from huili2/enable_ASM_EC
...
add missing ASM in EC
2014-07-04 13:46:46 +08:00
sijchen
10804f316e
avoid using AQ which is untuned for screen route
2014-07-04 11:02:24 +08:00
ruil2
9506f71b43
Merge pull request #1060 from mstorsjo/loopfilter-multithreading
...
Only force iLoopFilterDisableIdc to 2 if multithreading has been enabled
2014-07-04 10:43:41 +08:00
sijchen
fb4c907ecb
Merge pull request #1076 from lyao2/RCdiv
...
refactor code to eliminate potential div by 0, review at: https://rbcommons.com/s/OpenH264/r/595/
2014-07-04 10:31:38 +08:00
ruil2
2bb23a79ed
Merge pull request #1061 from mstorsjo/welsenc-init-defaults
...
Use GetDefaultParams instead of memset to initialize SEncParamExt in the console test app
2014-07-04 10:21:36 +08:00
huili2
3f5f0d6a57
add missing ASM in EC
2014-07-03 18:43:52 -07:00
Haibo Zhu
da75e15b4a
Modify the unit test for WelsDequantIHadamard2x2Dc
2014-07-03 18:40:12 -07:00
Ethan Hugg
35b739c754
Merge pull request #1079 from mstorsjo/linker-flags
...
Don't pass -L. to the MSVC linker
2014-07-03 12:35:21 -07:00
Martin Storsjö
d9f12135d4
Don't pass -L. to the MSVC linker
...
This avoids warnings - this parameter isn't necessary on MSVC.
2014-07-03 22:05:55 +03:00
Ethan Hugg
58576712fa
Merge pull request #1063 from mstorsjo/unify-makefile
...
Use += for all submodules INCLUDE variables
2014-07-03 12:00:13 -07:00
Ethan Hugg
f1710e6efb
Merge pull request #1074 from mstorsjo/simplify-travis
...
Simplify the travis configuration, reduce duplicated rebuilds
2014-07-03 09:50:50 -07:00
Martin Storsjö
ab866bef09
Simplify the travis configuration, reduce duplicated rebuilds
...
The -B make option rebuilds everything from scratch - thus a "make -B",
"make -B test" sequence would first build everything from scratch, then
rebuild (almost) everything and run the tests.
The previous sequence, with "make -B test" without specifying
BUILDTYPE=Debug, meant that it rebuilt a new release build instead
and tested that, thus never actually testing the debug build.
This should reduce the time used for compilation in travis runs
to less than half.
Also explicitly specify BUILDTYPE=Release, for clarity.
2014-07-03 10:43:15 +03:00
dongzha
b9de87ea5d
Merge pull request #1077 from mstorsjo/fix-test-out-of-bounds-access
...
Avoid writing in array index [-1] in DecUT_IntraPrediction
2014-07-03 01:42:43 -06:00
Martin Storsjö
292d78db5c
Avoid writing in array index [-1] in DecUT_IntraPrediction
...
This fixes running the tests when built with clang in debug mode.
This was accidentally broken in 6e815e708 when switched to using
ENFORCE_STACK_ALIGN_1D instead of manually aligning the buffers.
Previously the aligned pointer always had at least 16 bytes of
extra space in the stack before the pointer, so using [-1] was ok,
while now when using ENFORCE_STACK_ALIGN_1D, it's only guaranteed
that the pointer itself is aligned, but not that there's any extra
space before the pointer. Therefore, we need to manually offset
everything by one kiStride extra. (This already was accounted for
in the total number of bytes allocated for the array.)
2014-07-03 10:20:42 +03:00
lyao2
21deaddc48
refactor code to eliminate potential div by 0
2014-07-03 15:01:48 +08:00
Haibo Zhu
e0ba5cd9f3
Debug for Chroma InvHadamard Dequant error
2014-07-02 23:36:44 -07:00
zhilwang
ba7dca89d5
Merge pull request #1070 from mstorsjo/remove-unused-function
...
Remove an unused function in mktargets.py
2014-07-03 13:48:21 +08:00
zhilwang
56edea9bcd
Merge pull request #1066 from mstorsjo/android-cpufeatures-dir
...
Build the android cpu-features.o file in codec/common/src
2014-07-03 13:47:14 +08:00
zhilwang
0ef26d6a3f
Merge pull request #1068 from mstorsjo/android-clean
...
Ignore failures in cleaning android projects
2014-07-03 13:46:59 +08:00
Martin Storsjö
6e40991cc7
Only force iLoopFilterDisableIdc to 2 if multithreading has been enabled
...
Previously these lines were within an #ifdef MT_ENABLED block,
but now that threading is enabled by default, we should probably
only do it if threading has been requested.
2014-07-03 08:38:23 +03:00
ruil2
2c250179dc
Merge pull request #1071 from ganyangbbl/typo_bug
...
fix a typo issue in ParamValidation
2014-07-03 11:23:33 +08:00
ruil2
f245dc34ff
Merge pull request #1062 from sijchen/scc_md_bgd1
...
fix BGD under screen and remove a build warning in ME
2014-07-03 11:23:17 +08:00
ganyang
01559a684e
fix a typo issue in ParamValidation
2014-07-03 11:02:09 +08:00
Sijia Chen
49fb042f21
add bgd fix to camera route as well to avoid visible artifact when using fake content in video
2014-07-03 11:01:02 +08:00
zhilwang
782e94b05c
Merge pull request #1065 from mstorsjo/remove-old-includes
...
Remove leftover include directories
2014-07-03 09:21:11 +08:00
zhilwang
8e03f0351d
Merge pull request #1069 from mstorsjo/generate-targets
...
Regenerate test/common/targets.mk via the mktargets.sh script as well
2014-07-03 09:20:23 +08:00
sijchen
601105471f
Merge pull request #1067 from lyao2/interface_ut_commit
...
encoder interface UT for temporal layer setting change
2014-07-03 09:07:09 +08:00
Martin Storsjö
323dc793da
Remove an unused function in mktargets.py
2014-07-02 16:56:39 +03:00
Martin Storsjö
dd05a655c2
Regenerate test/common/targets.mk via the mktargets.sh script as well
2014-07-02 15:07:02 +03:00
Martin Storsjö
239050d73c
Ignore failures in cleaning android projects
...
If the android test projects hasn't been built yet, the "make clean"
command will stop at "ant clean" (which fails since build.xml doesn't
exist yet). If this happens, one still would want to run the "make
clean" command to the end, cleaning up any possible intermediate object
files (e.g. from a build for a different platform).
2014-07-02 13:42:52 +03:00
lyao2
44faa1c9a7
add encoder interface UT for IDR request
2014-07-02 18:42:05 +08:00
Martin Storsjö
10eeea52fe
Build the android cpu-features.o file in codec/common/src
...
Up until now it was built in codec/common (where all other common
source files were built, until they were split up into
inc/src/x86/arm/arm64).
2014-07-02 13:39:26 +03:00
Martin Storsjö
1c1468210f
Remove leftover include directories
...
codec/common no longer contains headers, they're all in
codec/common/inc now.
2014-07-02 13:31:36 +03:00
Martin Storsjö
96307dfd2e
Use += for all submodules INCLUDE variables
...
This makes it easier for platform specific makefiles to add
things to some of them. (build/platform-android.mk already does this
for a few submodules, e.g. GTEST_INCLUDES and CODEC_UNITTEST_INCLUDES
already use +=.)
2014-07-02 12:28:35 +03:00
Sijia Chen
0a3db78bb9
fix BGD under screen and remove a build warning in ME
2014-07-02 16:50:59 +08:00
Martin Storsjö
4d494cb0f1
Use GetDefaultParams instead of memset to initialize SEncParamExt in the console test app
...
Most of the default parameters still are overwritten with hardcoded
values in FillSpecificParameters though, but this makes sure that
defaults are applied for any new fields at least.
2014-07-02 11:47:31 +03:00
ruil2
3ef97dc0c9
Merge pull request #1057 from sijchen/scc_md_merge11
...
[Encoder] Completing and bug-fixing the screen content MD/ME process
2014-07-02 14:02:51 +08:00
ruil2
bdf9f6b4ff
Merge pull request #1043 from mstorsjo/avoid-globals
...
Get rid of global non-readonly variables within the library
2014-07-02 14:01:35 +08:00
ruil2
dce9541199
Merge pull request #1055 from ethanhugg/frameleakonerror
...
Destroy input frame on GMP encode on error conditions.
2014-07-02 14:01:08 +08:00
Sijia Chen
a964ae8cfa
completing and bug-fixing the screen content MD/ME process
2014-07-02 10:33:47 +08:00
huili2
19273b1ae5
Merge pull request #1052 from sijchen/scc_md_merge2
...
[Processing] fix the different threshold between camera and screen
2014-07-02 10:33:14 +08:00
ruil2
2eb65d7d72
Merge pull request #1053 from mstorsjo/fix-include-spacing
...
Add proper spacing in include directvies
2014-07-02 09:04:14 +08:00
ruil2
9caf082b4a
Merge pull request #1054 from huili2/output_bs_enc
...
fix when output enabled in encoder
2014-07-02 09:04:01 +08:00
Ethan Hugg
e4a2fad99b
Destroy input frame on GMP encode on error conditions.
2014-07-01 09:35:10 -07:00
huili2
05cd0e8ada
fix when output enabled in encoder
2014-07-01 02:13:03 -07:00
Martin Storsjö
e5609bc0fe
Remove global function pointers in the encoder MC code
...
This is similar to how this is done in the decoder part of MC.
2014-07-01 12:01:48 +03:00
Martin Storsjö
130c682c29
Avoid intermediate function pointers for some function pointers that are never overridden
...
These are only used in the leaf C versions of functions anyway.
2014-07-01 12:01:48 +03:00
Martin Storsjö
586d0ba3dc
Reduce code duplication
2014-07-01 12:01:48 +03:00
Martin Storsjö
00f28cc185
Avoid using static arrays for keeping track of frame dumping state
2014-07-01 12:01:48 +03:00
Martin Storsjö
1888fba336
Move pfCavlcParamCal into the function pointer list
...
This avoids using a global variable for this function.
2014-07-01 12:01:48 +03:00
Martin Storsjö
d84d739ec8
Hardwire functions set up in WelsInitFillingPredFuncs
...
These are never overridden by any assembler optimized versions.
(The assembler optimized intra predictor functions may use such
optimized code internally anyway.)
This avoids global writable data.
2014-07-01 12:00:32 +03:00
Martin Storsjö
9ef09861cf
Don't use and modify function pointers in global static tables
...
Make the tables const and keep a copy of the table in the
SWelsFuncPtrList struct instead, where any modifications to
the table only touch that individual instance of the codec.
2014-07-01 12:00:14 +03:00
Martin Storsjö
d2afebd2d7
Add proper spacing in include directvies
2014-07-01 10:55:04 +03:00
sijchen
76bd633d91
Merge pull request #1036 from mstorsjo/test-random
...
Don't call srand(time()) inside utility functions inside tests
https://rbcommons.com/s/OpenH264/r/564/
2014-07-01 15:48:07 +08:00
zhilwang
3a6f51781d
Merge pull request #1044 from mstorsjo/android-cleanup-compiler-flags
...
Simplify the compiler flags for the android test projects
2014-07-01 15:31:22 +08:00
huili2
5b004048ed
Merge pull request #1051 from ruil2/overflow_check
...
check each WriteBlockResidualCavlc to avoid overflow
2014-07-01 15:25:59 +08:00
huili2
4486e328d4
Merge pull request #1050 from ruil2/update_param
...
fix error judgment on return value in pauseframe
2014-07-01 15:25:06 +08:00
Martin Storsjö
4f594deff9
Don't reset the random number generator within the unit tests
...
This makes sure we don't accidentally return the same sequence
of random numbers multiple times within one test (which would
be very non-random).
Every time srand(time()) is called, the pseudo random number
generator is initialized to the same value (as long as time()
returned the same value).
By initializing the random number generator once and for all
before starting to run the unit tests, we are sure we don't
need to reinitialize it within all the tests and all the
functions that use random numbers.
This fixes occasional errors in MotionEstimateTest.
MotionEstimateTest was designed to allow the test to occasionally
not succeed - if it didn't succeed, it tried again, up to 100 times.
However, since the YUVPixelDataGenerator function reset the random
seed to time(), every attempt actually ran with the same random
data (as long as all 100 attempts ran within 1 second) - thus if
one attempt in MotionEstimateTest failed, all 100 of them would
fail. If the utility functions don't touch the random seed,
this is not an issue.
2014-07-01 10:20:45 +03:00
ruil2
325c63d0ca
Merge pull request #1047 from mstorsjo/cpufeatures-armv8
...
Update the generic 32 bit arm linux cpu feature detection to support 64 bit kernels
2014-07-01 14:53:52 +08:00
ruil2
32ce337eb0
check each WriteBlockResidualCavlc to avoid overflow
2014-07-01 14:50:50 +08:00
ruil2
ffb38322d0
fix error judgment on return value in pauseframe
2014-07-01 14:36:46 +08:00
ruil2
806e59fcb1
Merge pull request #1045 from mstorsjo/share-read-config
...
Share one implementation of CReadConfig between both console apps
2014-07-01 08:55:07 +08:00
ruil2
08f66e52a0
Merge pull request #1046 from mstorsjo/share-tables
...
Share some tables and definitions between the encoder and decoder
2014-07-01 08:53:44 +08:00
ruil2
1fa1d2f1c1
Merge pull request #1049 from ethanhugg/frameleak
...
Fix for memory leak of input frames in encoder.
2014-07-01 08:51:52 +08:00
ruil2
aa2cfef310
Merge pull request #1048 from ethanhugg/maxnal-revert
...
Revert "add max nal size setting in gmp wrapper"
2014-07-01 08:50:52 +08:00
Ethan Hugg
8662eca2c3
Fix for memory leak of input frames in encoder.
2014-06-30 16:59:50 -07:00
Ethan Hugg
ce5268076c
Revert "add max nal size setting in gmp wrapper"
...
This reverts commit a20c503d14 .
2014-06-30 13:58:28 -07:00
Martin Storsjö
04c6c95577
Update the generic 32 bit arm linux cpu feature detection to support 64 bit kernels
...
On 64 bit kernels, /proc/cpuinfo doesn't list the same old features
as on 32 bit kernels, since most of them are mandatory on 64 bit arm
systems, see [1] for details.
If running a 32 bit arm binary on such a kernel, we need to detect
the features slightly differently, either by using other names
listed in the Features field on these devices, by checking the
"CPU architecture" field and always enabling these if the architecture
is >= 8, or by parsing /proc/self/auxv or using the getauxval function.
[1] http://marc.info/?l=linux-arm-kernel&m=139087240101974
2014-06-30 09:51:49 +03:00
Martin Storsjö
7ae3fbcfbf
Share one implementation of the CReadConfig class between the decoder and encoder console apps
2014-06-30 09:04:12 +03:00
Martin Storsjö
b4b1d1df8c
Move a struct to the actual place where it's used
...
It's not related to the config reader.
2014-06-30 09:04:08 +03:00
Martin Storsjö
4af37a7d21
Move common tables and definitions into the common library
2014-06-30 09:03:10 +03:00
Martin Storsjö
44ebe7dea4
Rename a decoder macro to the name used in the encoder
2014-06-30 09:03:10 +03:00
Martin Storsjö
578060373a
Rename data types in the decoder to match the name used in the encoder
2014-06-30 09:03:10 +03:00
Martin Storsjö
eb7cdf2bda
Rename some decoder tables to match the name used in the encoder
2014-06-30 09:03:10 +03:00
Martin Storsjö
4aa22da812
Remove an unused constant
2014-06-30 09:03:10 +03:00
zhilwang
2b038fa73b
Merge pull request #1037 from mstorsjo/unify-align-macros
...
Unify macros for alignment
2014-06-30 10:09:05 +08:00
zhilwang
e9b8d927ca
Merge pull request #1039 from mstorsjo/unify-msvc-project-files
...
Unify some details in MSVC project files
2014-06-30 10:08:40 +08:00
zhilwang
17f3dd5ae6
Merge pull request #1041 from mstorsjo/upgrade-ios-projects
...
Mark xcode projects as upgraded to/checked for the latest version
2014-06-30 10:07:16 +08:00
zhilwang
1780a81a1d
Merge pull request #1042 from mstorsjo/avoid-ios-build-warnings
...
Avoid warnings when building for iOS
2014-06-30 10:06:52 +08:00
zhilwang
bfd8f97578
Merge pull request #1040 from mstorsjo/gitignore-msvc
...
Ignore files generated by MSVC
2014-06-30 10:05:54 +08:00
zhilwang
eb221eb3d1
Merge pull request #1030 from mstorsjo/cpuid-32bit-param
...
Don't load undefined bits into rcx before calling the cpuid instruction
2014-06-30 10:05:26 +08:00
zhilwang
58349156b1
Merge pull request #1035 from mstorsjo/aarch64-cpufeatures
...
Implement WelsCPUFeatureDetect for AArch64
2014-06-30 10:04:03 +08:00
zhilwang
fd132aba0f
Merge pull request #1033 from mstorsjo/aarch64-typofix
...
Fix a typo in arm64 assembly macros, ARCH64 -> AARCH64
2014-06-30 10:02:41 +08:00
zhilwang
0549fb99eb
Merge pull request #1034 from mstorsjo/aarch64-combined-satd-sad
...
Prefer modes in the same order as the reference, in the aarch64 combined intra satd/sad
2014-06-30 10:01:09 +08:00
zhilwang
704cad26f5
Merge pull request #1038 from mstorsjo/avoid-manual-alignment
...
Use ENFORCE_STACK_ALIGN_1D instead of manually doing stack buffer alignment
2014-06-30 10:00:44 +08:00
Martin Storsjö
68b4b09ae6
Don't load undefined bits into rcx before calling the cpuid instruction
...
The pFeatureC pointer is an uint32_t pointer, therefore only
load 32 bits into ecx.
This avoids loading potentially uninitialized data into the upper
half of the rcx register, fixing valgrind warnings in some build
setups (depending on how the compiler chooses to layout the stack
in the calling function).
2014-06-29 20:46:55 +03:00
Martin Storsjö
a01d6812ed
Simplify the compiler flags for the android test projects
...
These parts aren't performance critical, thus overriding the
compiler optimization flags (and arm instruction mode) isn't
necessary.
2014-06-29 19:59:10 +03:00
Martin Storsjö
f6302ea414
Mark xcode projects as upgraded to/checked for the latest version
...
This avoids some warnings when building. This shouldn't affect
building with older xcode versions.
2014-06-29 16:06:07 +03:00
Martin Storsjö
b5407915cc
Avoid warnings when building for iOS
...
Get rid of warnings by avoiding mixing data types unnecessarily,
and by adding casts.
2014-06-29 16:03:34 +03:00
Martin Storsjö
83d7c3547c
Ignore files generated by MSVC
2014-06-29 13:59:18 +03:00
Martin Storsjö
3a43c6bad4
Remove custom, manual linker options for the encoder in the MSVC project files
2014-06-29 13:51:54 +03:00
Martin Storsjö
157935e9a0
Write map files to the default directory instead of a custom directory
2014-06-29 13:49:33 +03:00
Martin Storsjö
7fba7a08bc
Set ProgramDatabaseFile to the default used in all other project files
2014-06-29 13:49:33 +03:00
Martin Storsjö
6e815e708d
Use ENFORCE_STACK_ALIGN_1D instead of manually doing stack buffer alignment
2014-06-29 00:55:46 +03:00
Martin Storsjö
263833b3bf
Remove the now unused macros __align16, ALIGNED_DECLARE_MATRIX_1D and ALIGNED_DECLARE_MATRIX_2D
2014-06-29 00:36:29 +03:00
Martin Storsjö
f300476468
Use the ALIGNED_DECLARE macro instead of __align16
2014-06-29 00:36:02 +03:00
Martin Storsjö
12b6244129
Use the common syntax of using ALIGNED_DECLARE to declare arrays
...
This was the only place where ALIGNED_DECLARE_MATRIX was used.
2014-06-29 00:35:25 +03:00
huili2
d8e78fee09
Merge pull request #1032 from mstorsjo/typofix
...
Fix a typo, Chorma -> Chroma
2014-06-28 11:08:14 +08:00
huili2
c8b4ef2257
Merge pull request #1029 from ruil2/update_param
...
fix update parameters
2014-06-28 11:05:54 +08:00
Martin Storsjö
66deed24b8
Implement WelsCPUFeatureDetect for AArch64
...
Previously it actually didn't return any cpu flags at all.
2014-06-27 23:57:42 +03:00
Martin Storsjö
cf6ae23413
Prefer modes in the same order as the reference, in the aarch64 combined intra satd/sad
...
This fixes encoding tests on aarch64.
2014-06-27 23:54:03 +03:00
Martin Storsjö
b406f4471a
Fix a typo in arm64 assembly macros, ARCH64 -> AARCH64
2014-06-27 23:52:20 +03:00
Martin Storsjö
a474e00d15
Fix a typo, Chorma -> Chroma
2014-06-27 23:50:14 +03:00
Ethan Hugg
894f073e4b
Merge pull request #1027 from mstorsjo/fix-chmod
...
Clear the executable bit from new assembly source files
2014-06-27 09:32:09 -07:00
Martin Storsjö
e16487d416
Clear the executable bit from new assembly source files
2014-06-27 18:45:13 +03:00
zhilwang
19e593059a
Merge pull request #1028 from mstorsjo/fix-arm64-asm
...
Fix building intra_pred_sad_3_opt_aarch64_neon.S with gnu binutils
2014-06-27 19:21:15 +08:00
Sijia Chen
06a67b72a8
reformat
2014-06-27 18:11:25 +08:00
ruil2
863ec74f0d
fix update parameters
2014-06-27 18:09:40 +08:00
sijchen
7fb59d033a
fix the different threshold between camera and screen
2014-06-27 18:08:51 +08:00
Martin Storsjö
40e74e43d6
Fix building intra_pred_sad_3_opt_aarch64_neon.S with gnu binutils
...
One macro argument was left in the apple syntax.
2014-06-27 12:54:25 +03:00
dongzha
f8ca91f317
Merge pull request #1025 from huili2/EC_return_error
...
add return error if data lost
2014-06-27 15:56:02 +08:00
dongzha
300bbfb67b
Merge pull request #1014 from zhilwang/arm64-intraSad
...
Add arm64 neon code for intraSad&Satd
2014-06-27 15:55:33 +08:00
zhiliang wang
e389cf4348
refine file name.
2014-06-27 14:11:04 +08:00
huili2
b55f1bdfe2
add return error if data lost
2014-06-26 22:20:58 -07:00
huili2
775b507941
Merge pull request #1024 from ruil2/trace_fix
...
change void* to explicit type definition
2014-06-27 13:14:41 +08:00
huili2
f71cf37818
Merge pull request #1023 from ruil2/remove_check
...
only supports fixed LTR_NUM for screen and camera
2014-06-27 13:14:20 +08:00
ruil2
1ffcd36c70
change void* to explicit type definition
2014-06-27 11:34:47 +08:00
ruil2
fa138e866a
trace fix
2014-06-27 10:52:03 +08:00
zhilwang
0f4499121a
Merge pull request #1019 from mstorsjo/android-build-deps
...
Generate dependencies while building for android
2014-06-27 10:07:31 +08:00
ruil2
2626ed2181
only supports fixed LTR_NUM for screen and camera
2014-06-27 09:25:57 +08:00
ruil2
e138ee5297
Merge pull request #1020 from mstorsjo/simplify-64bit-suffix
...
Use the ULL prefix for 64 bit constants on MSVC as well
2014-06-27 09:04:39 +08:00
ruil2
275d7efbc9
Merge pull request #1021 from mstorsjo/remove-unused-declarations
...
Remove some unused declarations and tables
2014-06-27 09:03:02 +08:00
ruil2
b3141edcbd
Merge pull request #1022 from mstorsjo/const-tables
...
Make some tables const where easily possible
2014-06-27 09:01:23 +08:00
Martin Storsjö
f7ba0e4d1c
Make some tables const where easily possible
2014-06-26 15:24:30 +03:00
Martin Storsjö
bfd3a1dd47
Remove a stray function declaration
...
This isn't referenced anywhere, and no implementation of the
function exists.
2014-06-26 15:19:49 +03:00
Martin Storsjö
12e456cc84
Remove an unused and undeclared global table
2014-06-26 15:19:49 +03:00
Martin Storsjö
1f88cbf49e
Remove an unused global non-const table
2014-06-26 15:19:20 +03:00
Martin Storsjö
78109f36ad
Use the ULL prefix for 64 bit constants on MSVC as well
...
This syntax is already used consistently within the decoder.
Ideally this could also use the C99 macro UINT64_C() for declaring
64 bit constants.
2014-06-26 15:12:14 +03:00
Martin Storsjö
16a4066e7f
Generate dependencies while building for android
2014-06-26 15:11:17 +03:00
huili2
32d5c22a9a
Merge pull request #1018 from ruil2/remove_check
...
remove more checking
2014-06-26 17:40:19 +08:00
ruil2
04d7e63a58
remove more checking
2014-06-26 17:18:25 +08:00
HaiboZhu
4f403ac015
Merge pull request #1017 from ruil2/remove_check
...
remove temporal layer checking
2014-06-26 16:48:51 +08:00
ruil2
3a0777201c
remove temporal layer checking
2014-06-26 16:17:46 +08:00
huili2
14f2fe214f
Merge pull request #1016 from syureyi/iosat
...
for auto testing
2014-06-26 11:27:17 +08:00
zhuling13
8b1b0b6582
for auto testing
2014-06-25 19:57:39 -07:00
ruil2
e1152f9483
Merge pull request #1015 from huili2/astyle_all_UT
...
astyle all
2014-06-26 10:25:56 +08:00
huili2
dc3fae4477
astyle all
2014-06-25 18:50:41 -07:00
huili2
101265388b
Merge pull request #1005 from huili2/rc_overflow
...
prevent int32 multiplication overflow
2014-06-26 09:20:14 +08:00
Ethan Hugg
708f793933
Merge pull request #1012 from mstorsjo/round-scalefactor
...
Use WELS_ROUND in the neon version of GeneralBilinearAccurateDownsampler
2014-06-25 10:37:01 -07:00
Ethan Hugg
f9abd70eeb
Merge pull request #1008 from mstorsjo/plugin-build
...
Clean up minor aspects of the plugin build process
2014-06-25 09:30:01 -07:00
huili2
be94bf9ffa
Merge pull request #1006 from ruil2/bug_fix
...
fix defect7654 that the encoder won't generate IDR when temporal layer setting changes
2014-06-25 17:29:29 +08:00
huili2
7b461e109e
Merge pull request #1013 from ruil2/command_db
...
add iSubSeqId calculation
2014-06-25 17:26:22 +08:00
ruil2
efc5bbd9fb
format update
2014-06-25 16:37:00 +08:00
zhilwang
f9654726cf
Merge pull request #1011 from mstorsjo/ignore-gmp
...
Add the external directory gmp-api to gitignore
2014-06-25 16:20:48 +08:00
ruil2
057e38663f
add iSubSeqId calculation
2014-06-25 16:18:42 +08:00
Martin Storsjö
f066df412c
Use WELS_ROUND in the neon version of GeneralBilinearAccurateDownsampler
...
Also use it in the commented out sse2 version - in case it gets
taken into use at some point. (It only works on 32 bit x86
at the moment.)
This makes sure the scaling factors are rounded similarly to the
in GeneralBilinearAccurateDownsampler_c, making sure the
accelerated versions of these function return identical results
to the C version.
2014-06-25 11:08:07 +03:00
huili2
542f8fc053
Merge pull request #1007 from ruil2/gmp_idr
...
add IDR processing in gmp wrapper
2014-06-25 15:57:03 +08:00
ruil2
de3990479e
format update
2014-06-25 15:43:48 +08:00
ruil2
56222afe07
remove redundant code
2014-06-25 15:21:43 +08:00
Martin Storsjö
8cdf6aac15
Add the external directory gmp-api to gitignore
2014-06-25 09:55:46 +03:00
ruil2
e4220b7b55
Merge pull request #1010 from mstorsjo/fix-log-format
...
Print an intX_t by casting to int64_t
2014-06-25 14:44:53 +08:00
ruil2
1ba24912c7
Merge pull request #1009 from mstorsjo/remove-unused-var
...
Remove an unused variable
2014-06-25 14:38:56 +08:00
Martin Storsjö
70f93d8816
Remove an unused variable
...
This fixes build warnings when building for OS X with clang.
2014-06-25 09:21:14 +03:00
Martin Storsjö
b76714719e
Print an intX_t by casting to int64_t
...
The internal intX_t is either int32_t or int64_t depending on
platform bitness. Since there is no existing printf format for
such an integer, cast it to an int64_t and use the right
printf format for that instead.
This avoids warnings when building with clang.
2014-06-25 09:19:23 +03:00
Martin Storsjö
0f1f158d8b
Don't build an unused libmodule.a file
...
This also avoids another manual edit in module/targets.mk. Now
the file is completely autogenerated by the build/mktargets.sh
script, just as all the other targets.mk files.
2014-06-25 09:12:06 +03:00
Martin Storsjö
5e9492cb6e
Use a less generic name for linking to STL when building the plugin for android
...
This matches the common naming scheme more closely for adding extra
flags to individual parts of the build.
Also deduplicate the static stlport lib name.
2014-06-25 09:12:06 +03:00
Martin Storsjö
a24b781e54
Make sure that libgmpopenh264.so is removed on "make clean"
...
Nothing used the makefile variable $(PLUGINS), and $(LIBRARIES)
is only used for the clean target.
2014-06-25 09:12:01 +03:00
ruil2
99cfac6aa0
add IDR processing in gmp wrapper
2014-06-25 14:11:58 +08:00
Martin Storsjö
b3f7896a51
Inject STL_INCLUDES via MODULE_INCLUDES for the gmp plugin
...
This avoids having to rely on manual modifications to targets.mk,
which are overwritten if the targets.mk files are regenerated
via the script.
2014-06-25 08:59:55 +03:00
zhiliang wang
f0ec323e2c
Add arm64 neon code for intraSad&Satd
2014-06-25 13:43:26 +08:00
ruil2
0a1b61508b
fix defect7654 that the encoder won't generate IDR when temporal layer setting changes
2014-06-25 13:31:48 +08:00
huili2
606d748e5b
prevent int32 multiplication overflow
2014-06-24 18:59:02 -07:00
Ethan Hugg
3f333b01fd
Merge pull request #1004 from emannion/android_plugin
...
building plugin on Android
2014-06-24 08:44:04 -07:00
enda mannion
7c0b92e3f6
building plugin on Android
2014-06-24 12:32:09 +01:00
sijchen
51d8682139
Merge pull request #1003 from ruil2/subseq
...
Subseq
2014-06-24 18:00:13 +08:00
huili2
6e8fceb0c7
Merge pull request #1001 from huili2/reflist_warning_remove
...
remove unused param to prevent access violation
2014-06-24 13:24:33 +08:00
huili2
bcdb91183f
Merge pull request #1002 from ganyangbbl/slicectx_bugfix
...
fix overflow issue caused by pCountMbNumInSlice
2014-06-24 13:23:02 +08:00
ganyang
43b56d9981
fix overflow issue caused by pCountMbNumInSlice
2014-06-23 17:25:20 +08:00
ruil2
f40b964526
update unit test code to support name change
2014-06-23 16:38:45 +08:00
ruil2
3fefb08b34
add iSubSeqId to make the meaning clearly.
2014-06-23 16:18:59 +08:00
dongzha
82a4bee00b
Merge pull request #997 from huili2/rc_align
...
misaligned_rc_structure
2014-06-23 14:51:35 +08:00
dongzha
ac1630f435
Merge pull request #999 from ruil2/format_update
...
add max nal size setting in gmp wrapper
2014-06-23 14:50:52 +08:00
dongzha
f0728ed365
Merge pull request #1000 from ruil2/frame_idc
...
remove frametype,add frameIdc paramter
2014-06-23 14:49:54 +08:00
huili2
b0d6cf7b9b
Merge pull request #992 from ruil2/interface_update
...
add interface parameter(profile/levle/numref) support
2014-06-23 14:01:17 +08:00
ruil2
cd76469613
remove frametype,add frameIdc paramter
2014-06-23 13:48:03 +08:00
ruil2
d117624657
format update
2014-06-23 13:18:03 +08:00
ruil2
b3dedb3f37
modify the interface for delivery info and add some comments
2014-06-23 13:16:15 +08:00
ruil2
a20c503d14
add max nal size setting in gmp wrapper
2014-06-23 12:47:52 +08:00
huili2
699ed2e2a2
Merge pull request #998 from ruil2/format_update
...
astyle gmp-openh264.cpp
2014-06-23 12:20:49 +08:00
ruil2
9500d549ec
astyle gmp-openh264.cpp
2014-06-23 11:08:07 +08:00
huili2
dc56892d72
misaligned_rc_structure
2014-06-22 18:47:33 -07:00
Ethan Hugg
2d345fa912
Merge pull request #996 from mstorsjo/fix-chmod
...
Remove the executable bit from aarch64 assembly source files
2014-06-22 11:48:20 -07:00
Martin Storsjö
30058e091f
Remove the executable bit from aarch64 assembly source files
2014-06-22 21:36:22 +03:00
huili2
fa0eee2470
Merge pull request #990 from zhilwang/arm64-intrapred
...
Add Arm64 neon Intra-pred code
2014-06-21 07:03:24 +08:00
huili2
777a3951aa
Merge pull request #995 from huili2/permit_mb_re-con
...
enable MB re-decoding
2014-06-21 07:02:27 +08:00
huili2
e95d1f16f4
Merge pull request #994 from huili2/fix_sps_crash_with_ec
...
sps storage bug fix for error bitstream
2014-06-20 17:59:06 +08:00
huili2
f9152e6f40
fix crash 1027692
2014-06-20 02:21:54 -07:00
huili2
95012b0af6
enable MB re-decoding
2014-06-20 02:01:02 -07:00
dongzha
dd5b9b89f6
Merge pull request #991 from huili2/reorder_output_EC
...
put EC before output
2014-06-20 16:19:14 +08:00
ruil2
f49fa81d42
add interface parameter(profile/levle/numref) support
2014-06-20 16:02:56 +08:00
HaiboZhu
497b8dea84
Merge pull request #989 from HaiboZhu/win64_remove_warnings
...
Win64 remove warnings
2014-06-20 15:57:36 +08:00
dongzha
2f012f6e07
Merge pull request #986 from ruil2/rename
...
rename some varialbes
2014-06-20 10:00:37 +08:00
dongzha
b750a3b974
Merge pull request #985 from ruil2/encoder_check
...
input parameters validation
2014-06-20 09:58:53 +08:00
Haibo Zhu
998d012ea7
try
2014-06-19 18:46:19 -07:00
Haibo Zhu
dbe226b7cc
try
2014-06-19 18:35:56 -07:00
Haibo Zhu
34fda74674
more remove
2014-06-19 18:35:56 -07:00
Haibo Zhu
f8ab6b3aa0
remove extra update
2014-06-19 18:33:58 -07:00
Haibo Zhu
443609286e
modification about welsenc.cpp
2014-06-19 18:31:39 -07:00
Haibo Zhu
daf67d607f
add win 64 warnings remove
2014-06-19 18:31:39 -07:00
Ethan Hugg
0dcb7584b5
Merge pull request #988 from emannion/master
...
string include fix for 64bit windows build
2014-06-19 09:08:54 -07:00
Enda
68987b0ab8
string include fix for 64bit windows build
2014-06-19 15:16:45 +01:00
ruil2
64c3f63aab
Merge pull request #987 from ganyangbbl/rc_init_bug
...
fix rc initialize bug
2014-06-19 16:09:26 +08:00
ganyang
22342648af
fix rc initialize bug
2014-06-19 15:36:48 +08:00
ruil2
b1efc8f723
rename some varialbes
2014-06-19 15:24:13 +08:00
huili2
6613de7595
Merge pull request #984 from ruil2/error_remove
...
update initilaization of m_pLastSpatialPicture
2014-06-19 15:12:42 +08:00
ruil2
15e225ab35
check resolution configure
2014-06-19 15:11:02 +08:00
ruil2
66447349f6
check the number of spatial layer for screen content
2014-06-19 14:46:04 +08:00
ruil2
2242214368
update initilaization of m_pLastSpatialPicture
2014-06-19 13:12:39 +08:00
ruil2
a6f44f5f79
Merge pull request #983 from JuannyWang/delay_skip
...
[delay skip] delay skip to relieve bitrate burst somehow
2014-06-19 12:25:33 +08:00
JuannyWang
45c78f438e
Squashed commit of the following:
...
commit 9c95d6a0b10d2e40cb5003934ccc98af6330dfcb
Author: JuannyWang <hongjwan@cisco.com >
Date: Thu Jun 19 10:43:15 2014 +0800
[delay skip] delay skip to relieve bitrate burst somehow
2014-06-19 10:46:49 +08:00
huili2
d1437f2304
remove unused param to prevent access violation
2014-06-18 19:40:54 -07:00
huili2
37b64fc9d6
Merge pull request #982 from huili2/d3d9_fix
...
add missing declaration of members for render
2014-06-18 21:59:18 +08:00
huili2
fe0f10a063
add missing declaration of members for render
2014-06-18 02:14:29 -07:00
dongzha
51af10a25b
Merge pull request #968 from huili2/render_syureyi
...
support rendering changing resollution output yuv on windows platform
2014-06-18 13:55:04 +08:00
dongzha
b4112bc886
Merge pull request #979 from huili2/modify_DecUT_intra
...
Prevent misaligned warning in UT
2014-06-18 13:19:57 +08:00
dongzha
b5e1746b87
Merge pull request #978 from huili2/ULL_insteadof_LL
...
remove multiplication overflow warning by ULL instead of LL
2014-06-18 13:19:44 +08:00
dongzha
cf4026a948
Merge pull request #976 from huili2/modify_EncUT_scroll_xplatform
...
to support cross-platform LD32 in scroll detection
2014-06-18 13:19:20 +08:00
ruil2
778275ee1b
Merge pull request #980 from huili2/enc_remove_bsflush
...
remove unnecessary flush buffer in encoder
2014-06-18 11:32:43 +08:00
ruil2
4cc4f364d6
Merge pull request #981 from ethanhugg/gmp_rollup
...
Rollup of Gecko Media Plugin patches
2014-06-18 11:17:25 +08:00
Ethan Hugg
0bc0b71ef3
Rollup of Gecko Media Plugin patches
2014-06-17 19:54:16 -07:00
huili2
887b2727f0
remove multiplication overflow warning by ULL instead of LL
2014-06-17 18:51:09 -07:00
huili2
6d0c89663d
Prevent misaligned warning in UT
2014-06-17 18:42:25 -07:00
huili2
5263eeb973
to support cross-platform UT of lD/ST 32 in scroll detection
2014-06-17 18:18:46 -07:00
Ethan Hugg
aaa5bcc157
Merge pull request #975 from mstorsjo/cleanup-asm
...
Clean up the aarch64 deblocking assembly
2014-06-17 08:33:46 -07:00
huili2
971ccccab4
remove unnecessary flush buffer in encoder
2014-06-17 02:40:28 -07:00
Martin Storsjö
720f8dcc52
Fix building the deblocking aarch64 assembly with gnu binutils
2014-06-17 10:10:50 +03:00
huili2
127749c454
Merge pull request #974 from ruil2/bitrate
...
fix a bug that dump reconstruct frame
2014-06-17 15:06:09 +08:00
Martin Storsjö
b9477cdb94
Unify the copyright header in the aarch64 deblocking assembly
...
This file was the only one that had a differently formatted
copyright header.
2014-06-17 10:02:57 +03:00
Martin Storsjö
062937ac5a
Unify the indentation of the new aarch64 assembly
2014-06-17 10:01:23 +03:00
Martin Storsjö
d15534ecb8
Get rid of mixed tabs and spaces in the aarch64 assembly
2014-06-17 10:00:07 +03:00
ruil2
c635ce442f
fix a bug that dump reconstruct frame
2014-06-17 14:48:39 +08:00
dongzha
8662a55bc3
Merge pull request #973 from ruil2/bitrate
...
add bitrate validation
2014-06-17 11:18:11 +08:00
ruil2
ce870bf20e
add bitrate validation
2014-06-17 11:08:38 +08:00
sijchen
61017a2d4d
Merge pull request #969 from ruil2/cleanup_encoder
...
cleanup interface parameters
2014-06-17 09:46:48 +08:00
ruil2
1111757977
Merge pull request #967 from dongzha/Deblock_AArch64
...
add arm 64 deblock code and Unit Test code
2014-06-16 17:19:25 +08:00
ruil2
7acf0e5b02
cleanup interface parameters
2014-06-16 17:17:24 +08:00
root
67afd91888
put EC before output
2014-06-15 23:14:31 -07:00
zhiliang wang
cfc2b95f59
Refine some code
2014-06-13 16:06:45 +08:00
zhiliang wang
947e3c64fe
Add arm64 code for intra-pred
2014-06-13 15:21:48 +08:00
huili2
1b68890e1e
modify render for display diff resolution
2014-06-12 22:23:40 -07:00
huili2
91cd93e5d0
Merge pull request #962 from dongzha/UseIntInRC
...
Use Int instead of Double in Rate Control and Modify anchor SHA1 value
2014-06-13 10:59:50 +08:00
dongzha
53f77ee7b5
Merge pull request #954 from huili2/instant_dec
...
enable no-delay decoding for MSlice
2014-06-13 10:58:25 +08:00
dongzha
f6ce43f83b
Use Int instead of Double in Rate Control and Modify anchor SHA1 value
2014-06-12 17:30:13 +08:00
sijchen
0c09847ec9
Merge pull request #965 from ruil2/uinit_fix
...
fix #948 issue -- Using unititialized value in unittest.
2014-06-12 16:46:40 +08:00
ruil2
1d37889ee1
Merge pull request #966 from lyao2/scc_ltr_num_setoption
...
fix SetOption scc ltr_ref_num casued memory leak issue.
2014-06-12 16:37:18 +08:00
lyao2
79ef0e19b2
fix SetOption scc ltr_ref_num casued memory leak issue.
2014-06-12 16:15:29 +08:00
ruil2
17d47533ed
fix #948 issue -- Using unititialized value in unittest.
2014-06-12 15:20:10 +08:00
dongzha
492627977e
Merge pull request #961 from ruil2/expand_update
...
update expand picture UT
2014-06-12 10:46:06 +08:00
ruil2
1e43075b25
update expand picture UT
2014-06-12 09:37:30 +08:00
dongzha
c38126b094
Merge pull request #958 from ruil2/trace_update
...
move trace related info to interface header
2014-06-12 09:15:29 +08:00
Ethan Hugg
0bb23924f0
Merge pull request #957 from huili2/fix_bug_invalid_reading
...
access violation for array to fix issue #949
2014-06-11 15:03:14 +00:00
ruil2
44b048edd6
move trace related info to interface header
2014-06-11 17:05:40 +08:00
huili2
24553c2e4a
access violation for array
2014-06-10 22:28:30 -07:00
ruil2
84c1f3a4ee
Merge pull request #945 from mstorsjo/log-callback
...
Don't use a global trace level, allow user-specified trace callbacks
2014-06-11 13:25:48 +08:00
huili2
7574e5c1db
Merge pull request #953 from ruil2/codec_fix
...
fix a typo
2014-06-11 13:14:39 +08:00
Martin Storsjö
090229f8a1
Add public options for setting a log callback
2014-06-11 08:08:56 +03:00
Martin Storsjö
dc91e0958b
Integrate the lone function from logging.cpp into welsCodecTrace.cpp
2014-06-11 08:08:56 +03:00
Martin Storsjö
6e5f31214a
Add a method for overriding the logging function in welsCodecTrace
2014-06-11 08:08:56 +03:00
Martin Storsjö
ce8065fe68
Don't use global variables in welsCodecTrace
...
This allows actually honoring the requested log level
properly if there are multiple codec instances within
the same process.
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ö
b2cf56c618
Set a log context in the decoder
2014-06-11 08:08:55 +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ö
8bac9315e6
Expose a SLogContext from welsCodecTrace
2014-06-11 08:08:29 +03:00
Martin Storsjö
4e428ab020
Add a log context to the encoder and decoder contexts
...
This will allow setting non-global logging callbacks, that
are different for each encoder or decoder instance.
2014-06-11 08:08:29 +03:00
Martin Storsjö
c8b81b4239
Only keep one single trace function pointer in welsCodecTrace
2014-06-11 08:08:29 +03:00
Martin Storsjö
20e889fadb
Change CM_WELS_TRACE to take a plain string, not a format and variadic arguments
...
The format string was always "%s" anyway.
2014-06-11 08:08:29 +03:00
Martin Storsjö
5e22d5366e
Remove the unused level parameter to welsStderrLevelTrace
2014-06-11 08:08:29 +03:00
Martin Storsjö
cfc9367610
Remove WelsStderrSetTraceLevel
...
The logging level is checked in welsCodecTrace anyway.
Previously, error logging wasn't ever shown if the trace
level was set to WELS_LOG_ERROR (as it was by default),
since welsStderrLevelTrace required the message level to
be strictly lower than the trace level.
2014-06-11 08:08:29 +03:00
Martin Storsjö
90be3d8215
Don't treat log levels as a bitmask
...
All use of log levels in the library just do a numerical
greater-than comparison between the set log level and the
level of the current message.
2014-06-11 08:08:29 +03:00
Martin Storsjö
0628c9b190
Set the trace level in the decoder console app via a proper option
2014-06-11 08:08:29 +03:00
Martin Storsjö
573dad7d04
Add a decoder option for setting the trace level
2014-06-11 08:08:29 +03:00
Martin Storsjö
77c3594e08
Actually set the trace level in the encoder console app
2014-06-11 08:08:29 +03:00
Martin Storsjö
c4a59690da
Allow setting the trace level before initializing the encoder
2014-06-11 08:08:29 +03:00
Martin Storsjö
1bccef940c
Read the right command line arguments in h264dec.cpp
...
pArgV[i++] evalates to the same string as cmd (which is
pArgV[i]); we need to increment i before indexing into
pArgV again.
2014-06-11 08:08:29 +03:00
Martin Storsjö
4f1ea1c4f8
Remove some unused typedefs
2014-06-11 08:08:29 +03:00
ruil2
a79c54cde7
fix a typo
2014-06-11 12:04:59 +08:00
ruil2
587a8b20f4
Merge pull request #951 from dongzha/AddArm64UnitTestEP
...
Ignore a special case for expand chroma picture under X86_ASM to fix issue #947
2014-06-11 10:43:45 +08:00
huili2
6f0cdd14f8
enable no-delay decoding for MSlice
2014-06-10 19:25:57 -07:00
dongzhang
fa137a93e9
Ignore a special case for expand chroma picture under X86_ASM
2014-06-11 10:05:29 +08:00
Ethan Hugg
e388bfc371
Merge pull request #939 from mstorsjo/fix-msvc-build
...
Use the ENFORCE_STACK_ALIGN_2D instead of the compiler-specific align attribute
2014-06-10 20:04:47 +00:00
Ethan Hugg
5f65de0ef4
Merge pull request #944 from mstorsjo/ios-test
...
Build libgtest.a and libopenh264.a when doing "make test" for iOS
2014-06-10 11:04:57 -07:00
Ethan Hugg
1d679a8357
Merge pull request #940 from mstorsjo/minor-cleanup
...
Minor cleanups
2014-06-10 11:02:43 -07:00
Martin Storsjö
314f732333
Use the ENFORCE_STACK_ALIGN_2D instead of the compiler-specific align attribute
...
This fixes building with MSVC.
2014-06-10 17:06:18 +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ö
1ea50e209a
Fix a typo, setttings -> settings
2014-06-10 17:06:13 +03:00
Martin Storsjö
1b3dca6b7d
Build libgtest.a and libopenh264.a when doing "make test" for iOS
2014-06-10 16:10:48 +03:00
ruil2
5cad8a60c9
Merge pull request #941 from mstorsjo/test-multilayer-bitrate
...
Set a sensible total bitrate when testing multilayer encoding
2014-06-10 16:53:44 +08:00
ruil2
f9b7746ea1
Merge pull request #942 from mstorsjo/log-cleanup
...
Clean up some of the logging/trace files
2014-06-10 16:52:54 +08:00
Martin Storsjö
19ea4244f5
Set a sensible total bitrate when testing multilayer encoding
...
The previous encoder parameters triggered warning logging in
the encoder.
2014-06-10 11:04:45 +03:00
Martin Storsjö
cc65a1d76c
Don't include a [ENCODER]: prefix in all logging
...
The same trace module is used for the decoder now as well.
2014-06-10 10:52:26 +03:00
Martin Storsjö
17fc6bd66e
Remove the unnecessary method WelsTraceModuleIsExist(), which always returned true
2014-06-10 10:52:26 +03:00
Martin Storsjö
d93488448e
Remove some commented out lines
2014-06-10 10:52:26 +03:00
Martin Storsjö
968d87045d
Remove an unnecessary local function
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
Martin Storsjö
ba1de16ac2
Make internal logging variables static
...
This avoids polluting the global namespace.
2014-06-10 09:28:45 +03:00
Martin Storsjö
ab4fe3fdf4
Remove an unused variable
2014-06-10 09:27:54 +03:00
dongzhang
0e0c8b5569
add arm 64 deblock code and Unit Test code
2014-06-10 11:23:51 +08:00
ruil2
eb889c95e0
Merge pull request #938 from dongzha/AddArm64UnitTestEP
...
add ARM32/64 Unit Test for Expand Picture
2014-06-10 11:12:49 +08:00
huili2
a6ebecd707
Merge pull request #936 from ruil2/trace_cleanup
...
cleanup trace module
2014-06-10 10:55:46 +08:00
huili2
ee4341892c
Merge pull request #937 from ruil2/enc_warnings_1
...
clean build warning related encoder
2014-06-10 10:55:31 +08:00
ruil2
5aa7cdedb8
clean build warning related encoder
2014-06-10 10:39:44 +08:00
ruil2
4c12f8970c
cleanup trace module
2014-06-10 10:24:45 +08:00
ruil2
eceb4e51ad
Merge pull request #933 from huili2/fix_bug_UT_GetIntraPred
...
fix memory leak in EncUT_GetIntraPredictor
2014-06-10 10:22:37 +08:00
ruil2
88e7637a33
Merge pull request #935 from lyao2/pskip_commit_
...
remove ubuntu build warning
2014-06-10 10:22:18 +08:00
dongzhang
cf9e21febd
add ARM32/64 Unit Test for Expand Picture
2014-06-10 09:38:08 +08:00
lyao2
41f3e2e0cf
remove ubuntu build warning
2014-06-10 09:37:34 +08:00
huili2
9f822f1391
Merge pull request #932 from dongzha/AddArm64UnitTestMC
...
add ARM32 and ARM 64 Unit Test for Motion Compensation
2014-06-10 09:32:48 +08:00
huili2
01322d11ff
fix memory leak in EncUT_GetIntraPredictor
2014-06-09 18:12:03 -07:00
ruil2
cc66c999b0
Merge pull request #930 from mstorsjo/cleanup-asm
...
Do some minor cleanups on the x86 assembly source
2014-06-09 16:27:52 +08:00
ruil2
d516a1aa57
Merge pull request #929 from lyao2/pskip_commit_
...
enable static/scroll Pskip functions
2014-06-09 16:19:34 +08:00
syureyi
eb115ad42a
add ARM and ARM 64 Unit Test for Motion Compensation
2014-06-09 16:19:29 +08:00
Martin Storsjö
d1a00d8173
Remove mismatched chars at the end of a line marker
...
None of the other markers close by have similar chars.
2014-06-09 11:11:25 +03:00
Martin Storsjö
7bc3e944ad
Get rid of uneven spacing after WELS_EXTERN
2014-06-09 11:03:25 +03:00
lyao2
1d79a1ac80
enable static/scroll Pskip functions
2014-06-09 15:57:15 +08:00
sijchen
5cbe4a40d3
Merge pull request #926 from ruil2/enc_reforg
...
add ref-original frame assigment
2014-06-09 10:17:13 +08:00
HaiboZhu
b6ed8cc767
Merge pull request #928 from syureyi/iosutdemo
...
Iosutdemo
2014-06-09 09:56:26 +08:00
lingzhu
7818c4f30b
Update platform-ios.mk
2014-06-09 09:22:54 +08:00
ruil2
2adc22cae3
Merge pull request #927 from mstorsjo/remove-leftover-references
...
Remove leftover references to xcode test projects
2014-06-09 09:17:23 +08:00
zhuling13
647182d67c
remove comments
2014-06-08 18:12:21 -07:00
zhuling13
ac285dd521
delete test project
2014-06-06 02:46:39 -07:00
zhuling13
cb1c0f9b5a
modify
2014-06-06 02:44:22 -07:00
Martin Storsjö
e1f28cea96
Remove the now unused XCTest.framework references
2014-06-06 10:34:39 +03:00
Martin Storsjö
7773506b00
Remove leftover references to the newly removed test projects
2014-06-06 10:32:26 +03:00
ruil2
74df3e9553
add ref-original frame assigment
2014-06-06 15:24:31 +08:00
lyao2
42d06a1276
Merge pull request #924 from ruil2/expand_pic_1
...
resolve unit test warnings
2014-06-06 15:13:10 +08:00
HaiboZhu
08377f37f3
Merge pull request #916 from huili2/dynamic_dec_au_size
...
enable dynamic AU size in decoder
2014-06-06 14:27:08 +08:00
ruil2
a46b1aa86e
Merge pull request #923 from zhilwang/satd-arm64
...
Add arm64 neon code for Satd.
2014-06-06 14:05:53 +08:00
ruil2
3d031ee8f8
Merge pull request #925 from lyao2/pskip_func_commit
...
add pskip MD functions
2014-06-06 14:04:35 +08:00
lyao2
c6e7814b57
add pskip MD functions
2014-06-06 13:51:32 +08:00
ruil2
2d61c97bc7
remove a redundant file in encDemo project
2014-06-06 13:34:32 +08:00
ruil2
ece06b37da
resolve unit test warnings
2014-06-06 13:29:30 +08:00
ruil2
6fbda11d02
Merge pull request #920 from mstorsjo/remove-ios-tests
...
Remove unnecessary autogenerated stub iOS test projects
2014-06-06 12:32:37 +08:00
zhiliang wang
5d7e18de54
Add arm64 neon code for Satd.
2014-06-06 09:33:15 +08:00
Martin Storsjö
837a582510
Remove unnecessary autogenerated stub iOS test projects
...
The actual unit tests will be hooked up in a separate project.
2014-06-05 12:13:58 +03:00
zhuling13
310137d045
t
2014-06-05 01:40:28 -07:00
zhuling13
0c5350c58d
modify
2014-06-05 01:36:05 -07:00
zhuling13
40a2186093
add iosutdemo
2014-06-05 01:28:57 -07:00
zhuling13
d6ac7f4a60
add iosutdemo
2014-06-05 01:20:50 -07:00
dongzha
51b2ff84fc
Merge pull request #918 from syureyi/de7621
...
for cleaning .o and .d files generated by android demo
2014-06-05 10:02:24 +08:00
zhuling13
6bf7ad4e2b
and space to colon, modify bad note
2014-06-04 18:23:19 -07:00
ruil2
eb31cf1d4b
Merge pull request #917 from KentoMoriwaki/fix/ios-demo-build
...
Update common.xcodeproj to build successfully
2014-06-05 09:10:21 +08:00
Kento
977d7cd0b3
Update common.xcodeproj to build successfully
2014-06-04 17:28:48 +09:00
dongzha
17d5422c8c
Merge pull request #915 from ruil2/expand_pic_1
...
update decoder mac project for expand picture files position change
2014-06-04 10:57:09 +08:00
ruil2
030492de19
update decoder mac project for expand picture files position change
2014-06-04 10:08:58 +08:00
ruil2
f408fdf5f0
Merge pull request #914 from licaiguo/remove-unused-args
...
remove unused argument pBlock
2014-06-04 09:01:04 +08:00
Licai Guo
ba1716d846
remove unused argument pBlock
2014-06-03 06:36:07 -07:00
ruil2
d4d0b5959a
Merge pull request #913 from JuannyWang/ios_build_error
...
fix encoder ios build error caused by expand_pic.cpp missing from project config...
2014-06-03 17:38:17 +08:00
JuannyWang
fbacfbdb69
fix ios build error caused by expand_pic.cpp missing from project configuration
2014-06-03 17:17:17 +08:00
zhuling13
b4c8f6b778
for cleaning .o and .d files generated by android demo
2014-06-02 20:21:10 -07:00
Ethan Hugg
c2c355b623
Merge pull request #911 from mstorsjo/reformat-asm
...
Convert all tabs to spaces in assembly sources, unify indentation
2014-06-02 07:12:30 -07:00
Ethan Hugg
d999833517
Merge pull request #910 from mstorsjo/android-gitignore
...
Ignore generated files in the new android test project
2014-06-02 07:07:48 -07:00
Ethan Hugg
9b6df8a267
Merge pull request #905 from mstorsjo/cleanup-android-projects
...
Cleanup android test projects
2014-06-02 07:06:54 -07:00
Martin Storsjö
57f6bcc4b0
Convert all tabs to spaces in assembly sources, unify indentation
...
Previously the assembly sources had mixed indentation consisting
of both spaces and tabs, making it quite hard to read unless
the right tab size was used in the editor.
Tabs have been interpreted as 4 spaces in most cases, matching
the surrounding code.
2014-06-01 01:35:43 +03:00
Martin Storsjö
faaf62afad
Get rid of double spaces in macro declarations
2014-06-01 01:13:01 +03:00
Martin Storsjö
ac03b8b503
Avoid unnecessary tabs in macro declarations
2014-06-01 01:13:01 +03:00
Martin Storsjö
1884c06652
Remove a redundant definition of WELSEMMS
...
The same definition already exists in asm_inc.asm.
2014-06-01 01:13:01 +03:00
Martin Storsjö
4b0dbd7bd1
Ignore generated files in the new android test project
2014-06-01 00:57:26 +03:00
Martin Storsjö
932a38abc0
Reformat the copyright header of deblocking_neon.S
...
This makes it identical to the ones in the other files.
2014-05-31 13:44:21 +03:00
sijchen
ba2329a9c0
Merge pull request #904 from ruil2/expand_pic_1
...
clean up expand picture.
2014-05-30 17:25:11 +08:00
volvet
f449033ea8
Merge pull request #906 from mstorsjo/fix-chmod
...
Unset the executable bit on source files
2014-05-30 17:20:58 +08:00
ruil2
102dc5f0f0
Merge pull request #907 from mstorsjo/warning-fix
...
Get rid of some build warnings
2014-05-30 17:15:27 +08:00
Martin Storsjö
af2666fde3
Initialize a variable to avoid warnings about possibly uninitialized use
2014-05-30 11:32:42 +03:00
Martin Storsjö
322ce39e98
Remove an unused variable
...
This fixes warnings about variables that are set but not used.
2014-05-30 11:32:22 +03:00
Martin Storsjö
f0240ef3bb
Use the right data type for a local variable
...
All the values assigned into this variable, and compared with this
variable, are int32_t.
This avoids warnings about comparison between signed and unsigned
types.
2014-05-30 11:31:48 +03:00
Martin Storsjö
388a93fe25
Enlarge pLongRefList to avoid accesses out of bounds
...
This fixes warnings about "array subscript is above array bounds".
2014-05-30 11:31:11 +03:00
Martin Storsjö
a294cad5c8
Change directory to /sdcard before running the unit tests on android
...
This allows placing the test files in /sdcard/res before running
the test. Previously, the current directory was /, and writing
data into /res isn't possible on non-rooted phones.
2014-05-30 11:04:54 +03:00
Martin Storsjö
a0c9f8c9a0
Remove the stock example icons
...
A test application like these ones can do just fine without any icon
at all - there's no need to bundle 8 different extra binary images
just for that.
2014-05-30 11:04:54 +03:00
Martin Storsjö
70c81e27e8
Remove an unused menu resource file
2014-05-30 11:04:54 +03:00
Martin Storsjö
1bb73e017e
Remove useless declarations from Application.mk
...
OPTIM_debug isn't set by anything in this project, and APP_ABI
is set directly when invoking ndk-build - we don't use these
declarations at all.
2014-05-30 11:04:54 +03:00
Martin Storsjö
4a0afc0347
Fix building the android unittest when targeting older android versions
2014-05-30 11:04:54 +03:00
Martin Storsjö
7790ec4a17
Use a correct format string in the unittest JNI wrapper
2014-05-30 11:04:54 +03:00
Martin Storsjö
e276ae3c2f
Convert android resource xml files to unix newlines
...
Some of these files actually had mixed line endings previously.
2014-05-30 11:04:54 +03:00
Martin Storsjö
d463541082
Convert the android unit test source file to unix newlines
2014-05-30 11:04:54 +03:00
Martin Storsjö
2a65a32de1
Remove stray " in android layout xml files
2014-05-30 11:04:54 +03:00
Martin Storsjö
f2948dce67
Unset the executable bit on source files
2014-05-30 09:46:15 +03:00
ruil2
14e5d740cd
clean up expand picture.
2014-05-30 11:05:31 +08:00
HaiboZhu
78eed44d15
Merge pull request #901 from syureyi/androidut
...
Androidut
2014-05-30 09:53:02 +08:00
dongzha
80fdf09b26
Merge pull request #903 from zhilwang/arm64-sad
...
Add Arm64 sad code
2014-05-30 09:26:04 +08:00
huili2
bed18c26c3
enable dynamic AU size in decoder
2014-05-29 18:15:16 -07:00
HaiboZhu
7de6eb2bad
Merge pull request #902 from huili2/remove_No_Waiting_Au
...
remove macro NO_WAITING_AU for always on
2014-05-29 09:46:07 +08:00
huili2
0adb3e1b9c
remove macro NO_WAITING_AU for always on
2014-05-28 17:56:56 -07:00
huili2
153fa10dc5
Merge pull request #898 from ruil2/enc_rc_4
...
simplify stash pop bs
2014-05-28 16:21:10 +08:00
huili2
85e5108452
Merge pull request #900 from ruil2/enc_warnings
...
fix a bug that if..else are grouped incorrectly
2014-05-28 16:14:29 +08:00
ruil2
c1620f3868
fix a bug that if..else are grouped incorrectly
2014-05-27 16:13:24 +08:00
sijchen
43f7c3c748
Merge pull request #899 from ruil2/enc_warnings
...
format update by using astyle
2014-05-27 15:33:56 +08:00
ruil2
044af8f674
format update by using astyle
2014-05-27 15:16:43 +08:00
ruil2
c8299d7d8f
simplify stash pop bs
2014-05-27 14:51:09 +08:00
dongzha
36c7b556e3
Merge pull request #896 from ruil2/enc_rc_4
...
fix vlc overflow
2014-05-27 13:53:35 +08:00
ruil2
db11ba7a34
fix vlc overflow
2014-05-27 13:18:52 +08:00
ruil2
3c3d4ef64b
Merge pull request #897 from lyao2/blockidc
...
add blockstaticidc pointer for MD
2014-05-27 10:05:18 +08:00
huili2
ce0d371c98
Merge pull request #895 from ruil2/enc_rc_1
...
remove redundant code for mb qp calculation
2014-05-26 15:15:26 +08:00
ruil2
31120dd88c
remove redundant code for mb qp calculation
2014-05-26 15:03:06 +08:00
ruil2
1113afbfad
Merge pull request #886 from ganyangbbl/rm_slicenum_constraint
...
remove max slice number constraint
2014-05-26 14:54:34 +08:00
lyao2
bfa16ba848
add blockstaticidc pointer for MD
2014-05-24 17:41:47 +08:00
Cullen Jennings
e57e19fee6
Merge pull request #890 from ethanhugg/release_notes
...
Add RELEASES file
2014-05-23 18:55:32 -04:00
Ethan Hugg
fc2638de9c
Add RELEASES file
2014-05-23 15:39:30 -07:00
zhuling13
1e4f367a1d
clear up TAP space
2014-05-23 00:59:40 -07:00
zhuling13
32545aefde
update apk name
2014-05-23 00:27:18 -07:00
ganyang
2e6f180e95
remove max slice number constraint
2014-05-22 19:39:43 +08:00
HaiboZhu
3b78290cd3
Merge pull request #884 from huili2/API_dec_modify_master
...
modify dec API from void to explicit type
2014-05-22 16:21:09 +08:00
huili2
5482207823
modify dec API from void to explicit type, and some comments
2014-05-21 23:47:57 -07:00
huili2
075d9a257e
Merge pull request #880 from ruil2/enc_quant
...
use 0 as maxnalsize default value.
2014-05-22 14:26:15 +08:00
ruil2
a9731d6dd5
use 0 as maxnalsize default value.
2014-05-22 14:13:06 +08:00
sijchen
032d199961
Merge pull request #878 from ruil2/enc_quant
...
miss a branch for auto reference frame setting
2014-05-22 00:14:57 -05:00
ruil2
bcce5fa8e6
Merge pull request #867 from sijchen/rc_doublefloat_fix1
...
[Fix] using WelsRound for all the double-int32_t conversion
2014-05-22 11:46:28 +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
Ethan Hugg
d3436555f8
Merge pull request #872 from sijchen/fix_me_func_type
...
[Fix] fix ME func type in UT
2014-05-21 08:11:27 -07:00
Sijia Chen
618729bf5a
roll back an unnecessary change
2014-05-21 16:46:43 +08:00
sijchen
ff46fc7d93
Merge pull request #876 from huili2/bs_buffer_expand_master
...
expand the bs buffer size
2014-05-21 16:33:26 +08:00
huili2
20295c68fd
expand the bs buffer size
2014-05-21 00:35:25 -07:00
dongzha
95d32473a1
Merge pull request #874 from ruil2/enc_quant
...
update the minimum quant limiation as 10. quant 4 can't avoid overflow
2014-05-21 15:12:12 +08:00
ruil2
def2ae50ee
drop the last update
2014-05-21 14:45:03 +08:00
ruil2
a7b2797514
Merge branch 'enc_quant' of https://github.com/ruil2/openh264 into enc_quant
2014-05-21 14:43:08 +08:00
ruil2
42bd0f4729
only testing
2014-05-21 14:41:50 +08:00
ruil2
1fd5e6e210
update the minimum quant limiation as 10. quant 4 can't avoid overflow
2014-05-21 14:04:55 +08:00
sijchen
5d1d47c01b
fix me func type in UT
2014-05-21 08:57:58 +08:00
HaiboZhu
63b6f6f55e
Merge pull request #868 from huili2/add_new_seq_detect_master
...
add single function for new seq detection
2014-05-20 16:46:44 +08:00
zhuling13
7447980e2b
not need
2014-05-19 23:31:04 -07:00
zhuling13
158b6945fd
not need
2014-05-19 23:21:34 -07:00
zhuling13
9a33512564
Add unittest demo for android platform
2014-05-19 23:19:23 -07:00
Sijia Chen
7413032185
using WelsRound for all the double-int32_t conversion
2014-05-20 14:06:31 +08:00
sijchen
cc81020875
Merge pull request #843 from mstorsjo/remove-unused-function
...
Remove an unused static function
2014-05-20 13:09:17 +08:00
sijchen
2e5700d32d
Merge pull request #857 from mstorsjo/remove-unused-ifdef
...
Remove two unused ifdefs
2014-05-20 13:08:27 +08:00
huili2
7c6debbef6
add single function for new seq detection
2014-05-19 19:55:06 -07:00
HaiboZhu
3c2d9f7532
Merge pull request #863 from dongzha/FixEncOptionMaster
...
change comment in encoder option according to issue cisco#859 for master
2014-05-20 10:51:08 +08:00
dongzha
e751502412
Merge pull request #864 from ruil2/enc_quant
...
set minimum quant as 4 to avoid level code overflow
2014-05-20 10:45:55 +08:00
ruil2
901f8ba19a
Merge pull request #858 from sijchen/md_merge145
...
reformat some missed style and remove unused comments
2014-05-20 10:39:00 +08:00
ruil2
69f2d768b1
Merge pull request #842 from ganyangbbl/refine_nal2
...
Refine Nal length related structure
2014-05-20 10:30:45 +08:00
unknown
47430de294
set minimum quant as 4 to avoid level code overflow
2014-05-20 10:19:58 +08:00
dongzhang
a9ca4db07b
change comment in encoder option according to issue https://github.com/cisco/openh264/issues/859
2014-05-20 10:00:59 +08:00
sijchen
be17261a92
reformat
2014-05-19 17:04:59 +08:00
ruil2
e15742b404
Merge pull request #844 from lyao2/scroll_detection
...
enable Scroll detection into workflow
2014-05-19 09:45:35 +08:00
Martin Storsjö
7048fe5377
Remove two unused ifdefs
...
Nothing in the project sets HAVE_MMX.
The commented out code for setting pSearchMethodFunc can be readded
once it's actually implemented properly.
2014-05-17 22:06:28 +03:00
huili2
3e258ea74e
Merge pull request #853 from dongzha/FixEncUTDequantBugMaster
...
Fix encoder dequant Unit Test bug for master
2014-05-17 21:51:35 +08:00
huili2
7f3f397706
Merge pull request #831 from sijchen/md_merge144
...
[Encoder ME] Add ME function assignment for Screen Content Coding
2014-05-17 21:49:07 +08:00
Ethan Hugg
1e3b015a6f
Merge pull request #856 from mstorsjo/clarify-comment
...
Clarify a comment about MSVC parameters to fix building gtest
2014-05-16 16:04:08 -07:00
Martin Storsjö
3f982a4de4
Clarify a comment about MSVC parameters to fix building gtest
...
The temporary bug in gtest has now been fixed, but we still can keep
using the current way of fixing MSVC 2012 builds instead of switching
to the solution used previously.
2014-05-16 08:54:36 +03:00
HaiboZhu
f946b24e63
Merge pull request #854 from sijchen/bufferlencheck_fix
...
It is OK for this bug
2014-05-16 12:40:48 +08:00
sijchen
78f3b5c5f6
add minimum buffer size
2014-05-16 11:18:14 +08:00
dongzhang
749bc4ea7e
Fix QP<18 dequant UT bug at encoder side
...
This should be UT for QP<12.
2014-05-16 11:12:59 +08:00
HaiboZhu
0c326fa302
Merge pull request #845 from huili2/bs_buffer_modif
...
modify bs buffer size to double the AU size at decoder
2014-05-15 16:30:18 +08:00
zhiliang wang
53c8af4566
Refine some code
2014-05-15 15:04:44 +08:00
dongzha
dee5400485
Merge pull request #847 from mstorsjo/remove-write-nal-length
...
Remove unnecessary writing of nal length in the decoder
2014-05-15 15:02:17 +08:00
Martin Storsjö
e9e4d0a073
Remove unnecessary writing of nal length in the decoder
...
The written nal length doesn't seem to be used at all.
2014-05-15 09:44:35 +03:00
huili2
b63332de80
modify bs buffer size to double the AU size
2014-05-14 19:43:14 -07:00
zhiliang wang
fe57aa46df
Add gnu assembler support.
2014-05-15 09:17:35 +08:00
lyao2
bd7c04f738
enable Scroll detection into workflow
2014-05-15 09:11:58 +08:00
Martin Storsjö
8c10cd220f
Remove an unused static function
...
This avoids a warning with clang.
This function was added in 4bd6a3a6e8 even though nothing in
that commit actually uses it.
2014-05-14 22:07:38 +03:00
Ethan Hugg
3d5990500b
Merge pull request #832 from mstorsjo/asflags
...
Don't pass all MSVC specific cflags to gas-preprocessor and armasm
2014-05-14 08:01:25 -07:00
zhiliang wang
e6c9eb9824
Add Sad arm64 code
2014-05-14 17:06:48 +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
ruil2
3c4d151e03
Merge pull request #840 from ganyangbbl/clear_code
...
clean redundant code
2014-05-14 14:21:46 +08:00
ganyang
c06fcb2491
clean redundant code
2014-05-14 14:00:11 +08:00
Ethan Hugg
6a6d1d6186
Merge pull request #819 from mstorsjo/msvc-proj-gui-update
...
Restructure MSVC project files to what the IDE generates
2014-05-13 22:10:23 -07:00
Martin Storsjö
a6ad04cfdf
Don't pass all MSVC specific cflags to gas-preprocessor and armasm
...
This avoids having to disambiguate between assembler parameters,
preprocessor parameters and MSVC parameters within gas-preprocessor.
In particular, this avoids creating a stray dependency file named
'-.d' while building. Future versions of gas-preprocessor might
require this in order to build at all.
2014-05-13 19:40:51 +03:00
Martin Storsjö
3cc01c6239
Use CCASFLAGS when assembling .S sources
...
This allows overriding whether all of CFLAGS should be passed
when assembling.
2014-05-13 19:39:26 +03:00
sijchen
52069dac40
Merge pull request #823 from mstorsjo/deblock-unittest
...
Add a unit test for deblocking
2014-05-13 17:21:55 +08:00
sijchen
31a4d2aa3e
Merge pull request #829 from dongzha/FixBugforDeblocking
...
Fix a bug in deblocking for neon 32 bit arm implementation for master
2014-05-13 17:21:48 +08:00
sijchen
172d5e7988
Merge pull request #830 from ruil2/console_bug
...
fix a commit bug for console app
2014-05-13 17:20:24 +08:00
ruil2
a6ca8bb904
fix a commit bug for console app
2014-05-13 17:09:15 +08:00
Martin Storsjö
52bc3a41c8
Add a unit test for deblocking
2014-05-13 11:59:08 +03:00
sijchen
80ae4cb7d8
add me function pointers for screen contents
2014-05-13 16:47:18 +08:00
dongzha
cc7535ee52
Merge pull request #826 from huili2/clear_active_ps
...
clear active PS when only IDR meets
2014-05-13 15:25:42 +08:00
huili2
eb1276013b
clear active PS when only IDR meets
2014-05-12 22:02:39 -07:00
huili2
41ddc536d6
Merge pull request #825 from ruil2/console_cleanup1
...
cleanup encoder console app
2014-05-13 12:58:09 +08:00
ruil2
7ef2e9553c
Merge pull request #822 from mstorsjo/simplify-platform-defines
...
Don't manually define MACOS and LINUX, use built-in defines instead
2014-05-13 12:39:21 +08:00
ruil2
cdada926d8
Merge pull request #821 from mstorsjo/fix-format-string
...
Fix the format string in a log message
2014-05-13 12:32:55 +08:00
ruil2
5b38a94c9a
cleanup encoder console app
2014-05-13 09:50:48 +08:00
Martin Storsjö
0acb780715
Don't define MACOS and LINUX
...
Nothing within the library actually uses these defines for anything
any more.
If necessary, the built-in defines __APPLE__ and __linux__ can be
used instead of these manually added defines. This is similar to how
we use _WIN32 instead of manually defining WIN32.
2014-05-12 12:17:53 +03:00
Martin Storsjö
6b9167199f
Use the built-in define __linux__ instead of the manually set LINUX
2014-05-12 12:14:33 +03:00
Martin Storsjö
a4e1639529
Fix the format string in a log message
...
The compiler warned about unknown conversion type and too many
arguments for the format.
2014-05-12 12:13:24 +03:00
ruil2
758e89208e
Merge pull request #818 from sijchen/md_merge133
...
[Encoder MD] Add Inter Psub16 MD for screen content coding
2014-05-12 14:47:50 +08:00
sijchen
bff52694c4
Merge pull request #817 from ruil2/enc_bitrate
...
fix bitrate setting and add bitrate validation
2014-05-12 14:44:06 +08:00
sijchen
4bd6a3a6e8
[Encoder MD] Add Inter Psub16 MD for screen content coding
2014-05-12 14:21:40 +08:00
Martin Storsjö
aafa6e3e53
Reorder sections in encConsole.vcproj
...
The MSVC GUI seems to want to write the file with data in the order
Debug|Win32, Debug|x64, Release|Win32, Release|x64. This causes a
large number of changes in the git diff even though the content
still basically is the same. Therefore do it in a separate commit,
to make sure that any later actual changes stay minimal.
2014-05-12 09:20:41 +03:00
Martin Storsjö
4354371b4e
Revert "Remove the literal CRLF (
) within the nasm commands in msvc project files"
...
This reverts commit 7aff66d40c .
These CRLF marks are readded by MSVC as soon as the project files
are updated from within the GUI anyway.
2014-05-12 09:20:41 +03:00
ruil2
6a295d5e8e
Merge pull request #813 from mstorsjo/msvc-proj-cleanup
...
Clean up the MSVC project files
2014-05-12 13:21:16 +08:00
ruil2
eb357b51f2
fix bitrate setting and add bitrate validation
2014-05-12 13:09:01 +08:00
huili2
dae4dbf377
Merge pull request #816 from ruil2/enc_scale
...
fix input source width and height setting issue
2014-05-12 12:39:54 +08:00
huili2
0c24fd66cd
Merge pull request #815 from ruil2/enc_threadIdc
...
add some parameter settings in command line
2014-05-12 12:38:31 +08:00
huili2
a1a22205c6
Merge pull request #814 from ruil2/enc_nalsize
...
add the maximum nal size setting in command line
2014-05-12 12:38:01 +08:00
unknown
4dc0f07828
fix input source width and height setting issue
2014-05-12 11:55:05 +08:00
ruil2
67327dfb2e
add the maximum nal size setting in command line
2014-05-12 11:05:16 +08:00
unknown
61ab32e6f5
add some parameter settings in command line
2014-05-12 10:28:42 +08:00
Martin Storsjö
416bb224e0
Don't hardcode SuppressStartupBanner=true, this is the default value
...
The fewer fields overridden, the better.
2014-05-09 19:59:06 +03:00
Martin Storsjö
3923d11dc6
Remove unnecessary, empty, file specific FileConfiguration blocks in vcproj files
2014-05-09 19:59:06 +03:00
Martin Storsjö
5842e1b2aa
Unify the include directories in the WelsVP project
...
Some directories had a trailing slash in some configurations, but
not in other configurations. Make sure the directories are the same
in all configurations.
2014-05-09 19:59:06 +03:00
Martin Storsjö
7676c5b65b
Unify the include dirs within the decConsole project
...
Some include directories were only present in debug builds.
2014-05-09 19:59:06 +03:00
Martin Storsjö
1446f8b599
Don't use the encoder include dir when building the decoder
2014-05-09 19:59:06 +03:00
Martin Storsjö
324205df88
Remove references to nonexistent include directories
...
Some of these were legacy references to absolute paths outside of
the project itself.
2014-05-09 19:59:06 +03:00
Ethan Hugg
2f8f2880ff
Merge pull request #812 from mstorsjo/remove-manual-win32-defines
...
Don't manually define WIN32/WIN64
2014-05-09 09:48:47 -07:00
Martin Storsjö
e8e2cbcc28
Revert "Set ASM_ARCH in all cases to fix Win64 Debug build"
...
This reverts commit 09025dc8ef .
There is no need to set ASM_ARCH unless assembly sources actually
are built. ASM_ARCH is no longer used for setting unrelated CFLAGS.
2014-05-09 19:34:49 +03:00
Martin Storsjö
4635232d93
Don't manually define WIN32/WIN64
...
All the code that relies on separating them uses the built-in defines
_WIN32 and _WIN64, or the corresponding machine defines (such as
_M_IX86, for MSVC 32 bit inline assembly).
2014-05-09 19:34:04 +03:00
Ethan Hugg
d63458f8e0
Merge pull request #803 from mstorsjo/remove-unused-defines
...
Remove unused defines
2014-05-09 09:29:29 -07:00
Martin Storsjö
094aa24bf6
Remove unused manual defines of _WINDOWS
2014-05-09 19:27:42 +03:00
Martin Storsjö
0d8f7ab0e1
Remove the unused WELSDEC/ENCPLUS_EXPORTS defines
2014-05-09 19:27:42 +03:00
Martin Storsjö
e2ec07ae87
Remove the unused leftover define HAVE_CACHE_LINE_ALIGN
2014-05-09 19:27:42 +03:00
sijchen
8d23201a05
Merge pull request #808 from mstorsjo/use-correct-param-types
...
Use the actual parameter types in PSearchMethodFunc instead of void pointers
2014-05-09 17:22:05 +08:00
sijchen
c215e576e6
Merge pull request #810 from huili2/ps_error_logic_ec
...
for PS error logic for EC
2014-05-09 17:08:44 +08:00
huili2
51c918f212
for PS error logic for EC
2014-05-09 01:12:08 -07:00
dongzhang
218adc7e29
Fix a bug in deblocking for neon 32 bit arm implementation
2014-05-09 14:06:16 +08:00
ruil2
1b501bb509
Merge pull request #807 from sijchen/mmcoslcfix
...
Fix the improper slice mmco setting
2014-05-09 11:09:02 +08:00
sijchen
5de9f41f5a
Fix the improper slice mmco setting
2014-05-09 10:48:09 +08:00
zhilwang
f6293153c8
Merge pull request #802 from mstorsjo/remove-unused-misspelled-define
...
Remove an unused, misspelled define set on only one source file
2014-05-09 08:45:49 +08:00
volvet
88a25713a5
Merge pull request #801 from mstorsjo/fix-manually-edited-vcproj
...
Make manually edited vcproj files match what visual studio actually generates
2014-05-08 21:19:25 +08:00
volvet
5713363c89
Merge pull request #804 from mstorsjo/regenerate-makefiles
...
Regenerate test/decoder/targets.mk using mktargets.sh
2014-05-08 21:11:24 +08:00
volvet
322a3cca50
Merge pull request #805 from mstorsjo/remove-msvc-version-suffix
...
Remove msvc version suffix
2014-05-08 21:06:11 +08:00
volvet
054530fdb4
Merge pull request #800 from mstorsjo/matching-endif
...
Make an endif comment match the actual condition
2014-05-08 20:59:18 +08:00
volvet
ff33fdeb8e
Merge pull request #799 from mstorsjo/use-predefined-define
...
Use the predefined _WIN32 instead of the manually defined WIN32 for windows specific code
2014-05-08 20:58:11 +08:00
volvet
3ea96df63c
Merge pull request #798 from mstorsjo/remove-unused-header
...
Remove a completely unused header
2014-05-08 20:51:49 +08:00
Martin Storsjö
26edfd1f92
Remove the _2008 suffix from the Visual Studio solutions
...
This is the only version of them that we provide - and they
can easily be opened in any newer version anyway.
2014-05-08 11:47:56 +03:00
Martin Storsjö
66f0f6ccbe
Rename the WelsVP vcproj file to match the others
...
The other projects don't have the _2008 suffix.
2014-05-08 11:46:18 +03:00
Martin Storsjö
820cfb40ca
Regenerate test/decoder/targets.mk using mktargets.sh
...
This makes the indentation of one line match the rest.
2014-05-08 11:20:51 +03:00
Martin Storsjö
f8ae7fcc5f
Remove an unused, misspelled define set on only one source file
2014-05-08 11:17:29 +03:00
Martin Storsjö
60f1ea8088
Make manually edited vcproj files match what visual studio actually generates
...
This changes the indentation from space to tabs, and adds missing
dos newlines to these few lines.
This makes the file be detected as using dos newlines properly in
certain editors.
2014-05-08 11:15:50 +03:00
Martin Storsjö
6e715ddc10
Make an endif comment match the actual condition
2014-05-08 11:14:24 +03:00
Martin Storsjö
d69d9c4622
Use the predefined _WIN32 instead of the manually defined WIN32 for windows specific code
...
This avoids having to rely on manually defining WIN32 in the build
system.
2014-05-08 11:12:49 +03:00
Martin Storsjö
b5cc7c2fe1
Remove a completely unused header
2014-05-08 09:59:58 +03:00
HaiboZhu
3567a2e316
Merge pull request #796 from huili2/new_seq_au_reorder
...
fix order of new AU and new Seq
2014-05-08 12:43:58 +08:00
dongzha
e61a6017f9
Merge pull request #795 from huili2/new_seq_au_reorder
...
fix order of new AU and new Seq
2014-05-08 11:24:26 +08:00
huili2
1839910bb0
fix order of new AU and new Seq
2014-05-07 17:56:31 -07:00
volvet
5e73cc4298
Merge pull request #794 from ethanhugg/win64_fix
...
Set ASM_ARCH in all cases to fix Win64 Debug build
2014-05-08 08:56:26 +08:00
Martin Storsjö
f954763635
Use the actual parameter types in PSearchMethodFunc instead of void pointers
2014-05-07 09:26:31 +03:00
Ethan Hugg
09025dc8ef
Set ASM_ARCH in all cases to fix Win64 Debug build
2014-05-07 05:40:13 +00:00