#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
#include "config.h"
#include "dsputil.h"
#include "libavutil/lfg.h"
Go to the source code of this file.
Defines | |
#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 int64_t | gettime (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 | |
uint8_t | img1 [WIDTH *HEIGHT] |
uint8_t | img2 [WIDTH *HEIGHT] |
int | dummy |
Definition in file motion-test.c.
#define HEIGHT 64 |
Definition at line 40 of file motion-test.c.
#define NB_ITS 500 |
Definition at line 74 of file motion-test.c.
#define WIDTH 64 |
Definition at line 39 of file motion-test.c.
static void fill_random | ( | uint8_t * | tab, | |
int | size | |||
) | [static] |
static int64_t gettime | ( | void | ) | [static] |
Definition at line 67 of file motion-test.c.
static void help | ( | void | ) | [static] |
Definition at line 60 of file motion-test.c.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 126 of file motion-test.c.
static void test_motion | ( | const char * | name, | |
me_cmp_func | test_func, | |||
me_cmp_func | ref_func | |||
) | [static] |
int dummy |
Definition at line 76 of file motion-test.c.
Referenced by dct_quantize_TMPL(), draw_glyphs(), draw_text(), read_seek(), test_motion(), write_packet(), yuv2bgr24_X_ar_TMPL(), yuv2bgr24_X_TMPL(), yuv2rgb32_X_ar_TMPL(), yuv2rgb32_X_TMPL(), yuv2rgb555_X_ar_TMPL(), yuv2rgb555_X_TMPL(), yuv2rgb565_X_ar_TMPL(), yuv2rgb565_X_TMPL(), yuv2yuyv422_X_ar_TMPL(), and yuv2yuyv422_X_TMPL().
uint8_t img1[WIDTH *HEIGHT] |
uint8_t img2[WIDTH *HEIGHT] |