OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 | 11 |
12 /* | 12 /* |
13 @*INTRODUCTION | 13 @*INTRODUCTION |
14 */ | 14 */ |
| 15 #include "vpx_config.h" |
15 #include <stdio.h> | 16 #include <stdio.h> |
16 #include <stdlib.h> | 17 #include <stdlib.h> |
17 #include <stdarg.h> | 18 #include <stdarg.h> |
18 #include <string.h> | 19 #include <string.h> |
19 #define VPX_CODEC_DISABLE_COMPAT 1 | 20 #define VPX_CODEC_DISABLE_COMPAT 1 |
20 #include "vpx/vpx_decoder.h" | 21 #include "vpx/vpx_decoder.h" |
21 #include "vpx/vp8dx.h" | 22 #include "vpx/vp8dx.h" |
22 #define interface (vpx_codec_vp8_dx()) | 23 #define interface (vpx_codec_vp8_dx()) |
23 @EXTRA_INCLUDES | 24 @EXTRA_INCLUDES |
24 | 25 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 @@@@@@@@@@@@PROCESS_DX | 95 @@@@@@@@@@@@PROCESS_DX |
95 } | 96 } |
96 } | 97 } |
97 printf("Processed %d frames.\n",frame_cnt); | 98 printf("Processed %d frames.\n",frame_cnt); |
98 @@@@DESTROY | 99 @@@@DESTROY |
99 | 100 |
100 fclose(outfile); | 101 fclose(outfile); |
101 fclose(infile); | 102 fclose(infile); |
102 return EXIT_SUCCESS; | 103 return EXIT_SUCCESS; |
103 } | 104 } |
OLD | NEW |