Commit Graph

644 Commits

Author SHA1 Message Date
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
sijchen
4bd6a3a6e8 [Encoder MD] Add Inter Psub16 MD for screen content coding 2014-05-12 14:21:40 +08:00