00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include "vp8.h"
00013
00023 #ifndef VP8DX_H
00024 #define VP8DX_H
00025
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029
00036 extern vpx_codec_iface_t vpx_codec_vp8_dx_algo;
00037 extern vpx_codec_iface_t *vpx_codec_vp8_dx(void);
00038
00039
00040 extern vpx_codec_iface_t vpx_codec_vp9_dx_algo;
00041 extern vpx_codec_iface_t *vpx_codec_vp9_dx(void);
00044
00045 #include "vp8.h"
00046
00047
00056 enum vp8_dec_control_id {
00060 VP8D_GET_LAST_REF_UPDATES = VP8_DECODER_CTRL_ID_START,
00061
00063 VP8D_GET_FRAME_CORRUPTED,
00064
00068 VP8D_GET_LAST_REF_USED,
00069
00074 VP8D_SET_DECRYPTOR,
00075
00077 VP9_INVERT_TILE_DECODE_ORDER,
00078
00079 VP8_DECODER_CTRL_ID_MAX
00080 };
00081
00086 typedef struct vp8_decrypt_init {
00090 void (*decrypt_cb)(void *decrypt_state, const unsigned char *input,
00091 unsigned char *output, int count);
00093 void *decrypt_state;
00094 } vp8_decrypt_init;
00095
00104 VPX_CTRL_USE_TYPE(VP8D_GET_LAST_REF_UPDATES, int *)
00105 VPX_CTRL_USE_TYPE(VP8D_GET_FRAME_CORRUPTED, int *)
00106 VPX_CTRL_USE_TYPE(VP8D_GET_LAST_REF_USED, int *)
00107 VPX_CTRL_USE_TYPE(VP8D_SET_DECRYPTOR, vp8_decrypt_init *)
00108 VPX_CTRL_USE_TYPE(VP9_INVERT_TILE_DECODE_ORDER, int)
00109
00112 #ifdef __cplusplus
00113 }
00114 #endif
00115
00116 #endif