Commit Graph

1921 Commits

Author SHA1 Message Date
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
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
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