 |
AOMedia AV1 Codec
|
Go to the documentation of this file.
21 #ifndef AOM_AOM_AOMDX_H_
22 #define AOM_AOM_AOMDX_H_
52 #ifndef AOM_INSPECTION_H_
80 const unsigned char *
buf;
107 #define AOM_MAX_TILE_COLS 64
115 #define AOM_MAX_TILE_ROWS 64
302 AV1_SET_DECODE_TILE_COL,
443 #define AOM_CTRL_AOMD_GET_LAST_REF_UPDATES
446 #define AOM_CTRL_AOMD_GET_FRAME_CORRUPTED
449 #define AOM_CTRL_AOMD_GET_LAST_REF_USED
452 #define AOM_CTRL_AOMD_GET_LAST_QUANTIZER
455 #define AOM_CTRL_AOMD_GET_FWD_KF_PRESENT
458 #define AOM_CTRL_AOMD_GET_ALTREF_PRESENT
461 #define AOM_CTRL_AOMD_GET_FRAME_FLAGS
464 #define AOM_CTRL_AOMD_GET_TILE_INFO
468 #define AOM_CTRL_AOMD_GET_SCREEN_CONTENT_TOOLS_INFO
471 #define AOM_CTRL_AOMD_GET_STILL_PICTURE
474 #define AOMD_CTRL_AOMD_GET_SB_SIZE
477 #define AOMD_CTRL_AOMD_GET_SHOW_EXISTING_FRAME_FLAG
480 #define AOMD_CTRL_AOMD_GET_S_FRAME_INFO
483 #define AOM_CTRL_AV1D_GET_DISPLAY_SIZE
486 #define AOM_CTRL_AV1D_GET_BIT_DEPTH
489 #define AOM_CTRL_AV1D_GET_IMG_FORMAT
492 #define AOM_CTRL_AV1D_GET_TILE_SIZE
495 #define AOM_CTRL_AV1D_GET_TILE_COUNT
498 #define AOM_CTRL_AV1D_GET_FRAME_SIZE
501 #define AOM_CTRL_AV1_INVERT_TILE_DECODE_ORDER
504 #define AOM_CTRL_AV1_GET_ACCOUNTING
507 #define AOM_CTRL_AV1_SET_DECODE_TILE_ROW
510 #define AOM_CTRL_AV1_SET_DECODE_TILE_COL
513 #define AOM_CTRL_AV1_SET_TILE_MODE
516 #define AOM_CTRL_AV1D_GET_FRAME_HEADER_INFO
519 #define AOM_CTRL_AV1D_GET_TILE_DATA
522 #define AOM_CTRL_AV1D_SET_EXT_REF_PTR
525 #define AOM_CTRL_AV1D_EXT_TILE_DEBUG
528 #define AOM_CTRL_AV1D_SET_ROW_MT
531 #define AOM_CTRL_AV1D_SET_SKIP_FILM_GRAIN
534 #define AOM_CTRL_AV1D_SET_IS_ANNEXB
537 #define AOM_CTRL_AV1D_SET_OPERATING_POINT
540 #define AOM_CTRL_AV1D_SET_OUTPUT_ALL_LAYERS
543 #define AOM_CTRL_AV1_SET_INSPECTION_CALLBACK
550 #endif // AOM_AOM_AOMDX_H_
@ AOMD_GET_FRAME_CORRUPTED
Codec control function to check if the indicated frame is corrupted, int* parameter.
Definition: aomdx.h:204
@ AOMD_GET_SHOW_EXISTING_FRAME_FLAG
Codec control function to check if the previous frame decoded has show existing frame flag set.
Definition: aomdx.h:423
@ AOMD_GET_SCREEN_CONTENT_TOOLS_INFO
Codec control function to get screen content tools information. It returns a struct of type aom_scree...
Definition: aomdx.h:407
int allow_intrabc
Definition: aomdx.h:170
@ AV1D_SET_OUTPUT_ALL_LAYERS
Codec control function to indicate whether to output one frame per temporal unit (the default),...
Definition: aomdx.h:367
size_t extra_size
Definition: aomdx.h:97
int tile_widths[64]
Definition: aomdx.h:129
@ AV1_SET_BYTE_ALIGNMENT
Codec control function to set the byte alignment of the planes in the reference buffers,...
Definition: aomdx.h:251
@ AOMD_GET_LAST_REF_UPDATES
Codec control function to get info on which reference frames were updated by the last decode,...
Definition: aomdx.h:199
struct aom_still_picture_info aom_still_picture_info
Structure to hold information about still image coding.
Provides controls common to both the AOM encoder and decoder.
aom_image_t * img
Definition: aomdx.h:181
int idx
Definition: aomdx.h:82
@ AV1D_GET_BIT_DEPTH
Codec control function to get the bit depth of the stream, unsigned int* parameter.
Definition: aomdx.h:228
@ AOMD_GET_SB_SIZE
Codec control function to get superblock size. It returns an integer, indicating the superblock size ...
Definition: aomdx.h:418
int is_still_picture
Definition: aomdx.h:143
enum aom_img_fmt aom_img_fmt_t
List of supported image formats.
@ AOMD_GET_ALTREF_PRESENT
Codec control function to check the presence of altref frames.
Definition: aomdx.h:395
int tile_heights[64]
Definition: aomdx.h:131
size_t coded_tile_data_size
Definition: aomdx.h:93
struct aom_inspect_init aom_inspect_init
Structure to hold inspection callback and context.
@ AV1_SET_SKIP_LOOP_FILTER
Codec control function to set the skip loop filter flag, int parameter.
Definition: aomdx.h:272
struct aom_screen_content_tools_info aom_screen_content_tools_info
Structure to hold information about screen content tools.
const void * coded_tile_data
Definition: aomdx.h:95
struct aom_s_frame_info aom_s_frame_info
Structure to hold information about S_FRAME.
@ AV1_SET_TILE_MODE
Codec control function to set the tile coding mode, int parameter.
Definition: aomdx.h:309
const struct aom_codec_iface aom_codec_iface_t
Codec interface structure.
Definition: aom_codec.h:254
@ AOMD_GET_LAST_REF_USED
Codec control function to get info on which reference frames were used by the last decode,...
Definition: aomdx.h:209
void * inspect_ctx
Definition: aomdx.h:69
const unsigned char * buf
Definition: aomdx.h:80
aom_inspect_cb inspect_cb
Definition: aomdx.h:66
@ AOMD_GET_LAST_QUANTIZER
Codec control function to get last decoded frame quantizer, int* parameter.
Definition: aomdx.h:291
struct aom_tile_info aom_tile_info
Structure to hold information about tiles in a frame.
#define AOM_CTRL_USE_TYPE(id, typ)
Creates typechecking mechanisms for aom_codec_control.
Definition: aom_codec.h:530
struct Accounting Accounting
Definition: aomdx.h:50
#define AOM_MAX_TILE_ROWS
Max number of tile rows.
Definition: aomdx.h:115
@ AV1_SET_DECODE_TILE_ROW
Codec control function to set the range of tile decoding, int parameter.
Definition: aomdx.h:301
@ AV1D_GET_FRAME_HEADER_INFO
Codec control function to get the frame header information of an encoded frame, unsigned int* paramet...
Definition: aomdx.h:314
@ AV1D_SET_OPERATING_POINT
Codec control function to indicate which operating point to use, int parameter.
Definition: aomdx.h:355
Structure to hold information about tiles in a frame.
Definition: aomdx.h:123
int tile_rows
Definition: aomdx.h:127
#define AOM_MAX_TILE_COLS
Max number of tile columns.
Definition: aomdx.h:107
@ AV1D_GET_TILE_COUNT
Codec control function to get the tile count in a tile list, int* parameter.
Definition: aomdx.h:242
Structure to hold information about screen content tools.
Definition: aomdx.h:166
@ AV1D_GET_DISPLAY_SIZE
Codec control function to get the current frame's intended display dimensions (as specified in the wr...
Definition: aomdx.h:223
int allow_screen_content_tools
Definition: aomdx.h:168
int num
Definition: aomdx.h:183
aom_dec_control_id
AOM decoder control functions.
Definition: aomdx.h:195
enum aom_superblock_size aom_superblock_size_t
Superblock size selection.
@ AV1D_SET_SKIP_FILM_GRAIN
Codec control function to set the skip film grain flag, int parameter.
Definition: aomdx.h:383
@ AOMD_GET_FWD_KF_PRESENT
Codec control function to check the presence of forward key frames.
Definition: aomdx.h:387
@ AOMD_GET_STILL_PICTURE
Codec control function to get the still picture coding information.
Definition: aomdx.h:411
struct av1_ext_ref_frame av1_ext_ref_frame_t
Structure to hold the external reference frame pointer.
@ AOMD_GET_S_FRAME_INFO
Codec control function to get the S_FRAME coding information.
Definition: aomdx.h:427
Structure to hold information about still image coding.
Definition: aomdx.h:141
int num_tile_groups
Definition: aomdx.h:133
Structure to hold inspection callback and context.
Definition: aomdx.h:64
@ AV1D_SET_IS_ANNEXB
Codec control function to indicate whether bitstream is in Annex-B format, unsigned int parameter.
Definition: aomdx.h:345
int tile_columns
Definition: aomdx.h:125
@ AV1D_GET_TILE_DATA
Codec control function to get the start address and size of a tile in the coded bitstream,...
Definition: aomdx.h:319
struct aom_tile_data aom_tile_data
Structure to hold a tile's start address and size in the bitstream.
@ AV1_GET_ACCOUNTING
Codec control function to retrieve a pointer to the Accounting struct, takes Accounting** as paramete...
Definition: aomdx.h:284
Structure to hold the external reference frame pointer.
Definition: aomdx.h:179
@ AV1D_GET_IMG_FORMAT
Codec control function to get the image format of the stream, aom_img_fmt_t* parameter.
Definition: aomdx.h:233
@ AV1D_EXT_TILE_DEBUG
Codec control function to enable the ext-tile software debug and testing code in the decoder,...
Definition: aomdx.h:332
@ AV1D_SET_EXT_REF_PTR
Codec control function to set the external references' pointers in the decoder, av1_ext_ref_frame_t* ...
Definition: aomdx.h:327
@ AV1D_SET_ROW_MT
Codec control function to enable the row based multi-threading of decoding, unsigned int parameter.
Definition: aomdx.h:340
@ AV1D_GET_FRAME_SIZE
Codec control function to get the dimensions that the current frame is decoded at,...
Definition: aomdx.h:216
@ AV1_SET_INSPECTION_CALLBACK
Codec control function to set an aom_inspect_cb callback that is invoked each time a frame is decoded...
Definition: aomdx.h:375
int show_existing
Definition: aomdx.h:84
int is_reduced_still_picture_hdr
Definition: aomdx.h:145
Structure to collect a buffer index when inspecting.
Definition: aomdx.h:78
@ AOMD_GET_TILE_INFO
Codec control function to get tile information of the previous frame decoded. This will return a stru...
Definition: aomdx.h:400
@ AOMD_GET_FRAME_FLAGS
Codec control function to get the frame flags of the previous frame decoded. This will return a flag ...
Definition: aomdx.h:392
Structure to hold a tile's start address and size in the bitstream.
Definition: aomdx.h:91
Image Descriptor.
Definition: aom_image.h:171
@ AV1_INVERT_TILE_DECODE_ORDER
Codec control function to invert the decoding order to from right to left, int parameter.
Definition: aomdx.h:263
@ AV1D_GET_TILE_SIZE
Codec control function to get the size of the tile, unsigned int parameter.
Definition: aomdx.h:237
aom_codec_iface_t aom_codec_av1_dx_algo
A single instance of the AV1 decoder.
Structure to hold information about S_FRAME.
Definition: aomdx.h:153
aom_codec_iface_t * aom_codec_av1_dx(void)
The interface to the AV1 decoder.
void(* aom_inspect_cb)(void *decoder, void *ctx)
Definition: aomdx.h:55
int is_s_frame_at_altref
Definition: aomdx.h:157
int force_integer_mv
Definition: aomdx.h:172
@ AOM_DECODER_CTRL_ID_START
Start point of control IDs for aom_dec_control_id. Any new common control IDs should be added above.
Definition: aom.h:81
int is_s_frame
Definition: aomdx.h:155