| AOMedia AV1 Codec

aomcx.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#ifndef AOM_AOM_AOMCX_H_
12#define AOM_AOM_AOMCX_H_
13
19#include "aom/aom.h"
20#include "aom/aom_encoder.h"
21#include "aom/aom_external_partition.h"
22
40
41#ifdef __cplusplus
42 extern "C" {
43#endif
44
50
55 extern aom_codec_iface_t aom_codec_av1_cx_algo;
56
59 extern aom_codec_iface_t *aom_codec_av1_cx(void);
61
62/*
63 * Algorithm Flags
64 */
65
72#define AOM_EFLAG_NO_REF_LAST (1 << 16)
79#define AOM_EFLAG_NO_REF_LAST2 (1 << 17)
86#define AOM_EFLAG_NO_REF_LAST3 (1 << 18)
93#define AOM_EFLAG_NO_REF_GF (1 << 19)
94
101#define AOM_EFLAG_NO_REF_ARF (1 << 20)
108#define AOM_EFLAG_NO_REF_BWD (1 << 21)
115#define AOM_EFLAG_NO_REF_ARF2 (1 << 22)
116
122#define AOM_EFLAG_NO_UPD_LAST (1 << 23)
123
129#define AOM_EFLAG_NO_UPD_GF (1 << 24)
130
136#define AOM_EFLAG_NO_UPD_ARF (1 << 25)
142#define AOM_EFLAG_NO_UPD_ENTROPY (1 << 26)
148#define AOM_EFLAG_NO_REF_FRAME_MVS (1 << 27)
154#define AOM_EFLAG_ERROR_RESILIENT (1 << 28)
160#define AOM_EFLAG_SET_S_FRAME (1 << 29)
166#define AOM_EFLAG_SET_PRIMARY_REF_NONE (1 << 30)
167
176 enum aome_enc_control_id {
180 AOME_USE_REFERENCE = 7,
181
185 AOME_SET_ROI_MAP = 8,
186
190 AOME_SET_ACTIVEMAP = 9,
191
192 /* NOTE: enum 10 unused */
193
197 AOME_SET_SCALEMODE = 11,
198
202 AOME_SET_SPATIAL_LAYER_ID = 12,
203
220 AOME_SET_CPUUSED = 13,
221
228 AOME_SET_ENABLEAUTOALTREF = 14,
229
230 /* NOTE: enum 15 unused */
231
247 AOME_SET_SHARPNESS = AOME_SET_ENABLEAUTOALTREF + 2, // 16
248
252 AOME_SET_STATIC_THRESHOLD = 17,
253
254 /* NOTE: enum 18 unused */
255
261 AOME_GET_LAST_QUANTIZER = AOME_SET_STATIC_THRESHOLD + 2, // 19
262
269 AOME_GET_LAST_QUANTIZER_64 = 20,
270
274 AOME_SET_ARNR_MAXFRAMES = 21,
275
279 AOME_SET_ARNR_STRENGTH = 22,
280
281 /* NOTE: enum 23 unused */
282
288 AOME_SET_TUNING = AOME_SET_ARNR_STRENGTH + 2, // 24
289
298 AOME_SET_CQ_LEVEL = 25,
299
312 AOME_SET_MAX_INTRA_BITRATE_PCT = 26,
313
321 AOME_SET_NUMBER_SPATIAL_LAYERS = 27,
322
335 AV1E_SET_MAX_INTER_BITRATE_PCT = AOME_SET_MAX_INTRA_BITRATE_PCT + 2, // 28
336
349 AV1E_SET_GF_CBR_BOOST_PCT = 29,
350
351 /* NOTE: enum 30 unused */
352
363 AV1E_SET_LOSSLESS = AV1E_SET_GF_CBR_BOOST_PCT + 2, // 31
364
371 AV1E_SET_ROW_MT = 32,
372
390 AV1E_SET_TILE_COLUMNS = 33,
391
408 AV1E_SET_TILE_ROWS = 34,
409
418 AV1E_SET_ENABLE_TPL_MODEL = 35,
419
427 AV1E_SET_ENABLE_KEYFRAME_FILTERING = 36,
428
441 AV1E_SET_FRAME_PARALLEL_DECODING = 37,
442
452 AV1E_SET_ERROR_RESILIENT_MODE = 38,
453
463 AV1E_SET_S_FRAME_MODE = 39,
464
478 AV1E_SET_AQ_MODE = 40,
479
490 AV1E_SET_FRAME_PERIODIC_BOOST = 41,
491
498 AV1E_SET_NOISE_SENSITIVITY = 42,
499
507 AV1E_SET_TUNE_CONTENT = 43,
508
516 AV1E_SET_CDF_UPDATE_MODE = 44,
517
537 AV1E_SET_COLOR_PRIMARIES = 45,
538
562 AV1E_SET_TRANSFER_CHARACTERISTICS = 46,
563
583 AV1E_SET_MATRIX_COEFFICIENTS = 47,
584
590 AV1E_SET_CHROMA_SAMPLE_POSITION = 48,
591
597 AV1E_SET_MIN_GF_INTERVAL = 49,
598
604 AV1E_SET_MAX_GF_INTERVAL = 50,
605
609 AV1E_GET_ACTIVEMAP = 51,
610
616 AV1E_SET_COLOR_RANGE = 52,
617
623 AV1E_SET_RENDER_SIZE = 53,
624
646 AV1E_SET_TARGET_SEQ_LEVEL_IDX = 54,
647
653 AV1E_GET_SEQ_LEVEL_IDX = 55,
654
661 AV1E_SET_SUPERBLOCK_SIZE = 56,
662
669 AOME_SET_ENABLEAUTOBWDREF = 57,
670
681 AV1E_SET_ENABLE_CDEF = 58,
682
691 AV1E_SET_ENABLE_RESTORATION = 59,
692
698 AV1E_SET_FORCE_VIDEO_MODE = 60,
699
708 AV1E_SET_ENABLE_OBMC = 61,
709
718 AV1E_SET_DISABLE_TRELLIS_QUANT = 62,
719
729 AV1E_SET_ENABLE_QM = 63,
730
742 AV1E_SET_QM_MIN = 64,
743
754 AV1E_SET_QM_MAX = 65,
755
766 AV1E_SET_QM_Y = 66,
767
778 AV1E_SET_QM_U = 67,
779
790 AV1E_SET_QM_V = 68,
791
792 /* NOTE: enum 69 unused */
793
800 AV1E_SET_NUM_TG = 70,
801
811 AV1E_SET_MTU = 71,
812
813 /* NOTE: enum 72 unused */
814
821 AV1E_SET_ENABLE_RECT_PARTITIONS = 73,
822
829 AV1E_SET_ENABLE_AB_PARTITIONS = 74,
830
837 AV1E_SET_ENABLE_1TO4_PARTITIONS = 75,
838
848 AV1E_SET_MIN_PARTITION_SIZE = 76,
849
859 AV1E_SET_MAX_PARTITION_SIZE = 77,
860
867 AV1E_SET_ENABLE_INTRA_EDGE_FILTER = 78,
868
876 AV1E_SET_ENABLE_ORDER_HINT = 79,
877
887 AV1E_SET_ENABLE_TX64 = 80,
888
911 AV1E_SET_ENABLE_FLIP_IDTX = 81,
912
923 AV1E_SET_ENABLE_RECT_TX = 82,
924
935 AV1E_SET_ENABLE_DIST_WTD_COMP = 83,
936
946 AV1E_SET_ENABLE_REF_FRAME_MVS = 84,
947
957 AV1E_SET_ALLOW_REF_FRAME_MVS = 85,
958
965 AV1E_SET_ENABLE_DUAL_FILTER = 86,
966
973 AV1E_SET_ENABLE_CHROMA_DELTAQ = 87,
974
981 AV1E_SET_ENABLE_MASKED_COMP = 88,
982
989 AV1E_SET_ENABLE_ONESIDED_COMP = 89,
990
997 AV1E_SET_ENABLE_INTERINTRA_COMP = 90,
998
1005 AV1E_SET_ENABLE_SMOOTH_INTERINTRA = 91,
1006
1013 AV1E_SET_ENABLE_DIFF_WTD_COMP = 92,
1014
1021 AV1E_SET_ENABLE_INTERINTER_WEDGE = 93,
1022
1029 AV1E_SET_ENABLE_INTERINTRA_WEDGE = 94,
1030
1039 AV1E_SET_ENABLE_GLOBAL_MOTION = 95,
1040
1049 AV1E_SET_ENABLE_WARPED_MOTION = 96,
1050
1062 AV1E_SET_ALLOW_WARPED_MOTION = 97,
1063
1070 AV1E_SET_ENABLE_FILTER_INTRA = 98,
1071
1081 AV1E_SET_ENABLE_SMOOTH_INTRA = 99,
1082
1089 AV1E_SET_ENABLE_PAETH_INTRA = 100,
1090
1099 AV1E_SET_ENABLE_CFL_INTRA = 101,
1100
1107 AV1E_SET_ENABLE_SUPERRES = 102,
1108
1117 AV1E_SET_ENABLE_OVERLAY = 103,
1118
1120 AV1E_SET_ENABLE_PALETTE = 104,
1121
1124 AV1E_SET_ENABLE_INTRABC = 105,
1125
1128 AV1E_SET_ENABLE_ANGLE_DELTA = 106,
1129
1148 AV1E_SET_DELTAQ_MODE = 107,
1149
1156 AV1E_SET_DELTALF_MODE = 108,
1157
1166 AV1E_SET_SINGLE_TILE_DECODING = 109,
1167
1177 AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST = 110,
1178
1183 AV1E_SET_TIMING_INFO_TYPE = 111,
1184
1190 AV1E_SET_FILM_GRAIN_TEST_VECTOR = 112,
1191
1195 AV1E_SET_FILM_GRAIN_TABLE = 113,
1196
1198 AV1E_SET_DENOISE_NOISE_LEVEL = 114,
1199
1201 AV1E_SET_DENOISE_BLOCK_SIZE = 115,
1202
1204 AV1E_SET_CHROMA_SUBSAMPLING_X = 116,
1205
1207 AV1E_SET_CHROMA_SUBSAMPLING_Y = 117,
1208
1210 AV1E_SET_REDUCED_TX_TYPE_SET = 118,
1211
1213 AV1E_SET_INTRA_DCT_ONLY = 119,
1214
1216 AV1E_SET_INTER_DCT_ONLY = 120,
1217
1220 AV1E_SET_INTRA_DEFAULT_TX_ONLY = 121,
1221
1223 AV1E_SET_QUANT_B_ADAPT = 122,
1224
1230 AV1E_SET_GF_MAX_PYRAMID_HEIGHT = 123,
1231
1237 AV1E_SET_MAX_REFERENCE_FRAMES = 124,
1238
1241 AV1E_SET_REDUCED_REFERENCE_SET = 125,
1242
1251 AV1E_SET_COEFF_COST_UPD_FREQ = 126,
1252
1261 AV1E_SET_MODE_COST_UPD_FREQ = 127,
1262
1271 AV1E_SET_MV_COST_UPD_FREQ = 128,
1272
1279 AV1E_SET_TIER_MASK = 129,
1280
1286 AV1E_SET_MIN_CR = 130,
1287
1288 /* NOTE: enums 145-149 unused */
1289
1293 AV1E_SET_SVC_LAYER_ID = 131,
1294
1298 AV1E_SET_SVC_PARAMS = 132,
1299
1303 AV1E_SET_SVC_REF_FRAME_CONFIG = 133,
1304
1308 AV1E_SET_VMAF_MODEL_PATH = 134,
1309
1318 AV1E_ENABLE_EXT_TILE_DEBUG = 135,
1319
1329 AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST = 136,
1330
1336 AV1E_SET_GF_MIN_PYRAMID_HEIGHT = 137,
1337
1341 AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP = 138,
1342
1345 AV1E_GET_BASELINE_GF_INTERVAL = 139,
1346
1347 /*\brief Control to set encoding the denoised frame from denoise-noise-level
1348 *
1349 * - 0 = disabled/encode the original frame
1350 * - 1 = enabled/encode the denoised frame (default)
1351 */
1352 AV1E_SET_ENABLE_DNL_DENOISING = 140,
1353
1364 AV1E_SET_ENABLE_DIAGONAL_INTRA = 141,
1365
1374 AV1E_SET_DV_COST_UPD_FREQ = 142,
1375
1379 AV1E_SET_PARTITION_INFO_PATH = 143,
1380
1385 AV1E_SET_EXTERNAL_PARTITION = 144,
1386
1393 AV1E_SET_ENABLE_DIRECTIONAL_INTRA = 145,
1394
1403 AV1E_SET_ENABLE_TX_SIZE_SEARCH = 146,
1404
1408 AV1E_SET_SVC_REF_FRAME_COMP_PRED = 147,
1409
1415 AV1E_SET_DELTAQ_STRENGTH = 148,
1416
1424 AV1E_SET_LOOPFILTER_CONTROL = 149,
1425
1429 AOME_GET_LOOPFILTER_LEVEL = 150,
1430
1436 AV1E_SET_AUTO_INTRA_TOOLS_OFF = 151,
1437
1444 AV1E_SET_RTC_EXTERNAL_RC = 152,
1445
1452 AV1E_SET_FP_MT = 153,
1453
1463 AV1E_SET_FP_MT_UNIT_TEST = 154,
1464
1472 AV1E_GET_TARGET_SEQ_LEVEL_IDX = 155,
1473
1477 AV1E_GET_NUM_OPERATING_POINTS = 156,
1478
1488 AV1E_SET_SKIP_POSTPROC_FILTERING = 157,
1489
1499 AV1E_ENABLE_SB_QP_SWEEP = 158,
1500
1507 AV1E_SET_QUANTIZER_ONE_PASS = 159,
1508
1519 AV1E_ENABLE_RATE_GUIDE_DELTAQ = 160,
1520
1531 AV1E_SET_RATE_DISTRIBUTION_INFO = 161,
1532
1537 AV1E_GET_LUMA_CDEF_STRENGTH = 162,
1538
1545 AV1E_SET_BITRATE_ONE_PASS_CBR = 163,
1546
1552 AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR = 164,
1553
1558 AV1E_SET_SVC_FRAME_DROP_MODE = 165,
1559
1566 AV1E_SET_AUTO_TILES = 166,
1567
1573 AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC = 167,
1574
1582 AV1E_SET_POSTENCODE_DROP_RTC = 168,
1583
1588 AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR = 169,
1589
1593 AV1E_SET_ENABLE_LOW_COMPLEXITY_DECODE = 170,
1594
1602 AV1E_SET_SCREEN_CONTENT_DETECTION_MODE = 171,
1603
1618 AV1E_SET_ENABLE_ADAPTIVE_SHARPNESS = 172,
1619
1620 // Any new encoder control IDs should be added above.
1621 // Maximum allowed encoder control ID is 229.
1622 // No encoder control ID should be added below.
1623};
1624
1629 typedef enum aom_scaling_mode_1d {
1630 AOME_NORMAL = 0,
1631 AOME_FOURFIVE = 1,
1632 AOME_THREEFIVE = 2,
1633 AOME_THREEFOUR = 3,
1634 AOME_ONEFOUR = 4,
1635 AOME_ONEEIGHT = 5,
1636 AOME_ONETWO = 6,
1637 AOME_TWOTHREE = 7,
1638 AOME_ONETHREE = 8
1639} AOM_SCALING_MODE;
1640
1648#define AOM_MAX_SEGMENTS 8
1649
1654 typedef struct aom_roi_map {
1656 uint8_t enabled;
1658 unsigned char *roi_map;
1659 unsigned int rows;
1660 unsigned int cols;
1661 int delta_q[AOM_MAX_SEGMENTS];
1662 int delta_lf[AOM_MAX_SEGMENTS];
1663 int skip[AOM_MAX_SEGMENTS];
1664 int ref_frame[AOM_MAX_SEGMENTS];
1665 int delta_qp_enabled;
1666 int reference_enabled;
1667 int rdmult_delta_qp;
1668} aom_roi_map_t;
1669
1675
1676 typedef struct aom_active_map {
1678 unsigned char *active_map;
1679 unsigned int rows;
1680 unsigned int cols;
1681} aom_active_map_t;
1682
1688 typedef struct aom_scaling_mode {
1689 AOM_SCALING_MODE h_scaling_mode;
1690 AOM_SCALING_MODE v_scaling_mode;
1691} aom_scaling_mode_t;
1692
1694 typedef enum {
1695 AOM_CONTENT_DEFAULT,
1696 AOM_CONTENT_SCREEN,
1697 AOM_CONTENT_FILM,
1698 AOM_CONTENT_INVALID
1699} aom_tune_content;
1700
1702 typedef enum {
1704 AOM_SCREEN_DETECTION_STANDARD = 1,
1706 AOM_SCREEN_DETECTION_ANTIALIASING_AWARE = 2
1707} aom_screen_detection_mode;
1708
1710 typedef enum {
1711 AOM_TIMING_UNSPECIFIED,
1712 AOM_TIMING_EQUAL,
1713 AOM_TIMING_DEC_MODEL
1714} aom_timing_info_type_t;
1715
1737 typedef enum {
1738 AOM_TUNE_PSNR = 0,
1739 AOM_TUNE_SSIM = 1,
1740 /* NOTE: enums 2 and 3 unused */
1741 AOM_TUNE_VMAF_WITH_PREPROCESSING = 4,
1742 AOM_TUNE_VMAF_WITHOUT_PREPROCESSING = 5,
1743 AOM_TUNE_VMAF_MAX_GAIN = 6,
1744 AOM_TUNE_VMAF_NEG_MAX_GAIN = 7,
1745 AOM_TUNE_BUTTERAUGLI = 8,
1746 AOM_TUNE_VMAF_SALIENCY_MAP = 9,
1748#define AOM_HAVE_TUNE_IQ 1
1749 /* Image quality (or intra quality). Increases image quality and consistency,
1750 * guided by the SSIMULACRA 2 metric and subjective quality checks. Shares
1751 * the rdmult code with AOM_TUNE_SSIM.
1752 */
1753 AOM_TUNE_IQ = 10,
1756#define AOM_HAVE_TUNE_SSIMULACRA2 1
1757 /* Tune that optimizes for maximum SSIMULACRA 2 scores. Shares the rdmult code
1758 with AOM_TUNE_SSIM. */
1759 AOM_TUNE_SSIMULACRA2 = 11,
1760} aom_tune_metric;
1761
1770 typedef enum {
1771 // Use PSNR for in-block rate-distortion optimization.
1772 AOM_DIST_METRIC_PSNR,
1773 // Use quantization matrix-weighted PSNR for in-block rate-distortion
1774 // optimization. If --enable-qm=1 is not specified, this falls back to
1775 // behaving in the same way as AOM_DIST_METRIC_PSNR.
1776 AOM_DIST_METRIC_QM_PSNR,
1777} aom_dist_metric;
1778
1779#define AOM_MAX_LAYERS 32
1780#define AOM_MAX_SS_LAYERS 4
1781#define AOM_MAX_TS_LAYERS 8
1782
1784 typedef struct aom_svc_layer_id {
1785 int spatial_layer_id;
1786 int temporal_layer_id;
1787} aom_svc_layer_id_t;
1788
1795 typedef struct aom_svc_params {
1802 int number_spatial_layers;
1809 int number_temporal_layers;
1810 int max_quantizers[AOM_MAX_LAYERS];
1811 int min_quantizers[AOM_MAX_LAYERS];
1812 int scaling_factor_num[AOM_MAX_SS_LAYERS];
1813 int scaling_factor_den[AOM_MAX_SS_LAYERS];
1815 int layer_target_bitrate[AOM_MAX_LAYERS];
1817 int framerate_factor[AOM_MAX_TS_LAYERS];
1818} aom_svc_params_t;
1819
1821 typedef struct aom_svc_ref_frame_config {
1822 // Three arrays need to be set: reference[], ref_id[], refresh[].
1823 // reference[i]: is a boolean flag to indicate which of the 7 possible
1824 // references are used for prediction. Values are 0 (not used as reference)
1825 // or 1 (use as reference). The index 0 - 6 refers to the references:
1826 // last(0), last2(1), last3(2), golden(3), bwdref(4), altref2(5), altref(6).
1827 // ref_idx[i]: maps a reference to one of the 8 buffers slots, values are
1828 // 0 - 7. The ref_idx for a unused reference (reference[i] = 1, and not used
1829 // for refresh, see below) can be set to the ref_idx of the first reference
1830 // used (usually LAST).
1831 // refresh[i] is a boolean flag to indicate if a buffer is updated/refreshed
1832 // with the current encoded frame. Values are 0 (no refresh) or 1 (refresh).
1833 // The refresh is done internally by looking at the ref_idx[j], for j = 0 - 6,
1834 // so to refresh a buffer slot (i) a reference must be mapped to that slot
1835 // (i = ref_idx[j]).
1836 // Examples for usage (for RTC encoding) are in: examples/svc_encoder_rtc.c.
1837 int reference[7];
1839 int ref_idx[7];
1840 int refresh[8];
1841} aom_svc_ref_frame_config_t;
1842
1844 typedef struct aom_svc_ref_frame_comp_pred {
1845 // Use compound prediction for the ref_frame pairs GOLDEN_LAST (0),
1846 // LAST2_LAST (1), and ALTREF_LAST (2).
1847 int use_comp_pred[3];
1848} aom_svc_ref_frame_comp_pred_t;
1849
1851 typedef enum {
1852 AOM_LAYER_DROP,
1853 AOM_FULL_SUPERFRAME_DROP,
1854} AOM_SVC_FRAME_DROP_MODE;
1855
1868 AOM_CTRL_USE_TYPE(AOME_USE_REFERENCE, int)
1869#define AOM_CTRL_AOME_USE_REFERENCE
1870
1871 AOM_CTRL_USE_TYPE(AOME_SET_ROI_MAP, aom_roi_map_t *)
1872#define AOM_CTRL_AOME_SET_ROI_MAP
1873
1874 AOM_CTRL_USE_TYPE(AOME_SET_ACTIVEMAP, aom_active_map_t *)
1875#define AOM_CTRL_AOME_SET_ACTIVEMAP
1876
1877 AOM_CTRL_USE_TYPE(AOME_SET_SCALEMODE, aom_scaling_mode_t *)
1878#define AOM_CTRL_AOME_SET_SCALEMODE
1879
1880 AOM_CTRL_USE_TYPE(AOME_SET_SPATIAL_LAYER_ID, int)
1881#define AOM_CTRL_AOME_SET_SPATIAL_LAYER_ID
1882
1883 AOM_CTRL_USE_TYPE(AOME_SET_CPUUSED, int)
1884#define AOM_CTRL_AOME_SET_CPUUSED
1885
1886 AOM_CTRL_USE_TYPE(AOME_SET_ENABLEAUTOALTREF, unsigned int)
1887#define AOM_CTRL_AOME_SET_ENABLEAUTOALTREF
1888
1889 AOM_CTRL_USE_TYPE(AOME_SET_SHARPNESS, unsigned int)
1890#define AOM_CTRL_AOME_SET_SHARPNESS
1891
1892 AOM_CTRL_USE_TYPE(AOME_SET_STATIC_THRESHOLD, unsigned int)
1893#define AOM_CTRL_AOME_SET_STATIC_THRESHOLD
1894
1895 AOM_CTRL_USE_TYPE(AOME_GET_LAST_QUANTIZER, int *)
1896#define AOM_CTRL_AOME_GET_LAST_QUANTIZER
1897
1898 AOM_CTRL_USE_TYPE(AOME_GET_LAST_QUANTIZER_64, int *)
1899#define AOM_CTRL_AOME_GET_LAST_QUANTIZER_64
1900
1901 AOM_CTRL_USE_TYPE(AOME_SET_ARNR_MAXFRAMES, unsigned int)
1902#define AOM_CTRL_AOME_SET_ARNR_MAXFRAMES
1903
1904 AOM_CTRL_USE_TYPE(AOME_SET_ARNR_STRENGTH, unsigned int)
1905#define AOM_CTRL_AOME_SET_ARNR_STRENGTH
1906
1907 AOM_CTRL_USE_TYPE(AOME_SET_TUNING, int) /* aom_tune_metric */
1908#define AOM_CTRL_AOME_SET_TUNING
1909
1910 AOM_CTRL_USE_TYPE(AOME_SET_CQ_LEVEL, unsigned int)
1911#define AOM_CTRL_AOME_SET_CQ_LEVEL
1912
1913 AOM_CTRL_USE_TYPE(AOME_SET_MAX_INTRA_BITRATE_PCT, unsigned int)
1914#define AOM_CTRL_AOME_SET_MAX_INTRA_BITRATE_PCT
1915
1916 AOM_CTRL_USE_TYPE(AOME_SET_NUMBER_SPATIAL_LAYERS, int)
1917#define AOM_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1918// TODO(aomedia:3231): Deprecated. Remove it.
1919#define AOME_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1920
1921 AOM_CTRL_USE_TYPE(AOME_SET_MAX_INTER_BITRATE_PCT, unsigned int)
1922#define AOM_CTRL_AV1E_SET_MAX_INTER_BITRATE_PCT
1923// TODO(aomedia:3231): Deprecated. Remove it.
1924#define AOM_CTRL_AOME_SET_MAX_INTER_BITRATE_PCT
1925
1926 AOM_CTRL_USE_TYPE(AV1E_SET_GF_CBR_BOOST_PCT, unsigned int)
1927#define AOM_CTRL_AV1E_SET_GF_CBR_BOOST_PCT
1928
1929 AOM_CTRL_USE_TYPE(AV1E_SET_LOSSLESS, unsigned int)
1930#define AOM_CTRL_AV1E_SET_LOSSLESS
1931
1932 AOM_CTRL_USE_TYPE(AV1E_SET_ROW_MT, unsigned int)
1933#define AOM_CTRL_AV1E_SET_ROW_MT
1934
1935 AOM_CTRL_USE_TYPE(AV1E_SET_TILE_COLUMNS, unsigned int)
1936#define AOM_CTRL_AV1E_SET_TILE_COLUMNS
1937
1938 AOM_CTRL_USE_TYPE(AV1E_SET_TILE_ROWS, unsigned int)
1939#define AOM_CTRL_AV1E_SET_TILE_ROWS
1940
1941 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_TPL_MODEL, unsigned int)
1942#define AOM_CTRL_AV1E_SET_ENABLE_TPL_MODEL
1943
1944 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_KEYFRAME_FILTERING, unsigned int)
1945#define AOM_CTRL_AV1E_SET_ENABLE_KEYFRAME_FILTERING
1946
1947 AOM_CTRL_USE_TYPE(AV1E_SET_FRAME_PARALLEL_DECODING, unsigned int)
1948#define AOM_CTRL_AV1E_SET_FRAME_PARALLEL_DECODING
1949
1950 AOM_CTRL_USE_TYPE(AV1E_SET_ERROR_RESILIENT_MODE, int)
1951#define AOM_CTRL_AV1E_SET_ERROR_RESILIENT_MODE
1952
1953 AOM_CTRL_USE_TYPE(AV1E_SET_S_FRAME_MODE, int)
1954#define AOM_CTRL_AV1E_SET_S_FRAME_MODE
1955
1956 AOM_CTRL_USE_TYPE(AV1E_SET_AQ_MODE, unsigned int)
1957#define AOM_CTRL_AV1E_SET_AQ_MODE
1958
1959 AOM_CTRL_USE_TYPE(AV1E_SET_FRAME_PERIODIC_BOOST, unsigned int)
1960#define AOM_CTRL_AV1E_SET_FRAME_PERIODIC_BOOST
1961
1962 AOM_CTRL_USE_TYPE(AV1E_SET_NOISE_SENSITIVITY, unsigned int)
1963#define AOM_CTRL_AV1E_SET_NOISE_SENSITIVITY
1964
1965 AOM_CTRL_USE_TYPE(AV1E_SET_TUNE_CONTENT, int) /* aom_tune_content */
1966#define AOM_CTRL_AV1E_SET_TUNE_CONTENT
1967
1968 AOM_CTRL_USE_TYPE(AV1E_SET_CDF_UPDATE_MODE, unsigned int)
1969#define AOM_CTRL_AV1E_SET_CDF_UPDATE_MODE
1970
1971 AOM_CTRL_USE_TYPE(AV1E_SET_COLOR_PRIMARIES, int)
1972#define AOM_CTRL_AV1E_SET_COLOR_PRIMARIES
1973
1974 AOM_CTRL_USE_TYPE(AV1E_SET_TRANSFER_CHARACTERISTICS, int)
1975#define AOM_CTRL_AV1E_SET_TRANSFER_CHARACTERISTICS
1976
1977 AOM_CTRL_USE_TYPE(AV1E_SET_MATRIX_COEFFICIENTS, int)
1978#define AOM_CTRL_AV1E_SET_MATRIX_COEFFICIENTS
1979
1980 AOM_CTRL_USE_TYPE(AV1E_SET_CHROMA_SAMPLE_POSITION, int)
1981#define AOM_CTRL_AV1E_SET_CHROMA_SAMPLE_POSITION
1982
1983 AOM_CTRL_USE_TYPE(AV1E_SET_MIN_GF_INTERVAL, unsigned int)
1984#define AOM_CTRL_AV1E_SET_MIN_GF_INTERVAL
1985
1986 AOM_CTRL_USE_TYPE(AV1E_SET_MAX_GF_INTERVAL, unsigned int)
1987#define AOM_CTRL_AV1E_SET_MAX_GF_INTERVAL
1988
1989 AOM_CTRL_USE_TYPE(AV1E_GET_ACTIVEMAP, aom_active_map_t *)
1990#define AOM_CTRL_AV1E_GET_ACTIVEMAP
1991
1992 AOM_CTRL_USE_TYPE(AV1E_SET_COLOR_RANGE, int)
1993#define AOM_CTRL_AV1E_SET_COLOR_RANGE
1994
1995 AOM_CTRL_USE_TYPE(AV1E_SET_RENDER_SIZE, int *)
1996#define AOM_CTRL_AV1E_SET_RENDER_SIZE
1997
1998 AOM_CTRL_USE_TYPE(AV1E_SET_TARGET_SEQ_LEVEL_IDX, int)
1999#define AOM_CTRL_AV1E_SET_TARGET_SEQ_LEVEL_IDX
2000
2001 AOM_CTRL_USE_TYPE(AV1E_GET_SEQ_LEVEL_IDX, int *)
2002#define AOM_CTRL_AV1E_GET_SEQ_LEVEL_IDX
2003
2004 AOM_CTRL_USE_TYPE(AV1E_SET_SUPERBLOCK_SIZE, unsigned int)
2005#define AOM_CTRL_AV1E_SET_SUPERBLOCK_SIZE
2006
2007 AOM_CTRL_USE_TYPE(AOME_SET_ENABLEAUTOBWDREF, unsigned int)
2008#define AOM_CTRL_AOME_SET_ENABLEAUTOBWDREF
2009
2010 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_CDEF, unsigned int)
2011#define AOM_CTRL_AV1E_SET_ENABLE_CDEF
2012
2013 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_RESTORATION, unsigned int)
2014#define AOM_CTRL_AV1E_SET_ENABLE_RESTORATION
2015
2016 AOM_CTRL_USE_TYPE(AV1E_SET_FORCE_VIDEO_MODE, unsigned int)
2017#define AOM_CTRL_AV1E_SET_FORCE_VIDEO_MODE
2018
2019 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_OBMC, unsigned int)
2020#define AOM_CTRL_AV1E_SET_ENABLE_OBMC
2021
2022 AOM_CTRL_USE_TYPE(AV1E_SET_DISABLE_TRELLIS_QUANT, unsigned int)
2023#define AOM_CTRL_AV1E_SET_DISABLE_TRELLIS_QUANT
2024
2025 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_QM, unsigned int)
2026#define AOM_CTRL_AV1E_SET_ENABLE_QM
2027
2028// TODO(aomedia:3231): Remove these two lines.
2029 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIST_8X8, unsigned int)
2030#define AOM_CTRL_AV1E_SET_ENABLE_DIST_8X8
2031
2032 AOM_CTRL_USE_TYPE(AV1E_SET_QM_MIN, unsigned int)
2033#define AOM_CTRL_AV1E_SET_QM_MIN
2034
2035 AOM_CTRL_USE_TYPE(AV1E_SET_QM_MAX, unsigned int)
2036#define AOM_CTRL_AV1E_SET_QM_MAX
2037
2038 AOM_CTRL_USE_TYPE(AV1E_SET_QM_Y, unsigned int)
2039#define AOM_CTRL_AV1E_SET_QM_Y
2040
2041 AOM_CTRL_USE_TYPE(AV1E_SET_QM_U, unsigned int)
2042#define AOM_CTRL_AV1E_SET_QM_U
2043
2044 AOM_CTRL_USE_TYPE(AV1E_SET_QM_V, unsigned int)
2045#define AOM_CTRL_AV1E_SET_QM_V
2046
2047 AOM_CTRL_USE_TYPE(AV1E_SET_NUM_TG, unsigned int)
2048#define AOM_CTRL_AV1E_SET_NUM_TG
2049
2050 AOM_CTRL_USE_TYPE(AV1E_SET_MTU, unsigned int)
2051#define AOM_CTRL_AV1E_SET_MTU
2052
2053 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_RECT_PARTITIONS, int)
2054#define AOM_CTRL_AV1E_SET_ENABLE_RECT_PARTITIONS
2055
2056 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_AB_PARTITIONS, int)
2057#define AOM_CTRL_AV1E_SET_ENABLE_AB_PARTITIONS
2058
2059 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_1TO4_PARTITIONS, int)
2060#define AOM_CTRL_AV1E_SET_ENABLE_1TO4_PARTITIONS
2061
2062 AOM_CTRL_USE_TYPE(AV1E_SET_MIN_PARTITION_SIZE, int)
2063#define AOM_CTRL_AV1E_SET_MIN_PARTITION_SIZE
2064
2065 AOM_CTRL_USE_TYPE(AV1E_SET_MAX_PARTITION_SIZE, int)
2066#define AOM_CTRL_AV1E_SET_MAX_PARTITION_SIZE
2067
2068 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTRA_EDGE_FILTER, int)
2069#define AOM_CTRL_AV1E_SET_ENABLE_INTRA_EDGE_FILTER
2070
2071 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_ORDER_HINT, int)
2072#define AOM_CTRL_AV1E_SET_ENABLE_ORDER_HINT
2073
2074 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_TX64, int)
2075#define AOM_CTRL_AV1E_SET_ENABLE_TX64
2076
2077 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_FLIP_IDTX, int)
2078#define AOM_CTRL_AV1E_SET_ENABLE_FLIP_IDTX
2079
2080 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_RECT_TX, int)
2081#define AOM_CTRL_AV1E_SET_ENABLE_RECT_TX
2082
2083 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIST_WTD_COMP, int)
2084#define AOM_CTRL_AV1E_SET_ENABLE_DIST_WTD_COMP
2085
2086 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_REF_FRAME_MVS, int)
2087#define AOM_CTRL_AV1E_SET_ENABLE_REF_FRAME_MVS
2088
2089 AOM_CTRL_USE_TYPE(AV1E_SET_ALLOW_REF_FRAME_MVS, int)
2090#define AOM_CTRL_AV1E_SET_ALLOW_REF_FRAME_MVS
2091
2092 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DUAL_FILTER, int)
2093#define AOM_CTRL_AV1E_SET_ENABLE_DUAL_FILTER
2094
2095 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_CHROMA_DELTAQ, int)
2096#define AOM_CTRL_AV1E_SET_ENABLE_CHROMA_DELTAQ
2097
2098 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_MASKED_COMP, int)
2099#define AOM_CTRL_AV1E_SET_ENABLE_MASKED_COMP
2100
2101 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_ONESIDED_COMP, int)
2102#define AOM_CTRL_AV1E_SET_ENABLE_ONESIDED_COMP
2103
2104 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTERINTRA_COMP, int)
2105#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_COMP
2106
2107 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_SMOOTH_INTERINTRA, int)
2108#define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTERINTRA
2109
2110 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIFF_WTD_COMP, int)
2111#define AOM_CTRL_AV1E_SET_ENABLE_DIFF_WTD_COMP
2112
2113 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTERINTER_WEDGE, int)
2114#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTER_WEDGE
2115
2116 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTERINTRA_WEDGE, int)
2117#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_WEDGE
2118
2119 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_GLOBAL_MOTION, int)
2120#define AOM_CTRL_AV1E_SET_ENABLE_GLOBAL_MOTION
2121
2122 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_WARPED_MOTION, int)
2123#define AOM_CTRL_AV1E_SET_ENABLE_WARPED_MOTION
2124
2125 AOM_CTRL_USE_TYPE(AV1E_SET_ALLOW_WARPED_MOTION, int)
2126#define AOM_CTRL_AV1E_SET_ALLOW_WARPED_MOTION
2127
2128 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_FILTER_INTRA, int)
2129#define AOM_CTRL_AV1E_SET_ENABLE_FILTER_INTRA
2130
2131 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_SMOOTH_INTRA, int)
2132#define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTRA
2133
2134 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_PAETH_INTRA, int)
2135#define AOM_CTRL_AV1E_SET_ENABLE_PAETH_INTRA
2136
2137 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_CFL_INTRA, int)
2138#define AOM_CTRL_AV1E_SET_ENABLE_CFL_INTRA
2139
2140 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_SUPERRES, int)
2141#define AOM_CTRL_AV1E_SET_ENABLE_SUPERRES
2142
2143 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_OVERLAY, int)
2144#define AOM_CTRL_AV1E_SET_ENABLE_OVERLAY
2145
2146 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_PALETTE, int)
2147#define AOM_CTRL_AV1E_SET_ENABLE_PALETTE
2148
2149 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTRABC, int)
2150#define AOM_CTRL_AV1E_SET_ENABLE_INTRABC
2151
2152 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_ANGLE_DELTA, int)
2153#define AOM_CTRL_AV1E_SET_ENABLE_ANGLE_DELTA
2154
2155 AOM_CTRL_USE_TYPE(AV1E_SET_DELTAQ_MODE, unsigned int)
2156#define AOM_CTRL_AV1E_SET_DELTAQ_MODE
2157
2158 AOM_CTRL_USE_TYPE(AV1E_SET_DELTALF_MODE, unsigned int)
2159#define AOM_CTRL_AV1E_SET_DELTALF_MODE
2160
2161 AOM_CTRL_USE_TYPE(AV1E_SET_SINGLE_TILE_DECODING, unsigned int)
2162#define AOM_CTRL_AV1E_SET_SINGLE_TILE_DECODING
2163
2164 AOM_CTRL_USE_TYPE(AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST, unsigned int)
2165#define AOM_CTRL_AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
2166
2167 AOM_CTRL_USE_TYPE(AV1E_SET_TIMING_INFO_TYPE, int) /* aom_timing_info_type_t */
2168#define AOM_CTRL_AV1E_SET_TIMING_INFO_TYPE
2169
2170 AOM_CTRL_USE_TYPE(AV1E_SET_FILM_GRAIN_TEST_VECTOR, int)
2171#define AOM_CTRL_AV1E_SET_FILM_GRAIN_TEST_VECTOR
2172
2173 AOM_CTRL_USE_TYPE(AV1E_SET_FILM_GRAIN_TABLE, const char *)
2174#define AOM_CTRL_AV1E_SET_FILM_GRAIN_TABLE
2175
2176 AOM_CTRL_USE_TYPE(AV1E_SET_DENOISE_NOISE_LEVEL, int)
2177#define AOM_CTRL_AV1E_SET_DENOISE_NOISE_LEVEL
2178
2179 AOM_CTRL_USE_TYPE(AV1E_SET_DENOISE_BLOCK_SIZE, unsigned int)
2180#define AOM_CTRL_AV1E_SET_DENOISE_BLOCK_SIZE
2181
2182 AOM_CTRL_USE_TYPE(AV1E_SET_CHROMA_SUBSAMPLING_X, unsigned int)
2183#define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_X
2184
2185 AOM_CTRL_USE_TYPE(AV1E_SET_CHROMA_SUBSAMPLING_Y, unsigned int)
2186#define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_Y
2187
2188 AOM_CTRL_USE_TYPE(AV1E_SET_REDUCED_TX_TYPE_SET, int)
2189#define AOM_CTRL_AV1E_SET_REDUCED_TX_TYPE_SET
2190
2191 AOM_CTRL_USE_TYPE(AV1E_SET_INTRA_DCT_ONLY, int)
2192#define AOM_CTRL_AV1E_SET_INTRA_DCT_ONLY
2193
2194 AOM_CTRL_USE_TYPE(AV1E_SET_INTER_DCT_ONLY, int)
2195#define AOM_CTRL_AV1E_SET_INTER_DCT_ONLY
2196
2197 AOM_CTRL_USE_TYPE(AV1E_SET_INTRA_DEFAULT_TX_ONLY, int)
2198#define AOM_CTRL_AV1E_SET_INTRA_DEFAULT_TX_ONLY
2199
2200 AOM_CTRL_USE_TYPE(AV1E_SET_QUANT_B_ADAPT, int)
2201#define AOM_CTRL_AV1E_SET_QUANT_B_ADAPT
2202
2203 AOM_CTRL_USE_TYPE(AV1E_SET_GF_MAX_PYRAMID_HEIGHT, unsigned int)
2204#define AOM_CTRL_AV1E_SET_GF_MAX_PYRAMID_HEIGHT
2205
2206 AOM_CTRL_USE_TYPE(AV1E_SET_MAX_REFERENCE_FRAMES, int)
2207#define AOM_CTRL_AV1E_SET_MAX_REFERENCE_FRAMES
2208
2209 AOM_CTRL_USE_TYPE(AV1E_SET_REDUCED_REFERENCE_SET, int)
2210#define AOM_CTRL_AV1E_SET_REDUCED_REFERENCE_SET
2211
2212 AOM_CTRL_USE_TYPE(AV1E_SET_COEFF_COST_UPD_FREQ, unsigned int)
2213#define AOM_CTRL_AV1E_SET_COEFF_COST_UPD_FREQ
2214
2215 AOM_CTRL_USE_TYPE(AV1E_SET_MODE_COST_UPD_FREQ, unsigned int)
2216#define AOM_CTRL_AV1E_SET_MODE_COST_UPD_FREQ
2217
2218 AOM_CTRL_USE_TYPE(AV1E_SET_MV_COST_UPD_FREQ, unsigned int)
2219#define AOM_CTRL_AV1E_SET_MV_COST_UPD_FREQ
2220
2221 AOM_CTRL_USE_TYPE(AV1E_SET_TIER_MASK, unsigned int)
2222#define AOM_CTRL_AV1E_SET_TIER_MASK
2223
2224 AOM_CTRL_USE_TYPE(AV1E_SET_MIN_CR, unsigned int)
2225#define AOM_CTRL_AV1E_SET_MIN_CR
2226
2227 AOM_CTRL_USE_TYPE(AV1E_SET_SVC_LAYER_ID, aom_svc_layer_id_t *)
2228#define AOM_CTRL_AV1E_SET_SVC_LAYER_ID
2229// TODO(aomedia:3231): Deprecated. Remove it.
2230#define AOME_CTRL_AV1E_SET_SVC_LAYER_ID
2231
2232 AOM_CTRL_USE_TYPE(AV1E_SET_SVC_PARAMS, aom_svc_params_t *)
2233#define AOM_CTRL_AV1E_SET_SVC_PARAMS
2234// TODO(aomedia:3231): Deprecated. Remove it.
2235#define AOME_CTRL_AV1E_SET_SVC_PARAMS
2236
2237 AOM_CTRL_USE_TYPE(AV1E_SET_SVC_REF_FRAME_CONFIG, aom_svc_ref_frame_config_t *)
2238#define AOM_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
2239// TODO(aomedia:3231): Deprecated. Remove it.
2240#define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
2241
2242 AOM_CTRL_USE_TYPE(AV1E_SET_VMAF_MODEL_PATH, const char *)
2243#define AOM_CTRL_AV1E_SET_VMAF_MODEL_PATH
2244
2245 AOM_CTRL_USE_TYPE(AV1E_ENABLE_EXT_TILE_DEBUG, unsigned int)
2246#define AOM_CTRL_AV1E_ENABLE_EXT_TILE_DEBUG
2247
2248 AOM_CTRL_USE_TYPE(AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST, unsigned int)
2249#define AOM_CTRL_AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST
2250
2251 AOM_CTRL_USE_TYPE(AV1E_SET_GF_MIN_PYRAMID_HEIGHT, unsigned int)
2252#define AOM_CTRL_AV1E_SET_GF_MIN_PYRAMID_HEIGHT
2253
2254 AOM_CTRL_USE_TYPE(AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP, unsigned int)
2255#define AOM_CTRL_AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP
2256
2257 AOM_CTRL_USE_TYPE(AV1E_GET_BASELINE_GF_INTERVAL, int *)
2258#define AOM_CTRL_AV1E_GET_BASELINE_GF_INTERVAL
2259
2260 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DNL_DENOISING, int)
2261#define AOM_CTRL_AV1E_SET_ENABLE_DNL_DENOISING
2262
2263 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIAGONAL_INTRA, int)
2264#define AOM_CTRL_AV1E_SET_ENABLE_DIAGONAL_INTRA
2265
2266 AOM_CTRL_USE_TYPE(AV1E_SET_DV_COST_UPD_FREQ, unsigned int)
2267#define AOM_CTRL_AV1E_SET_DV_COST_UPD_FREQ
2268
2269 AOM_CTRL_USE_TYPE(AV1E_SET_PARTITION_INFO_PATH, const char *)
2270#define AOM_CTRL_AV1E_SET_PARTITION_INFO_PATH
2271
2272 AOM_CTRL_USE_TYPE(AV1E_SET_EXTERNAL_PARTITION, aom_ext_part_funcs_t *)
2273#define AOM_CTRL_AV1E_SET_EXTERNAL_PARTITION
2274
2275 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIRECTIONAL_INTRA, int)
2276#define AOM_CTRL_AV1E_SET_ENABLE_DIRECTIONAL_INTRA
2277
2278 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_TX_SIZE_SEARCH, int)
2279#define AOM_CTRL_AV1E_SET_ENABLE_TX_SIZE_SEARCH
2280
2281 AOM_CTRL_USE_TYPE(AV1E_SET_SVC_REF_FRAME_COMP_PRED,
2282 aom_svc_ref_frame_comp_pred_t *)
2283#define AOM_CTRL_AV1E_SET_SVC_REF_FRAME_COMP_PRED
2284// TODO(aomedia:3231): Deprecated. Remove it.
2285#define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_COMP_PRED
2286
2287 AOM_CTRL_USE_TYPE(AV1E_SET_DELTAQ_STRENGTH, unsigned int)
2288#define AOM_CTRL_AV1E_SET_DELTAQ_STRENGTH
2289
2290 AOM_CTRL_USE_TYPE(AV1E_SET_LOOPFILTER_CONTROL, int)
2291#define AOM_CTRL_AV1E_SET_LOOPFILTER_CONTROL
2292
2293 AOM_CTRL_USE_TYPE(AOME_GET_LOOPFILTER_LEVEL, int *)
2294#define AOM_CTRL_AOME_GET_LOOPFILTER_LEVEL
2295
2296 AOM_CTRL_USE_TYPE(AV1E_SET_AUTO_INTRA_TOOLS_OFF, unsigned int)
2297#define AOM_CTRL_AV1E_SET_AUTO_INTRA_TOOLS_OFF
2298
2299 AOM_CTRL_USE_TYPE(AV1E_SET_RTC_EXTERNAL_RC, int)
2300#define AOM_CTRL_AV1E_SET_RTC_EXTERNAL_RC
2301
2302 AOM_CTRL_USE_TYPE(AV1E_SET_FP_MT, unsigned int)
2303#define AOM_CTRL_AV1E_SET_FP_MT
2304
2305 AOM_CTRL_USE_TYPE(AV1E_SET_FP_MT_UNIT_TEST, unsigned int)
2306#define AOM_CTRL_AV1E_SET_FP_MT_UNIT_TEST
2307
2308 AOM_CTRL_USE_TYPE(AV1E_GET_TARGET_SEQ_LEVEL_IDX, int *)
2309#define AOM_CTRL_AV1E_GET_TARGET_SEQ_LEVEL_IDX
2310
2311 AOM_CTRL_USE_TYPE(AV1E_GET_NUM_OPERATING_POINTS, int *)
2312#define AOM_CTRL_AV1E_GET_NUM_OPERATING_POINTS
2313
2314 AOM_CTRL_USE_TYPE(AV1E_SET_SKIP_POSTPROC_FILTERING, unsigned int)
2315#define AOM_CTRL_AV1E_SET_SKIP_POSTPROC_FILTERING
2316
2317 AOM_CTRL_USE_TYPE(AV1E_ENABLE_SB_QP_SWEEP, unsigned int)
2318#define AOM_CTRL_AV1E_ENABLE_SB_QP_SWEEP
2319
2320 AOM_CTRL_USE_TYPE(AV1E_SET_QUANTIZER_ONE_PASS, int)
2321#define AOM_CTRL_AV1E_SET_QUANTIZER_ONE_PASS
2322
2323 AOM_CTRL_USE_TYPE(AV1E_ENABLE_RATE_GUIDE_DELTAQ, unsigned int)
2324#define AOM_CTRL_AV1E_ENABLE_RATE_GUIDE_DELTAQ
2325
2326 AOM_CTRL_USE_TYPE(AV1E_SET_RATE_DISTRIBUTION_INFO, const char *)
2327#define AOM_CTRL_AV1E_SET_RATE_DISTRIBUTION_INFO
2328
2329 AOM_CTRL_USE_TYPE(AV1E_GET_LUMA_CDEF_STRENGTH, int *)
2330#define AOM_CTRL_AV1E_GET_LUMA_CDEF_STRENGTH
2331
2332 AOM_CTRL_USE_TYPE(AV1E_SET_BITRATE_ONE_PASS_CBR, unsigned int)
2333#define AOM_CTRL_AV1E_SET_BITRATE_ONE_PASS_CBR
2334
2335 AOM_CTRL_USE_TYPE(AV1E_SET_SVC_FRAME_DROP_MODE, unsigned int)
2336#define AOM_CTRL_AV1E_SET_SVC_FRAME_DROP_MODE
2337
2338 AOM_CTRL_USE_TYPE(AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR, int)
2339#define AOM_CTRL_AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR
2340
2341 AOM_CTRL_USE_TYPE(AV1E_SET_AUTO_TILES, unsigned int)
2342#define AOM_CTRL_AV1E_SET_AUTO_TILES
2343
2344 AOM_CTRL_USE_TYPE(AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC, int *)
2345#define AOM_CTRL_AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC
2346
2347 AOM_CTRL_USE_TYPE(AV1E_SET_POSTENCODE_DROP_RTC, int)
2348#define AOM_CTRL_AV1E_SET_POSTENCODE_DROP_RTC
2349
2350 AOM_CTRL_USE_TYPE(AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR, int)
2351#define AOM_CTRL_AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR
2352
2353 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_LOW_COMPLEXITY_DECODE, unsigned int)
2354#define AOM_CTRL_AV1E_SET_ENABLE_LOW_COMPLEXITY_DECODE
2355
2356 AOM_CTRL_USE_TYPE(AV1E_SET_SCREEN_CONTENT_DETECTION_MODE,
2357 int) /* aom_screen_detection_mode */
2358#define AOM_CTRL_SET_SCREEN_CONTENT_DETECTION_MODE
2359
2360 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_ADAPTIVE_SHARPNESS, unsigned int)
2361#define AOM_CTRL_AV1E_SET_ENABLE_ADAPTIVE_SHARPNESS
2362
2365#ifdef __cplusplus
2366} // extern "C"
2367#endif
2368
2369#endif // AOM_AOM_AOMCX_H_
aom.h
Provides controls common to both the AOM encoder and decoder.
aom_encoder.h
Describes the encoder algorithm interface to applications.
aom_external_partition.h
Provides function pointer definitions for the external partition.
AOM_SVC_FRAME_DROP_MODE
AOM_SVC_FRAME_DROP_MODE
Frame drop modes for spatial/quality layer SVC.
Definition aomcx.h:1851
aom_dist_metric
aom_dist_metric
Distortion metric to use for RD optimization.
Definition aomcx.h:1770
aom_codec_av1_cx_algo
aom_codec_iface_t aom_codec_av1_cx_algo
A single instance of the AV1 encoder.
aom_scaling_mode_1d
aom_scaling_mode_1d
aom 1-D scaling mode
Definition aomcx.h:1629
AOM_MAX_LAYERS
#define AOM_MAX_LAYERS
Definition aomcx.h:1779
aom_svc_params_t
struct aom_svc_params aom_svc_params_t
Parameter type for SVC.
AOM_MAX_SEGMENTS
#define AOM_MAX_SEGMENTS
Max number of segments.
Definition aomcx.h:1648
AOM_MAX_TS_LAYERS
#define AOM_MAX_TS_LAYERS
Definition aomcx.h:1781
aom_codec_av1_cx
aom_codec_iface_t * aom_codec_av1_cx(void)
The interface to the AV1 encoder.
aom_tune_content
aom_tune_content
AV1 encoder content type.
Definition aomcx.h:1694
aom_scaling_mode_t
struct aom_scaling_mode aom_scaling_mode_t
aom image scaling mode
AOM_SCALING_MODE
enum aom_scaling_mode_1d AOM_SCALING_MODE
aom 1-D scaling mode
AOM_MAX_SS_LAYERS
#define AOM_MAX_SS_LAYERS
Definition aomcx.h:1780
aom_tune_metric
aom_tune_metric
Model tuning parameters.
Definition aomcx.h:1737
aom_roi_map_t
struct aom_roi_map aom_roi_map_t
aom region of interest map
aom_screen_detection_mode
aom_screen_detection_mode
Screen content detection mode.
Definition aomcx.h:1702
aom_ext_part_funcs_t
struct aom_ext_part_funcs aom_ext_part_funcs_t
Callback function set for external partition model.
aom_svc_layer_id_t
struct aom_svc_layer_id aom_svc_layer_id_t
Struct for spatial and temporal layer ID.
aom_timing_info_type_t
aom_timing_info_type_t
AV1 encoder timing info type signaling.
Definition aomcx.h:1710
aom_active_map_t
struct aom_active_map aom_active_map_t
aom active region map
aom_svc_ref_frame_comp_pred_t
struct aom_svc_ref_frame_comp_pred aom_svc_ref_frame_comp_pred_t
Parameters for setting ref frame compound prediction.
aome_enc_control_id
aome_enc_control_id
AVx encoder control functions.
Definition aomcx.h:176
aom_svc_ref_frame_config_t
struct aom_svc_ref_frame_config aom_svc_ref_frame_config_t
Parameters for setting ref frame config.
AOM_FULL_SUPERFRAME_DROP
@ AOM_FULL_SUPERFRAME_DROP
Definition aomcx.h:1853
AOM_LAYER_DROP
@ AOM_LAYER_DROP
Definition aomcx.h:1852
AOM_SCREEN_DETECTION_STANDARD
@ AOM_SCREEN_DETECTION_STANDARD
Definition aomcx.h:1704
AOM_SCREEN_DETECTION_ANTIALIASING_AWARE
@ AOM_SCREEN_DETECTION_ANTIALIASING_AWARE
Definition aomcx.h:1706
AV1E_SET_MATRIX_COEFFICIENTS
@ AV1E_SET_MATRIX_COEFFICIENTS
Codec control function to set transfer function info, int parameter.
Definition aomcx.h:583
AV1E_SET_ENABLE_INTERINTER_WEDGE
@ AV1E_SET_ENABLE_INTERINTER_WEDGE
Codec control function to turn on / off interinter wedge compound, int parameter.
Definition aomcx.h:1021
AV1E_SET_ENABLE_DIAGONAL_INTRA
@ AV1E_SET_ENABLE_DIAGONAL_INTRA
Codec control function to turn on / off D45 to D203 intra mode usage, int parameter.
Definition aomcx.h:1364
AV1E_SET_BITRATE_ONE_PASS_CBR
@ AV1E_SET_BITRATE_ONE_PASS_CBR
Codec control to set the target bitrate in kilobits per second, unsigned int parameter....
Definition aomcx.h:1545
AV1E_SET_MAX_GF_INTERVAL
@ AV1E_SET_MAX_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames, unsigned int parameter.
Definition aomcx.h:604
AV1E_SET_ROW_MT
@ AV1E_SET_ROW_MT
Codec control function to enable the row based multi-threading of the encoder, unsigned int parameter...
Definition aomcx.h:371
AV1E_SET_ENABLE_SMOOTH_INTRA
@ AV1E_SET_ENABLE_SMOOTH_INTRA
Codec control function to turn on / off smooth intra modes usage, int parameter.
Definition aomcx.h:1081
AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
@ AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
Codec control function to enable the extreme motion vector unit test, unsigned int parameter.
Definition aomcx.h:1177
AOME_SET_SHARPNESS
@ AOME_SET_SHARPNESS
Codec control function to set the sharpness parameter, unsigned int parameter.
Definition aomcx.h:247
AV1E_GET_TARGET_SEQ_LEVEL_IDX
@ AV1E_GET_TARGET_SEQ_LEVEL_IDX
Codec control function to get the target sequence level index for each operating point....
Definition aomcx.h:1472
AV1E_SET_RATE_DISTRIBUTION_INFO
@ AV1E_SET_RATE_DISTRIBUTION_INFO
Codec control to set the input file for rate distribution used in all intra mode, const char * parame...
Definition aomcx.h:1531
AV1E_SET_ENABLE_TPL_MODEL
@ AV1E_SET_ENABLE_TPL_MODEL
Codec control function to enable RDO modulated by frame temporal dependency, unsigned int parameter.
Definition aomcx.h:418
AOME_GET_LAST_QUANTIZER_64
@ AOME_GET_LAST_QUANTIZER_64
Codec control function to get last quantizer chosen by the encoder, int* parameter.
Definition aomcx.h:269
AV1E_SET_AQ_MODE
@ AV1E_SET_AQ_MODE
Codec control function to set adaptive quantization mode, unsigned int parameter.
Definition aomcx.h:478
AV1E_SET_REDUCED_REFERENCE_SET
@ AV1E_SET_REDUCED_REFERENCE_SET
Control to use reduced set of single and compound references, int parameter.
Definition aomcx.h:1241
AV1E_GET_NUM_OPERATING_POINTS
@ AV1E_GET_NUM_OPERATING_POINTS
Codec control function to get the number of operating points. int* parameter.
Definition aomcx.h:1477
AV1E_SET_SVC_LAYER_ID
@ AV1E_SET_SVC_LAYER_ID
Codec control function to set the layer id, aom_svc_layer_id_t* parameter.
Definition aomcx.h:1293
AOME_USE_REFERENCE
@ AOME_USE_REFERENCE
Codec control function to set which reference frame encoder can use, int parameter.
Definition aomcx.h:180
AV1E_SET_SVC_REF_FRAME_CONFIG
@ AV1E_SET_SVC_REF_FRAME_CONFIG
Codec control function to set the reference frame config, aom_svc_ref_frame_config_t* parameter.
Definition aomcx.h:1303
AV1E_SET_GF_MIN_PYRAMID_HEIGHT
@ AV1E_SET_GF_MIN_PYRAMID_HEIGHT
Control to select minimum height for the GF group pyramid structure, unsigned int parameter.
Definition aomcx.h:1336
AV1E_SET_ENABLE_PAETH_INTRA
@ AV1E_SET_ENABLE_PAETH_INTRA
Codec control function to turn on / off Paeth intra mode usage, int parameter.
Definition aomcx.h:1089
AV1E_SET_TUNE_CONTENT
@ AV1E_SET_TUNE_CONTENT
Codec control function to set content type, aom_tune_content parameter.
Definition aomcx.h:507
AOME_SET_ROI_MAP
@ AOME_SET_ROI_MAP
Codec control function to pass an ROI map to encoder, aom_roi_map_t* parameter.
Definition aomcx.h:185
AV1E_SET_CDF_UPDATE_MODE
@ AV1E_SET_CDF_UPDATE_MODE
Codec control function to set CDF update mode, unsigned int parameter.
Definition aomcx.h:516
AV1E_SET_SCREEN_CONTENT_DETECTION_MODE
@ AV1E_SET_SCREEN_CONTENT_DETECTION_MODE
Codec control to set the screen content detection mode, aom_screen_detection_mode parameter.
Definition aomcx.h:1602
AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR
@ AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR
Codec control to set the maximum number of consecutive frame drops, in units of frames,...
Definition aomcx.h:1552
AV1E_SET_CHROMA_SUBSAMPLING_X
@ AV1E_SET_CHROMA_SUBSAMPLING_X
Sets the chroma subsampling x value, unsigned int parameter.
Definition aomcx.h:1204
AV1E_SET_COLOR_RANGE
@ AV1E_SET_COLOR_RANGE
Codec control function to set color range bit, int parameter.
Definition aomcx.h:616
AV1E_SET_ENABLE_RESTORATION
@ AV1E_SET_ENABLE_RESTORATION
Codec control function to encode with Loop Restoration Filter, unsigned int parameter.
Definition aomcx.h:691
AV1E_SET_ENABLE_ANGLE_DELTA
@ AV1E_SET_ENABLE_ANGLE_DELTA
Codec control function to turn on/off intra angle delta, int parameter.
Definition aomcx.h:1128
AV1E_SET_MIN_GF_INTERVAL
@ AV1E_SET_MIN_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames, unsigned int parameter.
Definition aomcx.h:597
AOME_SET_ARNR_MAXFRAMES
@ AOME_SET_ARNR_MAXFRAMES
Codec control function to set the max no of frames to create arf, unsigned int parameter.
Definition aomcx.h:274
AV1E_SET_MV_COST_UPD_FREQ
@ AV1E_SET_MV_COST_UPD_FREQ
Control to set frequency of the cost updates for motion vectors, unsigned int parameter.
Definition aomcx.h:1271
AV1E_SET_INTRA_DEFAULT_TX_ONLY
@ AV1E_SET_INTRA_DEFAULT_TX_ONLY
Control to use default tx type only for intra modes, int parameter.
Definition aomcx.h:1220
AV1E_SET_TRANSFER_CHARACTERISTICS
@ AV1E_SET_TRANSFER_CHARACTERISTICS
Codec control function to set transfer function info, int parameter.
Definition aomcx.h:562
AV1E_SET_MTU
@ AV1E_SET_MTU
Codec control function to set an MTU size for a tile group, unsigned int parameter.
Definition aomcx.h:811
AV1E_SET_DISABLE_TRELLIS_QUANT
@ AV1E_SET_DISABLE_TRELLIS_QUANT
Codec control function to encode without trellis quantization, unsigned int parameter.
Definition aomcx.h:718
AV1E_SET_SVC_REF_FRAME_COMP_PRED
@ AV1E_SET_SVC_REF_FRAME_COMP_PRED
Codec control function to set reference frame compound prediction. aom_svc_ref_frame_comp_pred_t* par...
Definition aomcx.h:1408
AV1E_SET_FP_MT_UNIT_TEST
@ AV1E_SET_FP_MT_UNIT_TEST
Codec control to enable actual frame parallel encode or simulation of frame parallel encode in FPMT u...
Definition aomcx.h:1463
AV1E_SET_ENABLE_INTRABC
@ AV1E_SET_ENABLE_INTRABC
Codec control function to turn on/off intra block copy mode, int parameter.
Definition aomcx.h:1124
AV1E_SET_S_FRAME_MODE
@ AV1E_SET_S_FRAME_MODE
Codec control function to enable s_frame_mode, int parameter.
Definition aomcx.h:463
AV1E_SET_ENABLE_AB_PARTITIONS
@ AV1E_SET_ENABLE_AB_PARTITIONS
Codec control function to enable/disable AB partitions, int parameter.
Definition aomcx.h:829
AV1E_SET_ENABLE_INTERINTRA_COMP
@ AV1E_SET_ENABLE_INTERINTRA_COMP
Codec control function to turn on / off interintra compound for a sequence, int parameter.
Definition aomcx.h:997
AV1E_SET_FILM_GRAIN_TEST_VECTOR
@ 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:1190
AV1E_SET_ENABLE_CHROMA_DELTAQ
@ AV1E_SET_ENABLE_CHROMA_DELTAQ
Codec control function to turn on / off delta quantization in chroma planes for a sequence,...
Definition aomcx.h:973
AV1E_SET_ENABLE_DUAL_FILTER
@ AV1E_SET_ENABLE_DUAL_FILTER
Codec control function to turn on / off dual interpolation filter for a sequence, int parameter.
Definition aomcx.h:965
AV1E_SET_QM_V
@ AV1E_SET_QM_V
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:790
AV1E_SET_FRAME_PARALLEL_DECODING
@ AV1E_SET_FRAME_PARALLEL_DECODING
Codec control function to enable frame parallel decoding feature, unsigned int parameter.
Definition aomcx.h:441
AV1E_GET_LUMA_CDEF_STRENGTH
@ AV1E_GET_LUMA_CDEF_STRENGTH
Codec control to get the CDEF strength for Y / luma plane, int * parameter. Returns an integer array ...
Definition aomcx.h:1537
AV1E_SET_QM_Y
@ AV1E_SET_QM_Y
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:766
AV1E_SET_MIN_PARTITION_SIZE
@ AV1E_SET_MIN_PARTITION_SIZE
Codec control function to set min partition size, int parameter.
Definition aomcx.h:848
AV1E_SET_ENABLE_WARPED_MOTION
@ AV1E_SET_ENABLE_WARPED_MOTION
Codec control function to turn on / off warped motion usage at sequence level, int parameter.
Definition aomcx.h:1049
AV1E_SET_RTC_EXTERNAL_RC
@ AV1E_SET_RTC_EXTERNAL_RC
Codec control function to set flag for rate control used by external encoders.
Definition aomcx.h:1444
AV1E_SET_FORCE_VIDEO_MODE
@ AV1E_SET_FORCE_VIDEO_MODE
Codec control function to force video mode, unsigned int parameter.
Definition aomcx.h:698
AV1E_SET_CHROMA_SUBSAMPLING_Y
@ AV1E_SET_CHROMA_SUBSAMPLING_Y
Sets the chroma subsampling y value, unsigned int parameter.
Definition aomcx.h:1207
AV1E_SET_ENABLE_INTRA_EDGE_FILTER
@ AV1E_SET_ENABLE_INTRA_EDGE_FILTER
Codec control function to turn on / off intra edge filter at sequence level, int parameter.
Definition aomcx.h:867
AV1E_SET_COEFF_COST_UPD_FREQ
@ AV1E_SET_COEFF_COST_UPD_FREQ
Control to set frequency of the cost updates for coefficients, unsigned int parameter.
Definition aomcx.h:1251
AV1E_SET_ENABLE_DIRECTIONAL_INTRA
@ AV1E_SET_ENABLE_DIRECTIONAL_INTRA
Codec control function to turn on / off directional intra mode usage, int parameter.
Definition aomcx.h:1393
AV1E_SET_MAX_INTER_BITRATE_PCT
@ AV1E_SET_MAX_INTER_BITRATE_PCT
Codec control function to set max data rate for inter frames, unsigned int parameter.
Definition aomcx.h:335
AV1E_SET_DENOISE_NOISE_LEVEL
@ AV1E_SET_DENOISE_NOISE_LEVEL
Sets the noise level, int parameter.
Definition aomcx.h:1198
AV1E_SET_INTRA_DCT_ONLY
@ AV1E_SET_INTRA_DCT_ONLY
Control to use dct only for intra modes, int parameter.
Definition aomcx.h:1213
AV1E_SET_TILE_ROWS
@ AV1E_SET_TILE_ROWS
Codec control function to set number of tile rows, unsigned int parameter.
Definition aomcx.h:408
AV1E_SET_QM_U
@ AV1E_SET_QM_U
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:778
AV1E_SET_ENABLE_REF_FRAME_MVS
@ AV1E_SET_ENABLE_REF_FRAME_MVS
Codec control function to turn on / off ref frame mvs (mfmv) usage at sequence level,...
Definition aomcx.h:946
AV1E_ENABLE_SB_QP_SWEEP
@ AV1E_ENABLE_SB_QP_SWEEP
Codec control function to enable the superblock level qp sweep in AV1 to ensure that end-to-end test ...
Definition aomcx.h:1499
AV1E_SET_FP_MT
@ AV1E_SET_FP_MT
Codec control function to enable frame parallel multi-threading of the encoder, unsigned int paramete...
Definition aomcx.h:1452
AV1E_SET_ENABLE_MASKED_COMP
@ AV1E_SET_ENABLE_MASKED_COMP
Codec control function to turn on / off masked compound usage (wedge and diff-wtd compound modes) for...
Definition aomcx.h:981
AV1E_GET_ACTIVEMAP
@ AV1E_GET_ACTIVEMAP
Codec control function to get an active map back from the encoder, aom_active_map_t* parameter.
Definition aomcx.h:609
AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP
@ AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP
Control to set average complexity of the corpus in the case of single pass vbr based on LAP,...
Definition aomcx.h:1341
AV1E_SET_GF_MAX_PYRAMID_HEIGHT
@ AV1E_SET_GF_MAX_PYRAMID_HEIGHT
Control to select maximum height for the GF group pyramid structure, unsigned int parameter.
Definition aomcx.h:1230
AV1E_SET_ENABLE_CDEF
@ AV1E_SET_ENABLE_CDEF
Codec control function to encode with CDEF, unsigned int parameter.
Definition aomcx.h:681
AV1E_SET_ENABLE_FLIP_IDTX
@ AV1E_SET_ENABLE_FLIP_IDTX
Codec control function to turn on / off flip and identity transforms, int parameter.
Definition aomcx.h:911
AOME_SET_ACTIVEMAP
@ AOME_SET_ACTIVEMAP
Codec control function to pass an Active map to encoder, aom_active_map_t* parameter.
Definition aomcx.h:190
AV1E_GET_SEQ_LEVEL_IDX
@ AV1E_GET_SEQ_LEVEL_IDX
Codec control function to get sequence level index for each operating point. int* parameter....
Definition aomcx.h:653
AOME_GET_LOOPFILTER_LEVEL
@ AOME_GET_LOOPFILTER_LEVEL
Codec control function to get the loopfilter chosen by the encoder, int* parameter.
Definition aomcx.h:1429
AV1E_SET_FRAME_PERIODIC_BOOST
@ AV1E_SET_FRAME_PERIODIC_BOOST
Codec control function to enable/disable periodic Q boost, unsigned int parameter.
Definition aomcx.h:490
AV1E_SET_ENABLE_ADAPTIVE_SHARPNESS
@ AV1E_SET_ENABLE_ADAPTIVE_SHARPNESS
Codec control to enable adaptive sharpness, which modulates sharpness based on frame QP,...
Definition aomcx.h:1618
AV1E_SET_DV_COST_UPD_FREQ
@ AV1E_SET_DV_COST_UPD_FREQ
Control to set frequency of the cost updates for intrabc motion vectors, unsigned int parameter.
Definition aomcx.h:1374
AV1E_SET_SVC_FRAME_DROP_MODE
@ AV1E_SET_SVC_FRAME_DROP_MODE
Codec control to set the frame drop mode for SVC, unsigned int parameter. The valid values are consta...
Definition aomcx.h:1558
AV1E_SET_AUTO_INTRA_TOOLS_OFF
@ AV1E_SET_AUTO_INTRA_TOOLS_OFF
Codec control to automatically turn off several intra coding tools, unsigned int parameter.
Definition aomcx.h:1436
AV1E_SET_RENDER_SIZE
@ AV1E_SET_RENDER_SIZE
Codec control function to set intended rendering image size, int32_t[2] parameter.
Definition aomcx.h:623
AV1E_SET_ALLOW_REF_FRAME_MVS
@ AV1E_SET_ALLOW_REF_FRAME_MVS
Codec control function to set temporal mv prediction enabling/disabling at frame level,...
Definition aomcx.h:957
AV1E_SET_ENABLE_RECT_TX
@ AV1E_SET_ENABLE_RECT_TX
Codec control function to turn on / off rectangular transforms, int parameter.
Definition aomcx.h:923
AV1E_SET_ENABLE_DIST_WTD_COMP
@ AV1E_SET_ENABLE_DIST_WTD_COMP
Codec control function to turn on / off dist-wtd compound mode at sequence level, int parameter.
Definition aomcx.h:935
AV1E_SET_TIMING_INFO_TYPE
@ AV1E_SET_TIMING_INFO_TYPE
Codec control function to signal picture timing info in the bitstream, aom_timing_info_type_t paramet...
Definition aomcx.h:1183
AV1E_SET_ENABLE_SUPERRES
@ AV1E_SET_ENABLE_SUPERRES
Codec control function to turn on / off frame superresolution, int parameter.
Definition aomcx.h:1107
AV1E_SET_SUPERBLOCK_SIZE
@ AV1E_SET_SUPERBLOCK_SIZE
Codec control function to set intended superblock size, unsigned int parameter.
Definition aomcx.h:661
AV1E_SET_TIER_MASK
@ AV1E_SET_TIER_MASK
Control to set bit mask that specifies which tier each of the 32 possible operating points conforms t...
Definition aomcx.h:1279
AV1E_SET_ENABLE_INTERINTRA_WEDGE
@ AV1E_SET_ENABLE_INTERINTRA_WEDGE
Codec control function to turn on / off interintra wedge compound, int parameter.
Definition aomcx.h:1029
AV1E_SET_NOISE_SENSITIVITY
@ AV1E_SET_NOISE_SENSITIVITY
Codec control function to set noise sensitivity, unsigned int parameter.
Definition aomcx.h:498
AV1E_SET_SVC_PARAMS
@ AV1E_SET_SVC_PARAMS
Codec control function to set SVC parameters, aom_svc_params_t* parameter.
Definition aomcx.h:1298
AV1E_SET_ENABLE_DIFF_WTD_COMP
@ AV1E_SET_ENABLE_DIFF_WTD_COMP
Codec control function to turn on / off difference weighted compound, int parameter.
Definition aomcx.h:1013
AV1E_SET_QUANT_B_ADAPT
@ AV1E_SET_QUANT_B_ADAPT
Control to use adaptive quantize_b, int parameter.
Definition aomcx.h:1223
AV1E_SET_ENABLE_FILTER_INTRA
@ AV1E_SET_ENABLE_FILTER_INTRA
Codec control function to turn on / off filter intra usage at sequence level, int parameter.
Definition aomcx.h:1070
AV1E_SET_ENABLE_PALETTE
@ AV1E_SET_ENABLE_PALETTE
Codec control function to turn on/off palette mode, int parameter.
Definition aomcx.h:1120
AV1E_SET_ENABLE_CFL_INTRA
@ AV1E_SET_ENABLE_CFL_INTRA
Codec control function to turn on / off CFL uv intra mode usage, int parameter.
Definition aomcx.h:1099
AV1E_SET_ENABLE_KEYFRAME_FILTERING
@ AV1E_SET_ENABLE_KEYFRAME_FILTERING
Codec control function to enable temporal filtering on key frame, unsigned int parameter.
Definition aomcx.h:427
AV1E_SET_NUM_TG
@ AV1E_SET_NUM_TG
Codec control function to set a maximum number of tile groups, unsigned int parameter.
Definition aomcx.h:800
AV1E_GET_BASELINE_GF_INTERVAL
@ AV1E_GET_BASELINE_GF_INTERVAL
Control to get baseline gf interval.
Definition aomcx.h:1345
AOME_SET_MAX_INTRA_BITRATE_PCT
@ AOME_SET_MAX_INTRA_BITRATE_PCT
Codec control function to set max data rate for intra frames, unsigned int parameter.
Definition aomcx.h:312
AV1E_SET_ERROR_RESILIENT_MODE
@ AV1E_SET_ERROR_RESILIENT_MODE
Codec control function to enable error_resilient_mode, int parameter.
Definition aomcx.h:452
AV1E_SET_ENABLE_SMOOTH_INTERINTRA
@ AV1E_SET_ENABLE_SMOOTH_INTERINTRA
Codec control function to turn on / off smooth inter-intra mode for a sequence, int parameter.
Definition aomcx.h:1005
AOME_SET_STATIC_THRESHOLD
@ AOME_SET_STATIC_THRESHOLD
Codec control function to set the threshold for MBs treated static, unsigned int parameter.
Definition aomcx.h:252
AV1E_SET_ENABLE_OBMC
@ AV1E_SET_ENABLE_OBMC
Codec control function to predict with OBMC mode, unsigned int parameter.
Definition aomcx.h:708
AV1E_SET_PARTITION_INFO_PATH
@ AV1E_SET_PARTITION_INFO_PATH
Codec control to set the path for partition stats read and write. const char * parameter.
Definition aomcx.h:1379
AOME_SET_SPATIAL_LAYER_ID
@ AOME_SET_SPATIAL_LAYER_ID
Codec control function to set encoder spatial layer id, int parameter.
Definition aomcx.h:202
AV1E_SET_ENABLE_LOW_COMPLEXITY_DECODE
@ AV1E_SET_ENABLE_LOW_COMPLEXITY_DECODE
Codec control to enable the low complexity decode mode, unsigned int parameter. Value of zero means t...
Definition aomcx.h:1593
AV1E_SET_MAX_PARTITION_SIZE
@ AV1E_SET_MAX_PARTITION_SIZE
Codec control function to set max partition size, int parameter.
Definition aomcx.h:859
AV1E_SET_ENABLE_1TO4_PARTITIONS
@ AV1E_SET_ENABLE_1TO4_PARTITIONS
Codec control function to enable/disable 1:4 and 4:1 partitions, int parameter.
Definition aomcx.h:837
AV1E_SET_DELTALF_MODE
@ AV1E_SET_DELTALF_MODE
Codec control function to turn on/off loopfilter modulation when delta q modulation is enabled,...
Definition aomcx.h:1156
AV1E_SET_ENABLE_TX64
@ AV1E_SET_ENABLE_TX64
Codec control function to turn on / off 64-length transforms, int parameter.
Definition aomcx.h:887
AV1E_SET_AUTO_TILES
@ AV1E_SET_AUTO_TILES
Codec control to set auto tiling, unsigned int parameter. Value of 1 means encoder will set number of...
Definition aomcx.h:1566
AOME_SET_TUNING
@ AOME_SET_TUNING
Codec control function to set visual tuning, aom_tune_metric (int) parameter.
Definition aomcx.h:288
AV1E_SET_TARGET_SEQ_LEVEL_IDX
@ AV1E_SET_TARGET_SEQ_LEVEL_IDX
Control to set target sequence level index for a certain operating point (OP), int parameter Possible...
Definition aomcx.h:646
AV1E_SET_CHROMA_SAMPLE_POSITION
@ AV1E_SET_CHROMA_SAMPLE_POSITION
Codec control function to set chroma 4:2:0 sample position info, aom_chroma_sample_position_t paramet...
Definition aomcx.h:590
AV1E_SET_REDUCED_TX_TYPE_SET
@ AV1E_SET_REDUCED_TX_TYPE_SET
Control to use a reduced tx type set, int parameter.
Definition aomcx.h:1210
AV1E_SET_DELTAQ_STRENGTH
@ AV1E_SET_DELTAQ_STRENGTH
Set –deltaq-mode strength, where the value is a percentage, unsigned int parameter.
Definition aomcx.h:1415
AOME_SET_ENABLEAUTOBWDREF
@ AOME_SET_ENABLEAUTOBWDREF
Codec control function to enable automatic set and use of bwd-pred frames, unsigned int parameter.
Definition aomcx.h:669
AV1E_SET_INTER_DCT_ONLY
@ AV1E_SET_INTER_DCT_ONLY
Control to use dct only for inter modes, int parameter.
Definition aomcx.h:1216
AV1E_SET_LOOPFILTER_CONTROL
@ AV1E_SET_LOOPFILTER_CONTROL
Codec control to control loop filter.
Definition aomcx.h:1424
AOME_SET_ENABLEAUTOALTREF
@ AOME_SET_ENABLEAUTOALTREF
Codec control function to enable automatic set and use alf frames, unsigned int parameter.
Definition aomcx.h:228
AOME_SET_SCALEMODE
@ AOME_SET_SCALEMODE
Codec control function to set encoder scaling mode for the next frame to be coded,...
Definition aomcx.h:197
AV1E_ENABLE_RATE_GUIDE_DELTAQ
@ AV1E_ENABLE_RATE_GUIDE_DELTAQ
Codec control to enable the rate distribution guided delta quantization in all intra mode,...
Definition aomcx.h:1519
AOME_GET_LAST_QUANTIZER
@ AOME_GET_LAST_QUANTIZER
Codec control function to get last quantizer chosen by the encoder, int* parameter.
Definition aomcx.h:261
AV1E_SET_TILE_COLUMNS
@ AV1E_SET_TILE_COLUMNS
Codec control function to set number of tile columns. unsigned int parameter.
Definition aomcx.h:390
AV1E_SET_EXTERNAL_PARTITION
@ AV1E_SET_EXTERNAL_PARTITION
Codec control to use an external partition model A set of callback functions is passed through this c...
Definition aomcx.h:1385
AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST
@ AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST
Codec control function to enable the superblock multipass unit test in AV1 to ensure that the encoder...
Definition aomcx.h:1329
AV1E_SET_ENABLE_ORDER_HINT
@ AV1E_SET_ENABLE_ORDER_HINT
Codec control function to turn on / off frame order hint (int parameter). Affects: joint compound mod...
Definition aomcx.h:876
AV1E_SET_DELTAQ_MODE
@ AV1E_SET_DELTAQ_MODE
Codec control function to set the delta q mode, unsigned int parameter.
Definition aomcx.h:1148
AV1E_SET_POSTENCODE_DROP_RTC
@ AV1E_SET_POSTENCODE_DROP_RTC
Codec control to enable post encode frame drop for RTC encoding, int parameter.
Definition aomcx.h:1582
AV1E_SET_ENABLE_GLOBAL_MOTION
@ AV1E_SET_ENABLE_GLOBAL_MOTION
Codec control function to turn on / off global motion usage for a sequence, int parameter.
Definition aomcx.h:1039
AV1E_SET_FILM_GRAIN_TABLE
@ AV1E_SET_FILM_GRAIN_TABLE
Codec control function to set the path to the film grain parameters, const char* parameter.
Definition aomcx.h:1195
AV1E_SET_QM_MAX
@ AV1E_SET_QM_MAX
Codec control function to set the max quant matrix flatness, unsigned int parameter.
Definition aomcx.h:754
AV1E_SET_MAX_REFERENCE_FRAMES
@ AV1E_SET_MAX_REFERENCE_FRAMES
Control to select maximum reference frames allowed per frame, int parameter.
Definition aomcx.h:1237
AOME_SET_CPUUSED
@ AOME_SET_CPUUSED
Codec control function to set encoder internal speed settings, int parameter.
Definition aomcx.h:220
AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC
@ AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC
Codec control to get the high motion content flag, used for screen content realtime (RTC) encoding,...
Definition aomcx.h:1573
AV1E_SET_GF_CBR_BOOST_PCT
@ AV1E_SET_GF_CBR_BOOST_PCT
Boost percentage for Golden Frame in CBR mode, unsigned int parameter.
Definition aomcx.h:349
AV1E_SET_ENABLE_ONESIDED_COMP
@ AV1E_SET_ENABLE_ONESIDED_COMP
Codec control function to turn on / off one sided compound usage for a sequence, int parameter.
Definition aomcx.h:989
AV1E_SET_DENOISE_BLOCK_SIZE
@ AV1E_SET_DENOISE_BLOCK_SIZE
Sets the denoisers block size, unsigned int parameter.
Definition aomcx.h:1201
AV1E_SET_VMAF_MODEL_PATH
@ AV1E_SET_VMAF_MODEL_PATH
Codec control function to set the path to the VMAF model used when tuning the encoder for VMAF,...
Definition aomcx.h:1308
AV1E_SET_QM_MIN
@ AV1E_SET_QM_MIN
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:742
AV1E_SET_ENABLE_QM
@ AV1E_SET_ENABLE_QM
Codec control function to encode with quantisation matrices, unsigned int parameter.
Definition aomcx.h:729
AV1E_SET_ENABLE_OVERLAY
@ AV1E_SET_ENABLE_OVERLAY
Codec control function to turn on / off overlay frames for filtered ALTREF frames,...
Definition aomcx.h:1117
AV1E_SET_SKIP_POSTPROC_FILTERING
@ AV1E_SET_SKIP_POSTPROC_FILTERING
Codec control function to skip the application of post-processing filters on reconstructed frame,...
Definition aomcx.h:1488
AOME_SET_NUMBER_SPATIAL_LAYERS
@ AOME_SET_NUMBER_SPATIAL_LAYERS
Codec control function to set number of spatial layers, int parameter.
Definition aomcx.h:321
AV1E_SET_SINGLE_TILE_DECODING
@ AV1E_SET_SINGLE_TILE_DECODING
Codec control function to set the single tile decoding mode, unsigned int parameter.
Definition aomcx.h:1166
AV1E_SET_ENABLE_RECT_PARTITIONS
@ AV1E_SET_ENABLE_RECT_PARTITIONS
Codec control function to enable/disable rectangular partitions, int parameter.
Definition aomcx.h:821
AV1E_SET_COLOR_PRIMARIES
@ AV1E_SET_COLOR_PRIMARIES
Codec control function to set color space info, int parameter.
Definition aomcx.h:537
AOME_SET_CQ_LEVEL
@ AOME_SET_CQ_LEVEL
Codec control function to set constrained / constant quality level, unsigned int parameter.
Definition aomcx.h:298
AV1E_SET_QUANTIZER_ONE_PASS
@ AV1E_SET_QUANTIZER_ONE_PASS
Codec control to set quantizer for the next frame, int parameter.
Definition aomcx.h:1507
AV1E_SET_ENABLE_TX_SIZE_SEARCH
@ AV1E_SET_ENABLE_TX_SIZE_SEARCH
Control to turn on / off transform size search. Note: it can not work with non RD pick mode in real-t...
Definition aomcx.h:1403
AV1E_SET_MODE_COST_UPD_FREQ
@ AV1E_SET_MODE_COST_UPD_FREQ
Control to set frequency of the cost updates for mode, unsigned int parameter.
Definition aomcx.h:1261
AV1E_SET_ALLOW_WARPED_MOTION
@ AV1E_SET_ALLOW_WARPED_MOTION
Codec control function to turn on / off warped motion usage at frame level, int parameter.
Definition aomcx.h:1062
AV1E_ENABLE_EXT_TILE_DEBUG
@ AV1E_ENABLE_EXT_TILE_DEBUG
Codec control function to enable EXT_TILE_DEBUG in AV1 encoder, unsigned int parameter.
Definition aomcx.h:1318
AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR
@ AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR
Codec control to set the maximum number of consecutive frame drops, in units of time (milliseconds),...
Definition aomcx.h:1588
AV1E_SET_MIN_CR
@ AV1E_SET_MIN_CR
Control to set minimum compression ratio, unsigned int parameter Take integer values....
Definition aomcx.h:1286
AV1E_SET_LOSSLESS
@ AV1E_SET_LOSSLESS
Codec control function to set lossless encoding mode, unsigned int parameter.
Definition aomcx.h:363
AOME_SET_ARNR_STRENGTH
@ AOME_SET_ARNR_STRENGTH
Codec control function to set the filter strength for the arf, unsigned int parameter.
Definition aomcx.h:279
AOM_CTRL_USE_TYPE
#define AOM_CTRL_USE_TYPE(id, typ)
Creates type checking mechanisms for aom_codec_control.
Definition aom_codec.h:551
aom_codec_iface_t
const struct aom_codec_iface aom_codec_iface_t
Codec interface structure.
Definition aom_codec.h:271
aom_active_map
aom active region map
Definition aomcx.h:1676
aom_active_map::rows
unsigned int rows
Definition aomcx.h:1679
aom_active_map::cols
unsigned int cols
Definition aomcx.h:1680
aom_active_map::active_map
unsigned char * active_map
specify an on (1) or off (0) each 16x16 region within a frame
Definition aomcx.h:1678
aom_roi_map
aom region of interest map
Definition aomcx.h:1654
aom_roi_map::cols
unsigned int cols
Definition aomcx.h:1660
aom_roi_map::delta_lf
int delta_lf[8]
Definition aomcx.h:1662
aom_roi_map::reference_enabled
int reference_enabled
Definition aomcx.h:1666
aom_roi_map::ref_frame
int ref_frame[8]
Definition aomcx.h:1664
aom_roi_map::rows
unsigned int rows
Definition aomcx.h:1659
aom_roi_map::roi_map
unsigned char * roi_map
Definition aomcx.h:1658
aom_roi_map::delta_qp_enabled
int delta_qp_enabled
Definition aomcx.h:1665
aom_roi_map::delta_q
int delta_q[8]
Definition aomcx.h:1661
aom_roi_map::enabled
uint8_t enabled
Definition aomcx.h:1656
aom_roi_map::rdmult_delta_qp
int rdmult_delta_qp
Definition aomcx.h:1667
aom_roi_map::skip
int skip[8]
Definition aomcx.h:1663
aom_scaling_mode
aom image scaling mode
Definition aomcx.h:1688
aom_scaling_mode::v_scaling_mode
AOM_SCALING_MODE v_scaling_mode
Definition aomcx.h:1690
aom_scaling_mode::h_scaling_mode
AOM_SCALING_MODE h_scaling_mode
Definition aomcx.h:1689
aom_svc_layer_id
Struct for spatial and temporal layer ID.
Definition aomcx.h:1784
aom_svc_layer_id::temporal_layer_id
int temporal_layer_id
Definition aomcx.h:1786
aom_svc_layer_id::spatial_layer_id
int spatial_layer_id
Definition aomcx.h:1785
aom_svc_params
Parameter type for SVC.
Definition aomcx.h:1795
aom_svc_params::max_quantizers
int max_quantizers[32]
Definition aomcx.h:1810
aom_svc_params::number_spatial_layers
int number_spatial_layers
Definition aomcx.h:1802
aom_svc_params::layer_target_bitrate
int layer_target_bitrate[32]
Definition aomcx.h:1815
aom_svc_params::framerate_factor
int framerate_factor[8]
Definition aomcx.h:1817
aom_svc_params::min_quantizers
int min_quantizers[32]
Definition aomcx.h:1811
aom_svc_params::scaling_factor_den
int scaling_factor_den[4]
Definition aomcx.h:1813
aom_svc_params::number_temporal_layers
int number_temporal_layers
Definition aomcx.h:1809
aom_svc_params::scaling_factor_num
int scaling_factor_num[4]
Definition aomcx.h:1812
aom_svc_ref_frame_comp_pred
Parameters for setting ref frame compound prediction.
Definition aomcx.h:1844
aom_svc_ref_frame_comp_pred::use_comp_pred
int use_comp_pred[3]
Definition aomcx.h:1847
aom_svc_ref_frame_config
Parameters for setting ref frame config.
Definition aomcx.h:1821
aom_svc_ref_frame_config::reference
int reference[7]
Definition aomcx.h:1837
aom_svc_ref_frame_config::refresh
int refresh[8]
Definition aomcx.h:1840
aom_svc_ref_frame_config::ref_idx
int ref_idx[7]
Definition aomcx.h:1839