AOMedia Codec SDK
Data Structures | Macros | Typedefs | Enumerations
aomcx.h File Reference

Provides definitions for using AOM or AV1 encoder algorithm within the aom Codec Interface. More...

#include "aom/aom.h"
#include "aom/aom_encoder.h"

Go to the source code of this file.

Data Structures

struct  aom_roi_map
 aom region of interest map More...
 
struct  aom_active_map
 aom active region map More...
 
struct  aom_scaling_mode
 aom image scaling mode More...
 

Macros

#define AOM_EFLAG_NO_REF_LAST   (1 << 16)
 Don't reference the last frame. More...
 
#define AOM_EFLAG_NO_REF_LAST2   (1 << 17)
 Don't reference the last2 frame. More...
 
#define AOM_EFLAG_NO_REF_LAST3   (1 << 18)
 Don't reference the last3 frame. More...
 
#define AOM_EFLAG_NO_REF_GF   (1 << 19)
 Don't reference the golden frame. More...
 
#define AOM_EFLAG_NO_REF_ARF   (1 << 20)
 Don't reference the alternate reference frame. More...
 
#define AOM_EFLAG_NO_REF_BWD   (1 << 21)
 Don't reference the bwd reference frame. More...
 
#define AOM_EFLAG_NO_REF_ARF2   (1 << 22)
 Don't reference the alt2 reference frame. More...
 
#define AOM_EFLAG_NO_UPD_LAST   (1 << 23)
 Don't update the last frame. More...
 
#define AOM_EFLAG_NO_UPD_GF   (1 << 24)
 Don't update the golden frame. More...
 
#define AOM_EFLAG_NO_UPD_ARF   (1 << 25)
 Don't update the alternate reference frame. More...
 
#define AOM_EFLAG_NO_UPD_ENTROPY   (1 << 26)
 Disable entropy update. More...
 
#define AOM_EFLAG_NO_REF_FRAME_MVS   (1 << 27)
 Disable ref frame mvs. More...
 
#define AOM_EFLAG_ERROR_RESILIENT   (1 << 28)
 Enable error resilient frame. More...
 
#define AOM_EFLAG_SET_S_FRAME   (1 << 29)
 Enable s frame mode. More...
 
#define AOM_EFLAG_SET_PRIMARY_REF_NONE   (1 << 30)
 Force primary_ref_frame to PRIMARY_REF_NONE. More...
 
#define AOM_MAX_SEGMENTS   8
 Max number of segments. More...
 

Typedefs

typedef enum aom_scaling_mode_1d AOM_SCALING_MODE
 aom 1-D scaling mode More...
 
typedef struct aom_roi_map aom_roi_map_t
 aom region of interest map More...
 
typedef struct aom_active_map aom_active_map_t
 aom active region map More...
 
typedef struct aom_scaling_mode aom_scaling_mode_t
 aom image scaling mode More...
 

Enumerations

