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
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ö
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
Martin Storsjö
e16487d416
Clear the executable bit from new assembly source files
2014-06-27 18:45:13 +03:00
ruil2
863ec74f0d
fix update parameters
2014-06-27 18:09:40 +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
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
775b507941
Merge pull request #1024 from ruil2/trace_fix
...
change void* to explicit type definition
2014-06-27 13:14:41 +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
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
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ö
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
ruil2
04d7e63a58
remove more checking
2014-06-26 17:18:25 +08:00
ruil2
3a0777201c
remove temporal layer checking
2014-06-26 16:17:46 +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
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
ruil2
efc5bbd9fb
format update
2014-06-25 16:37:00 +08:00
ruil2
057e38663f
add iSubSeqId calculation
2014-06-25 16:18:42 +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ö
70f93d8816
Remove an unused variable
...
This fixes build warnings when building for OS X with clang.
2014-06-25 09:21:14 +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
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
ganyang
43b56d9981
fix overflow issue caused by pCountMbNumInSlice
2014-06-23 17:25:20 +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
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
b3dedb3f37
modify the interface for delivery info and add some comments
2014-06-23 13:16:15 +08:00
huili2
dc56892d72
misaligned_rc_structure
2014-06-22 18:47:33 -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
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
daf67d607f
add win 64 warnings remove
2014-06-19 18:31:39 -07: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
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
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
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
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
huili2
887b2727f0
remove multiplication overflow warning by ULL instead of LL
2014-06-17 18:51:09 -07:00
huili2
971ccccab4
remove unnecessary flush buffer in encoder
2014-06-17 02:40:28 -07:00
ruil2
c635ce442f
fix a bug that dump reconstruct frame
2014-06-17 14:48:39 +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
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
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
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
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
ruil2
44b048edd6
move trace related info to interface header
2014-06-11 17:05:40 +08:00
Martin Storsjö
090229f8a1
Add public options for setting a log callback
2014-06-11 08:08:56 +03:00
Martin Storsjö
cb5ee6c239
Remove the global log callback function
...
Now all logging should use a non-null log context, allowing to
pass the messages to the right recipient.
2014-06-11 08:08:56 +03:00
Martin Storsjö
9583ac4d52
Set and use a proper log context in the encoder
2014-06-11 08:08:55 +03:00
Martin Storsjö
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ö
c4a59690da
Allow setting the trace level before initializing the encoder
2014-06-11 08:08:29 +03:00
Martin Storsjö
65616c2c53
Use a more descriptive include guard in the welsEncoder/DecoderExt.h files
2014-06-10 17:06:14 +03:00
Martin Storsjö
e6ba730c59
Remove a misleading comment
...
This comment claimed to be a completely different file.
2014-06-10 17:06:13 +03:00
Martin Storsjö
1ea50e209a
Fix a typo, setttings -> settings
2014-06-10 17:06:13 +03:00
Martin Storsjö
17fc6bd66e
Remove the unnecessary method WelsTraceModuleIsExist(), which always returned true
2014-06-10 10:52:26 +03:00
Martin Storsjö
40af75c19d
Remove the unnecessary WelsSet/GetLogLevel functions
...
Nothing actually used the variable that these functions
handled.
2014-06-10 10:52:06 +03:00
dongzhang
0e0c8b5569
add arm 64 deblock code and Unit Test code
2014-06-10 11:23:51 +08:00
huili2
a6ebecd707
Merge pull request #936 from ruil2/trace_cleanup
...
cleanup trace module
2014-06-10 10:55:46 +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
88e7637a33
Merge pull request #935 from lyao2/pskip_commit_
...
remove ubuntu build warning
2014-06-10 10:22:18 +08:00
lyao2
41f3e2e0cf
remove ubuntu build warning
2014-06-10 09:37:34 +08: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
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
lyao2
1d79a1ac80
enable static/scroll Pskip functions
2014-06-09 15:57:15 +08:00
ruil2
74df3e9553
add ref-original frame assigment
2014-06-06 15:24:31 +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
lyao2
c6e7814b57
add pskip MD functions
2014-06-06 13:51:32 +08:00
zhiliang wang
5d7e18de54
Add arm64 neon code for Satd.
2014-06-06 09:33:15 +08: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
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
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ö
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
dongzha
80fdf09b26
Merge pull request #903 from zhilwang/arm64-sad
...
Add Arm64 sad code
2014-05-30 09:26:04 +08:00
huili2
153fa10dc5
Merge pull request #898 from ruil2/enc_rc_4
...
simplify stash pop bs
2014-05-28 16:21:10 +08:00
ruil2
c1620f3868
fix a bug that if..else are grouped incorrectly
2014-05-27 16:13:24 +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
ruil2
db11ba7a34
fix vlc overflow
2014-05-27 13:18:52 +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
ganyang
2e6f180e95
remove max slice number constraint
2014-05-22 19:39:43 +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
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
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
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
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
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
sijchen
78f3b5c5f6
add minimum buffer size
2014-05-16 11:18:14 +08:00
zhiliang wang
53c8af4566
Refine some code
2014-05-15 15:04:44 +08: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
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
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
80ae4cb7d8
add me function pointers for screen contents
2014-05-13 16:47:18 +08: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