vp8dx.h 2.07 KB
 John Koleszar committed May 18, 2010 1 ``````/* `````` John Koleszar committed Sep 09, 2010 2 `````` * Copyright (c) 2010 The WebM project authors. All Rights Reserved. `````` John Koleszar committed May 18, 2010 3 `````` * `````` John Koleszar committed Jun 18, 2010 4 `````` * Use of this source code is governed by a BSD-style license `````` John Koleszar committed Jun 04, 2010 5 6 `````` * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found `````` John Koleszar committed Jun 18, 2010 7 `````` * in the file PATENTS. All contributing project authors may `````` John Koleszar committed Jun 04, 2010 8 `````` * be found in the AUTHORS file in the root of the source tree. `````` John Koleszar committed May 18, 2010 9 10 11 12 13 14 15 16 17 18 `````` */ #include "vp8.h" /*!\defgroup vp8_decoder WebM VP8 Decoder * \ingroup vp8 * * @{ */ `````` James Zern committed Feb 16, 2011 19 ``````/*!\file `````` John Koleszar committed May 18, 2010 20 21 22 `````` * \brief Provides definitions for using the VP8 algorithm within the vpx Decoder * interface. */ `````` John Koleszar committed Nov 06, 2012 23 24 ``````#ifndef VP8DX_H #define VP8DX_H `````` Johann committed Jun 28, 2011 25 ``````#include "vpx_codec_impl_top.h" `````` John Koleszar committed May 18, 2010 26 `````` `````` James Zern committed Feb 24, 2011 27 ``````/*!\name Algorithm interface for VP8 `````` John Koleszar committed May 18, 2010 28 29 30 `````` * * This interface provides the capability to decode raw VP8 streams, as would * be found in AVI files and other non-Flash uses. `````` James Zern committed Feb 24, 2011 31 `````` * @{ `````` John Koleszar committed May 18, 2010 32 `````` */ `````` John Koleszar committed Sep 23, 2010 33 ``````extern vpx_codec_iface_t vpx_codec_vp8_dx_algo; `````` John Koleszar committed Jul 17, 2012 34 ``````extern vpx_codec_iface_t *vpx_codec_vp8_dx(void); `````` James Zern committed Feb 24, 2011 35 ``````/*!@} - end algorithm interface member group*/ `````` John Koleszar committed May 18, 2010 36 37 38 39 40 `````` /* Include controls common to both the encoder and decoder */ #include "vp8.h" `````` Henrik Lundin committed Dec 17, 2010 41 42 ``````/*!\brief VP8 decoder control functions * `````` James Zern committed Feb 24, 2011 43 44 45 46 `````` * This set of macros define the control functions available for the VP8 * decoder interface. * * \sa #vpx_codec_control `````` Henrik Lundin committed Dec 17, 2010 47 `````` */ `````` John Koleszar committed Jul 17, 2012 48 49 50 51 52 53 54 55 56 ``````enum vp8_dec_control_id { /** control function to get info on which reference frames were updated * by the last decode */ VP8D_GET_LAST_REF_UPDATES = VP8_DECODER_CTRL_ID_START, /** check if the indicated frame is corrupted */ VP8D_GET_FRAME_CORRUPTED, `````` John Koleszar committed Nov 06, 2012 57 58 59 60 61 `````` /** control function to get info on which reference frames were used * by the last decode */ VP8D_GET_LAST_REF_USED, `````` John Koleszar committed Jul 17, 2012 62 63 `````` VP8_DECODER_CTRL_ID_MAX }; `````` Henrik Lundin committed Dec 17, 2010 64 65 `````` `````` John Koleszar committed Mar 04, 2011 66 ``````/*!\brief VP8 decoder control function parameter type `````` Henrik Lundin committed Dec 17, 2010 67 `````` * `````` John Koleszar committed Mar 04, 2011 68 `````` * Defines the data types that VP8D control functions take. Note that `````` Henrik Lundin committed Dec 17, 2010 69 70 71 72 73 74 `````` * additional common controls are defined in vp8.h * */ VPX_CTRL_USE_TYPE(VP8D_GET_LAST_REF_UPDATES, int *) `````` Henrik Lundin committed Jan 19, 2011 75 ``````VPX_CTRL_USE_TYPE(VP8D_GET_FRAME_CORRUPTED, int *) `````` John Koleszar committed Nov 06, 2012 76 ``````VPX_CTRL_USE_TYPE(VP8D_GET_LAST_REF_USED, int *) `````` Henrik Lundin committed Dec 17, 2010 77 `````` `````` John Koleszar committed May 18, 2010 78 79 80 ``````/*! @} - end defgroup vp8_decoder */ `````` Johann committed Jun 28, 2011 81 ``````#include "vpx_codec_impl_bottom.h" `````` John Koleszar committed May 18, 2010 82 ``#endif``