| 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_ENCODER_H |
| 11 #define VPX_ENCODER_H |
| 11 | 12 |
| 12 /*!\defgroup encoder Encoder Algorithm Interface | 13 /*!\defgroup encoder Encoder Algorithm Interface |
| 13 * \ingroup codec | 14 * \ingroup codec |
| 14 * This abstraction allows applications using this encoder to easily support | 15 * This abstraction allows applications using this encoder 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 encoders. | 17 * the interface common to all encoders. |
| 17 * @{ | 18 * @{ |
| 18 */ | 19 */ |
| 19 | 20 |
| 20 /*!\file | 21 /*!\file |
| 21 * \brief Describes the encoder algorithm interface to applications. | 22 * \brief Describes the encoder 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 encoder algorithm. | 25 * video encoder 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_ENCODER_H | |
| 32 #define VPX_ENCODER_H | |
| 33 #include "vpx_codec.h" | 32 #include "vpx_codec.h" |
| 34 | 33 |
| 35 /*! Temporal Scalability: Maximum length of the sequence defining frame | 34 /*! Temporal Scalability: Maximum length of the sequence defining frame |
| 36 * layer membership | 35 * layer membership |
| 37 */ | 36 */ |
| 38 #define VPX_TS_MAX_PERIODICITY 16 | 37 #define VPX_TS_MAX_PERIODICITY 16 |
| 39 | 38 |
| 40 /*! Temporal Scalability: Maximum number of coding layers */ | 39 /*! Temporal Scalability: Maximum number of coding layers */ |
| 41 #define VPX_TS_MAX_LAYERS 5 | 40 #define VPX_TS_MAX_LAYERS 5 |
| 42 | 41 |
| (...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 923 * \param[in] ctx Pointer to this instance's context | 922 * \param[in] ctx Pointer to this instance's context |
| 924 * | 923 * |
| 925 * \return Returns a pointer to a preview image, or NULL if no image is | 924 * \return Returns a pointer to a preview image, or NULL if no image is |
| 926 * available. | 925 * available. |
| 927 * | 926 * |
| 928 */ | 927 */ |
| 929 const vpx_image_t *vpx_codec_get_preview_frame(vpx_codec_ctx_t *ctx); | 928 const vpx_image_t *vpx_codec_get_preview_frame(vpx_codec_ctx_t *ctx); |
| 930 | 929 |
| 931 | 930 |
| 932 /*!@} - end defgroup encoder*/ | 931 /*!@} - end defgroup encoder*/ |
| 933 | |
| 934 #endif | |
| 935 #ifdef __cplusplus | 932 #ifdef __cplusplus |
| 936 } | 933 } |
| 937 #endif | 934 #endif |
| 935 #endif |
| 936 |
| OLD | NEW |