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