mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
Disable C vs ASM comparion
BUG=91 TEST=I420ToV210 Review URL: https://webrtc-codereview.appspot.com/857015 git-svn-id: http://libyuv.googlecode.com/svn/trunk@409 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
c7277d08e8
commit
ab1f34a1d6
@ -133,6 +133,8 @@ TESTPLANARTOP(I420, 2, 2, I422, 2, 1)
|
|||||||
TESTPLANARTOP(I420, 2, 2, I444, 1, 1)
|
TESTPLANARTOP(I420, 2, 2, I444, 1, 1)
|
||||||
TESTPLANARTOP(I420, 2, 2, I411, 4, 1)
|
TESTPLANARTOP(I420, 2, 2, I411, 4, 1)
|
||||||
|
|
||||||
|
// TODO(fbarchard): Enable C code for comparison: MaskCpuFlags(0); \
|
||||||
|
|
||||||
#define TESTPLANARTOBI(FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, FMT_B, BPP_B, ALIGN, \
|
#define TESTPLANARTOBI(FMT_PLANAR, SUBSAMP_X, SUBSAMP_Y, FMT_B, BPP_B, ALIGN, \
|
||||||
W1280, N, NEG) \
|
W1280, N, NEG) \
|
||||||
TEST_F(libyuvTest, FMT_PLANAR##To##FMT_B##N) { \
|
TEST_F(libyuvTest, FMT_PLANAR##To##FMT_B##N) { \
|
||||||
@ -159,13 +161,11 @@ TEST_F(libyuvTest, FMT_PLANAR##To##FMT_B##N) { \
|
|||||||
src_v[(i * kWidth / SUBSAMP_X) + j] = (random() & 0xff); \
|
src_v[(i * kWidth / SUBSAMP_X) + j] = (random() & 0xff); \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
MaskCpuFlags(0); \
|
|
||||||
FMT_PLANAR##To##FMT_B(src_y, kWidth, \
|
FMT_PLANAR##To##FMT_B(src_y, kWidth, \
|
||||||
src_u, kWidth / SUBSAMP_X, \
|
src_u, kWidth / SUBSAMP_X, \
|
||||||
src_v, kWidth / SUBSAMP_X, \
|
src_v, kWidth / SUBSAMP_X, \
|
||||||
dst_argb_c, kStrideB, \
|
dst_argb_c, kStrideB, \
|
||||||
kWidth, NEG kHeight); \
|
kWidth, NEG kHeight); \
|
||||||
MaskCpuFlags(-1); \
|
|
||||||
for (int i = 0; i < benchmark_iterations_; ++i) { \
|
for (int i = 0; i < benchmark_iterations_; ++i) { \
|
||||||
FMT_PLANAR##To##FMT_B(src_y, kWidth, \
|
FMT_PLANAR##To##FMT_B(src_y, kWidth, \
|
||||||
src_u, kWidth / SUBSAMP_X, \
|
src_u, kWidth / SUBSAMP_X, \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user