AOMedia Codec SDK
aomdx.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016, Alliance for Open Media. All rights reserved
3  *
4  * This source code is subject to the terms of the BSD 2 Clause License and
5  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6  * was not distributed with this source code in the LICENSE file, you can
7  * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8  * Media Patent License 1.0 was not distributed with this source code in the
9  * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
10  */
11 
21 #ifndef AOM_AOMDX_H_
22 #define AOM_AOMDX_H_
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 /* Include controls common to both the encoder and decoder */
29 #include "aom/aom.h"
30 
36 extern aom_codec_iface_t aom_codec_av1_dx_algo;
37 extern aom_codec_iface_t *aom_codec_av1_dx(void);
42 typedef struct Accounting Accounting;
43 
44 #ifndef AOM_INSPECTION_H_
45 
47 typedef void (*aom_inspect_cb)(void *decoder, void *ctx);
48 #endif
49 
55 typedef struct aom_inspect_init {
58 
60  void *inspect_ctx;
62 
67 typedef struct aom_tile_data {
71  const void *coded_tile_data;
73  size_t extra_size;
75 
80 typedef struct av1_ext_ref_frame {
84  int num;
86 
99  AOMD_GET_LAST_REF_UPDATES = AOM_DECODER_CTRL_ID_START,
100 
103 
108 
113 
118 
121 
128 
138 
145 
153 
158 
166  AV1_SET_DECODE_TILE_COL,
189 
192 
200 
211 
217 
218  AOM_DECODER_CTRL_ID_MAX,
219 };
220 
230 #define AOM_CTRL_AOMD_GET_LAST_REF_UPDATES
232 #define AOM_CTRL_AOMD_GET_FRAME_CORRUPTED
234 #define AOM_CTRL_AOMD_GET_LAST_REF_USED
236 #define AOM_CTRL_AOMD_GET_LAST_QUANTIZER
238 #define AOM_CTRL_AV1D_GET_DISPLAY_SIZE
239 AOM_CTRL_USE_TYPE(AV1D_GET_BIT_DEPTH, unsigned int *)
240 #define AOM_CTRL_AV1D_GET_BIT_DEPTH
242 #define AOM_CTRL_AV1D_GET_FRAME_SIZE
244 #define AOM_CTRL_AV1_INVERT_TILE_DECODE_ORDER
246 #define AOM_CTRL_AV1_GET_ACCOUNTING
248 #define AOM_CTRL_AV1_SET_DECODE_TILE_ROW
249 AOM_CTRL_USE_TYPE(AV1_SET_DECODE_TILE_COL, int)
250 #define AOM_CTRL_AV1_SET_DECODE_TILE_COL
252 #define AOM_CTRL_AV1_SET_TILE_MODE
254 #define AOM_CTRL_AV1D_GET_FRAME_HEADER_INFO
256 #define AOM_CTRL_AV1D_GET_TILE_DATA
258 #define AOM_CTRL_AV1D_SET_EXT_REF_PTR
260 #define AOM_CTRL_AV1D_EXT_TILE_DEBUG
262 #define AOM_CTRL_AV1D_SET_IS_ANNEXB
264 #define AOM_CTRL_AV1D_SET_OPERATING_POINT
266 #define AOM_CTRL_AV1D_SET_OUTPUT_ALL_LAYERS
268 #define AOM_CTRL_AV1_SET_INSPECTION_CALLBACK
269 
272 #ifdef __cplusplus
273 } // extern "C"
274 #endif
275 
276 #endif // AOM_AOMDX_H_
void(* aom_inspect_cb)(void *decoder, void *ctx)
Definition: aomdx.h:47
struct aom_tile_data aom_tile_data
Structure to hold a tile's start address and size in the bitstream.
Definition: aomdx.h:175
Definition: aomdx.h:199
aom_inspect_cb inspect_cb
Definition: aomdx.h:57
Definition: aomdx.h:191
Definition: aomdx.h:179
Provides controls common to both the AOM encoder and decoder.
struct aom_inspect_init aom_inspect_init
Structure to hold inspection callback and context.
Definition: aomdx.h:184
Definition: aomdx.h:112
Image Descriptor.
Definition: aom_image.h:141
Structure to hold a tile's start address and size in the bitstream.
Definition: aomdx.h:67
Definition: aomdx.h:102
const struct aom_codec_iface aom_codec_iface_t
Codec interface structure.
Definition: aom_codec.h:181
Definition: aomdx.h:137
Definition: aomdx.h:99
#define AOM_CTRL_USE_TYPE(id, typ)
aom_codec_control type definition macro
Definition: aom_codec.h:438
Definition: aomdx.h:188
Definition: aomdx.h:216
size_t extra_size
Definition: aomdx.h:73
void * inspect_ctx
Definition: aomdx.h:60
Definition: aomdx.h:157
Definition: aomdx.h:127
Structure to hold inspection callback and context.
Definition: aomdx.h:55
Definition: aomdx.h:165
size_t coded_tile_data_size
Definition: aomdx.h:69
Definition: aomdx.h:171
aom_image_t * img
Definition: aomdx.h:82
const void * coded_tile_data
Definition: aomdx.h:71
Definition: aomdx.h:210
Definition: aomdx.h:107
int num
Definition: aomdx.h:84
Structure to hold the external reference frame pointer.
Definition: aomdx.h:80
aom_dec_control_id
AOM decoder control functions.
Definition: aomdx.h:95
Definition: aomdx.h:120
Definition: aomdx.h:144
Definition: aomdx.h:117
struct av1_ext_ref_frame av1_ext_ref_frame_t
Structure to hold the external reference frame pointer.
struct Accounting Accounting
Definition: aomdx.h:42
Definition: aomdx.h:152