webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Functions | Variables
unit_test.cc File Reference
#include "../unit_test/unit_test.h"
#include <stdlib.h>
#include <cstring>
#include "gflags/gflags.h"

Macros

#define BENCHMARK_ITERATIONS   1
 

Functions

 DEFINE_int32 (libyuv_width, 0, "width of test image.")
 
 DEFINE_int32 (libyuv_height, 0, "height of test image.")
 
 DEFINE_int32 (libyuv_repeat, 0, "number of times to repeat test.")
 
 DEFINE_int32 (libyuv_flags, 0, "cpu flags for reference code. 1 = C, -1 = SIMD")
 
 DEFINE_int32 (libyuv_cpu_info, 0, "cpu flags for benchmark code. 1 = C, -1 = SIMD")
 
int main (int argc, char **argv)
 

Variables

unsigned int fastrand_seed = 0xfb
 

Macro Definition Documentation

◆ BENCHMARK_ITERATIONS

#define BENCHMARK_ITERATIONS   1

Function Documentation

◆ DEFINE_int32() [1/5]

DEFINE_int32 ( libyuv_width  ,
,
"width of test image."   
)

◆ DEFINE_int32() [2/5]

DEFINE_int32 ( libyuv_height  ,
,
"height of test image."   
)

◆ DEFINE_int32() [3/5]

DEFINE_int32 ( libyuv_repeat  ,
,
"number of times to repeat test."   
)

◆ DEFINE_int32() [4/5]

DEFINE_int32 ( libyuv_flags  ,
,
"cpu flags for reference code.  1 = C 
)

◆ DEFINE_int32() [5/5]

DEFINE_int32 ( libyuv_cpu_info  ,
,
"cpu flags for benchmark code.  1 = C 
)

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ fastrand_seed

unsigned int fastrand_seed = 0xfb