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"
22
41#ifdef __cplusplus
42extern "C" {
43#endif
44
56
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
181
186
191
192 /* NOTE: enum 10 unused */
193
198
205
223
231
232 /* NOTE: enum 15 unused */
233
244
249
250 /* NOTE: enum 18 unused */
251
258
266
271
276
277 /* NOTE: enum 23 unused */
278
285
295
309
314
328
342
343 /* NOTE: enum 30 unused */
344
356
364
383
401
411
420
434
445
456
471
483
491
500
509
530
555
576
583
590
597
602
609
616
639
646
654
662
673
683
690
700
710
721
734
746
758
770
782
783 /* NOTE: enum 69 unused */
784
792
803
804 /* NOTE: enum 72 unused */
805
813
821
829
840
851
859
868
879
903
915
927
938
949
957
965
973
981
989
997
1005
1013
1021
1031
1041
1054
1062
1073
1081
1091
1099
1109
1112
1116
1120
1134
1142
1152
1163
1169
1176
1181
1184
1187
1190
1193
1196
1199
1202
1206
1209
1216
1223
1227
1237
1247
1257
1265
1272
1273 /* NOTE: enums 145-149 unused */
1274
1281
1286
1292
1297
1307
1318
1325
1330
1334
1335 /*\brief Control to set encoding the denoised frame from denoise-noise-level
1336 *
1337 * - 0 = disabled/encode the original frame
1338 * - 1 = enabled/encode the denoised frame (default)
1339 */
1340 AV1E_SET_ENABLE_DNL_DENOISING = 140,
1341
1353
1363
1368
1374
1382
1392
1397
1403
1412
1417
1424
1432
1440
1451
1460
1465
1476
1487
1488 // Any new encoder control IDs should be added above.
1489 // Maximum allowed encoder control ID is 229.
1490 // No encoder control ID should be added below.
1491};
1492
1498 AOME_NORMAL = 0,
1499 AOME_FOURFIVE = 1,
1500 AOME_THREEFIVE = 2,
1501 AOME_THREEFOUR = 3,
1502 AOME_ONEFOUR = 4,
1503 AOME_ONEEIGHT = 5,
1504 AOME_ONETWO = 6
1506
1514#define AOM_MAX_SEGMENTS 8
1515
1523typedef struct aom_roi_map {
1525 unsigned char *roi_map;
1526 unsigned int rows;
1527 unsigned int cols;
1533
1540typedef struct aom_active_map {
1542 unsigned char *active_map;
1543 unsigned int rows;
1544 unsigned int cols;
1546
1552typedef struct aom_scaling_mode {
1556
1558typedef enum {
1559 AOM_CONTENT_DEFAULT,
1560 AOM_CONTENT_SCREEN,
1561 AOM_CONTENT_FILM,
1562 AOM_CONTENT_INVALID
1564
1566typedef enum {
1567 AOM_TIMING_UNSPECIFIED,
1568 AOM_TIMING_EQUAL,
1569 AOM_TIMING_DEC_MODEL
1571
1577typedef enum {
1578 AOM_TUNE_PSNR = 0,
1579 AOM_TUNE_SSIM = 1,
1580 /* NOTE: enums 2 and 3 unused */
1581 AOM_TUNE_VMAF_WITH_PREPROCESSING = 4,
1582 AOM_TUNE_VMAF_WITHOUT_PREPROCESSING = 5,
1583 AOM_TUNE_VMAF_MAX_GAIN = 6,
1584 AOM_TUNE_VMAF_NEG_MAX_GAIN = 7,
1585 AOM_TUNE_BUTTERAUGLI = 8,
1587
1596typedef enum {
1597 // Use PSNR for in-block rate-distortion optimization.
1598 AOM_DIST_METRIC_PSNR,
1599 // Use quantization matrix-weighted PSNR for in-block rate-distortion
1600 // optimization. If --enable-qm=1 is not specified, this falls back to
1601 // behaving in the same way as AOM_DIST_METRIC_PSNR.
1602 AOM_DIST_METRIC_QM_PSNR,
1604
1605#define AOM_MAX_LAYERS 32
1606#define AOM_MAX_SS_LAYERS 4
1607#define AOM_MAX_TS_LAYERS 8
1610typedef struct aom_svc_layer_id {
1614
1616typedef struct aom_svc_params {
1628
1631 // 7 references: LAST_FRAME (0), LAST2_FRAME(1), LAST3_FRAME(2),
1632 // GOLDEN_FRAME(3), BWDREF_FRAME(4), ALTREF2_FRAME(5), ALTREF_FRAME(6).
1633 int reference[7];
1635 int ref_idx[7];
1636 int refresh[8];
1638
1641 // Use compound prediction for the ref_frame pairs GOLDEN_LAST (0),
1642 // LAST2_LAST (1), and ALTREF_LAST (2).
1645
1659#define AOM_CTRL_AOME_USE_REFERENCE
1660
1662#define AOM_CTRL_AOME_SET_ROI_MAP
1663
1665#define AOM_CTRL_AOME_SET_ACTIVEMAP
1666
1668#define AOM_CTRL_AOME_SET_SCALEMODE
1669
1671#define AOM_CTRL_AOME_SET_SPATIAL_LAYER_ID
1672
1674#define AOM_CTRL_AOME_SET_CPUUSED
1675
1677#define AOM_CTRL_AOME_SET_ENABLEAUTOALTREF
1678
1680#define AOM_CTRL_AOME_SET_SHARPNESS
1681
1683#define AOM_CTRL_AOME_SET_STATIC_THRESHOLD
1684
1686#define AOM_CTRL_AOME_GET_LAST_QUANTIZER
1687
1689#define AOM_CTRL_AOME_GET_LAST_QUANTIZER_64
1690
1692#define AOM_CTRL_AOME_SET_ARNR_MAXFRAMES
1693
1695#define AOM_CTRL_AOME_SET_ARNR_STRENGTH
1696
1697AOM_CTRL_USE_TYPE(AOME_SET_TUNING, int) /* aom_tune_metric */
1698#define AOM_CTRL_AOME_SET_TUNING
1699
1701#define AOM_CTRL_AOME_SET_CQ_LEVEL
1702
1704#define AOM_CTRL_AOME_SET_MAX_INTRA_BITRATE_PCT
1705
1707#define AOM_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1708// TODO(aomedia:3231): Deprecated. Remove it.
1709#define AOME_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1710
1711AOM_CTRL_USE_TYPE(AOME_SET_MAX_INTER_BITRATE_PCT, unsigned int)
1712#define AOM_CTRL_AV1E_SET_MAX_INTER_BITRATE_PCT
1713// TODO(aomedia:3231): Deprecated. Remove it.
1714#define AOM_CTRL_AOME_SET_MAX_INTER_BITRATE_PCT
1715
1717#define AOM_CTRL_AV1E_SET_GF_CBR_BOOST_PCT
1718
1720#define AOM_CTRL_AV1E_SET_LOSSLESS
1721
1723#define AOM_CTRL_AV1E_SET_ROW_MT
1724
1726#define AOM_CTRL_AV1E_SET_TILE_COLUMNS
1727
1729#define AOM_CTRL_AV1E_SET_TILE_ROWS
1730
1732#define AOM_CTRL_AV1E_SET_ENABLE_TPL_MODEL
1733
1735#define AOM_CTRL_AV1E_SET_ENABLE_KEYFRAME_FILTERING
1736
1738#define AOM_CTRL_AV1E_SET_FRAME_PARALLEL_DECODING
1739
1741#define AOM_CTRL_AV1E_SET_ERROR_RESILIENT_MODE
1742
1744#define AOM_CTRL_AV1E_SET_S_FRAME_MODE
1745
1747#define AOM_CTRL_AV1E_SET_AQ_MODE
1748
1750#define AOM_CTRL_AV1E_SET_FRAME_PERIODIC_BOOST
1751
1753#define AOM_CTRL_AV1E_SET_NOISE_SENSITIVITY
1754
1755AOM_CTRL_USE_TYPE(AV1E_SET_TUNE_CONTENT, int) /* aom_tune_content */
1756#define AOM_CTRL_AV1E_SET_TUNE_CONTENT
1757
1759#define AOM_CTRL_AV1E_SET_CDF_UPDATE_MODE
1760
1762#define AOM_CTRL_AV1E_SET_COLOR_PRIMARIES
1763
1765#define AOM_CTRL_AV1E_SET_TRANSFER_CHARACTERISTICS
1766
1768#define AOM_CTRL_AV1E_SET_MATRIX_COEFFICIENTS
1769
1771#define AOM_CTRL_AV1E_SET_CHROMA_SAMPLE_POSITION
1772
1774#define AOM_CTRL_AV1E_SET_MIN_GF_INTERVAL
1775
1777#define AOM_CTRL_AV1E_SET_MAX_GF_INTERVAL
1778
1780#define AOM_CTRL_AV1E_GET_ACTIVEMAP
1781
1783#define AOM_CTRL_AV1E_SET_COLOR_RANGE
1784
1786#define AOM_CTRL_AV1E_SET_RENDER_SIZE
1787
1789#define AOM_CTRL_AV1E_SET_TARGET_SEQ_LEVEL_IDX
1790
1792#define AOM_CTRL_AV1E_GET_SEQ_LEVEL_IDX
1793
1795#define AOM_CTRL_AV1E_SET_SUPERBLOCK_SIZE
1796
1798#define AOM_CTRL_AOME_SET_ENABLEAUTOBWDREF
1799
1801#define AOM_CTRL_AV1E_SET_ENABLE_CDEF
1802
1804#define AOM_CTRL_AV1E_SET_ENABLE_RESTORATION
1805
1807#define AOM_CTRL_AV1E_SET_FORCE_VIDEO_MODE
1808
1810#define AOM_CTRL_AV1E_SET_ENABLE_OBMC
1811
1813#define AOM_CTRL_AV1E_SET_DISABLE_TRELLIS_QUANT
1814
1816#define AOM_CTRL_AV1E_SET_ENABLE_QM
1817
1818// TODO(aomedia:3231): Remove these two lines.
1819AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIST_8X8, unsigned int)
1820#define AOM_CTRL_AV1E_SET_ENABLE_DIST_8X8
1821
1823#define AOM_CTRL_AV1E_SET_QM_MIN
1824
1826#define AOM_CTRL_AV1E_SET_QM_MAX
1827
1828AOM_CTRL_USE_TYPE(AV1E_SET_QM_Y, unsigned int)
1829#define AOM_CTRL_AV1E_SET_QM_Y
1830
1831AOM_CTRL_USE_TYPE(AV1E_SET_QM_U, unsigned int)
1832#define AOM_CTRL_AV1E_SET_QM_U
1833
1834AOM_CTRL_USE_TYPE(AV1E_SET_QM_V, unsigned int)
1835#define AOM_CTRL_AV1E_SET_QM_V
1836
1838#define AOM_CTRL_AV1E_SET_NUM_TG
1839
1840AOM_CTRL_USE_TYPE(AV1E_SET_MTU, unsigned int)
1841#define AOM_CTRL_AV1E_SET_MTU
1842
1844#define AOM_CTRL_AV1E_SET_ENABLE_RECT_PARTITIONS
1845
1847#define AOM_CTRL_AV1E_SET_ENABLE_AB_PARTITIONS
1848
1850#define AOM_CTRL_AV1E_SET_ENABLE_1TO4_PARTITIONS
1851
1853#define AOM_CTRL_AV1E_SET_MIN_PARTITION_SIZE
1854
1856#define AOM_CTRL_AV1E_SET_MAX_PARTITION_SIZE
1857
1859#define AOM_CTRL_AV1E_SET_ENABLE_INTRA_EDGE_FILTER
1860
1862#define AOM_CTRL_AV1E_SET_ENABLE_ORDER_HINT
1863
1865#define AOM_CTRL_AV1E_SET_ENABLE_TX64
1866
1868#define AOM_CTRL_AV1E_SET_ENABLE_FLIP_IDTX
1869
1871#define AOM_CTRL_AV1E_SET_ENABLE_RECT_TX
1872
1874#define AOM_CTRL_AV1E_SET_ENABLE_DIST_WTD_COMP
1875
1877#define AOM_CTRL_AV1E_SET_ENABLE_REF_FRAME_MVS
1878
1880#define AOM_CTRL_AV1E_SET_ALLOW_REF_FRAME_MVS
1881
1883#define AOM_CTRL_AV1E_SET_ENABLE_DUAL_FILTER
1884
1886#define AOM_CTRL_AV1E_SET_ENABLE_CHROMA_DELTAQ
1887
1889#define AOM_CTRL_AV1E_SET_ENABLE_MASKED_COMP
1890
1892#define AOM_CTRL_AV1E_SET_ENABLE_ONESIDED_COMP
1893
1895#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_COMP
1896
1898#define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTERINTRA
1899
1901#define AOM_CTRL_AV1E_SET_ENABLE_DIFF_WTD_COMP
1902
1904#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTER_WEDGE
1905
1907#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_WEDGE
1908
1910#define AOM_CTRL_AV1E_SET_ENABLE_GLOBAL_MOTION
1911
1913#define AOM_CTRL_AV1E_SET_ENABLE_WARPED_MOTION
1914
1916#define AOM_CTRL_AV1E_SET_ALLOW_WARPED_MOTION
1917
1919#define AOM_CTRL_AV1E_SET_ENABLE_FILTER_INTRA
1920
1922#define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTRA
1923
1925#define AOM_CTRL_AV1E_SET_ENABLE_PAETH_INTRA
1926
1928#define AOM_CTRL_AV1E_SET_ENABLE_CFL_INTRA
1929
1931#define AOM_CTRL_AV1E_SET_ENABLE_SUPERRES
1932
1934#define AOM_CTRL_AV1E_SET_ENABLE_OVERLAY
1935
1937#define AOM_CTRL_AV1E_SET_ENABLE_PALETTE
1938
1940#define AOM_CTRL_AV1E_SET_ENABLE_INTRABC
1941
1943#define AOM_CTRL_AV1E_SET_ENABLE_ANGLE_DELTA
1944
1946#define AOM_CTRL_AV1E_SET_DELTAQ_MODE
1947
1949#define AOM_CTRL_AV1E_SET_DELTALF_MODE
1950
1952#define AOM_CTRL_AV1E_SET_SINGLE_TILE_DECODING
1953
1955#define AOM_CTRL_AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
1956
1957AOM_CTRL_USE_TYPE(AV1E_SET_TIMING_INFO_TYPE, int) /* aom_timing_info_type_t */
1958#define AOM_CTRL_AV1E_SET_TIMING_INFO_TYPE
1959
1961#define AOM_CTRL_AV1E_SET_FILM_GRAIN_TEST_VECTOR
1962
1964#define AOM_CTRL_AV1E_SET_FILM_GRAIN_TABLE
1965
1967#define AOM_CTRL_AV1E_SET_DENOISE_NOISE_LEVEL
1968
1970#define AOM_CTRL_AV1E_SET_DENOISE_BLOCK_SIZE
1971
1973#define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_X
1974
1976#define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_Y
1977
1979#define AOM_CTRL_AV1E_SET_REDUCED_TX_TYPE_SET
1980
1982#define AOM_CTRL_AV1E_SET_INTRA_DCT_ONLY
1983
1985#define AOM_CTRL_AV1E_SET_INTER_DCT_ONLY
1986
1988#define AOM_CTRL_AV1E_SET_INTRA_DEFAULT_TX_ONLY
1989
1991#define AOM_CTRL_AV1E_SET_QUANT_B_ADAPT
1992
1994#define AOM_CTRL_AV1E_SET_GF_MAX_PYRAMID_HEIGHT
1995
1997#define AOM_CTRL_AV1E_SET_MAX_REFERENCE_FRAMES
1998
2000#define AOM_CTRL_AV1E_SET_REDUCED_REFERENCE_SET
2001
2003#define AOM_CTRL_AV1E_SET_COEFF_COST_UPD_FREQ
2004
2006#define AOM_CTRL_AV1E_SET_MODE_COST_UPD_FREQ
2007
2009#define AOM_CTRL_AV1E_SET_MV_COST_UPD_FREQ
2010
2012#define AOM_CTRL_AV1E_SET_TIER_MASK
2013
2015#define AOM_CTRL_AV1E_SET_MIN_CR
2016
2018#define AOM_CTRL_AV1E_SET_SVC_LAYER_ID
2019// TODO(aomedia:3231): Deprecated. Remove it.
2020#define AOME_CTRL_AV1E_SET_SVC_LAYER_ID
2021
2023#define AOM_CTRL_AV1E_SET_SVC_PARAMS
2024// TODO(aomedia:3231): Deprecated. Remove it.
2025#define AOME_CTRL_AV1E_SET_SVC_PARAMS
2026
2028#define AOM_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
2029// TODO(aomedia:3231): Deprecated. Remove it.
2030#define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
2031
2033#define AOM_CTRL_AV1E_SET_VMAF_MODEL_PATH
2034
2036#define AOM_CTRL_AV1E_ENABLE_EXT_TILE_DEBUG
2037
2039#define AOM_CTRL_AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST
2040
2042#define AOM_CTRL_AV1E_SET_GF_MIN_PYRAMID_HEIGHT
2043
2045#define AOM_CTRL_AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP
2046
2048#define AOM_CTRL_AV1E_GET_BASELINE_GF_INTERVAL
2049
2050AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DNL_DENOISING, int)
2051#define AOM_CTRL_AV1E_SET_ENABLE_DNL_DENOISING
2052
2054#define AOM_CTRL_AV1E_SET_ENABLE_DIAGONAL_INTRA
2055
2057#define AOM_CTRL_AV1E_SET_DV_COST_UPD_FREQ
2058
2060#define AOM_CTRL_AV1E_SET_PARTITION_INFO_PATH
2061
2063#define AOM_CTRL_AV1E_SET_EXTERNAL_PARTITION
2064
2066#define AOM_CTRL_AV1E_SET_ENABLE_DIRECTIONAL_INTRA
2067
2069#define AOM_CTRL_AV1E_SET_ENABLE_TX_SIZE_SEARCH
2070
2073#define AOM_CTRL_AV1E_SET_SVC_REF_FRAME_COMP_PRED
2074// TODO(aomedia:3231): Deprecated. Remove it.
2075#define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_COMP_PRED
2076
2078#define AOM_CTRL_AV1E_SET_DELTAQ_STRENGTH
2079
2081#define AOM_CTRL_AV1E_SET_LOOPFILTER_CONTROL
2082
2084#define AOM_CTRL_AOME_GET_LOOPFILTER_LEVEL
2085
2087#define AOM_CTRL_AV1E_SET_AUTO_INTRA_TOOLS_OFF
2088
2090#define AOM_CTRL_AV1E_SET_RTC_EXTERNAL_RC
2091
2092AOM_CTRL_USE_TYPE(AV1E_SET_FP_MT, unsigned int)
2093#define AOM_CTRL_AV1E_SET_FP_MT
2094
2096#define AOM_CTRL_AV1E_SET_FP_MT_UNIT_TEST
2097
2099#define AOM_CTRL_AV1E_GET_TARGET_SEQ_LEVEL_IDX
2100
2102#define AOM_CTRL_AV1E_GET_NUM_OPERATING_POINTS
2103
2105#define AOM_CTRL_AV1E_SET_SKIP_POSTPROC_FILTERING
2106
2108#define AOM_CTRL_AV1E_ENABLE_SB_QP_SWEEP
2109
2112#ifdef __cplusplus
2113} // extern "C"
2114#endif
2115
2116#endif // AOM_AOM_AOMCX_H_
Provides controls common to both the AOM encoder and decoder.
Describes the encoder algorithm interface to applications.
Provides function pointer definitions for the external partition.
aom_dist_metric
Distortion metric to use for RD optimization.
Definition: aomcx.h:1596
aom_codec_iface_t aom_codec_av1_cx_algo
A single instance of the AV1 encoder.
aom_scaling_mode_1d
aom 1-D scaling mode
Definition: aomcx.h:1497
#define AOM_MAX_LAYERS
Definition: aomcx.h:1605
struct aom_svc_params aom_svc_params_t
#define AOM_MAX_SEGMENTS
Max number of segments.
Definition: aomcx.h:1514
#define AOM_MAX_TS_LAYERS
Definition: aomcx.h:1607
aom_codec_iface_t * aom_codec_av1_cx(void)
The interface to the AV1 encoder.
aom_tune_content
Definition: aomcx.h:1558
struct aom_scaling_mode aom_scaling_mode_t
aom image scaling mode
enum aom_scaling_mode_1d AOM_SCALING_MODE
aom 1-D scaling mode
#define AOM_MAX_SS_LAYERS
Definition: aomcx.h:1606
aom_tune_metric
Model tuning parameters.
Definition: aomcx.h:1577
struct aom_roi_map aom_roi_map_t
aom region of interest map
struct aom_svc_layer_id aom_svc_layer_id_t
aom_timing_info_type_t
Definition: aomcx.h:1566
struct aom_active_map aom_active_map_t
aom active region map
struct aom_svc_ref_frame_comp_pred aom_svc_ref_frame_comp_pred_t
aome_enc_control_id
AVx encoder control functions.
Definition: aomcx.h:176
struct aom_svc_ref_frame_config aom_svc_ref_frame_config_t
@ AV1E_SET_MATRIX_COEFFICIENTS
Codec control function to set transfer function info, int parameter.
Definition: aomcx.h:575
@ AV1E_SET_ENABLE_INTERINTER_WEDGE
Codec control function to turn on / off interinter wedge compound, int parameter.
Definition: aomcx.h:1012
@ AV1E_SET_ENABLE_DIAGONAL_INTRA
Codec control function to turn on / off D45 to D203 intra mode usage, int parameter.
Definition: aomcx.h:1352
@ AV1E_SET_MAX_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames, unsigned int parameter.
Definition: aomcx.h:596
@ AV1E_SET_ROW_MT
Codec control function to enable the row based multi-threading of the encoder, unsigned int parameter...
Definition: aomcx.h:363
@ AV1E_SET_ENABLE_SMOOTH_INTRA
Codec control function to turn on / off smooth intra modes usage, int parameter.
Definition: aomcx.h:1072
@ AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
Codec control function to enable the extreme motion vector unit test, unsigned int parameter.
Definition: aomcx.h:1162
@ AOME_SET_SHARPNESS
Codec control function to set the sharpness parameter, unsigned int parameter.
Definition: aomcx.h:243
@ AV1E_GET_TARGET_SEQ_LEVEL_IDX
Codec control function to get the target sequence level index for each operating point....
Definition: aomcx.h:1459
@ AV1E_SET_ENABLE_TPL_MODEL
Codec control function to enable RDO modulated by frame temporal dependency, unsigned int parameter.
Definition: aomcx.h:410
@ AOME_GET_LAST_QUANTIZER_64
Codec control function to get last quantizer chosen by the encoder, int* parameter.
Definition: aomcx.h:265
@ AV1E_SET_AQ_MODE
Codec control function to set adaptive quantization mode, unsigned int parameter.
Definition: aomcx.h:470
@ AV1E_SET_REDUCED_REFERENCE_SET
Control to use reduced set of single and compound references, int parameter.
Definition: aomcx.h:1226
@ AV1E_GET_NUM_OPERATING_POINTS
Codec control function to get the number of operating points. int* parameter.
Definition: aomcx.h:1464
@ AV1E_SET_SVC_LAYER_ID
Codec control function to set the layer id, aom_svc_layer_id_t* parameter. Layer id for spatial or te...
Definition: aomcx.h:1280
@ 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
Codec control function to set reference frame config: the ref_idx and the refresh flags for each buff...
Definition: aomcx.h:1291
@ AV1E_SET_GF_MIN_PYRAMID_HEIGHT
Control to select minimum height for the GF group pyramid structure, unsigned int parameter.
Definition: aomcx.h:1324
@ AV1E_SET_ENABLE_PAETH_INTRA
Codec control function to turn on / off Paeth intra mode usage, int parameter.
Definition: aomcx.h:1080
@ AV1E_SET_TUNE_CONTENT
Codec control function to set content type, aom_tune_content parameter.
Definition: aomcx.h:499
@ 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
Codec control function to set CDF update mode, unsigned int parameter.
Definition: aomcx.h:508
@ AV1E_SET_CHROMA_SUBSAMPLING_X
Sets the chroma subsampling x value, unsigned int parameter.
Definition: aomcx.h:1189
@ AV1E_SET_COLOR_RANGE
Codec control function to set color range bit, int parameter.
Definition: aomcx.h:608
@ AV1E_SET_ENABLE_RESTORATION
Codec control function to encode with Loop Restoration Filter, unsigned int parameter.
Definition: aomcx.h:682
@ AV1E_SET_ENABLE_ANGLE_DELTA
Codec control function to turn on/off intra angle delta, int parameter.
Definition: aomcx.h:1119
@ AV1E_SET_MIN_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames, unsigned int parameter.
Definition: aomcx.h:589
@ AOME_SET_ARNR_MAXFRAMES
Codec control function to set the max no of frames to create arf, unsigned int parameter.
Definition: aomcx.h:270
@ AV1E_SET_MV_COST_UPD_FREQ
Control to set frequency of the cost updates for motion vectors, unsigned int parameter.
Definition: aomcx.h:1256
@ AV1E_SET_INTRA_DEFAULT_TX_ONLY
Control to use default tx type only for intra modes, int parameter.
Definition: aomcx.h:1205
@ AV1E_SET_TRANSFER_CHARACTERISTICS
Codec control function to set transfer function info, int parameter.
Definition: aomcx.h:554
@ AV1E_SET_MTU
Codec control function to set an MTU size for a tile group, unsigned int parameter.
Definition: aomcx.h:802
@ AV1E_SET_DISABLE_TRELLIS_QUANT
Codec control function to encode without trellis quantization, unsigned int parameter.
Definition: aomcx.h:709
@ 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:1396
@ 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:1450
@ AV1E_SET_ENABLE_INTRABC
Codec control function to turn on/off intra block copy mode, int parameter.
Definition: aomcx.h:1115
@ AV1E_SET_S_FRAME_MODE
Codec control function to enable s_frame_mode, int parameter.
Definition: aomcx.h:455
@ AV1E_SET_ENABLE_AB_PARTITIONS
Codec control function to enable/disable AB partitions, int parameter.
Definition: aomcx.h:820
@ AV1E_SET_ENABLE_INTERINTRA_COMP
Codec control function to turn on / off interintra compound for a sequence, int parameter.
Definition: aomcx.h:988
@ 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:1175
@ AV1E_SET_ENABLE_CHROMA_DELTAQ
Codec control function to turn on / off delta quantization in chroma planes for a sequence,...
Definition: aomcx.h:964
@ AV1E_SET_ENABLE_DUAL_FILTER
Codec control function to turn on / off dual interpolation filter for a sequence, int parameter.
Definition: aomcx.h:956
@ AV1E_SET_QM_V
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:781
@ AV1E_SET_FRAME_PARALLEL_DECODING
Codec control function to enable frame parallel decoding feature, unsigned int parameter.
Definition: aomcx.h:433
@ AV1E_SET_QM_Y
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:757
@ AV1E_SET_MIN_PARTITION_SIZE
Codec control function to set min partition size, int parameter.
Definition: aomcx.h:839
@ AV1E_SET_ENABLE_WARPED_MOTION
Codec control function to turn on / off warped motion usage at sequence level, int parameter.
Definition: aomcx.h:1040
@ AV1E_SET_RTC_EXTERNAL_RC
Codec control function to set flag for rate control used by external encoders.
Definition: aomcx.h:1431
@ AV1E_SET_FORCE_VIDEO_MODE
Codec control function to force video mode, unsigned int parameter.
Definition: aomcx.h:689
@ AV1E_SET_CHROMA_SUBSAMPLING_Y
Sets the chroma subsampling y value, unsigned int parameter.
Definition: aomcx.h:1192
@ AV1E_SET_ENABLE_INTRA_EDGE_FILTER
Codec control function to turn on / off intra edge filter at sequence level, int parameter.
Definition: aomcx.h:858
@ AV1E_SET_COEFF_COST_UPD_FREQ
Control to set frequency of the cost updates for coefficients, unsigned int parameter.
Definition: aomcx.h:1236
@ AV1E_SET_ENABLE_DIRECTIONAL_INTRA
Codec control function to turn on / off directional intra mode usage, int parameter.
Definition: aomcx.h:1381
@ AV1E_SET_MAX_INTER_BITRATE_PCT
Codec control function to set max data rate for inter frames, unsigned int parameter.
Definition: aomcx.h:327
@ AV1E_SET_DENOISE_NOISE_LEVEL
Sets the noise level, int parameter.
Definition: aomcx.h:1183
@ AV1E_SET_INTRA_DCT_ONLY
Control to use dct only for intra modes, int parameter.
Definition: aomcx.h:1198
@ AV1E_SET_TILE_ROWS
Codec control function to set number of tile rows, unsigned int parameter.
Definition: aomcx.h:400
@ AV1E_SET_QM_U
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:769
@ AV1E_SET_ENABLE_REF_FRAME_MVS
Codec control function to turn on / off ref frame mvs (mfmv) usage at sequence level,...
Definition: aomcx.h:937
@ 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:1486
@ AV1E_SET_FP_MT
Codec control function to enable frame parallel multi-threading of the encoder, unsigned int paramete...
Definition: aomcx.h:1439
@ 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:972
@ AV1E_GET_ACTIVEMAP
Codec control function to get an active map back from the encoder, aom_active_map_t* parameter.
Definition: aomcx.h:601
@ 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:1329
@ AV1E_SET_GF_MAX_PYRAMID_HEIGHT
Control to select maximum height for the GF group pyramid structure, unsigned int parameter.
Definition: aomcx.h:1215
@ AV1E_SET_ENABLE_CDEF
Codec control function to encode with CDEF, unsigned int parameter.
Definition: aomcx.h:672
@ AV1E_SET_ENABLE_FLIP_IDTX
Codec control function to turn on / off flip and identity transforms, int parameter.
Definition: aomcx.h:902
@ 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
Codec control function to get sequence level index for each operating point. int* parameter....
Definition: aomcx.h:645
@ AOME_GET_LOOPFILTER_LEVEL
Codec control function to get the loopfilter chosen by the encoder, int* parameter.
Definition: aomcx.h:1416
@ AV1E_SET_FRAME_PERIODIC_BOOST
Codec control function to enable/disable periodic Q boost, unsigned int parameter.
Definition: aomcx.h:482
@ AV1E_SET_DV_COST_UPD_FREQ
Control to set frequency of the cost updates for intrabc motion vectors, unsigned int parameter.
Definition: aomcx.h:1362
@ AV1E_SET_AUTO_INTRA_TOOLS_OFF
Codec control to automatically turn off several intra coding tools, unsigned int parameter.
Definition: aomcx.h:1423
@ AV1E_SET_RENDER_SIZE
Codec control function to set intended rendering image size, int32_t[2] parameter.
Definition: aomcx.h:615
@ AV1E_SET_ALLOW_REF_FRAME_MVS
Codec control function to set temporal mv prediction enabling/disabling at frame level,...
Definition: aomcx.h:948
@ AV1E_SET_ENABLE_RECT_TX
Codec control function to turn on / off rectangular transforms, int parameter.
Definition: aomcx.h:914
@ 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:926
@ 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:1168
@ AV1E_SET_ENABLE_SUPERRES
Codec control function to turn on / off frame superresolution, int parameter.
Definition: aomcx.h:1098
@ AV1E_SET_SUPERBLOCK_SIZE
Codec control function to set intended superblock size, unsigned int parameter.
Definition: aomcx.h:653
@ 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:1264
@ AV1E_SET_ENABLE_INTERINTRA_WEDGE
Codec control function to turn on / off interintra wedge compound, int parameter.
Definition: aomcx.h:1020
@ AV1E_SET_NOISE_SENSITIVITY
Codec control function to set noise sensitivity, unsigned int parameter.
Definition: aomcx.h:490
@ AV1E_SET_SVC_PARAMS
Codec control function to set SVC parameters, aom_svc_params_t* parameter.
Definition: aomcx.h:1285
@ AV1E_SET_ENABLE_DIFF_WTD_COMP
Codec control function to turn on / off difference weighted compound, int parameter.
Definition: aomcx.h:1004
@ AV1E_SET_QUANT_B_ADAPT
Control to use adaptive quantize_b, int parameter.
Definition: aomcx.h:1208
@ AV1E_SET_ENABLE_FILTER_INTRA
Codec control function to turn on / off filter intra usage at sequence level, int parameter.
Definition: aomcx.h:1061
@ AV1E_SET_ENABLE_PALETTE
Codec control function to turn on/off palette mode, int parameter.
Definition: aomcx.h:1111
@ AV1E_SET_ENABLE_CFL_INTRA
Codec control function to turn on / off CFL uv intra mode usage, int parameter.
Definition: aomcx.h:1090
@ AV1E_SET_ENABLE_KEYFRAME_FILTERING
Codec control function to enable temporal filtering on key frame, unsigned int parameter.
Definition: aomcx.h:419
@ AV1E_SET_NUM_TG
Codec control function to set a maximum number of tile groups, unsigned int parameter.
Definition: aomcx.h:791
@ AV1E_GET_BASELINE_GF_INTERVAL
Control to get baseline gf interval.
Definition: aomcx.h:1333
@ AOME_SET_MAX_INTRA_BITRATE_PCT
Codec control function to set max data rate for intra frames, unsigned int parameter.
Definition: aomcx.h:308
@ AV1E_SET_ERROR_RESILIENT_MODE
Codec control function to enable error_resilient_mode, int parameter.
Definition: aomcx.h:444
@ AV1E_SET_ENABLE_SMOOTH_INTERINTRA
Codec control function to turn on / off smooth inter-intra mode for a sequence, int parameter.
Definition: aomcx.h:996
@ AOME_SET_STATIC_THRESHOLD
Codec control function to set the threshold for MBs treated static, unsigned int parameter.
Definition: aomcx.h:248
@ AV1E_SET_ENABLE_OBMC
Codec control function to predict with OBMC mode, unsigned int parameter.
Definition: aomcx.h:699
@ AV1E_SET_PARTITION_INFO_PATH
Codec control to set the path for partition stats read and write. const char * parameter.
Definition: aomcx.h:1367
@ AOME_SET_SPATIAL_LAYER_ID
Codec control function to set encoder spatial layer id, int parameter. Spatial layer id must be withi...
Definition: aomcx.h:204
@ AV1E_SET_MAX_PARTITION_SIZE
Codec control function to set max partition size, int parameter.
Definition: aomcx.h:850
@ AV1E_SET_ENABLE_1TO4_PARTITIONS
Codec control function to enable/disable 1:4 and 4:1 partitions, int parameter.
Definition: aomcx.h:828
@ AV1E_SET_DELTALF_MODE
Codec control function to turn on/off loopfilter modulation when delta q modulation is enabled,...
Definition: aomcx.h:1141
@ AV1E_SET_ENABLE_TX64
Codec control function to turn on / off 64-length transforms, int parameter.
Definition: aomcx.h:878
@ AOME_SET_TUNING
Codec control function to set visual tuning, aom_tune_metric (int) parameter.
Definition: aomcx.h:284
@ 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:638
@ 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:582
@ AV1E_SET_REDUCED_TX_TYPE_SET
Control to use a reduced tx type set, int parameter.
Definition: aomcx.h:1195
@ AV1E_SET_DELTAQ_STRENGTH
Set –deltaq-mode strength.
Definition: aomcx.h:1402
@ AOME_SET_ENABLEAUTOBWDREF
Codec control function to enable automatic set and use of bwd-pred frames, unsigned int parameter.
Definition: aomcx.h:661
@ AV1E_SET_INTER_DCT_ONLY
Control to use dct only for inter modes, int parameter.
Definition: aomcx.h:1201
@ AV1E_SET_LOOPFILTER_CONTROL
Codec control to control loop filter.
Definition: aomcx.h:1411
@ AOME_SET_ENABLEAUTOALTREF
Codec control function to enable automatic set and use alf frames, unsigned int parameter.
Definition: aomcx.h:230
@ AOME_SET_SCALEMODE
Codec control function to set encoder scaling mode for the next frame to be coded,...
Definition: aomcx.h:197
@ AOME_GET_LAST_QUANTIZER
Codec control function to get last quantizer chosen by the encoder, int* parameter.
Definition: aomcx.h:257
@ AV1E_SET_TILE_COLUMNS
Codec control function to set number of tile columns. unsigned int parameter.
Definition: aomcx.h:382
@ 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:1373
@ 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:1317
@ AV1E_SET_ENABLE_ORDER_HINT
Codec control function to turn on / off frame order hint (int parameter). Affects: joint compound mod...
Definition: aomcx.h:867
@ AV1E_SET_DELTAQ_MODE
Codec control function to set the delta q mode, unsigned int parameter.
Definition: aomcx.h:1133
@ AV1E_SET_ENABLE_GLOBAL_MOTION
Codec control function to turn on / off global motion usage for a sequence, int parameter.
Definition: aomcx.h:1030
@ AV1E_SET_FILM_GRAIN_TABLE
Codec control function to set the path to the film grain parameters, const char* parameter.
Definition: aomcx.h:1180
@ AV1E_SET_QM_MAX
Codec control function to set the max quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:745
@ AV1E_SET_MAX_REFERENCE_FRAMES
Control to select maximum reference frames allowed per frame, int parameter.
Definition: aomcx.h:1222
@ AOME_SET_CPUUSED
Codec control function to set encoder internal speed settings, int parameter.
Definition: aomcx.h:222
@ AV1E_SET_GF_CBR_BOOST_PCT
Boost percentage for Golden Frame in CBR mode, unsigned int parameter.
Definition: aomcx.h:341
@ AV1E_SET_ENABLE_ONESIDED_COMP
Codec control function to turn on / off one sided compound usage for a sequence, int parameter.
Definition: aomcx.h:980
@ AV1E_SET_DENOISE_BLOCK_SIZE
Sets the denoisers block size, unsigned int parameter.
Definition: aomcx.h:1186
@ 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:1296
@ AV1E_SET_QM_MIN
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:733
@ AV1E_SET_ENABLE_QM
Codec control function to encode with quantisation matrices, unsigned int parameter.
Definition: aomcx.h:720
@ AV1E_SET_ENABLE_OVERLAY
Codec control function to turn on / off overlay frames for filtered ALTREF frames,...
Definition: aomcx.h:1108
@ AV1E_SET_SKIP_POSTPROC_FILTERING
Codec control function to skip the application of post-processing filters on reconstructed frame,...
Definition: aomcx.h:1475
@ AOME_SET_NUMBER_SPATIAL_LAYERS
Codec control function to set number of spatial layers, int parameter.
Definition: aomcx.h:313
@ AV1E_SET_SINGLE_TILE_DECODING
Codec control function to set the single tile decoding mode, unsigned int parameter.
Definition: aomcx.h:1151
@ AV1E_SET_ENABLE_RECT_PARTITIONS
Codec control function to enable/disable rectangular partitions, int parameter.
Definition: aomcx.h:812
@ AV1E_SET_COLOR_PRIMARIES
Codec control function to set color space info, int parameter.
Definition: aomcx.h:529
@ AOME_SET_CQ_LEVEL
Codec control function to set constrained / constant quality level, unsigned int parameter.
Definition: aomcx.h:294
@ 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:1391
@ AV1E_SET_MODE_COST_UPD_FREQ
Control to set frequency of the cost updates for mode, unsigned int parameter.
Definition: aomcx.h:1246
@ AV1E_SET_ALLOW_WARPED_MOTION
Codec control function to turn on / off warped motion usage at frame level, int parameter.
Definition: aomcx.h:1053
@ AV1E_ENABLE_EXT_TILE_DEBUG
Codec control function to enable EXT_TILE_DEBUG in AV1 encoder, unsigned int parameter.
Definition: aomcx.h:1306
@ AV1E_SET_MIN_CR
Control to set minimum compression ratio, unsigned int parameter Take integer values....
Definition: aomcx.h:1271
@ AV1E_SET_LOSSLESS
Codec control function to set lossless encoding mode, unsigned int parameter.
Definition: aomcx.h:355
@ AOME_SET_ARNR_STRENGTH
Codec control function to set the filter strength for the arf, unsigned int parameter.
Definition: aomcx.h:275
#define AOM_CTRL_USE_TYPE(id, typ)
Creates type checking mechanisms for aom_codec_control.
Definition: aom_codec.h:531
const struct aom_codec_iface aom_codec_iface_t
Codec interface structure.
Definition: aom_codec.h:254
aom active region map
Definition: aomcx.h:1540
unsigned int rows
Definition: aomcx.h:1543
unsigned int cols
Definition: aomcx.h:1544
unsigned char * active_map
specify an on (1) or off (0) each 16x16 region within a frame
Definition: aomcx.h:1542
Callback function set for external partition model.
Definition: aom_external_partition.h:410
aom region of interest map
Definition: aomcx.h:1523
unsigned int cols
Definition: aomcx.h:1527
int delta_lf[8]
Definition: aomcx.h:1529
unsigned int static_threshold[8]
Definition: aomcx.h:1531
unsigned int rows
Definition: aomcx.h:1526
unsigned char * roi_map
Definition: aomcx.h:1525
int delta_q[8]
Definition: aomcx.h:1528
aom image scaling mode
Definition: aomcx.h:1552
AOM_SCALING_MODE v_scaling_mode
Definition: aomcx.h:1554
AOM_SCALING_MODE h_scaling_mode
Definition: aomcx.h:1553
Definition: aomcx.h:1610
int temporal_layer_id
Definition: aomcx.h:1612
int spatial_layer_id
Definition: aomcx.h:1611
Definition: aomcx.h:1616
int max_quantizers[32]
Definition: aomcx.h:1619
int number_spatial_layers
Definition: aomcx.h:1617
int layer_target_bitrate[32]
Definition: aomcx.h:1624
int framerate_factor[8]
Definition: aomcx.h:1626
int min_quantizers[32]
Definition: aomcx.h:1620
int scaling_factor_den[4]
Definition: aomcx.h:1622
int number_temporal_layers
Definition: aomcx.h:1618
int scaling_factor_num[4]
Definition: aomcx.h:1621
Definition: aomcx.h:1640
int use_comp_pred[3]
Definition: aomcx.h:1643
Definition: aomcx.h:1630
int reference[7]
Definition: aomcx.h:1633
int refresh[8]
Definition: aomcx.h:1636
int ref_idx[7]
Definition: aomcx.h:1635