WebM Codec SDK
vp8dx.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3  *
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
6  * tree. An additional intellectual property rights grant can be found
7  * in the file PATENTS. All contributing project authors may
8  * be found in the AUTHORS file in the root of the source tree.
9  */
10 
11 
21 #ifndef VPX_VP8DX_H_
22 #define VPX_VP8DX_H_
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 /* Include controls common to both the encoder and decoder */
29 #include "./vp8.h"
30 
36 extern vpx_codec_iface_t vpx_codec_vp8_dx_algo;
37 extern vpx_codec_iface_t *vpx_codec_vp8_dx(void);
45 extern vpx_codec_iface_t vpx_codec_vp9_dx_algo;
46 extern vpx_codec_iface_t *vpx_codec_vp9_dx(void);
61  VP8D_GET_LAST_REF_UPDATES = VP8_DECODER_CTRL_ID_START,
62 
65 
70 
76  VP8D_SET_DECRYPTOR = VPXD_SET_DECRYPTOR,
77 
82 
87 
90 
97 
107 
114 
115  VP8_DECODER_CTRL_ID_MAX
116 };
117 
121 typedef void (*vpx_decrypt_cb)(void *decrypt_state, const unsigned char *input,
122  unsigned char *output, int count);
123 
128 typedef struct vpx_decrypt_init {
131 
135 
139 
140 
151 #define VPX_CTRL_VP8D_GET_LAST_REF_UPDATES
153 #define VPX_CTRL_VP8D_GET_FRAME_CORRUPTED
155 #define VPX_CTRL_VP8D_GET_LAST_REF_USED
157 #define VPX_CTRL_VPXD_SET_DECRYPTOR
158 VPX_CTRL_USE_TYPE(VP8D_SET_DECRYPTOR, vpx_decrypt_init *)
159 #define VPX_CTRL_VP8D_SET_DECRYPTOR
161 #define VPX_CTRL_VP9D_GET_DISPLAY_SIZE
162 VPX_CTRL_USE_TYPE(VP9D_GET_BIT_DEPTH, unsigned int *)
163 #define VPX_CTRL_VP9D_GET_BIT_DEPTH
165 #define VPX_CTRL_VP9D_GET_FRAME_SIZE
167 #define VPX_CTRL_VP9_INVERT_TILE_DECODE_ORDER
168 
172 #ifdef __cplusplus
173 } // extern "C"
174 #endif
175 
176 #endif // VPX_VP8DX_H_
struct vpx_codec_iface vpx_codec_iface_t
Codec interface structure.
Definition: vpx_codec.h:173
Definition: vp8dx.h:89
vpx_decrypt_init vp8_decrypt_init
A deprecated alias for vpx_decrypt_init.
Definition: vp8dx.h:138
Definition: vp8dx.h:86
Definition: vp8dx.h:96
struct vpx_decrypt_init vpx_decrypt_init
Structure to hold decryption state.
Definition: vp8dx.h:75
void * decrypt_state
Definition: vp8dx.h:133
#define VPX_CTRL_USE_TYPE(id, typ)
vpx_codec_control type definition macro
Definition: vpx_codec.h:423
void(* vpx_decrypt_cb)(void *decrypt_state, const unsigned char *input, unsigned char *output, int count)
Definition: vp8dx.h:121
Definition: vp8dx.h:61
Definition: vp8dx.h:106
Definition: vp8dx.h:64
vpx_decrypt_cb decrypt_cb
Definition: vp8dx.h:130
Structure to hold decryption state.
Definition: vp8dx.h:128
Provides controls common to both the VP8 encoder and decoder.
Definition: vp8dx.h:69
Definition: vp8dx.h:81
vp8_dec_control_id
VP8 decoder control functions.
Definition: vp8dx.h:57
Definition: vp8dx.h:113