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
Martin Storsjö
e8fafebd96
Silence warnings and errors when running tests that intentionally produce errors
2014-08-06 21:32:08 +03:00
HFVideoMac
cff49f5e45
add arm 32/64 code and UT for SVC SCC motion estimation
2014-08-06 17:24:36 +08:00
Martin Storsjö
a1bc5fa1b5
Include test_stdint.h to get stdint types for MSVC
2014-07-30 13:51:52 +03:00
ruil2
8dd5d483d4
remove test case because this issue had been fixed
2014-07-29 11:05:48 +08:00
lyao2
4ee434691a
fix param initialization bug in UT
2014-07-28 17:43:56 +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
ruil2
e58de20f3a
add encoder interface ut
2014-07-25 16:40:14 +08:00
lyao2
562f38afff
add interface UT for RC and code refactor
2014-07-24 17:27:55 +08:00
lyao2
d633f8584a
add interface UT for memory align check
2014-07-15 15:21:54 +08:00
ruil2
010e423b2b
Merge pull request #1169 from sijchen/interfaceUT12
...
[Encoder UT] Interface: EncoderEncodeParameterSets
2014-07-15 14:20:18 +08: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
Sijia Chen
b669801e89
add interface UT for WelsEncoderEncodeParameterSets
...
and fix previous value
2014-07-14 18:36:35 +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
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
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
ruil2
45c2fff6b8
interface update
2014-07-09 15:41:04 +08:00
huili2
adb0fa498f
astyle all cpp files
2014-07-08 20:01:42 -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
zhilwang
228ea1a668
Merge pull request #1101 from dongzha/AddArm64MBCopy
...
add arm64 MB COPY code and UT
2014-07-09 09:31:31 +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
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
dongzhang
eace9b7b00
add MemoryZero Arm64 code and UT
2014-07-08 12:52:48 +08:00
dongzhang
9b753c9c39
add reconstruct UT input limitation
2014-07-08 12:33:14 +08:00
dongzhang
d88b83df44
Add ARM64 Code and UnitTest for reconstruction
2014-07-07 15:31:46 +08:00
Haibo Zhu
da75e15b4a
Modify the unit test for WelsDequantIHadamard2x2Dc
2014-07-03 18:40:12 -07:00
lyao2
44faa1c9a7
add encoder interface UT for IDR request
2014-07-02 18:42:05 +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
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ö
d2afebd2d7
Add proper spacing in include directvies
2014-07-01 10:55:04 +03: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
zhilwang
2b038fa73b
Merge pull request #1037 from mstorsjo/unify-align-macros
...
Unify macros for alignment
2014-06-30 10:09:05 +08: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ö
f300476468
Use the ALIGNED_DECLARE macro instead of __align16
2014-06-29 00:36:02 +03:00
Martin Storsjö
a474e00d15
Fix a typo, Chorma -> Chroma
2014-06-27 23:50:14 +03:00
huili2
dc3fae4477
astyle all
2014-06-25 18:50:41 -07:00
ruil2
1e43075b25
update expand picture UT
2014-06-12 09:37:30 +08:00
huili2
01322d11ff
fix memory leak in EncUT_GetIntraPredictor
2014-06-09 18:12:03 -07:00
ruil2
ece06b37da
resolve unit test warnings
2014-06-06 13:29:30 +08:00
ruil2
14e5d740cd
clean up expand picture.
2014-05-30 11:05:31 +08:00
sijchen
5d1d47c01b
fix me func type in UT
2014-05-21 08:57:58 +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
volvet
9a74427a61
Merge pull request #788 from mstorsjo/factorize-duplicated-test
...
Avoid duplicating code in the MotionEstimate test
Approved by Sijia.
2014-05-06 15:00:01 +08:00
huili2
f897029034
Merge pull request #791 from zhilwang/intraSad
...
Add func init for welsfillingPred
2014-05-06 14:00:32 +08:00
zhiliang wang
82b875c388
Add func init on UT source code
2014-05-06 11:16:46 +08:00
Martin Storsjö
92e5489dd3
Avoid duplicating code in the MotionEstimate test
...
All the tests of the line search (unoptimized and optimized)
use the exact same copypasted structure. Instead factorize this
into a test function which uses the provided function.
2014-05-05 16:15:18 +03:00
Martin Storsjö
c0f2487631
Remove an unused static method
...
This was added in 44640712f without actually being used.
2014-05-05 15:13:43 +03:00