motion-test.c File Reference

motion test. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "config.h"
#include "dsputil.h"
#include "libavutil/internal.h"
#include "libavutil/lfg.h"
#include "libavutil/mem.h"
#include "libavutil/time.h"
Include dependency graph for motion-test.c:

Go to the source code of this file.

Macros

#define WIDTH   64
 
#define HEIGHT   64
 
#define NB_ITS   500
 

Functions

static void fill_random (uint8_t *tab, int size)
 
static void help (void)
 
static void test_motion (const char *name, me_cmp_func test_func, me_cmp_func ref_func)
 
int main (int argc, char **argv)
 

Variables

static uint8_t img1 [WIDTH *HEIGHT]
 
static uint8_t img2 [WIDTH *HEIGHT]
 
int dummy
 

Detailed Description

motion test.

Definition in file motion-test.c.

Macro Definition Documentation

#define HEIGHT   64

Definition at line 40 of file motion-test.c.

Referenced by test_motion().

#define NB_ITS   500

Definition at line 62 of file motion-test.c.

Referenced by test_motion().

#define WIDTH   64

Definition at line 39 of file motion-test.c.

Referenced by test_motion().

Function Documentation

static void fill_random ( uint8_t tab,
int  size 
)
static

Definition at line 45 of file motion-test.c.

Referenced by test_motion().

static void help ( void  )
static

Definition at line 56 of file motion-test.c.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 114 of file motion-test.c.

static void test_motion ( const char *  name,
me_cmp_func  test_func,
me_cmp_func  ref_func 
)
static

Definition at line 66 of file motion-test.c.

Referenced by main().

Variable Documentation

uint8_t img1[WIDTH *HEIGHT]
static

Definition at line 42 of file motion-test.c.

Referenced by test_motion().

uint8_t img2[WIDTH *HEIGHT]
static

Definition at line 43 of file motion-test.c.

Referenced by test_motion().