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 
20 #ifndef VPX_VPX_VP8DX_H_
21 #define VPX_VPX_VP8DX_H_
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 /* Include controls common to both the encoder and decoder */
28 #include "./vp8.h"
29 
35 extern vpx_codec_iface_t vpx_codec_vp8_dx_algo;
36 extern vpx_codec_iface_t *vpx_codec_vp8_dx(void);
44 extern vpx_codec_iface_t vpx_codec_vp9_dx_algo;
45 extern vpx_codec_iface_t *vpx_codec_vp9_dx(void);
60  VP8D_GET_LAST_REF_UPDATES = VP8_DECODER_CTRL_ID_START,
61 
64 
69 
75  VP8D_SET_DECRYPTOR = VPXD_SET_DECRYPTOR,
76 
81 
86 
89 
96 
106 
113 
118 
126 
134 
135  VP8_DECODER_CTRL_ID_MAX
136 };
137 
141 typedef void (*vpx_decrypt_cb)(void *decrypt_state, const unsigned char *input,
142  unsigned char *output, int count);
143 
148 typedef struct vpx_decrypt_init {
151 
155 
159 
169 #define VPX_CTRL_VP8D_GET_LAST_REF_UPDATES
171 #define VPX_CTRL_VP8D_GET_FRAME_CORRUPTED
173 #define VPX_CTRL_VP8D_GET_LAST_REF_USED
175 #define VPX_CTRL_VPXD_GET_LAST_QUANTIZER
177 #define VPX_CTRL_VPXD_SET_DECRYPTOR
178 VPX_CTRL_USE_TYPE(VP8D_SET_DECRYPTOR, vpx_decrypt_init *)
179 #define VPX_CTRL_VP8D_SET_DECRYPTOR
181 #define VPX_CTRL_VP9D_GET_DISPLAY_SIZE
182 VPX_CTRL_USE_TYPE(VP9D_GET_BIT_DEPTH, unsigned int *)
183 #define VPX_CTRL_VP9D_GET_BIT_DEPTH
185 #define VPX_CTRL_VP9D_GET_FRAME_SIZE
187 #define VPX_CTRL_VP9_INVERT_TILE_DECODE_ORDER
188 #define VPX_CTRL_VP9_DECODE_SVC_SPATIAL_LAYER
190 #define VPX_CTRL_VP9_SET_SKIP_LOOP_FILTER
192 #define VPX_CTRL_VP9_DECODE_SET_ROW_MT
194 
195 
198 #ifdef __cplusplus
199 } // extern "C"
200 #endif
201 
202 #endif // VPX_VPX_VP8DX_H_
Definition: vp8dx.h:88
void(* vpx_decrypt_cb)(void *decrypt_state, const unsigned char *input, unsigned char *output, int count)
Definition: vp8dx.h:141
vpx_decrypt_init vp8_decrypt_init
A deprecated alias for vpx_decrypt_init.
Definition: vp8dx.h:158
Definition: vp8dx.h:85
Definition: vp8dx.h:95
struct vpx_decrypt_init vpx_decrypt_init
Structure to hold decryption state.
Definition: vp8dx.h:74
Codec control function to get last decoded frame quantizer.
Definition: vp8dx.h:125
void * decrypt_state
Definition: vp8dx.h:153
Definition: vp8dx.h:117
#define VPX_CTRL_USE_TYPE(id, typ)
vpx_codec_control type definition macro
Definition: vpx_codec.h:419
Definition: vp8dx.h:60
Definition: vp8dx.h:105
Definition: vp8dx.h:63
Codec control function to set row level multi-threading.
Definition: vp8dx.h:133
const struct vpx_codec_iface vpx_codec_iface_t
Codec interface structure.
Definition: vpx_codec.h:174
vpx_decrypt_cb decrypt_cb
Definition: vp8dx.h:150
Structure to hold decryption state.
Definition: vp8dx.h:148
Provides controls common to both the VP8 encoder and decoder.
Definition: vp8dx.h:68
Definition: vp8dx.h:80
vp8_dec_control_id
VP8 decoder control functions.
Definition: vp8dx.h:56
Definition: vp8dx.h:112