#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
#include "dsputil.h"
Go to the source code of this file.
Defines | |
#define | WIDTH 64 |
#define | HEIGHT 64 |
#define | NB_ITS 500 |
Functions | |
void | fill_random (uint8_t *tab, int size) |
void | help (void) |
int64_t | gettime (void) |
void | test_motion (const char *name, me_cmp_func test_func, me_cmp_func ref_func) |
int | main (int argc, char **argv) |
Variables | |
uint8_t | img1 [WIDTH *HEIGHT] |
uint8_t | img2 [WIDTH *HEIGHT] |
int | dummy |
Definition in file motion-test.c.
#define HEIGHT 64 |
Definition at line 39 of file motion-test.c.
#define NB_ITS 500 |
Definition at line 70 of file motion-test.c.
#define WIDTH 64 |
Definition at line 38 of file motion-test.c.
void fill_random | ( | uint8_t * | tab, | |
int | size | |||
) |
int64_t gettime | ( | void | ) |
Definition at line 63 of file motion-test.c.
void help | ( | void | ) |
Definition at line 56 of file motion-test.c.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 122 of file motion-test.c.
void test_motion | ( | const char * | name, | |
me_cmp_func | test_func, | |||
me_cmp_func | ref_func | |||
) |
int dummy |
Definition at line 72 of file motion-test.c.
Referenced by dct_quantize_TMPL(), get_pointer_coordinates(), read_seek(), test_motion(), write_packet(), and yuv2packedX_TMPL().
uint8_t img1[WIDTH *HEIGHT] |
uint8_t img2[WIDTH *HEIGHT] |