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 #ifndef VPX_DECODER_H |
| 11 #define VPX_DECODER_H |
11 | 12 |
12 /*!\defgroup decoder Decoder Algorithm Interface | 13 /*!\defgroup decoder Decoder Algorithm Interface |
13 * \ingroup codec | 14 * \ingroup codec |
14 * This abstraction allows applications using this decoder to easily support | 15 * This abstraction allows applications using this decoder to easily support |
15 * multiple video formats with minimal code duplication. This section describes | 16 * multiple video formats with minimal code duplication. This section describes |
16 * the interface common to all decoders. | 17 * the interface common to all decoders. |
17 * @{ | 18 * @{ |
18 */ | 19 */ |
19 | 20 |
20 /*!\file | 21 /*!\file |
21 * \brief Describes the decoder algorithm interface to applications. | 22 * \brief Describes the decoder algorithm interface to applications. |
22 * | 23 * |
23 * This file describes the interface between an application and a | 24 * This file describes the interface between an application and a |
24 * video decoder algorithm. | 25 * video decoder algorithm. |
25 * | 26 * |
26 */ | 27 */ |
27 #ifdef __cplusplus | 28 #ifdef __cplusplus |
28 extern "C" { | 29 extern "C" { |
29 #endif | 30 #endif |
30 | 31 |
31 #ifndef VPX_DECODER_H | |
32 #define VPX_DECODER_H | |
33 #include "vpx_codec.h" | 32 #include "vpx_codec.h" |
34 | 33 |
35 /*!\brief Current ABI version number | 34 /*!\brief Current ABI version number |
36 * | 35 * |
37 * \internal | 36 * \internal |
38 * If this file is altered in any way that changes the ABI, this value | 37 * If this file is altered in any way that changes the ABI, this value |
39 * must be bumped. Examples include, but are not limited to, changing | 38 * must be bumped. Examples include, but are not limited to, changing |
40 * types, removing or reassigning enums, adding/removing/rearranging | 39 * types, removing or reassigning enums, adding/removing/rearranging |
41 * fields to structures | 40 * fields to structures |
42 */ | 41 */ |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 * posting slice completion. | 320 * posting slice completion. |
322 */ | 321 */ |
323 vpx_codec_err_t vpx_codec_register_put_slice_cb(vpx_codec_ctx_t *c
tx, | 322 vpx_codec_err_t vpx_codec_register_put_slice_cb(vpx_codec_ctx_t *c
tx, |
324 vpx_codec_put_slice_cb_fn_t c
b, | 323 vpx_codec_put_slice_cb_fn_t c
b, |
325 void *u
ser_priv); | 324 void *u
ser_priv); |
326 | 325 |
327 | 326 |
328 /*!@} - end defgroup cap_put_slice*/ | 327 /*!@} - end defgroup cap_put_slice*/ |
329 | 328 |
330 /*!@} - end defgroup decoder*/ | 329 /*!@} - end defgroup decoder*/ |
331 | |
332 #endif | |
333 | |
334 #ifdef __cplusplus | 330 #ifdef __cplusplus |
335 } | 331 } |
336 #endif | 332 #endif |
| 333 #endif |
| 334 |
OLD | NEW |