Logo Search packages:      
Sourcecode: blender version File versions

motion_test.c File Reference


Detailed Description

motion test.

Definition in file motion_test.c.

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
#include "dsputil.h"
#include "i386/mmx.h"

Go to the source code of this file.

Defines

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

Typedefs

typedef int motion_func (uint8_t *blk1, uint8_t *blk2, int lx)

Functions

void fill_random (uint8_t *tab, int size)
int64_t gettime (void)
void help (void)
int main (int argc, char **argv)
int pix_abs16x16_mmx (uint8_t *blk1, uint8_t *blk2, int lx)
int pix_abs16x16_mmx1 (uint8_t *blk1, uint8_t *blk2, int lx)
int pix_abs16x16_x2_c (uint8_t *blk1, uint8_t *blk2, int lx)
int pix_abs16x16_x2_mmx (uint8_t *blk1, uint8_t *blk2, int lx)
int pix_abs16x16_x2_mmx1 (uint8_t *blk1, uint8_t *blk2, int lx)
int pix_abs16x16_xy2_c (uint8_t *blk1, uint8_t *blk2, int lx)
int pix_abs16x16_xy2_mmx (uint8_t *blk1, uint8_t *blk2, int lx)
int pix_abs16x16_xy2_mmx1 (uint8_t *blk1, uint8_t *blk2, int lx)
int pix_abs16x16_y2_c (uint8_t *blk1, uint8_t *blk2, int lx)
int pix_abs16x16_y2_mmx (uint8_t *blk1, uint8_t *blk2, int lx)
int pix_abs16x16_y2_mmx1 (uint8_t *blk1, uint8_t *blk2, int lx)
void test_motion (const char *name, motion_func *test_func, motion_func *ref_func)

Variables

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


Generated by  Doxygen 1.6.0   Back to index