WebM VP8 Codec SDK
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
vpx
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
12
#include "
vp8.h
"
13
23
#ifndef VP8DX_H
24
#define VP8DX_H
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
36
extern
vpx_codec_iface_t
vpx_codec_vp8_dx_algo;
37
extern
vpx_codec_iface_t
*vpx_codec_vp8_dx(
void
);
38
39
/* TODO(jkoleszar): These move to VP9 in a later patch set. */
40
extern
vpx_codec_iface_t
vpx_codec_vp9_dx_algo;
41
extern
vpx_codec_iface_t
*vpx_codec_vp9_dx(
void
);
44
/* Include controls common to both the encoder and decoder */
45
#include "
vp8.h
"
46
47
56
enum
vp8_dec_control_id
{
60
VP8D_GET_LAST_REF_UPDATES
= VP8_DECODER_CTRL_ID_START,
61
63
VP8D_GET_FRAME_CORRUPTED
,
64
68
VP8D_GET_LAST_REF_USED
,
69
74
VP8D_SET_DECRYPTOR
,
75
77
VP9_INVERT_TILE_DECODE_ORDER
,
78
79
VP8_DECODER_CTRL_ID_MAX
80
};
81
86
typedef
struct
vp8_decrypt_init
{
90
void (*
decrypt_cb
)(
void
*
decrypt_state
,
const
unsigned
char
*input,
91
unsigned
char
*output,
int
count);
93
void
*
decrypt_state
;
94
}
vp8_decrypt_init
;
95
104
VPX_CTRL_USE_TYPE
(
VP8D_GET_LAST_REF_UPDATES
,
int
*)
105
VPX_CTRL_USE_TYPE
(
VP8D_GET_FRAME_CORRUPTED
,
int
*)
106
VPX_CTRL_USE_TYPE
(
VP8D_GET_LAST_REF_USED
,
int
*)
107
VPX_CTRL_USE_TYPE
(
VP8D_SET_DECRYPTOR
,
vp8_decrypt_init
*)
108
VPX_CTRL_USE_TYPE
(
VP9_INVERT_TILE_DECODE_ORDER
,
int
)
109
112
#ifdef __cplusplus
113
}
// extern "C"
114
#endif
115
116
#endif
Generated by
1.8.3.1