Go to the documentation of this file.
11 #ifndef AOM_AOM_AOMCX_H_
12 #define AOM_AOM_AOMCX_H_
50 #define AOM_EFLAG_NO_REF_LAST (1 << 16)
57 #define AOM_EFLAG_NO_REF_LAST2 (1 << 17)
64 #define AOM_EFLAG_NO_REF_LAST3 (1 << 18)
71 #define AOM_EFLAG_NO_REF_GF (1 << 19)
79 #define AOM_EFLAG_NO_REF_ARF (1 << 20)
86 #define AOM_EFLAG_NO_REF_BWD (1 << 21)
93 #define AOM_EFLAG_NO_REF_ARF2 (1 << 22)
100 #define AOM_EFLAG_NO_UPD_LAST (1 << 23)
107 #define AOM_EFLAG_NO_UPD_GF (1 << 24)
114 #define AOM_EFLAG_NO_UPD_ARF (1 << 25)
120 #define AOM_EFLAG_NO_UPD_ENTROPY (1 << 26)
126 #define AOM_EFLAG_NO_REF_FRAME_MVS (1 << 27)
132 #define AOM_EFLAG_ERROR_RESILIENT (1 << 28)
138 #define AOM_EFLAG_SET_S_FRAME (1 << 29)
144 #define AOM_EFLAG_SET_PRIMARY_REF_NONE (1 << 30)
795 AV1E_SET_TILE_LOOPFILTER_H,
888 #define AOM_MAX_SEGMENTS 8
940 AOM_TIMING_UNSPECIFIED,
966 #define AOM_CTRL_AOME_USE_REFERENCE
968 #define AOM_CTRL_AOME_SET_ROI_MAP
970 #define AOM_CTRL_AOME_SET_ACTIVEMAP
972 #define AOM_CTRL_AOME_SET_SCALEMODE
975 #define AOM_CTRL_AOME_SET_SPATIAL_LAYER_ID
978 #define AOM_CTRL_AOME_SET_CPUUSED
980 #define AOM_CTRL_AOME_SET_DEVSF
982 #define AOM_CTRL_AOME_SET_ENABLEAUTOALTREF
985 #define AOM_CTRL_AOME_SET_ENABLEAUTOBWDREF
988 #define AOM_CTRL_AOME_SET_SHARPNESS
990 #define AOM_CTRL_AOME_SET_STATIC_THRESHOLD
993 #define AOM_CTRL_AOME_SET_ARNR_MAXFRAMES
995 #define AOM_CTRL_AOME_SET_ARNR_STRENGTH
997 #define AOM_CTRL_AOME_SET_TUNING
999 #define AOM_CTRL_AOME_SET_CQ_LEVEL
1002 #define AOM_CTRL_AV1E_SET_ROW_MT
1005 #define AOM_CTRL_AV1E_SET_TILE_COLUMNS
1007 #define AOM_CTRL_AV1E_SET_TILE_ROWS
1010 #define AOM_CTRL_AV1E_SET_TILE_DEPENDENT_ROWS
1013 #define AOM_CTRL_AV1E_SET_TILE_LOOPFILTER_V
1015 #define AOM_CTRL_AV1E_SET_TILE_LOOPFILTER_H
1017 #define AOM_CTRL_AV1E_SET_TILE_LOOPFILTER
1020 #define AOM_CTRL_AOME_GET_LAST_QUANTIZER
1022 #define AOM_CTRL_AOME_GET_LAST_QUANTIZER_64
1025 #define AOM_CTRL_AOME_SET_MAX_INTRA_BITRATE_PCT
1027 #define AOM_CTRL_AOME_SET_MAX_INTER_BITRATE_PCT
1030 #define AOME_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1033 #define AOM_CTRL_AV1E_SET_GF_CBR_BOOST_PCT
1036 #define AOM_CTRL_AV1E_SET_LOSSLESS
1039 #define AOM_CTRL_AV1E_SET_ENABLE_CDEF
1042 #define AOM_CTRL_AV1E_SET_ENABLE_RESTORATION
1045 #define AOM_CTRL_AV1E_SET_DISABLE_TRELLIS_QUANT
1048 #define AOM_CTRL_AV1E_SET_ENABLE_QM
1051 #define AOM_CTRL_AV1E_SET_ENABLE_DIST_8X8
1054 #define AOM_CTRL_AV1E_SET_QM_MIN
1057 #define AOM_CTRL_AV1E_SET_QM_MAX
1060 #define AOM_CTRL_AV1E_SET_QM_Y
1063 #define AOM_CTRL_AV1E_SET_QM_U
1066 #define AOM_CTRL_AV1E_SET_QM_V
1069 #define AOM_CTRL_AV1E_SET_NUM_TG
1071 #define AOM_CTRL_AV1E_SET_MTU
1074 #define AOM_CTRL_AV1E_SET_TIMING_INFO_TYPE
1077 #define AOM_CTRL_AV1E_SET_ENABLE_DF
1080 #define AOM_CTRL_AV1E_SET_ENABLE_ORDER_HINT
1083 #define AOM_CTRL_AV1E_SET_ENABLE_JNT_COMP
1086 #define AOM_CTRL_AV1E_SET_ENABLE_REF_FRAME_MVS
1089 #define AOM_CTRL_AV1E_SET_ALLOW_REF_FRAME_MVS
1092 #define AOM_CTRL_AV1E_SET_ENABLE_WARPED_MOTION
1095 #define AOM_CTRL_AV1E_SET_ALLOW_WARPED_MOTION
1098 #define AOM_CTRL_AV1E_SET_ENABLE_SUPERRES
1101 #define AOM_CTRL_AV1E_SET_FRAME_PARALLEL_DECODING
1104 #define AOM_CTRL_AV1E_SET_ERROR_RESILIENT_MODE
1107 #define AOM_CTRL_AV1E_SET_S_FRAME_MODE
1110 #define AOM_CTRL_AV1E_SET_AQ_MODE
1113 #define AOM_CTRL_AV1E_SET_DELTAQ_MODE
1116 #define AOM_CTRL_AV1E_SET_FRAME_PERIODIC_BOOST
1119 #define AOM_CTRL_AV1E_SET_NOISE_SENSITIVITY
1122 #define AOM_CTRL_AV1E_SET_TUNE_CONTENT
1125 #define AOM_CTRL_AV1E_SET_COLOR_PRIMARIES
1128 #define AOM_CTRL_AV1E_SET_TRANSFER_CHARACTERISTICS
1131 #define AOM_CTRL_AV1E_SET_MATRIX_COEFFICIENTS
1134 #define AOM_CTRL_AV1E_SET_CHROMA_SAMPLE_POSITION
1137 #define AOM_CTRL_AV1E_SET_MIN_GF_INTERVAL
1140 #define AOM_CTRL_AV1E_SET_MAX_GF_INTERVAL
1143 #define AOM_CTRL_AV1E_GET_ACTIVEMAP
1146 #define AOM_CTRL_AV1E_SET_COLOR_RANGE
1148 #define AOM_CTRL_AV1E_SET_RENDER_SIZE
1152 #define AOM_CTRL_AV1E_SET_SUPERBLOCK_SIZE
1155 #define AOM_CTRL_AV1E_SET_TARGET_LEVEL
1158 #define AOM_CTRL_AV1E_GET_LEVEL
1161 #define AOM_CTRL_AV1E_SET_ANS_WINDOW_SIZE_LOG2
1164 #define AOM_CTRL_AV1E_SET_SINGLE_TILE_DECODING
1167 #define AOM_CTRL_AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
1170 #define AOM_CTRL_AV1E_SET_FILM_GRAIN_TEST_VECTOR
1173 #define AOM_CTRL_AV1E_SET_FILM_GRAIN_TABLE
1176 #define AOM_CTRL_AV1E_SET_CDF_UPDATE_MODE
1178 #ifdef CONFIG_DENOISE
1180 #define AOM_CTRL_AV1E_SET_DENOISE_NOISE_LEVEL
1183 #define AOM_CTRL_AV1E_SET_DENOISE_BLOCK_SIZE
1187 #define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_X
1190 #define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_Y
1198 #endif // AOM_AOM_AOMCX_H_
@ AOME_GET_LAST_QUANTIZER_64
Codec control function to get last quantizer chosen by the encoder.
Definition: aomcx.h:207
unsigned char * active_map
specify an on (1) or off (0) each 16x16 region within a frame
Definition: aomcx.h:916
@ AV1E_SET_RENDER_SIZE
Codec control function to set intended rendering image size.
Definition: aomcx.h:509
@ AV1E_SET_S_FRAME_MODE
Codec control function to enable s_frame_mode.
Definition: aomcx.h:357
aom image scaling mode
Definition: aomcx.h:926
@ AOME_SET_CPUUSED
Codec control function to set encoder internal speed settings.
Definition: aomcx.h:182
Provides controls common to both the AOM encoder and decoder.
@ AV1E_SET_ALLOW_WARPED_MOTION
Codec control function to turn on / off warped motion usage at frame level.
Definition: aomcx.h:773
@ AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
Codec control function to enable the extreme motion vector unit test in AV1. Please note that this is...
Definition: aomcx.h:838
@ AOME_SET_ACTIVEMAP
Codec control function to pass an Active map to encoder.
Definition: aomcx.h:164
@ AV1E_SET_AQ_MODE
Codec control function to set adaptive quantization mode.
Definition: aomcx.h:368
@ AV1E_SET_MAX_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames.
Definition: aomcx.h:492
@ AV1E_GET_LEVEL
Codec control function to get bitstream level.
Definition: aomcx.h:520
@ AV1E_SET_GF_CBR_BOOST_PCT
Boost percentage for Golden Frame in CBR mode.
Definition: aomcx.h:270
@ AOME_SET_SPATIAL_LAYER_ID
Codec control function to set encoder spatial layer id.
Definition: aomcx.h:172
const struct aom_codec_iface aom_codec_iface_t
Codec interface structure.
Definition: aom_codec.h:181
@ AV1E_GET_ACTIVEMAP
Codec control function to get an Active map back from the encoder.
Definition: aomcx.h:496
@ AV1E_SET_ALLOW_REF_FRAME_MVS
Codec control function to set temporal mv prediction enabling/disabling at frame level.
Definition: aomcx.h:756
@ AOME_SET_STATIC_THRESHOLD
Codec control function to set the threshold for MBs treated static.
Definition: aomcx.h:194
@ AV1E_SET_QM_V
Codec control function to set the min quant matrix flatness.
Definition: aomcx.h:649
@ AOME_SET_ROI_MAP
Codec control function to pass an ROI map to encoder.
Definition: aomcx.h:160
@ AV1E_SET_QM_U
Codec control function to set the min quant matrix flatness.
Definition: aomcx.h:636
@ AV1E_SET_ROW_MT
Definition: aomcx.h:289
#define AOM_CTRL_USE_TYPE(id, typ)
aom_codec_control type definition macro
Definition: aom_codec.h:429
@ AV1E_SET_DELTAQ_MODE
Codec control function to set the delta q mode.
Definition: aomcx.h:821
@ AV1E_SET_COLOR_PRIMARIES
Codec control function to set color space info.
Definition: aomcx.h:423
@ AV1E_SET_TUNE_CONTENT
Codec control function to set content type.
Definition: aomcx.h:394
@ AV1E_SET_QM_MAX
Codec control function to set the max quant matrix flatness.
Definition: aomcx.h:610
aom_tune_content
Definition: aomcx.h:932
@ AOME_SET_ARNR_STRENGTH
Codec control function to set the filter strength for the arf.
Definition: aomcx.h:215
aome_enc_control_id
AVx encoder control functions.
Definition: aomcx.h:153
@ AV1E_SET_TARGET_LEVEL
Codec control function to set target level.
Definition: aomcx.h:516
@ AOME_SET_ENABLEAUTOALTREF
Codec control function to enable automatic set and use alf frames.
Definition: aomcx.h:186
@ AV1E_SET_TILE_DEPENDENT_ROWS
Codec control function to set dependent_horz_tiles.
Definition: aomcx.h:697
unsigned char * roi_map
Definition: aomcx.h:899
@ AV1E_SET_TRANSFER_CHARACTERISTICS
Codec control function to set transfer function info.
Definition: aomcx.h:449
@ AV1E_SET_SINGLE_TILE_DECODING
Codec control function to set the single tile decoding mode to 0 or 1.
Definition: aomcx.h:831
@ AV1E_SET_ENABLE_SUPERRES
Codec control function to turn on / off frame superresolution.
Definition: aomcx.h:780
@ AV1E_SET_QM_Y
Codec control function to set the min quant matrix flatness.
Definition: aomcx.h:623
@ AV1E_SET_TIMING_INFO_TYPE
Codec control function to signal picture timing info in the bitstream.
Definition: aomcx.h:844
aom_scaling_mode_1d
aom 1-D scaling mode
Definition: aomcx.h:874
@ AV1E_SET_TILE_ROWS
Codec control function to set number of tile rows.
Definition: aomcx.h:325
@ AOME_GET_LAST_QUANTIZER
Codec control function to get last quantizer chosen by the encoder.
Definition: aomcx.h:200
@ AV1E_SET_FRAME_PERIODIC_BOOST
Codec control function to enable/disable periodic Q boost.
Definition: aomcx.h:381
unsigned int cols
Definition: aomcx.h:918
@ AV1E_SET_NUM_TG
Codec control function to set a maximum number of tile groups.
Definition: aomcx.h:673
@ AOME_SET_ARNR_MAXFRAMES
Codec control function to set the max no of frames to create arf.
Definition: aomcx.h:211
@ AOME_SET_ENABLEAUTOBWDREF
Codec control function to enable automatic set and use bwd-pred frames.
Definition: aomcx.h:535
@ AV1E_SET_FRAME_PARALLEL_DECODING
Codec control function to enable frame parallel decoding feature.
Definition: aomcx.h:337
struct aom_scaling_mode aom_scaling_mode_t
aom image scaling mode
@ AV1E_SET_MTU
Codec control function to set an MTU size for a tile group.
Definition: aomcx.h:685
#define AOM_MAX_SEGMENTS
Max number of segments.
Definition: aomcx.h:888
enum aom_scaling_mode_1d AOM_SCALING_MODE
aom 1-D scaling mode
@ AV1E_SET_CDF_UPDATE_MODE
Codec control function to set CDF update mode.
Definition: aomcx.h:401
struct aom_roi_map aom_roi_map_t
aom region of interest map
@ AV1E_SET_NOISE_SENSITIVITY
Codec control function to set noise sensitivity.
Definition: aomcx.h:387
unsigned int rows
Definition: aomcx.h:900
AOM_SCALING_MODE h_scaling_mode
Definition: aomcx.h:927
aom_tune_metric
Model tuning parameters.
Definition: aomcx.h:950
@ AV1E_SET_SUPERBLOCK_SIZE
Codec control function to set intended superblock size.
Definition: aomcx.h:529
AOM_SCALING_MODE v_scaling_mode
Definition: aomcx.h:928
@ AV1E_SET_CHROMA_SAMPLE_POSITION
Codec control function to set chroma 4:2:0 sample position info.
Definition: aomcx.h:480
Describes the encoder algorithm interface to applications.
aom region of interest map
Definition: aomcx.h:897
@ AV1E_SET_DISABLE_TRELLIS_QUANT
Codec control function to encode without trellis quantization.
Definition: aomcx.h:569
@ AOME_SET_SCALEMODE
Codec control function to set encoder scaling mode.
Definition: aomcx.h:168
@ AOME_USE_REFERENCE
Codec control function to set which reference frame encoder can use.
Definition: aomcx.h:156
@ AV1E_SET_ENABLE_WARPED_MOTION
Codec control function to turn on / off warped motion usage at sequence level.
Definition: aomcx.h:764
@ AV1E_SET_QM_MIN
Codec control function to set the min quant matrix flatness.
Definition: aomcx.h:597
@ AV1E_SET_MIN_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames.
Definition: aomcx.h:486
@ AV1E_SET_TILE_LOOPFILTER_V
Codec control function to set loop_filter_across_tiles_v_enabled and loop_filter_across_tiles_h_enabl...
Definition: aomcx.h:794
aom active region map
Definition: aomcx.h:914
@ AV1E_SET_COLOR_RANGE
Codec control function to set color range bit.
Definition: aomcx.h:503
@ AOME_SET_MAX_INTRA_BITRATE_PCT
Codec control function to set Max data rate for Intra frames.
Definition: aomcx.h:240
@ AV1E_SET_MATRIX_COEFFICIENTS
Codec control function to set transfer function info.
Definition: aomcx.h:471
unsigned int static_threshold[8]
Definition: aomcx.h:905
@ AV1E_SET_ENABLE_CDEF
Codec control function to encode with CDEF.
Definition: aomcx.h:548
@ AV1E_SET_FILM_GRAIN_TABLE
Codec control function to set the path to the film grain parameters.
Definition: aomcx.h:855
@ AV1E_SET_FILM_GRAIN_TEST_VECTOR
Codec control function to add film grain parameters (one of several preset types) info in the bitstre...
Definition: aomcx.h:851
@ AV1E_SET_MAX_INTER_BITRATE_PCT
Codec control function to set max data rate for Inter frames.
Definition: aomcx.h:257
unsigned int rows
Definition: aomcx.h:917
@ AV1E_SET_ANS_WINDOW_SIZE_LOG2
Codec control function to set the number of symbols in an ANS data window.
Definition: aomcx.h:709
unsigned int cols
Definition: aomcx.h:901
@ AV1E_SET_ENABLE_ORDER_HINT
Codec control function to turn on / off frame order hint for a few tools:
Definition: aomcx.h:729
@ AV1E_SET_TILE_COLUMNS
Codec control function to set number of tile columns.
Definition: aomcx.h:309
@ AV1E_SET_ENABLE_QM
Codec control function to encode with quantisation matrices.
Definition: aomcx.h:583
int delta_q[8]
Definition: aomcx.h:902
@ AV1E_SET_ENABLE_DIST_8X8
Codec control function to encode with dist_8x8.
Definition: aomcx.h:664
@ AOME_SET_SHARPNESS
Codec control function to set sharpness.
Definition: aomcx.h:190
@ AV1E_SET_DENOISE_BLOCK_SIZE
Sets the denoisers block size.
Definition: aomcx.h:861
@ AV1E_SET_DENOISE_NOISE_LEVEL
Sets the noise level.
Definition: aomcx.h:858
@ AOME_SET_CQ_LEVEL
Codec control function to set constrained quality level.
Definition: aomcx.h:227
@ AV1E_SET_LOSSLESS
Codec control function to set lossless encoding mode.
Definition: aomcx.h:283
@ AV1E_SET_ERROR_RESILIENT_MODE
Codec control function to enable error_resilient_mode.
Definition: aomcx.h:347
@ AV1E_SET_ENABLE_DF
Codec control function to turn on / off dual filter enabling/disabling.
Definition: aomcx.h:717
@ AV1E_SET_ENABLE_RESTORATION
Codec control function to encode with Loop Restoration Filter.
Definition: aomcx.h:558
int delta_lf[8]
Definition: aomcx.h:903
struct aom_active_map aom_active_map_t
aom active region map
@ AOME_SET_TUNING
Codec control function to set visual tuning.
Definition: aomcx.h:219
@ AV1E_SET_TILE_LOOPFILTER
Codec control function to set loop_filter_across_tiles_enabled.
Definition: aomcx.h:809
@ AV1E_SET_CHROMA_SUBSAMPLING_Y
Sets the chroma subsampling y value.
Definition: aomcx.h:867
@ AOME_SET_NUMBER_SPATIAL_LAYERS
Codec control function to set number of spatial layers.
Definition: aomcx.h:244
@ AV1E_SET_ENABLE_JNT_COMP
Codec control function to turn on / off joint compound mode at sequence level.
Definition: aomcx.h:738
aom_timing_info_type_t
Definition: aomcx.h:939
@ AV1E_SET_CHROMA_SUBSAMPLING_X
Sets the chroma subsampling x value.
Definition: aomcx.h:864
@ AV1E_SET_ENABLE_REF_FRAME_MVS
Codec control function to turn on / off ref frame mvs (mfmv) usage at sequence level.
Definition: aomcx.h:747