annotate motion-test.c @ 5056:bea5fb6c0999 libavcodec

Rename motion_test.c to motion-test.c, which is the naming scheme used by all other test programs. As a positive sideeffect, this makes the build system try to actually create the executable file.
author diego
date Mon, 21 May 2007 07:11:27 +0000
parents
children dd5796283029
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5056
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
1 /*
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
2 * (c) 2001 Fabrice Bellard
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
3 *
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
4 * This file is part of FFmpeg.
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
5 *
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
6 * FFmpeg is free software; you can redistribute it and/or
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
7 * modify it under the terms of the GNU Lesser General Public
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
8 * License as published by the Free Software Foundation; either
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
9 * version 2.1 of the License, or (at your option) any later version.
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
10 *
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
11 * FFmpeg is distributed in the hope that it will be useful,
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
14 * Lesser General Public License for more details.
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
15 *
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
16 * You should have received a copy of the GNU Lesser General Public
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
17 * License along with FFmpeg; if not, write to the Free Software
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
19 */
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
20
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
21 /**
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
22 * @file motion_test.c
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
23 * motion test.
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
24 */
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
25
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
26 #include <stdlib.h>
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
27 #include <stdio.h>
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
28 #include <string.h>
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
29 #include <sys/time.h>
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
30 #include <unistd.h>
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
31
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
32 #include "dsputil.h"
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
33
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
34 #include "i386/mmx.h"
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
35
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
36 #undef exit
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
37 #undef printf
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
38
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
39 int pix_abs16x16_mmx(uint8_t *blk1, uint8_t *blk2, int lx);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
40 int pix_abs16x16_mmx1(uint8_t *blk1, uint8_t *blk2, int lx);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
41 int pix_abs16x16_c(uint8_t *blk1, uint8_t *blk2, int lx);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
42 int pix_abs16x16_x2_mmx(uint8_t *blk1, uint8_t *blk2, int lx);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
43 int pix_abs16x16_x2_mmx1(uint8_t *blk1, uint8_t *blk2, int lx);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
44 int pix_abs16x16_x2_c(uint8_t *blk1, uint8_t *blk2, int lx);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
45 int pix_abs16x16_y2_mmx(uint8_t *blk1, uint8_t *blk2, int lx);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
46 int pix_abs16x16_y2_mmx1(uint8_t *blk1, uint8_t *blk2, int lx);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
47 int pix_abs16x16_y2_c(uint8_t *blk1, uint8_t *blk2, int lx);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
48 int pix_abs16x16_xy2_mmx(uint8_t *blk1, uint8_t *blk2, int lx);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
49 int pix_abs16x16_xy2_mmx1(uint8_t *blk1, uint8_t *blk2, int lx);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
50 int pix_abs16x16_xy2_c(uint8_t *blk1, uint8_t *blk2, int lx);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
51
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
52 typedef int motion_func(uint8_t *blk1, uint8_t *blk2, int lx);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
53
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
54 #define WIDTH 64
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
55 #define HEIGHT 64
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
56
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
57 uint8_t img1[WIDTH * HEIGHT];
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
58 uint8_t img2[WIDTH * HEIGHT];
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
59
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
60 void fill_random(uint8_t *tab, int size)
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
61 {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
62 int i;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
63 for(i=0;i<size;i++) {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
64 #if 1
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
65 tab[i] = random() % 256;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
66 #else
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
67 tab[i] = i;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
68 #endif
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
69 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
70 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
71
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
72 void help(void)
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
73 {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
74 printf("motion-test [-h]\n"
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
75 "test motion implementations\n");
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
76 exit(1);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
77 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
78
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
79 int64_t gettime(void)
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
80 {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
81 struct timeval tv;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
82 gettimeofday(&tv,NULL);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
83 return (int64_t)tv.tv_sec * 1000000 + tv.tv_usec;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
84 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
85
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
86 #define NB_ITS 500
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
87
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
88 int dummy;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
89
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
90 void test_motion(const char *name,
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
91 motion_func *test_func, motion_func *ref_func)
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
92 {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
93 int x, y, d1, d2, it;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
94 uint8_t *ptr;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
95 int64_t ti;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
96 printf("testing '%s'\n", name);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
97
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
98 /* test correctness */
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
99 for(it=0;it<20;it++) {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
100
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
101 fill_random(img1, WIDTH * HEIGHT);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
102 fill_random(img2, WIDTH * HEIGHT);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
103
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
104 for(y=0;y<HEIGHT-17;y++) {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
105 for(x=0;x<WIDTH-17;x++) {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
106 ptr = img2 + y * WIDTH + x;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
107 d1 = test_func(img1, ptr, WIDTH);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
108 d2 = ref_func(img1, ptr, WIDTH);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
109 if (d1 != d2) {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
110 printf("error: mmx=%d c=%d\n", d1, d2);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
111 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
112 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
113 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
114 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
115 emms();
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
116
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
117 /* speed test */
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
118 ti = gettime();
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
119 d1 = 0;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
120 for(it=0;it<NB_ITS;it++) {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
121 for(y=0;y<HEIGHT-17;y++) {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
122 for(x=0;x<WIDTH-17;x++) {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
123 ptr = img2 + y * WIDTH + x;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
124 d1 += test_func(img1, ptr, WIDTH);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
125 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
126 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
127 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
128 emms();
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
129 dummy = d1; /* avoid optimisation */
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
130 ti = gettime() - ti;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
131
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
132 printf(" %0.0f kop/s\n",
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
133 (double)NB_ITS * (WIDTH - 16) * (HEIGHT - 16) /
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
134 (double)(ti / 1000.0));
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
135 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
136
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
137
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
138 int main(int argc, char **argv)
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
139 {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
140 int c;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
141
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
142 for(;;) {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
143 c = getopt(argc, argv, "h");
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
144 if (c == -1)
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
145 break;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
146 switch(c) {
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
147 case 'h':
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
148 help();
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
149 break;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
150 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
151 }
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
152
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
153 printf("ffmpeg motion test\n");
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
154
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
155 test_motion("mmx", pix_abs16x16_mmx, pix_abs16x16_c);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
156 test_motion("mmx_x2", pix_abs16x16_x2_mmx, pix_abs16x16_x2_c);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
157 test_motion("mmx_y2", pix_abs16x16_y2_mmx, pix_abs16x16_y2_c);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
158 test_motion("mmx_xy2", pix_abs16x16_xy2_mmx, pix_abs16x16_xy2_c);
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
159 return 0;
bea5fb6c0999 Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff changeset
160 }