| 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
41#ifdef __cplusplus
42 extern "C" {
43#endif
44
55 extern aom_codec_iface_t aom_codec_av1_cx_algo;
56
59 extern aom_codec_iface_t *aom_codec_av1_cx(void);
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
241 AOME_SET_SHARPNESS = AOME_SET_ENABLEAUTOALTREF + 2, // 16
242
246 AOME_SET_STATIC_THRESHOLD = 17,
247
248 /* NOTE: enum 18 unused */
249
255 AOME_GET_LAST_QUANTIZER = AOME_SET_STATIC_THRESHOLD + 2, // 19
256
263 AOME_GET_LAST_QUANTIZER_64 = 20,
264
268 AOME_SET_ARNR_MAXFRAMES = 21,
269
273 AOME_SET_ARNR_STRENGTH = 22,
274
275 /* NOTE: enum 23 unused */
276
282 AOME_SET_TUNING = AOME_SET_ARNR_STRENGTH + 2, // 24
283
292 AOME_SET_CQ_LEVEL = 25,
293
306 AOME_SET_MAX_INTRA_BITRATE_PCT = 26,
307
311 AOME_SET_NUMBER_SPATIAL_LAYERS = 27,
312
325 AV1E_SET_MAX_INTER_BITRATE_PCT = AOME_SET_MAX_INTRA_BITRATE_PCT + 2, // 28
326
339 AV1E_SET_GF_CBR_BOOST_PCT = 29,
340
341 /* NOTE: enum 30 unused */
342
353 AV1E_SET_LOSSLESS = AV1E_SET_GF_CBR_BOOST_PCT + 2, // 31
354
361 AV1E_SET_ROW_MT = 32,
362
380 AV1E_SET_TILE_COLUMNS = 33,
381
398 AV1E_SET_TILE_ROWS = 34,
399
408 AV1E_SET_ENABLE_TPL_MODEL = 35,
409
417 AV1E_SET_ENABLE_KEYFRAME_FILTERING = 36,
418
431 AV1E_SET_FRAME_PARALLEL_DECODING = 37,
432
442 AV1E_SET_ERROR_RESILIENT_MODE = 38,
443
453 AV1E_SET_S_FRAME_MODE = 39,
454
468 AV1E_SET_AQ_MODE = 40,
469
480 AV1E_SET_FRAME_PERIODIC_BOOST = 41,
481
488 AV1E_SET_NOISE_SENSITIVITY = 42,
489
497 AV1E_SET_TUNE_CONTENT = 43,
498
506 AV1E_SET_CDF_UPDATE_MODE = 44,
507
527 AV1E_SET_COLOR_PRIMARIES = 45,
528
552 AV1E_SET_TRANSFER_CHARACTERISTICS = 46,
553
573 AV1E_SET_MATRIX_COEFFICIENTS = 47,
574
580 AV1E_SET_CHROMA_SAMPLE_POSITION = 48,
581
587 AV1E_SET_MIN_GF_INTERVAL = 49,
588
594 AV1E_SET_MAX_GF_INTERVAL = 50,
595
599 AV1E_GET_ACTIVEMAP = 51,
600
606 AV1E_SET_COLOR_RANGE = 52,
607
613 AV1E_SET_RENDER_SIZE = 53,
614
636 AV1E_SET_TARGET_SEQ_LEVEL_IDX = 54,
637
643 AV1E_GET_SEQ_LEVEL_IDX = 55,
644
651 AV1E_SET_SUPERBLOCK_SIZE = 56,
652
659 AOME_SET_ENABLEAUTOBWDREF = 57,
660
670 AV1E_SET_ENABLE_CDEF = 58,
671
680 AV1E_SET_ENABLE_RESTORATION = 59,
681
687 AV1E_SET_FORCE_VIDEO_MODE = 60,
688
697 AV1E_SET_ENABLE_OBMC = 61,
698
707 AV1E_SET_DISABLE_TRELLIS_QUANT = 62,
708
718 AV1E_SET_ENABLE_QM = 63,
719
731 AV1E_SET_QM_MIN = 64,
732
743 AV1E_SET_QM_MAX = 65,
744
755 AV1E_SET_QM_Y = 66,
756
767 AV1E_SET_QM_U = 67,
768
779 AV1E_SET_QM_V = 68,
780
781 /* NOTE: enum 69 unused */
782
789 AV1E_SET_NUM_TG = 70,
790
800 AV1E_SET_MTU = 71,
801
802 /* NOTE: enum 72 unused */
803
810 AV1E_SET_ENABLE_RECT_PARTITIONS = 73,
811
818 AV1E_SET_ENABLE_AB_PARTITIONS = 74,
819
826 AV1E_SET_ENABLE_1TO4_PARTITIONS = 75,
827
837 AV1E_SET_MIN_PARTITION_SIZE = 76,
838
848 AV1E_SET_MAX_PARTITION_SIZE = 77,
849
856 AV1E_SET_ENABLE_INTRA_EDGE_FILTER = 78,
857
865 AV1E_SET_ENABLE_ORDER_HINT = 79,
866
876 AV1E_SET_ENABLE_TX64 = 80,
877
900 AV1E_SET_ENABLE_FLIP_IDTX = 81,
901
912 AV1E_SET_ENABLE_RECT_TX = 82,
913
924 AV1E_SET_ENABLE_DIST_WTD_COMP = 83,
925
935 AV1E_SET_ENABLE_REF_FRAME_MVS = 84,
936
946 AV1E_SET_ALLOW_REF_FRAME_MVS = 85,
947
954 AV1E_SET_ENABLE_DUAL_FILTER = 86,
955
962 AV1E_SET_ENABLE_CHROMA_DELTAQ = 87,
963
970 AV1E_SET_ENABLE_MASKED_COMP = 88,
971
978 AV1E_SET_ENABLE_ONESIDED_COMP = 89,
979
986 AV1E_SET_ENABLE_INTERINTRA_COMP = 90,
987
994 AV1E_SET_ENABLE_SMOOTH_INTERINTRA = 91,
995
1002 AV1E_SET_ENABLE_DIFF_WTD_COMP = 92,
1003
1010 AV1E_SET_ENABLE_INTERINTER_WEDGE = 93,
1011
1018 AV1E_SET_ENABLE_INTERINTRA_WEDGE = 94,
1019
1028 AV1E_SET_ENABLE_GLOBAL_MOTION = 95,
1029
1038 AV1E_SET_ENABLE_WARPED_MOTION = 96,
1039
1051 AV1E_SET_ALLOW_WARPED_MOTION = 97,
1052
1059 AV1E_SET_ENABLE_FILTER_INTRA = 98,
1060
1070 AV1E_SET_ENABLE_SMOOTH_INTRA = 99,
1071
1078 AV1E_SET_ENABLE_PAETH_INTRA = 100,
1079
1088 AV1E_SET_ENABLE_CFL_INTRA = 101,
1089
1096 AV1E_SET_ENABLE_SUPERRES = 102,
1097
1106 AV1E_SET_ENABLE_OVERLAY = 103,
1107
1109 AV1E_SET_ENABLE_PALETTE = 104,
1110
1113 AV1E_SET_ENABLE_INTRABC = 105,
1114
1117 AV1E_SET_ENABLE_ANGLE_DELTA = 106,
1118
1131 AV1E_SET_DELTAQ_MODE = 107,
1132
1139 AV1E_SET_DELTALF_MODE = 108,
1140
1149 AV1E_SET_SINGLE_TILE_DECODING = 109,
1150
1160 AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST = 110,
1161
1166 AV1E_SET_TIMING_INFO_TYPE = 111,
1167
1173 AV1E_SET_FILM_GRAIN_TEST_VECTOR = 112,
1174
1178 AV1E_SET_FILM_GRAIN_TABLE = 113,
1179
1181 AV1E_SET_DENOISE_NOISE_LEVEL = 114,
1182
1184 AV1E_SET_DENOISE_BLOCK_SIZE = 115,
1185
1187 AV1E_SET_CHROMA_SUBSAMPLING_X = 116,
1188
1190 AV1E_SET_CHROMA_SUBSAMPLING_Y = 117,
1191
1193 AV1E_SET_REDUCED_TX_TYPE_SET = 118,
1194
1196 AV1E_SET_INTRA_DCT_ONLY = 119,
1197
1199 AV1E_SET_INTER_DCT_ONLY = 120,
1200
1203 AV1E_SET_INTRA_DEFAULT_TX_ONLY = 121,
1204
1206 AV1E_SET_QUANT_B_ADAPT = 122,
1207
1213 AV1E_SET_GF_MAX_PYRAMID_HEIGHT = 123,
1214
1220 AV1E_SET_MAX_REFERENCE_FRAMES = 124,
1221
1224 AV1E_SET_REDUCED_REFERENCE_SET = 125,
1225
1234 AV1E_SET_COEFF_COST_UPD_FREQ = 126,
1235
1244 AV1E_SET_MODE_COST_UPD_FREQ = 127,
1245
1254 AV1E_SET_MV_COST_UPD_FREQ = 128,
1255
1262 AV1E_SET_TIER_MASK = 129,
1263
1269 AV1E_SET_MIN_CR = 130,
1270
1271 /* NOTE: enums 145-149 unused */
1272
1276 AV1E_SET_SVC_LAYER_ID = 131,
1277
1281 AV1E_SET_SVC_PARAMS = 132,
1282
1286 AV1E_SET_SVC_REF_FRAME_CONFIG = 133,
1287
1291 AV1E_SET_VMAF_MODEL_PATH = 134,
1292
1301 AV1E_ENABLE_EXT_TILE_DEBUG = 135,
1302
1312 AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST = 136,
1313
1319 AV1E_SET_GF_MIN_PYRAMID_HEIGHT = 137,
1320
1324 AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP = 138,
1325
1328 AV1E_GET_BASELINE_GF_INTERVAL = 139,
1329
1330 /*\brief Control to set encoding the denoised frame from denoise-noise-level
1331 *
1332 * - 0 = disabled/encode the original frame
1333 * - 1 = enabled/encode the denoised frame (default)
1334 */
1335 AV1E_SET_ENABLE_DNL_DENOISING = 140,
1336
1347 AV1E_SET_ENABLE_DIAGONAL_INTRA = 141,
1348
1357 AV1E_SET_DV_COST_UPD_FREQ = 142,
1358
1362 AV1E_SET_PARTITION_INFO_PATH = 143,
1363
1368 AV1E_SET_EXTERNAL_PARTITION = 144,
1369
1376 AV1E_SET_ENABLE_DIRECTIONAL_INTRA = 145,
1377
1386 AV1E_SET_ENABLE_TX_SIZE_SEARCH = 146,
1387
1391 AV1E_SET_SVC_REF_FRAME_COMP_PRED = 147,
1392
1397 AV1E_SET_DELTAQ_STRENGTH = 148,
1398
1406 AV1E_SET_LOOPFILTER_CONTROL = 149,
1407
1411 AOME_GET_LOOPFILTER_LEVEL = 150,
1412
1418 AV1E_SET_AUTO_INTRA_TOOLS_OFF = 151,
1419
1426 AV1E_SET_RTC_EXTERNAL_RC = 152,
1427
1434 AV1E_SET_FP_MT = 153,
1435
1445 AV1E_SET_FP_MT_UNIT_TEST = 154,
1446
1454 AV1E_GET_TARGET_SEQ_LEVEL_IDX = 155,
1455
1459 AV1E_GET_NUM_OPERATING_POINTS = 156,
1460
1470 AV1E_SET_SKIP_POSTPROC_FILTERING = 157,
1471
1481 AV1E_ENABLE_SB_QP_SWEEP = 158,
1482
1489 AV1E_SET_QUANTIZER_ONE_PASS = 159,
1490
1501 AV1E_ENABLE_RATE_GUIDE_DELTAQ = 160,
1502
1513 AV1E_SET_RATE_DISTRIBUTION_INFO = 161,
1514
1519 AV1E_GET_LUMA_CDEF_STRENGTH = 162,
1520
1527 AV1E_SET_BITRATE_ONE_PASS_CBR = 163,
1528
1534 AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR = 164,
1535
1540 AV1E_SET_SVC_FRAME_DROP_MODE = 165,
1541
1548 AV1E_SET_AUTO_TILES = 166,
1549
1555 AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC = 167,
1556
1564 AV1E_SET_POSTENCODE_DROP_RTC = 168,
1565
1570 AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR = 169,
1571
1572 // Any new encoder control IDs should be added above.
1573 // Maximum allowed encoder control ID is 229.
1574 // No encoder control ID should be added below.
1575};
1576
1581 typedef enum aom_scaling_mode_1d {
1582 AOME_NORMAL = 0,
1583 AOME_FOURFIVE = 1,
1584 AOME_THREEFIVE = 2,
1585 AOME_THREEFOUR = 3,
1586 AOME_ONEFOUR = 4,
1587 AOME_ONEEIGHT = 5,
1588 AOME_ONETWO = 6,
1589 AOME_TWOTHREE = 7,
1590 AOME_ONETHREE = 8
1591} AOM_SCALING_MODE;
1592
1600#define AOM_MAX_SEGMENTS 8
1601
1609 typedef struct aom_roi_map {
1611 unsigned char *roi_map;
1612 unsigned int rows;
1613 unsigned int cols;
1614 int delta_q[AOM_MAX_SEGMENTS];
1615 int delta_lf[AOM_MAX_SEGMENTS];
1617 unsigned int static_threshold[AOM_MAX_SEGMENTS];
1618} aom_roi_map_t;
1619
1626 typedef struct aom_active_map {
1628 unsigned char *active_map;
1629 unsigned int rows;
1630 unsigned int cols;
1631} aom_active_map_t;
1632
1638 typedef struct aom_scaling_mode {
1639 AOM_SCALING_MODE h_scaling_mode;
1640 AOM_SCALING_MODE v_scaling_mode;
1641} aom_scaling_mode_t;
1642
1644 typedef enum {
1645 AOM_CONTENT_DEFAULT,
1646 AOM_CONTENT_SCREEN,
1647 AOM_CONTENT_FILM,
1648 AOM_CONTENT_INVALID
1649} aom_tune_content;
1650
1652 typedef enum {
1653 AOM_TIMING_UNSPECIFIED,
1654 AOM_TIMING_EQUAL,
1655 AOM_TIMING_DEC_MODEL
1656} aom_timing_info_type_t;
1657
1663 typedef enum {
1664 AOM_TUNE_PSNR = 0,
1665 AOM_TUNE_SSIM = 1,
1666 /* NOTE: enums 2 and 3 unused */
1667 AOM_TUNE_VMAF_WITH_PREPROCESSING = 4,
1668 AOM_TUNE_VMAF_WITHOUT_PREPROCESSING = 5,
1669 AOM_TUNE_VMAF_MAX_GAIN = 6,
1670 AOM_TUNE_VMAF_NEG_MAX_GAIN = 7,
1671 AOM_TUNE_BUTTERAUGLI = 8,
1672 AOM_TUNE_VMAF_SALIENCY_MAP = 9,
1673} aom_tune_metric;
1674
1683 typedef enum {
1684 // Use PSNR for in-block rate-distortion optimization.
1685 AOM_DIST_METRIC_PSNR,
1686 // Use quantization matrix-weighted PSNR for in-block rate-distortion
1687 // optimization. If --enable-qm=1 is not specified, this falls back to
1688 // behaving in the same way as AOM_DIST_METRIC_PSNR.
1689 AOM_DIST_METRIC_QM_PSNR,
1690} aom_dist_metric;
1691
1692#define AOM_MAX_LAYERS 32
1693#define AOM_MAX_SS_LAYERS 4
1694#define AOM_MAX_TS_LAYERS 8
1697 typedef struct aom_svc_layer_id {
1698 int spatial_layer_id;
1699 int temporal_layer_id;
1700} aom_svc_layer_id_t;
1701
1708 typedef struct aom_svc_params {
1709 int number_spatial_layers;
1710 int number_temporal_layers;
1711 int max_quantizers[AOM_MAX_LAYERS];
1712 int min_quantizers[AOM_MAX_LAYERS];
1713 int scaling_factor_num[AOM_MAX_SS_LAYERS];
1714 int scaling_factor_den[AOM_MAX_SS_LAYERS];
1716 int layer_target_bitrate[AOM_MAX_LAYERS];
1718 int framerate_factor[AOM_MAX_TS_LAYERS];
1719} aom_svc_params_t;
1720
1722 typedef struct aom_svc_ref_frame_config {
1723 // Three arrays need to be set: reference[], ref_id[], refresh[].
1724 // reference[i]: is a boolean flag to indicate which of the 7 possible
1725 // references are used for prediction. Values are 0 (not used as reference)
1726 // or 1 (use as reference). The index 0 - 6 refers to the references:
1727 // last(0), last2(1), last3(2), golden(3), bwdref(4), altref2(5), altref(6).
1728 // ref_idx[i]: maps a reference to one of the 8 buffers slots, values are
1729 // 0 - 7. The ref_idx for a unused reference (reference[i] = 1, and not used
1730 // for refresh, see below) can be set to the ref_idx of the first reference
1731 // used (usually LAST).
1732 // refresh[i] is a boolean flag to indicate if a buffer is updated/refreshed
1733 // with the current encoded frame. Values are 0 (no refresh) or 1 (refresh).
1734 // The refresh is done internally by looking at the ref_idx[j], for j = 0 - 6,
1735 // so to refresh a buffer slot (i) a reference must be mapped to that slot
1736 // (i = ref_idx[j]).
1737 // Examples for usage (for RTC encoding) are in: examples/svc_encoder_rtc.c.
1738 int reference[7];
1740 int ref_idx[7];
1741 int refresh[8];
1742} aom_svc_ref_frame_config_t;
1743
1745 typedef struct aom_svc_ref_frame_comp_pred {
1746 // Use compound prediction for the ref_frame pairs GOLDEN_LAST (0),
1747 // LAST2_LAST (1), and ALTREF_LAST (2).
1748 int use_comp_pred[3];
1749} aom_svc_ref_frame_comp_pred_t;
1750
1752 typedef enum {
1753 AOM_LAYER_DROP,
1754 AOM_FULL_SUPERFRAME_DROP,
1755} AOM_SVC_FRAME_DROP_MODE;
1756
1769 AOM_CTRL_USE_TYPE(AOME_USE_REFERENCE, int)
1770#define AOM_CTRL_AOME_USE_REFERENCE
1771
1772 AOM_CTRL_USE_TYPE(AOME_SET_ROI_MAP, aom_roi_map_t *)
1773#define AOM_CTRL_AOME_SET_ROI_MAP
1774
1775 AOM_CTRL_USE_TYPE(AOME_SET_ACTIVEMAP, aom_active_map_t *)
1776#define AOM_CTRL_AOME_SET_ACTIVEMAP
1777
1778 AOM_CTRL_USE_TYPE(AOME_SET_SCALEMODE, aom_scaling_mode_t *)
1779#define AOM_CTRL_AOME_SET_SCALEMODE
1780
1781 AOM_CTRL_USE_TYPE(AOME_SET_SPATIAL_LAYER_ID, int)
1782#define AOM_CTRL_AOME_SET_SPATIAL_LAYER_ID
1783
1784 AOM_CTRL_USE_TYPE(AOME_SET_CPUUSED, int)
1785#define AOM_CTRL_AOME_SET_CPUUSED
1786
1787 AOM_CTRL_USE_TYPE(AOME_SET_ENABLEAUTOALTREF, unsigned int)
1788#define AOM_CTRL_AOME_SET_ENABLEAUTOALTREF
1789
1790 AOM_CTRL_USE_TYPE(AOME_SET_SHARPNESS, unsigned int)
1791#define AOM_CTRL_AOME_SET_SHARPNESS
1792
1793 AOM_CTRL_USE_TYPE(AOME_SET_STATIC_THRESHOLD, unsigned int)
1794#define AOM_CTRL_AOME_SET_STATIC_THRESHOLD
1795
1796 AOM_CTRL_USE_TYPE(AOME_GET_LAST_QUANTIZER, int *)
1797#define AOM_CTRL_AOME_GET_LAST_QUANTIZER
1798
1799 AOM_CTRL_USE_TYPE(AOME_GET_LAST_QUANTIZER_64, int *)
1800#define AOM_CTRL_AOME_GET_LAST_QUANTIZER_64
1801
1802 AOM_CTRL_USE_TYPE(AOME_SET_ARNR_MAXFRAMES, unsigned int)
1803#define AOM_CTRL_AOME_SET_ARNR_MAXFRAMES
1804
1805 AOM_CTRL_USE_TYPE(AOME_SET_ARNR_STRENGTH, unsigned int)
1806#define AOM_CTRL_AOME_SET_ARNR_STRENGTH
1807
1808 AOM_CTRL_USE_TYPE(AOME_SET_TUNING, int) /* aom_tune_metric */
1809#define AOM_CTRL_AOME_SET_TUNING
1810
1811 AOM_CTRL_USE_TYPE(AOME_SET_CQ_LEVEL, unsigned int)
1812#define AOM_CTRL_AOME_SET_CQ_LEVEL
1813
1814 AOM_CTRL_USE_TYPE(AOME_SET_MAX_INTRA_BITRATE_PCT, unsigned int)
1815#define AOM_CTRL_AOME_SET_MAX_INTRA_BITRATE_PCT
1816
1817 AOM_CTRL_USE_TYPE(AOME_SET_NUMBER_SPATIAL_LAYERS, int)
1818#define AOM_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1819// TODO(aomedia:3231): Deprecated. Remove it.
1820#define AOME_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1821
1822 AOM_CTRL_USE_TYPE(AOME_SET_MAX_INTER_BITRATE_PCT, unsigned int)
1823#define AOM_CTRL_AV1E_SET_MAX_INTER_BITRATE_PCT
1824// TODO(aomedia:3231): Deprecated. Remove it.
1825#define AOM_CTRL_AOME_SET_MAX_INTER_BITRATE_PCT
1826
1827 AOM_CTRL_USE_TYPE(AV1E_SET_GF_CBR_BOOST_PCT, unsigned int)
1828#define AOM_CTRL_AV1E_SET_GF_CBR_BOOST_PCT
1829
1830 AOM_CTRL_USE_TYPE(AV1E_SET_LOSSLESS, unsigned int)
1831#define AOM_CTRL_AV1E_SET_LOSSLESS
1832
1833 AOM_CTRL_USE_TYPE(AV1E_SET_ROW_MT, unsigned int)
1834#define AOM_CTRL_AV1E_SET_ROW_MT
1835
1836 AOM_CTRL_USE_TYPE(AV1E_SET_TILE_COLUMNS, unsigned int)
1837#define AOM_CTRL_AV1E_SET_TILE_COLUMNS
1838
1839 AOM_CTRL_USE_TYPE(AV1E_SET_TILE_ROWS, unsigned int)
1840#define AOM_CTRL_AV1E_SET_TILE_ROWS
1841
1842 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_TPL_MODEL, unsigned int)
1843#define AOM_CTRL_AV1E_SET_ENABLE_TPL_MODEL
1844
1845 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_KEYFRAME_FILTERING, unsigned int)
1846#define AOM_CTRL_AV1E_SET_ENABLE_KEYFRAME_FILTERING
1847
1848 AOM_CTRL_USE_TYPE(AV1E_SET_FRAME_PARALLEL_DECODING, unsigned int)
1849#define AOM_CTRL_AV1E_SET_FRAME_PARALLEL_DECODING
1850
1851 AOM_CTRL_USE_TYPE(AV1E_SET_ERROR_RESILIENT_MODE, int)
1852#define AOM_CTRL_AV1E_SET_ERROR_RESILIENT_MODE
1853
1854 AOM_CTRL_USE_TYPE(AV1E_SET_S_FRAME_MODE, int)
1855#define AOM_CTRL_AV1E_SET_S_FRAME_MODE
1856
1857 AOM_CTRL_USE_TYPE(AV1E_SET_AQ_MODE, unsigned int)
1858#define AOM_CTRL_AV1E_SET_AQ_MODE
1859
1860 AOM_CTRL_USE_TYPE(AV1E_SET_FRAME_PERIODIC_BOOST, unsigned int)
1861#define AOM_CTRL_AV1E_SET_FRAME_PERIODIC_BOOST
1862
1863 AOM_CTRL_USE_TYPE(AV1E_SET_NOISE_SENSITIVITY, unsigned int)
1864#define AOM_CTRL_AV1E_SET_NOISE_SENSITIVITY
1865
1866 AOM_CTRL_USE_TYPE(AV1E_SET_TUNE_CONTENT, int) /* aom_tune_content */
1867#define AOM_CTRL_AV1E_SET_TUNE_CONTENT
1868
1869 AOM_CTRL_USE_TYPE(AV1E_SET_CDF_UPDATE_MODE, unsigned int)
1870#define AOM_CTRL_AV1E_SET_CDF_UPDATE_MODE
1871
1872 AOM_CTRL_USE_TYPE(AV1E_SET_COLOR_PRIMARIES, int)
1873#define AOM_CTRL_AV1E_SET_COLOR_PRIMARIES
1874
1875 AOM_CTRL_USE_TYPE(AV1E_SET_TRANSFER_CHARACTERISTICS, int)
1876#define AOM_CTRL_AV1E_SET_TRANSFER_CHARACTERISTICS
1877
1878 AOM_CTRL_USE_TYPE(AV1E_SET_MATRIX_COEFFICIENTS, int)
1879#define AOM_CTRL_AV1E_SET_MATRIX_COEFFICIENTS
1880
1881 AOM_CTRL_USE_TYPE(AV1E_SET_CHROMA_SAMPLE_POSITION, int)
1882#define AOM_CTRL_AV1E_SET_CHROMA_SAMPLE_POSITION
1883
1884 AOM_CTRL_USE_TYPE(AV1E_SET_MIN_GF_INTERVAL, unsigned int)
1885#define AOM_CTRL_AV1E_SET_MIN_GF_INTERVAL
1886
1887 AOM_CTRL_USE_TYPE(AV1E_SET_MAX_GF_INTERVAL, unsigned int)
1888#define AOM_CTRL_AV1E_SET_MAX_GF_INTERVAL
1889
1890 AOM_CTRL_USE_TYPE(AV1E_GET_ACTIVEMAP, aom_active_map_t *)
1891#define AOM_CTRL_AV1E_GET_ACTIVEMAP
1892
1893 AOM_CTRL_USE_TYPE(AV1E_SET_COLOR_RANGE, int)
1894#define AOM_CTRL_AV1E_SET_COLOR_RANGE
1895
1896 AOM_CTRL_USE_TYPE(AV1E_SET_RENDER_SIZE, int *)
1897#define AOM_CTRL_AV1E_SET_RENDER_SIZE
1898
1899 AOM_CTRL_USE_TYPE(AV1E_SET_TARGET_SEQ_LEVEL_IDX, int)
1900#define AOM_CTRL_AV1E_SET_TARGET_SEQ_LEVEL_IDX
1901
1902 AOM_CTRL_USE_TYPE(AV1E_GET_SEQ_LEVEL_IDX, int *)
1903#define AOM_CTRL_AV1E_GET_SEQ_LEVEL_IDX
1904
1905 AOM_CTRL_USE_TYPE(AV1E_SET_SUPERBLOCK_SIZE, unsigned int)
1906#define AOM_CTRL_AV1E_SET_SUPERBLOCK_SIZE
1907
1908 AOM_CTRL_USE_TYPE(AOME_SET_ENABLEAUTOBWDREF, unsigned int)
1909#define AOM_CTRL_AOME_SET_ENABLEAUTOBWDREF
1910
1911 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_CDEF, unsigned int)
1912#define AOM_CTRL_AV1E_SET_ENABLE_CDEF
1913
1914 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_RESTORATION, unsigned int)
1915#define AOM_CTRL_AV1E_SET_ENABLE_RESTORATION
1916
1917 AOM_CTRL_USE_TYPE(AV1E_SET_FORCE_VIDEO_MODE, unsigned int)
1918#define AOM_CTRL_AV1E_SET_FORCE_VIDEO_MODE
1919
1920 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_OBMC, unsigned int)
1921#define AOM_CTRL_AV1E_SET_ENABLE_OBMC
1922
1923 AOM_CTRL_USE_TYPE(AV1E_SET_DISABLE_TRELLIS_QUANT, unsigned int)
1924#define AOM_CTRL_AV1E_SET_DISABLE_TRELLIS_QUANT
1925
1926 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_QM, unsigned int)
1927#define AOM_CTRL_AV1E_SET_ENABLE_QM
1928
1929// TODO(aomedia:3231): Remove these two lines.
1930 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIST_8X8, unsigned int)
1931#define AOM_CTRL_AV1E_SET_ENABLE_DIST_8X8
1932
1933 AOM_CTRL_USE_TYPE(AV1E_SET_QM_MIN, unsigned int)
1934#define AOM_CTRL_AV1E_SET_QM_MIN
1935
1936 AOM_CTRL_USE_TYPE(AV1E_SET_QM_MAX, unsigned int)
1937#define AOM_CTRL_AV1E_SET_QM_MAX
1938
1939 AOM_CTRL_USE_TYPE(AV1E_SET_QM_Y, unsigned int)
1940#define AOM_CTRL_AV1E_SET_QM_Y
1941
1942 AOM_CTRL_USE_TYPE(AV1E_SET_QM_U, unsigned int)
1943#define AOM_CTRL_AV1E_SET_QM_U
1944
1945 AOM_CTRL_USE_TYPE(AV1E_SET_QM_V, unsigned int)
1946#define AOM_CTRL_AV1E_SET_QM_V
1947
1948 AOM_CTRL_USE_TYPE(AV1E_SET_NUM_TG, unsigned int)
1949#define AOM_CTRL_AV1E_SET_NUM_TG
1950
1951 AOM_CTRL_USE_TYPE(AV1E_SET_MTU, unsigned int)
1952#define AOM_CTRL_AV1E_SET_MTU
1953
1954 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_RECT_PARTITIONS, int)
1955#define AOM_CTRL_AV1E_SET_ENABLE_RECT_PARTITIONS
1956
1957 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_AB_PARTITIONS, int)
1958#define AOM_CTRL_AV1E_SET_ENABLE_AB_PARTITIONS
1959
1960 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_1TO4_PARTITIONS, int)
1961#define AOM_CTRL_AV1E_SET_ENABLE_1TO4_PARTITIONS
1962
1963 AOM_CTRL_USE_TYPE(AV1E_SET_MIN_PARTITION_SIZE, int)
1964#define AOM_CTRL_AV1E_SET_MIN_PARTITION_SIZE
1965
1966 AOM_CTRL_USE_TYPE(AV1E_SET_MAX_PARTITION_SIZE, int)
1967#define AOM_CTRL_AV1E_SET_MAX_PARTITION_SIZE
1968
1969 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTRA_EDGE_FILTER, int)
1970#define AOM_CTRL_AV1E_SET_ENABLE_INTRA_EDGE_FILTER
1971
1972 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_ORDER_HINT, int)
1973#define AOM_CTRL_AV1E_SET_ENABLE_ORDER_HINT
1974
1975 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_TX64, int)
1976#define AOM_CTRL_AV1E_SET_ENABLE_TX64
1977
1978 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_FLIP_IDTX, int)
1979#define AOM_CTRL_AV1E_SET_ENABLE_FLIP_IDTX
1980
1981 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_RECT_TX, int)
1982#define AOM_CTRL_AV1E_SET_ENABLE_RECT_TX
1983
1984 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIST_WTD_COMP, int)
1985#define AOM_CTRL_AV1E_SET_ENABLE_DIST_WTD_COMP
1986
1987 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_REF_FRAME_MVS, int)
1988#define AOM_CTRL_AV1E_SET_ENABLE_REF_FRAME_MVS
1989
1990 AOM_CTRL_USE_TYPE(AV1E_SET_ALLOW_REF_FRAME_MVS, int)
1991#define AOM_CTRL_AV1E_SET_ALLOW_REF_FRAME_MVS
1992
1993 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DUAL_FILTER, int)
1994#define AOM_CTRL_AV1E_SET_ENABLE_DUAL_FILTER
1995
1996 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_CHROMA_DELTAQ, int)
1997#define AOM_CTRL_AV1E_SET_ENABLE_CHROMA_DELTAQ
1998
1999 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_MASKED_COMP, int)
2000#define AOM_CTRL_AV1E_SET_ENABLE_MASKED_COMP
2001
2002 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_ONESIDED_COMP, int)
2003#define AOM_CTRL_AV1E_SET_ENABLE_ONESIDED_COMP
2004
2005 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTERINTRA_COMP, int)
2006#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_COMP
2007
2008 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_SMOOTH_INTERINTRA, int)
2009#define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTERINTRA
2010
2011 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIFF_WTD_COMP, int)
2012#define AOM_CTRL_AV1E_SET_ENABLE_DIFF_WTD_COMP
2013
2014 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTERINTER_WEDGE, int)
2015#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTER_WEDGE
2016
2017 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTERINTRA_WEDGE, int)
2018#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_WEDGE
2019
2020 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_GLOBAL_MOTION, int)
2021#define AOM_CTRL_AV1E_SET_ENABLE_GLOBAL_MOTION
2022
2023 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_WARPED_MOTION, int)
2024#define AOM_CTRL_AV1E_SET_ENABLE_WARPED_MOTION
2025
2026 AOM_CTRL_USE_TYPE(AV1E_SET_ALLOW_WARPED_MOTION, int)
2027#define AOM_CTRL_AV1E_SET_ALLOW_WARPED_MOTION
2028
2029 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_FILTER_INTRA, int)
2030#define AOM_CTRL_AV1E_SET_ENABLE_FILTER_INTRA
2031
2032 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_SMOOTH_INTRA, int)
2033#define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTRA
2034
2035 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_PAETH_INTRA, int)
2036#define AOM_CTRL_AV1E_SET_ENABLE_PAETH_INTRA
2037
2038 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_CFL_INTRA, int)
2039#define AOM_CTRL_AV1E_SET_ENABLE_CFL_INTRA
2040
2041 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_SUPERRES, int)
2042#define AOM_CTRL_AV1E_SET_ENABLE_SUPERRES
2043
2044 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_OVERLAY, int)
2045#define AOM_CTRL_AV1E_SET_ENABLE_OVERLAY
2046
2047 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_PALETTE, int)
2048#define AOM_CTRL_AV1E_SET_ENABLE_PALETTE
2049
2050 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTRABC, int)
2051#define AOM_CTRL_AV1E_SET_ENABLE_INTRABC
2052
2053 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_ANGLE_DELTA, int)
2054#define AOM_CTRL_AV1E_SET_ENABLE_ANGLE_DELTA
2055
2056 AOM_CTRL_USE_TYPE(AV1E_SET_DELTAQ_MODE, unsigned int)
2057#define AOM_CTRL_AV1E_SET_DELTAQ_MODE
2058
2059 AOM_CTRL_USE_TYPE(AV1E_SET_DELTALF_MODE, unsigned int)
2060#define AOM_CTRL_AV1E_SET_DELTALF_MODE
2061
2062 AOM_CTRL_USE_TYPE(AV1E_SET_SINGLE_TILE_DECODING, unsigned int)
2063#define AOM_CTRL_AV1E_SET_SINGLE_TILE_DECODING
2064
2065 AOM_CTRL_USE_TYPE(AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST, unsigned int)
2066#define AOM_CTRL_AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
2067
2068 AOM_CTRL_USE_TYPE(AV1E_SET_TIMING_INFO_TYPE, int) /* aom_timing_info_type_t */
2069#define AOM_CTRL_AV1E_SET_TIMING_INFO_TYPE
2070
2071 AOM_CTRL_USE_TYPE(AV1E_SET_FILM_GRAIN_TEST_VECTOR, int)
2072#define AOM_CTRL_AV1E_SET_FILM_GRAIN_TEST_VECTOR
2073
2074 AOM_CTRL_USE_TYPE(AV1E_SET_FILM_GRAIN_TABLE, const char *)
2075#define AOM_CTRL_AV1E_SET_FILM_GRAIN_TABLE
2076
2077 AOM_CTRL_USE_TYPE(AV1E_SET_DENOISE_NOISE_LEVEL, int)
2078#define AOM_CTRL_AV1E_SET_DENOISE_NOISE_LEVEL
2079
2080 AOM_CTRL_USE_TYPE(AV1E_SET_DENOISE_BLOCK_SIZE, unsigned int)
2081#define AOM_CTRL_AV1E_SET_DENOISE_BLOCK_SIZE
2082
2083 AOM_CTRL_USE_TYPE(AV1E_SET_CHROMA_SUBSAMPLING_X, unsigned int)
2084#define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_X
2085
2086 AOM_CTRL_USE_TYPE(AV1E_SET_CHROMA_SUBSAMPLING_Y, unsigned int)
2087#define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_Y
2088
2089 AOM_CTRL_USE_TYPE(AV1E_SET_REDUCED_TX_TYPE_SET, int)
2090#define AOM_CTRL_AV1E_SET_REDUCED_TX_TYPE_SET
2091
2092 AOM_CTRL_USE_TYPE(AV1E_SET_INTRA_DCT_ONLY, int)
2093#define AOM_CTRL_AV1E_SET_INTRA_DCT_ONLY
2094
2095 AOM_CTRL_USE_TYPE(AV1E_SET_INTER_DCT_ONLY, int)
2096#define AOM_CTRL_AV1E_SET_INTER_DCT_ONLY
2097
2098 AOM_CTRL_USE_TYPE(AV1E_SET_INTRA_DEFAULT_TX_ONLY, int)
2099#define AOM_CTRL_AV1E_SET_INTRA_DEFAULT_TX_ONLY
2100
2101 AOM_CTRL_USE_TYPE(AV1E_SET_QUANT_B_ADAPT, int)
2102#define AOM_CTRL_AV1E_SET_QUANT_B_ADAPT
2103
2104 AOM_CTRL_USE_TYPE(AV1E_SET_GF_MAX_PYRAMID_HEIGHT, unsigned int)
2105#define AOM_CTRL_AV1E_SET_GF_MAX_PYRAMID_HEIGHT
2106
2107 AOM_CTRL_USE_TYPE(AV1E_SET_MAX_REFERENCE_FRAMES, int)
2108#define AOM_CTRL_AV1E_SET_MAX_REFERENCE_FRAMES
2109
2110 AOM_CTRL_USE_TYPE(AV1E_SET_REDUCED_REFERENCE_SET, int)
2111#define AOM_CTRL_AV1E_SET_REDUCED_REFERENCE_SET
2112
2113 AOM_CTRL_USE_TYPE(AV1E_SET_COEFF_COST_UPD_FREQ, unsigned int)
2114#define AOM_CTRL_AV1E_SET_COEFF_COST_UPD_FREQ
2115
2116 AOM_CTRL_USE_TYPE(AV1E_SET_MODE_COST_UPD_FREQ, unsigned int)
2117#define AOM_CTRL_AV1E_SET_MODE_COST_UPD_FREQ
2118
2119 AOM_CTRL_USE_TYPE(AV1E_SET_MV_COST_UPD_FREQ, unsigned int)
2120#define AOM_CTRL_AV1E_SET_MV_COST_UPD_FREQ
2121
2122 AOM_CTRL_USE_TYPE(AV1E_SET_TIER_MASK, unsigned int)
2123#define AOM_CTRL_AV1E_SET_TIER_MASK
2124
2125 AOM_CTRL_USE_TYPE(AV1E_SET_MIN_CR, unsigned int)
2126#define AOM_CTRL_AV1E_SET_MIN_CR
2127
2128 AOM_CTRL_USE_TYPE(AV1E_SET_SVC_LAYER_ID, aom_svc_layer_id_t *)
2129#define AOM_CTRL_AV1E_SET_SVC_LAYER_ID
2130// TODO(aomedia:3231): Deprecated. Remove it.
2131#define AOME_CTRL_AV1E_SET_SVC_LAYER_ID
2132
2133 AOM_CTRL_USE_TYPE(AV1E_SET_SVC_PARAMS, aom_svc_params_t *)
2134#define AOM_CTRL_AV1E_SET_SVC_PARAMS
2135// TODO(aomedia:3231): Deprecated. Remove it.
2136#define AOME_CTRL_AV1E_SET_SVC_PARAMS
2137
2138 AOM_CTRL_USE_TYPE(AV1E_SET_SVC_REF_FRAME_CONFIG, aom_svc_ref_frame_config_t *)
2139#define AOM_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
2140// TODO(aomedia:3231): Deprecated. Remove it.
2141#define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
2142
2143 AOM_CTRL_USE_TYPE(AV1E_SET_VMAF_MODEL_PATH, const char *)
2144#define AOM_CTRL_AV1E_SET_VMAF_MODEL_PATH
2145
2146 AOM_CTRL_USE_TYPE(AV1E_ENABLE_EXT_TILE_DEBUG, unsigned int)
2147#define AOM_CTRL_AV1E_ENABLE_EXT_TILE_DEBUG
2148
2149 AOM_CTRL_USE_TYPE(AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST, unsigned int)
2150#define AOM_CTRL_AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST
2151
2152 AOM_CTRL_USE_TYPE(AV1E_SET_GF_MIN_PYRAMID_HEIGHT, unsigned int)
2153#define AOM_CTRL_AV1E_SET_GF_MIN_PYRAMID_HEIGHT
2154
2155 AOM_CTRL_USE_TYPE(AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP, unsigned int)
2156#define AOM_CTRL_AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP
2157
2158 AOM_CTRL_USE_TYPE(AV1E_GET_BASELINE_GF_INTERVAL, int *)
2159#define AOM_CTRL_AV1E_GET_BASELINE_GF_INTERVAL
2160
2161 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DNL_DENOISING, int)
2162#define AOM_CTRL_AV1E_SET_ENABLE_DNL_DENOISING
2163
2164 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIAGONAL_INTRA, int)
2165#define AOM_CTRL_AV1E_SET_ENABLE_DIAGONAL_INTRA
2166
2167 AOM_CTRL_USE_TYPE(AV1E_SET_DV_COST_UPD_FREQ, unsigned int)
2168#define AOM_CTRL_AV1E_SET_DV_COST_UPD_FREQ
2169
2170 AOM_CTRL_USE_TYPE(AV1E_SET_PARTITION_INFO_PATH, const char *)
2171#define AOM_CTRL_AV1E_SET_PARTITION_INFO_PATH
2172
2173 AOM_CTRL_USE_TYPE(AV1E_SET_EXTERNAL_PARTITION, aom_ext_part_funcs_t *)
2174#define AOM_CTRL_AV1E_SET_EXTERNAL_PARTITION
2175
2176 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIRECTIONAL_INTRA, int)
2177#define AOM_CTRL_AV1E_SET_ENABLE_DIRECTIONAL_INTRA
2178
2179 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_TX_SIZE_SEARCH, int)
2180#define AOM_CTRL_AV1E_SET_ENABLE_TX_SIZE_SEARCH
2181
2182 AOM_CTRL_USE_TYPE(AV1E_SET_SVC_REF_FRAME_COMP_PRED,
2183 aom_svc_ref_frame_comp_pred_t *)
2184#define AOM_CTRL_AV1E_SET_SVC_REF_FRAME_COMP_PRED
2185// TODO(aomedia:3231): Deprecated. Remove it.
2186#define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_COMP_PRED
2187
2188 AOM_CTRL_USE_TYPE(AV1E_SET_DELTAQ_STRENGTH, unsigned int)
2189#define AOM_CTRL_AV1E_SET_DELTAQ_STRENGTH
2190
2191 AOM_CTRL_USE_TYPE(AV1E_SET_LOOPFILTER_CONTROL, int)
2192#define AOM_CTRL_AV1E_SET_LOOPFILTER_CONTROL
2193
2194 AOM_CTRL_USE_TYPE(AOME_GET_LOOPFILTER_LEVEL, int *)
2195#define AOM_CTRL_AOME_GET_LOOPFILTER_LEVEL
2196
2197 AOM_CTRL_USE_TYPE(AV1E_SET_AUTO_INTRA_TOOLS_OFF, unsigned int)
2198#define AOM_CTRL_AV1E_SET_AUTO_INTRA_TOOLS_OFF
2199
2200 AOM_CTRL_USE_TYPE(AV1E_SET_RTC_EXTERNAL_RC, int)
2201#define AOM_CTRL_AV1E_SET_RTC_EXTERNAL_RC
2202
2203 AOM_CTRL_USE_TYPE(AV1E_SET_FP_MT, unsigned int)
2204#define AOM_CTRL_AV1E_SET_FP_MT
2205
2206 AOM_CTRL_USE_TYPE(AV1E_SET_FP_MT_UNIT_TEST, unsigned int)
2207#define AOM_CTRL_AV1E_SET_FP_MT_UNIT_TEST
2208
2209 AOM_CTRL_USE_TYPE(AV1E_GET_TARGET_SEQ_LEVEL_IDX, int *)
2210#define AOM_CTRL_AV1E_GET_TARGET_SEQ_LEVEL_IDX
2211
2212 AOM_CTRL_USE_TYPE(AV1E_GET_NUM_OPERATING_POINTS, int *)
2213#define AOM_CTRL_AV1E_GET_NUM_OPERATING_POINTS
2214
2215 AOM_CTRL_USE_TYPE(AV1E_SET_SKIP_POSTPROC_FILTERING, unsigned int)
2216#define AOM_CTRL_AV1E_SET_SKIP_POSTPROC_FILTERING
2217
2218 AOM_CTRL_USE_TYPE(AV1E_ENABLE_SB_QP_SWEEP, unsigned int)
2219#define AOM_CTRL_AV1E_ENABLE_SB_QP_SWEEP
2220
2221 AOM_CTRL_USE_TYPE(AV1E_SET_QUANTIZER_ONE_PASS, int)
2222#define AOM_CTRL_AV1E_SET_QUANTIZER_ONE_PASS
2223
2224 AOM_CTRL_USE_TYPE(AV1E_ENABLE_RATE_GUIDE_DELTAQ, unsigned int)
2225#define AOM_CTRL_AV1E_ENABLE_RATE_GUIDE_DELTAQ
2226
2227 AOM_CTRL_USE_TYPE(AV1E_SET_RATE_DISTRIBUTION_INFO, const char *)
2228#define AOM_CTRL_AV1E_SET_RATE_DISTRIBUTION_INFO
2229
2230 AOM_CTRL_USE_TYPE(AV1E_GET_LUMA_CDEF_STRENGTH, int *)
2231#define AOM_CTRL_AV1E_GET_LUMA_CDEF_STRENGTH
2232
2233 AOM_CTRL_USE_TYPE(AV1E_SET_BITRATE_ONE_PASS_CBR, unsigned int)
2234#define AOM_CTRL_AV1E_SET_BITRATE_ONE_PASS_CBR
2235
2236 AOM_CTRL_USE_TYPE(AV1E_SET_SVC_FRAME_DROP_MODE, unsigned int)
2237#define AOM_CTRL_AV1E_SET_SVC_FRAME_DROP_MODE
2238
2239 AOM_CTRL_USE_TYPE(AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR, int)
2240#define AOM_CTRL_AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR
2241
2242 AOM_CTRL_USE_TYPE(AV1E_SET_AUTO_TILES, unsigned int)
2243#define AOM_CTRL_AV1E_SET_AUTO_TILES
2244
2245 AOM_CTRL_USE_TYPE(AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC, int *)
2246#define AOM_CTRL_AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC
2247
2248 AOM_CTRL_USE_TYPE(AV1E_SET_POSTENCODE_DROP_RTC, int)
2249#define AOM_CTRL_AV1E_SET_POSTENCODE_DROP_RTC
2250
2251 AOM_CTRL_USE_TYPE(AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR, int)
2252#define AOM_CTRL_AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR
2253
2256#ifdef __cplusplus
2257} // extern "C"
2258#endif
2259
2260#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
Definition aomcx.h:1752
aom_dist_metric
aom_dist_metric
Distortion metric to use for RD optimization.
Definition aomcx.h:1683
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:1581
AOM_MAX_LAYERS
#define AOM_MAX_LAYERS
Definition aomcx.h:1692
aom_svc_params_t
struct aom_svc_params aom_svc_params_t
AOM_MAX_SEGMENTS
#define AOM_MAX_SEGMENTS
Max number of segments.
Definition aomcx.h:1600
AOM_MAX_TS_LAYERS
#define AOM_MAX_TS_LAYERS
Definition aomcx.h:1694
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
Definition aomcx.h:1644
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:1693
aom_tune_metric
aom_tune_metric
Model tuning parameters.
Definition aomcx.h:1663
aom_roi_map_t
struct aom_roi_map aom_roi_map_t
aom region of interest map
aom_svc_layer_id_t
struct aom_svc_layer_id aom_svc_layer_id_t
aom_timing_info_type_t
aom_timing_info_type_t
Definition aomcx.h:1652
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
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
AOM_FULL_SUPERFRAME_DROP
@ AOM_FULL_SUPERFRAME_DROP
Definition aomcx.h:1754
AOM_LAYER_DROP
@ AOM_LAYER_DROP
Definition aomcx.h:1753
AV1E_SET_MATRIX_COEFFICIENTS
@ AV1E_SET_MATRIX_COEFFICIENTS
Codec control function to set transfer function info, int parameter.
Definition aomcx.h:573
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:1010
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:1347
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:1527
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:594
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:361
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:1070
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:1160
AOME_SET_SHARPNESS
@ AOME_SET_SHARPNESS
Codec control function to set the sharpness parameter, unsigned int parameter.
Definition aomcx.h:241
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:1454
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:1513
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:408
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:263
AV1E_SET_AQ_MODE
@ AV1E_SET_AQ_MODE
Codec control function to set adaptive quantization mode, unsigned int parameter.
Definition aomcx.h:468
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:1224
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:1459
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:1276
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:1286
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:1319
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:1078
AV1E_SET_TUNE_CONTENT
@ AV1E_SET_TUNE_CONTENT
Codec control function to set content type, aom_tune_content parameter.
Definition aomcx.h:497
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:506
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:1534
AV1E_SET_CHROMA_SUBSAMPLING_X
@ AV1E_SET_CHROMA_SUBSAMPLING_X
Sets the chroma subsampling x value, unsigned int parameter.
Definition aomcx.h:1187
AV1E_SET_COLOR_RANGE
@ AV1E_SET_COLOR_RANGE
Codec control function to set color range bit, int parameter.
Definition aomcx.h:606
AV1E_SET_ENABLE_RESTORATION
@ AV1E_SET_ENABLE_RESTORATION
Codec control function to encode with Loop Restoration Filter, unsigned int parameter.
Definition aomcx.h:680
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:1117
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:587
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:268
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:1254
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:1203
AV1E_SET_TRANSFER_CHARACTERISTICS
@ AV1E_SET_TRANSFER_CHARACTERISTICS
Codec control function to set transfer function info, int parameter.
Definition aomcx.h:552
AV1E_SET_MTU
@ AV1E_SET_MTU
Codec control function to set an MTU size for a tile group, unsigned int parameter.
Definition aomcx.h:800
AV1E_SET_DISABLE_TRELLIS_QUANT
@ AV1E_SET_DISABLE_TRELLIS_QUANT
Codec control function to encode without trellis quantization, unsigned int parameter.
Definition aomcx.h:707
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:1391
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:1445
AV1E_SET_ENABLE_INTRABC
@ AV1E_SET_ENABLE_INTRABC
Codec control function to turn on/off intra block copy mode, int parameter.
Definition aomcx.h:1113
AV1E_SET_S_FRAME_MODE
@ AV1E_SET_S_FRAME_MODE
Codec control function to enable s_frame_mode, int parameter.
Definition aomcx.h:453
AV1E_SET_ENABLE_AB_PARTITIONS
@ AV1E_SET_ENABLE_AB_PARTITIONS
Codec control function to enable/disable AB partitions, int parameter.
Definition aomcx.h:818
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:986
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:1173
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:962
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:954
AV1E_SET_QM_V
@ AV1E_SET_QM_V
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:779
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:431
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:1519
AV1E_SET_QM_Y
@ AV1E_SET_QM_Y
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:755
AV1E_SET_MIN_PARTITION_SIZE
@ AV1E_SET_MIN_PARTITION_SIZE
Codec control function to set min partition size, int parameter.
Definition aomcx.h:837
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:1038
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:1426
AV1E_SET_FORCE_VIDEO_MODE
@ AV1E_SET_FORCE_VIDEO_MODE
Codec control function to force video mode, unsigned int parameter.
Definition aomcx.h:687
AV1E_SET_CHROMA_SUBSAMPLING_Y
@ AV1E_SET_CHROMA_SUBSAMPLING_Y
Sets the chroma subsampling y value, unsigned int parameter.
Definition aomcx.h:1190
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:856
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:1234
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:1376
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:325
AV1E_SET_DENOISE_NOISE_LEVEL
@ AV1E_SET_DENOISE_NOISE_LEVEL
Sets the noise level, int parameter.
Definition aomcx.h:1181
AV1E_SET_INTRA_DCT_ONLY
@ AV1E_SET_INTRA_DCT_ONLY
Control to use dct only for intra modes, int parameter.
Definition aomcx.h:1196
AV1E_SET_TILE_ROWS
@ AV1E_SET_TILE_ROWS
Codec control function to set number of tile rows, unsigned int parameter.
Definition aomcx.h:398
AV1E_SET_QM_U
@ AV1E_SET_QM_U
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:767
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:935
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:1481
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:1434
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:970
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:599
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:1324
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:1213
AV1E_SET_ENABLE_CDEF
@ AV1E_SET_ENABLE_CDEF
Codec control function to encode with CDEF, unsigned int parameter.
Definition aomcx.h:670
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:900
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:643
AOME_GET_LOOPFILTER_LEVEL
@ AOME_GET_LOOPFILTER_LEVEL
Codec control function to get the loopfilter chosen by the encoder, int* parameter.
Definition aomcx.h:1411
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:480
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:1357
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:1540
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:1418
AV1E_SET_RENDER_SIZE
@ AV1E_SET_RENDER_SIZE
Codec control function to set intended rendering image size, int32_t[2] parameter.
Definition aomcx.h:613
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:946
AV1E_SET_ENABLE_RECT_TX
@ AV1E_SET_ENABLE_RECT_TX
Codec control function to turn on / off rectangular transforms, int parameter.
Definition aomcx.h:912
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:924
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:1166
AV1E_SET_ENABLE_SUPERRES
@ AV1E_SET_ENABLE_SUPERRES
Codec control function to turn on / off frame superresolution, int parameter.
Definition aomcx.h:1096
AV1E_SET_SUPERBLOCK_SIZE
@ AV1E_SET_SUPERBLOCK_SIZE
Codec control function to set intended superblock size, unsigned int parameter.
Definition aomcx.h:651
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:1262
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:1018
AV1E_SET_NOISE_SENSITIVITY
@ AV1E_SET_NOISE_SENSITIVITY
Codec control function to set noise sensitivity, unsigned int parameter.
Definition aomcx.h:488
AV1E_SET_SVC_PARAMS
@ AV1E_SET_SVC_PARAMS
Codec control function to set SVC parameters, aom_svc_params_t* parameter.
Definition aomcx.h:1281
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:1002
AV1E_SET_QUANT_B_ADAPT
@ AV1E_SET_QUANT_B_ADAPT
Control to use adaptive quantize_b, int parameter.
Definition aomcx.h:1206
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:1059
AV1E_SET_ENABLE_PALETTE
@ AV1E_SET_ENABLE_PALETTE
Codec control function to turn on/off palette mode, int parameter.
Definition aomcx.h:1109
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:1088
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:417
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:789
AV1E_GET_BASELINE_GF_INTERVAL
@ AV1E_GET_BASELINE_GF_INTERVAL
Control to get baseline gf interval.
Definition aomcx.h:1328
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:306
AV1E_SET_ERROR_RESILIENT_MODE
@ AV1E_SET_ERROR_RESILIENT_MODE
Codec control function to enable error_resilient_mode, int parameter.
Definition aomcx.h:442
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:994
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:246
AV1E_SET_ENABLE_OBMC
@ AV1E_SET_ENABLE_OBMC
Codec control function to predict with OBMC mode, unsigned int parameter.
Definition aomcx.h:697
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:1362
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_MAX_PARTITION_SIZE
@ AV1E_SET_MAX_PARTITION_SIZE
Codec control function to set max partition size, int parameter.
Definition aomcx.h:848
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:826
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:1139
AV1E_SET_ENABLE_TX64
@ AV1E_SET_ENABLE_TX64
Codec control function to turn on / off 64-length transforms, int parameter.
Definition aomcx.h:876
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:1548
AOME_SET_TUNING
@ AOME_SET_TUNING
Codec control function to set visual tuning, aom_tune_metric (int) parameter.
Definition aomcx.h:282
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:636
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:580
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:1193
AV1E_SET_DELTAQ_STRENGTH
@ AV1E_SET_DELTAQ_STRENGTH
Set –deltaq-mode strength.
Definition aomcx.h:1397
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:659
AV1E_SET_INTER_DCT_ONLY
@ AV1E_SET_INTER_DCT_ONLY
Control to use dct only for inter modes, int parameter.
Definition aomcx.h:1199
AV1E_SET_LOOPFILTER_CONTROL
@ AV1E_SET_LOOPFILTER_CONTROL
Codec control to control loop filter.
Definition aomcx.h:1406
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:1501
AOME_GET_LAST_QUANTIZER
@ AOME_GET_LAST_QUANTIZER
Codec control function to get last quantizer chosen by the encoder, int* parameter.
Definition aomcx.h:255
AV1E_SET_TILE_COLUMNS
@ AV1E_SET_TILE_COLUMNS
Codec control function to set number of tile columns. unsigned int parameter.
Definition aomcx.h:380
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:1368
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:1312
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:865
AV1E_SET_DELTAQ_MODE
@ AV1E_SET_DELTAQ_MODE
Codec control function to set the delta q mode, unsigned int parameter.
Definition aomcx.h:1131
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:1564
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:1028
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:1178
AV1E_SET_QM_MAX
@ AV1E_SET_QM_MAX
Codec control function to set the max quant matrix flatness, unsigned int parameter.
Definition aomcx.h:743
AV1E_SET_MAX_REFERENCE_FRAMES
@ AV1E_SET_MAX_REFERENCE_FRAMES
Control to select maximum reference frames allowed per frame, int parameter.
Definition aomcx.h:1220
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:1555
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:339
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:978
AV1E_SET_DENOISE_BLOCK_SIZE
@ AV1E_SET_DENOISE_BLOCK_SIZE
Sets the denoisers block size, unsigned int parameter.
Definition aomcx.h:1184
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:1291
AV1E_SET_QM_MIN
@ AV1E_SET_QM_MIN
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:731
AV1E_SET_ENABLE_QM
@ AV1E_SET_ENABLE_QM
Codec control function to encode with quantisation matrices, unsigned int parameter.
Definition aomcx.h:718
AV1E_SET_ENABLE_OVERLAY
@ AV1E_SET_ENABLE_OVERLAY
Codec control function to turn on / off overlay frames for filtered ALTREF frames,...
Definition aomcx.h:1106
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:1470
AOME_SET_NUMBER_SPATIAL_LAYERS
@ AOME_SET_NUMBER_SPATIAL_LAYERS
Codec control function to set number of spatial layers, int parameter.
Definition aomcx.h:311
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:1149
AV1E_SET_ENABLE_RECT_PARTITIONS
@ AV1E_SET_ENABLE_RECT_PARTITIONS
Codec control function to enable/disable rectangular partitions, int parameter.
Definition aomcx.h:810
AV1E_SET_COLOR_PRIMARIES
@ AV1E_SET_COLOR_PRIMARIES
Codec control function to set color space info, int parameter.
Definition aomcx.h:527
AOME_SET_CQ_LEVEL
@ AOME_SET_CQ_LEVEL
Codec control function to set constrained / constant quality level, unsigned int parameter.
Definition aomcx.h:292
AV1E_SET_QUANTIZER_ONE_PASS
@ AV1E_SET_QUANTIZER_ONE_PASS
Codec control to set quantizer for the next frame, int parameter.
Definition aomcx.h:1489
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:1386
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:1244
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:1051
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:1301
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:1570
AV1E_SET_MIN_CR
@ AV1E_SET_MIN_CR
Control to set minimum compression ratio, unsigned int parameter Take integer values....
Definition aomcx.h:1269
AV1E_SET_LOSSLESS
@ AV1E_SET_LOSSLESS
Codec control function to set lossless encoding mode, unsigned int parameter.
Definition aomcx.h:353
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:273
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:1626
aom_active_map::rows
unsigned int rows
Definition aomcx.h:1629
aom_active_map::cols
unsigned int cols
Definition aomcx.h:1630
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:1628
aom_ext_part_funcs
Callback function set for external partition model.
Definition aom_external_partition.h:410
aom_roi_map
aom region of interest map
Definition aomcx.h:1609
aom_roi_map::cols
unsigned int cols
Definition aomcx.h:1613
aom_roi_map::delta_lf
int delta_lf[8]
Definition aomcx.h:1615
aom_roi_map::static_threshold
unsigned int static_threshold[8]
Definition aomcx.h:1617
aom_roi_map::rows
unsigned int rows
Definition aomcx.h:1612
aom_roi_map::roi_map
unsigned char * roi_map
Definition aomcx.h:1611
aom_roi_map::delta_q
int delta_q[8]
Definition aomcx.h:1614
aom_scaling_mode
aom image scaling mode
Definition aomcx.h:1638
aom_scaling_mode::v_scaling_mode
AOM_SCALING_MODE v_scaling_mode
Definition aomcx.h:1640
aom_scaling_mode::h_scaling_mode
AOM_SCALING_MODE h_scaling_mode
Definition aomcx.h:1639
aom_svc_layer_id
Definition aomcx.h:1697
aom_svc_layer_id::temporal_layer_id
int temporal_layer_id
Definition aomcx.h:1699
aom_svc_layer_id::spatial_layer_id
int spatial_layer_id
Definition aomcx.h:1698
aom_svc_params
Definition aomcx.h:1708
aom_svc_params::max_quantizers
int max_quantizers[32]
Definition aomcx.h:1711
aom_svc_params::number_spatial_layers
int number_spatial_layers
Definition aomcx.h:1709
aom_svc_params::layer_target_bitrate
int layer_target_bitrate[32]
Definition aomcx.h:1716
aom_svc_params::framerate_factor
int framerate_factor[8]
Definition aomcx.h:1718
aom_svc_params::min_quantizers
int min_quantizers[32]
Definition aomcx.h:1712
aom_svc_params::scaling_factor_den
int scaling_factor_den[4]
Definition aomcx.h:1714
aom_svc_params::number_temporal_layers
int number_temporal_layers
Definition aomcx.h:1710
aom_svc_params::scaling_factor_num
int scaling_factor_num[4]
Definition aomcx.h:1713
aom_svc_ref_frame_comp_pred
Definition aomcx.h:1745
aom_svc_ref_frame_comp_pred::use_comp_pred
int use_comp_pred[3]
Definition aomcx.h:1748
aom_svc_ref_frame_config
Definition aomcx.h:1722
aom_svc_ref_frame_config::reference
int reference[7]
Definition aomcx.h:1738
aom_svc_ref_frame_config::refresh
int refresh[8]
Definition aomcx.h:1741
aom_svc_ref_frame_config::ref_idx
int ref_idx[7]
Definition aomcx.h:1740