Mercurial > libavcodec.hg
annotate motion-test.c @ 11051:5d4991dd23de libavcodec
Add support for vorbis 6.1 and 7.1 channel configurations as per the new spec
http://xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-800004.3.9
author | superdump |
---|---|
date | Fri, 29 Jan 2010 13:51:25 +0000 |
parents | 2313bf51945b |
children | 7dd2a45249a9 |
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 /** |
8718
e9d9d946f213
Use full internal pathname in doxygen @file directives.
diego
parents:
8673
diff
changeset
|
22 * @file libavcodec/motion-test.c |
5056
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 |
9383 | 32 #include "config.h" |
5056
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
33 #include "dsputil.h" |
9199
ea0e5e9a520f
Replace random() usage in test programs by av_lfg_*().
diego
parents:
8718
diff
changeset
|
34 #include "libavutil/lfg.h" |
5056
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 #define WIDTH 64 |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
40 #define HEIGHT 64 |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
41 |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
42 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
|
43 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
|
44 |
9295
b225f51903af
Mark non-exported functions in test and example programs as static.
diego
parents:
9199
diff
changeset
|
45 static void fill_random(uint8_t *tab, int size) |
5056
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
46 { |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
47 int i; |
9388
2313bf51945b
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
diego
parents:
9383
diff
changeset
|
48 AVLFG prng; |
9199
ea0e5e9a520f
Replace random() usage in test programs by av_lfg_*().
diego
parents:
8718
diff
changeset
|
49 |
9388
2313bf51945b
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
diego
parents:
9383
diff
changeset
|
50 av_lfg_init(&prng, 1); |
5056
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
51 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
|
52 #if 1 |
9388
2313bf51945b
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
diego
parents:
9383
diff
changeset
|
53 tab[i] = av_lfg_get(&prng) % 256; |
5056
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
54 #else |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
55 tab[i] = i; |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
56 #endif |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
57 } |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
58 } |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
59 |
9295
b225f51903af
Mark non-exported functions in test and example programs as static.
diego
parents:
9199
diff
changeset
|
60 static void help(void) |
5056
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 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
|
63 "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
|
64 exit(1); |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
65 } |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
66 |
9295
b225f51903af
Mark non-exported functions in test and example programs as static.
diego
parents:
9199
diff
changeset
|
67 static int64_t gettime(void) |
5056
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
68 { |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
69 struct timeval tv; |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
70 gettimeofday(&tv,NULL); |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
71 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
|
72 } |
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 #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
|
75 |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
76 int dummy; |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
77 |
9295
b225f51903af
Mark non-exported functions in test and example programs as static.
diego
parents:
9199
diff
changeset
|
78 static void test_motion(const char *name, |
5121 | 79 me_cmp_func test_func, me_cmp_func ref_func) |
5056
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 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
|
82 uint8_t *ptr; |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
83 int64_t ti; |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
84 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
|
85 |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
86 /* test correctness */ |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
87 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
|
88 |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
89 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
|
90 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
|
91 |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
92 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
|
93 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
|
94 ptr = img2 + y * WIDTH + x; |
5121 | 95 d1 = test_func(NULL, img1, ptr, WIDTH, 1); |
96 d2 = ref_func(NULL, img1, ptr, WIDTH, 1); | |
5056
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
97 if (d1 != d2) { |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
98 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
|
99 } |
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 } |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
102 } |
5116
dd5796283029
emms --> emms_c, taken from a patch by Ronald Bultje
diego
parents:
5056
diff
changeset
|
103 emms_c(); |
5056
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
104 |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
105 /* speed test */ |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
106 ti = gettime(); |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
107 d1 = 0; |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
108 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
|
109 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
|
110 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
|
111 ptr = img2 + y * WIDTH + x; |
5121 | 112 d1 += test_func(NULL, img1, ptr, WIDTH, 1); |
5056
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 } |
5116
dd5796283029
emms --> emms_c, taken from a patch by Ronald Bultje
diego
parents:
5056
diff
changeset
|
116 emms_c(); |
5963 | 117 dummy = d1; /* avoid optimization */ |
5056
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
118 ti = gettime() - ti; |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
119 |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
120 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
|
121 (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
|
122 (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
|
123 } |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
124 |
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 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
|
127 { |
5121 | 128 AVCodecContext *ctx; |
5056
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
129 int c; |
5121 | 130 DSPContext cctx, mmxctx; |
9342
7f594601d5e9
Rename FF_MM_MMXEXT to FF_MM_MMX2, for both clarity and consistency
stefano
parents:
9295
diff
changeset
|
131 int flags[2] = { FF_MM_MMX, FF_MM_MMX2 }; |
9383 | 132 int flags_size = HAVE_MMX2 ? 2 : 1; |
5056
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
133 |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
134 for(;;) { |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
135 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
|
136 if (c == -1) |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
137 break; |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
138 switch(c) { |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
139 case 'h': |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
140 help(); |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
141 break; |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
142 } |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
143 } |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
144 |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
145 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
|
146 |
5121 | 147 ctx = avcodec_alloc_context(); |
148 ctx->dsp_mask = FF_MM_FORCE; | |
149 dsputil_init(&cctx, ctx); | |
9383 | 150 for (c = 0; c < flags_size; c++) { |
5121 | 151 int x; |
152 ctx->dsp_mask = FF_MM_FORCE | flags[c]; | |
153 dsputil_init(&mmxctx, ctx); | |
154 | |
155 for (x = 0; x < 2; x++) { | |
156 printf("%s for %dx%d pixels\n", c ? "mmx2" : "mmx", | |
157 x ? 8 : 16, x ? 8 : 16); | |
158 test_motion("mmx", mmxctx.pix_abs[x][0], cctx.pix_abs[x][0]); | |
159 test_motion("mmx_x2", mmxctx.pix_abs[x][1], cctx.pix_abs[x][1]); | |
160 test_motion("mmx_y2", mmxctx.pix_abs[x][2], cctx.pix_abs[x][2]); | |
161 test_motion("mmx_xy2", mmxctx.pix_abs[x][3], cctx.pix_abs[x][3]); | |
162 } | |
163 } | |
164 av_free(ctx); | |
165 | |
5056
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
166 return 0; |
bea5fb6c0999
Rename motion_test.c to motion-test.c, which is the naming scheme used by all
diego
parents:
diff
changeset
|
167 } |