enum  aome_enc_control_id {
  AOME_USE_REFERENCE = 7 , AOME_SET_ROI_MAP = 8 , AOME_SET_ACTIVEMAP , AOME_SET_SCALEMODE = 11 ,
  AOME_SET_SPATIAL_LAYER_ID = 12 , AOME_SET_CPUUSED = 13 , AOME_SET_DEVSF , AOME_SET_ENABLEAUTOALTREF ,
  AOME_SET_SHARPNESS = AOME_SET_ENABLEAUTOALTREF + 2 , AOME_SET_STATIC_THRESHOLD , AOME_GET_LAST_QUANTIZER = AOME_SET_STATIC_THRESHOLD + 2 , AOME_GET_LAST_QUANTIZER_64 ,
  AOME_SET_ARNR_MAXFRAMES , AOME_SET_ARNR_STRENGTH , AOME_SET_TUNING = AOME_SET_ARNR_STRENGTH + 2 , AOME_SET_CQ_LEVEL ,
  AOME_SET_MAX_INTRA_BITRATE_PCT , AOME_SET_NUMBER_SPATIAL_LAYERS , AV1E_SET_MAX_INTER_BITRATE_PCT = AOME_SET_MAX_INTRA_BITRATE_PCT + 2 , AV1E_SET_GF_CBR_BOOST_PCT ,
  AV1E_SET_LOSSLESS = AV1E_SET_GF_CBR_BOOST_PCT + 2 , AV1E_SET_TILE_COLUMNS , AV1E_SET_TILE_ROWS , AV1E_SET_FRAME_PARALLEL_DECODING ,
  AV1E_SET_ERROR_RESILIENT_MODE , AV1E_SET_S_FRAME_MODE , AV1E_SET_AQ_MODE , AV1E_SET_FRAME_PERIODIC_BOOST ,
  AV1E_SET_NOISE_SENSITIVITY , AV1E_SET_TUNE_CONTENT , AV1E_SET_CDF_UPDATE_MODE , AV1E_SET_COLOR_PRIMARIES ,
  AV1E_SET_TRANSFER_CHARACTERISTICS , AV1E_SET_MATRIX_COEFFICIENTS , AV1E_SET_CHROMA_SAMPLE_POSITION , AV1E_SET_MIN_GF_INTERVAL ,
  AV1E_SET_MAX_GF_INTERVAL , AV1E_GET_ACTIVEMAP , AV1E_SET_COLOR_RANGE , AV1E_SET_RENDER_SIZE ,
  AV1E_SET_TARGET_LEVEL , AV1E_GET_LEVEL , AV1E_SET_SUPERBLOCK_SIZE , AOME_SET_ENABLEAUTOBWDREF ,
  AV1E_SET_ENABLE_CDEF , AV1E_SET_ENABLE_RESTORATION , AV1E_SET_DISABLE_TRELLIS_QUANT , AV1E_SET_ENABLE_QM ,
  AV1E_SET_QM_MIN , AV1E_SET_QM_MAX , AV1E_SET_QM_Y , AV1E_SET_QM_U ,
  AV1E_SET_QM_V , AV1E_SET_ENABLE_DIST_8X8 , AV1E_SET_NUM_TG , AV1E_SET_MTU ,
  AV1E_SET_TILE_DEPENDENT_ROWS , AV1E_SET_ANS_WINDOW_SIZE_LOG2 , AV1E_SET_ENABLE_DF , AV1E_SET_ENABLE_ORDER_HINT ,
  AV1E_SET_ENABLE_JNT_COMP , AV1E_SET_ENABLE_REF_FRAME_MVS , AV1E_SET_ALLOW_REF_FRAME_MVS , AV1E_SET_ENABLE_WARPED_MOTION ,
  AV1E_SET_ALLOW_WARPED_MOTION , AV1E_SET_ENABLE_SUPERRES , AV1E_SET_TILE_LOOPFILTER_V , AV1E_SET_TILE_LOOPFILTER_H ,
  AV1E_SET_TILE_LOOPFILTER , AV1E_SET_DELTAQ_MODE , AV1E_SET_SINGLE_TILE_DECODING , AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST ,
  AV1E_SET_TIMING_INFO_TYPE , AV1E_SET_FILM_GRAIN_TEST_VECTOR , AV1E_SET_FILM_GRAIN_TABLE
}
 AVx encoder control functions. More...
 
enum  aom_scaling_mode_1d { AOME_NORMAL = 0 , AOME_FOURFIVE = 1 , AOME_THREEFIVE = 2 , AOME_ONETWO = 3 }
 aom 1-D scaling mode More...
 
enum  aom_tune_content { AOM_CONTENT_DEFAULT , AOM_CONTENT_SCREEN , AOM_CONTENT_INVALID }
 
enum  aom_timing_info_type_t { AOM_TIMING_UNSPECIFIED , AOM_TIMING_EQUAL , AOM_TIMING_DEC_MODEL }
 
enum  aom_tune_metric { AOM_TUNE_PSNR , AOM_TUNE_SSIM , AOM_TUNE_CDEF_DIST , AOM_TUNE_DAALA_DIST }
 Model tuning parameters. More...
 

Algorithm interface for AV1

This interface provides the capability to encode raw AV1 streams.

aom_codec_iface_t aom_codec_av1_cx_algo
 
aom_codec_iface_taom_codec_av1_cx (void)
 

Detailed Description

Provides definitions for using AOM or AV1 encoder algorithm within the aom Codec Interface.