WebM VP8 Codec SDK
|
00001 /* 00002 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 00003 * 00004 * Use of this source code is governed by a BSD-style license 00005 * that can be found in the LICENSE file in the root of the source 00006 * tree. An additional intellectual property rights grant can be found 00007 * in the file PATENTS. All contributing project authors may 00008 * be found in the AUTHORS file in the root of the source tree. 00009 */ 00010 00011 00012 #include "vp8.h" 00013 00023 #ifndef VP8DX_H 00024 #define VP8DX_H 00025 #include "vpx_codec_impl_top.h" 00026 00033 extern vpx_codec_iface_t vpx_codec_vp8_dx_algo; 00034 extern vpx_codec_iface_t *vpx_codec_vp8_dx(void); 00035 00036 /* TODO(jkoleszar): These move to VP9 in a later patch set. */ 00037 extern vpx_codec_iface_t vpx_codec_vp9_dx_algo; 00038 extern vpx_codec_iface_t *vpx_codec_vp9_dx(void); 00041 /* Include controls common to both the encoder and decoder */ 00042 #include "vp8.h" 00043 00044 00052 enum vp8_dec_control_id { 00056 VP8D_GET_LAST_REF_UPDATES = VP8_DECODER_CTRL_ID_START, 00057 00059 VP8D_GET_FRAME_CORRUPTED, 00060 00064 VP8D_GET_LAST_REF_USED, 00065 00070 VP8_SET_DECRYPT_KEY, 00071 00073 VP9_INVERT_TILE_DECODE_ORDER, 00074 00075 VP8_DECODER_CTRL_ID_MAX 00076 }; 00077 00078 00087 VPX_CTRL_USE_TYPE(VP8D_GET_LAST_REF_UPDATES, int *) 00088 VPX_CTRL_USE_TYPE(VP8D_GET_FRAME_CORRUPTED, int *) 00089 VPX_CTRL_USE_TYPE(VP8D_GET_LAST_REF_USED, int *) 00090 VPX_CTRL_USE_TYPE(VP8_SET_DECRYPT_KEY, const unsigned char *) 00091 VPX_CTRL_USE_TYPE(VP9_INVERT_TILE_DECODE_ORDER, int) 00092 00096 #include "vpx_codec_impl_bottom.h" 00097 #endif