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
sijchen
44640712f6
Add FME unit test
2014-05-05 15:41:15 +08:00
Martin Storsjö
1711b497e3
Take the test of TestHorizontalSearch_SSE41 into use
...
After fixing the ranges, there's no reason to exclude this test.
2014-05-04 17:51:05 +03:00
Martin Storsjö
b1c13f4954
Properly limit the range for the random target motion vectors
...
A 16x16 pixel block is copied to the destination pointed out by the
target motion vector. Since the motion vector is relative to the
center of the buffer, the upper bound of the range is size/2-16.
Previously we never used negative motion vectors, but there is no
reason not to test that direction. Therefore, the possible range
would be [-size/2,size/2-16]. Additionally pad this range with
INTPEL_NEEDED_MARGIN.
2014-05-04 17:50:55 +03:00
Martin Storsjö
03db750ba9
Limit the ME scanning range to 16 pixels from the end of the buffer
...
The block size is chosen randomly; if the block size is 16,
LineFullSearch_c will read a block with 16 pixels from kiMaxPos;
thus kiMaxPos cannot be larger than height-16, otherwise the calls
end up with reads out of bounds.
2014-05-04 17:35:01 +03:00
Licai Guo
485b2b5b43
Add IntraSad asm code.
...
Enable intraSad ASM code
Refine format
Add X86_ASM pretect for intraSad ASM code UT
remove duplicated code.
2014-05-04 12:12:38 +08:00
Martin Storsjö
788b67cbde
Fix the indentation of a line in targets.mk
...
This would be avoided if the targets.mk files are updated by
rerunning mktargets.sh instead of manually updating them.
2014-04-23 10:55:30 +03:00
ruil2
25c04102a9
turn off TestHorizontalSearch_SSE41 unit test becasue of random issues
2014-04-18 11:55:27 +08:00
ruil2
2d675cf741
Merge pull request #704 from JuannyWang/sampleNow
...
[Encoder UT] sample UT code refactor
2014-04-17 15:19:29 +08:00
Licai Guo
3d9d00b27c
Update targets.mk
2014-04-17 10:43:10 +08:00
JuannyWang
1c3c560a05
[Encoder UT] sample UT code refactor
2014-04-17 10:12:37 +08:00
JuannyWang
cc26f561f4
decMbAux UT bug fix
2014-04-15 09:29:46 +08:00
Martin Storsjö
a25f7b7c84
Declare for loop variables consistently in GetIntraPredictorTest
...
Previously, the same variable 'i' was sometimes declared within a for
loop and sometimes outside of the loop, all within the same function.
This avoids spurious warnings in MSVC 2005.
2014-04-11 10:31:58 +03:00
volvet
37201e273e
Merge pull request #660 from zhilwang/refine-me-asm-ut
...
Refine ME cross search ASM UT.
2014-04-09 20:38:45 -07:00
Licai Guo
7d7fac2adc
Refine ME cross search ASM UT.
2014-04-10 10:41:54 +08:00
JuannyWang
468bfb58ad
decodeMbAux UT addition
2014-04-09 16:53:39 +08:00
Martin Storsjö
1b2d3943f1
Use uintptr_t for casting pointers to integers
...
This fixes compilation on mingw-w64 and makes failing tests pass
on MSVC in 64 bit mode.
2014-04-08 09:46:47 +03:00
Licai Guo
5c60e8f868
Add ASM related functions for ME cross search
...
Add asm level functions
Add asm code for ME
Modify format
Add unit test for asm code.
Modify function name and format.
Remove unuse comment
Modify targets file
Add Macro protect for SSE41 funtion test
Modify according to review request.
2014-04-08 11:24:45 +08:00
JuannyWang
801b664201
add encoder UT of mbAux
2014-04-03 16:25:06 +08:00
ganyang
e51b636595
add GetIntraPred UT Files
2014-04-03 10:38:46 +08:00
JuannyWang
df6813063f
[Encoder UT] add expGolom UT and encoder trace modification
2014-04-02 13:57:09 +08:00
sijchen
f695227b00
add funtion pointer for search methods
2014-04-02 10:12:39 +08:00
ganyang
eb6f6ecf40
Add EncoderMB UT test file, and reformat UT files.
2014-04-01 13:55:22 +08:00
ganyang
2d335320c1
add ExpandPic encoder unit test
2014-03-28 10:36:14 +08:00
sijchen
59f243b487
Adjust function interface and add void function for further coworking, adjust test accordingly
2014-03-26 16:52:53 +08:00
sijchen
bbe016543f
Add basic cross search functions and its unit tests
2014-03-26 16:23:44 +08:00
Licai Guo
f26bb57415
reorganize tests
2014-03-24 22:14:43 -07:00