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
250
255
256 /* NOTE: enum 18 unused */
257
264
272
277
282
283 /* NOTE: enum 23 unused */
284
291
301
315
320
334
348
349 /* NOTE: enum 30 unused */
350
362
370
389
407
417
426
440
451
462
477
489
497
506
515
536
561
582
589
596
603
608
615
622
645
652
660
668
680
690
697
707
717
728
741
753
765
777
789
790 /* NOTE: enum 69 unused */
791
799
810
811 /* NOTE: enum 72 unused */
812
820
828
836
847
858
866
875
886
910
922
934
945
956
964
972
980
988
996
1004
1012
1020
1028
1038
1048
1061
1069
1080
1088
1098
1106
1116
1119
1123
1127
1143
1151
1161
1172
1178
1185
1190
1193
1196
1199
1202
1205
1208
1211
1215
1218
1225
1232
1236
1246
1256
1266
1274
1281
1282 /* NOTE: enums 145-149 unused */
1283
1290
1295
1300
1305
1315
1326
1333
1338
1342
1343 /*\brief Control to set encoding the denoised frame from denoise-noise-level
1344 *
1345 * - 0 = disabled/encode the original frame
1346 * - 1 = enabled/encode the denoised frame (default)
1347 */
1348 AV1E_SET_ENABLE_DNL_DENOISING = 140,
1349
1361
1371
1376
1382
1390
1400
1405
1411
1420
1425
1432
1440
1448
1459
1468
1473
1484
1495
1503
1515
1527
1533
1541
1548
1554
1562
1569
1578
1584
1585 // Any new encoder control IDs should be added above.
1586 // Maximum allowed encoder control ID is 229.
1587 // No encoder control ID should be added below.
1588};
1589
1595 AOME_NORMAL = 0,
1596 AOME_FOURFIVE = 1,
1597 AOME_THREEFIVE = 2,
1598 AOME_THREEFOUR = 3,
1599 AOME_ONEFOUR = 4,
1600 AOME_ONEEIGHT = 5,
1601 AOME_ONETWO = 6,
1602 AOME_TWOTHREE = 7,
1603 AOME_ONETHREE = 8
1605
1613#define AOM_MAX_SEGMENTS 8
1614
1632
1639typedef struct aom_active_map {
1641 unsigned char *active_map;
1642 unsigned int rows;
1643 unsigned int cols;
1645
1655
1657typedef enum {
1658 AOM_CONTENT_DEFAULT,
1659 AOM_CONTENT_SCREEN,
1660 AOM_CONTENT_FILM,
1661 AOM_CONTENT_INVALID
1663
1665typedef enum {
1666 AOM_TIMING_UNSPECIFIED,
1667 AOM_TIMING_EQUAL,
1668 AOM_TIMING_DEC_MODEL
1670
1688typedef enum {
1689 AOM_TUNE_PSNR = 0,
1690 AOM_TUNE_SSIM = 1,
1691 /* NOTE: enums 2 and 3 unused */
1692 AOM_TUNE_VMAF_WITH_PREPROCESSING = 4,
1693 AOM_TUNE_VMAF_WITHOUT_PREPROCESSING = 5,
1694 AOM_TUNE_VMAF_MAX_GAIN = 6,
1695 AOM_TUNE_VMAF_NEG_MAX_GAIN = 7,
1696 AOM_TUNE_BUTTERAUGLI = 8,
1697 AOM_TUNE_VMAF_SALIENCY_MAP = 9,
1699#define AOM_HAVE_TUNE_IQ 1
1700 /* Image quality (or intra quality). Increases image quality and consistency,
1701 * guided by the SSIMULACRA 2 metric and subjective quality checks. Shares
1702 * the rdmult code with AOM_TUNE_SSIM.
1703 */
1704 AOM_TUNE_IQ = 10,
1706
1715typedef enum {
1716 // Use PSNR for in-block rate-distortion optimization.
1717 AOM_DIST_METRIC_PSNR,
1718 // Use quantization matrix-weighted PSNR for in-block rate-distortion
1719 // optimization. If --enable-qm=1 is not specified, this falls back to
1720 // behaving in the same way as AOM_DIST_METRIC_PSNR.
1721 AOM_DIST_METRIC_QM_PSNR,
1723
1724#define AOM_MAX_LAYERS 32
1725#define AOM_MAX_SS_LAYERS 4
1726#define AOM_MAX_TS_LAYERS 8
1733
1752
1755 // Three arrays need to be set: reference[], ref_id[], refresh[].
1756 // reference[i]: is a boolean flag to indicate which of the 7 possible
1757 // references are used for prediction. Values are 0 (not used as reference)
1758 // or 1 (use as reference). The index 0 - 6 refers to the references:
1759 // last(0), last2(1), last3(2), golden(3), bwdref(4), altref2(5), altref(6).
1760 // ref_idx[i]: maps a reference to one of the 8 buffers slots, values are
1761 // 0 - 7. The ref_idx for a unused reference (reference[i] = 1, and not used
1762 // for refresh, see below) can be set to the ref_idx of the first reference
1763 // used (usually LAST).
1764 // refresh[i] is a boolean flag to indicate if a buffer is updated/refreshed
1765 // with the current encoded frame. Values are 0 (no refresh) or 1 (refresh).
1766 // The refresh is done internally by looking at the ref_idx[j], for j = 0 - 6,
1767 // so to refresh a buffer slot (i) a reference must be mapped to that slot
1768 // (i = ref_idx[j]).
1769 // Examples for usage (for RTC encoding) are in: examples/svc_encoder_rtc.c.
1770 int reference[7];
1772 int ref_idx[7];
1773 int refresh[8];
1775
1778 // Use compound prediction for the ref_frame pairs GOLDEN_LAST (0),
1779 // LAST2_LAST (1), and ALTREF_LAST (2).
1782
1788
1802#define AOM_CTRL_AOME_USE_REFERENCE
1803
1805#define AOM_CTRL_AOME_SET_ROI_MAP
1806
1808#define AOM_CTRL_AOME_SET_ACTIVEMAP
1809
1811#define AOM_CTRL_AOME_SET_SCALEMODE
1812
1814#define AOM_CTRL_AOME_SET_SPATIAL_LAYER_ID
1815
1817#define AOM_CTRL_AOME_SET_CPUUSED
1818
1820#define AOM_CTRL_AOME_SET_ENABLEAUTOALTREF
1821
1823#define AOM_CTRL_AOME_SET_SHARPNESS
1824
1826#define AOM_CTRL_AOME_SET_STATIC_THRESHOLD
1827
1829#define AOM_CTRL_AOME_GET_LAST_QUANTIZER
1830
1832#define AOM_CTRL_AOME_GET_LAST_QUANTIZER_64
1833
1835#define AOM_CTRL_AOME_SET_ARNR_MAXFRAMES
1836
1838#define AOM_CTRL_AOME_SET_ARNR_STRENGTH
1839
1840AOM_CTRL_USE_TYPE(AOME_SET_TUNING, int) /* aom_tune_metric */
1841#define AOM_CTRL_AOME_SET_TUNING
1842
1844#define AOM_CTRL_AOME_SET_CQ_LEVEL
1845
1847#define AOM_CTRL_AOME_SET_MAX_INTRA_BITRATE_PCT
1848
1850#define AOM_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1851// TODO(aomedia:3231): Deprecated. Remove it.
1852#define AOME_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1853
1854AOM_CTRL_USE_TYPE(AOME_SET_MAX_INTER_BITRATE_PCT, unsigned int)
1855#define AOM_CTRL_AV1E_SET_MAX_INTER_BITRATE_PCT
1856// TODO(aomedia:3231): Deprecated. Remove it.
1857#define AOM_CTRL_AOME_SET_MAX_INTER_BITRATE_PCT
1858
1860#define AOM_CTRL_AV1E_SET_GF_CBR_BOOST_PCT
1861
1863#define AOM_CTRL_AV1E_SET_LOSSLESS
1864
1866#define AOM_CTRL_AV1E_SET_ROW_MT
1867
1869#define AOM_CTRL_AV1E_SET_TILE_COLUMNS
1870
1872#define AOM_CTRL_AV1E_SET_TILE_ROWS
1873
1875#define AOM_CTRL_AV1E_SET_ENABLE_TPL_MODEL
1876
1878#define AOM_CTRL_AV1E_SET_ENABLE_KEYFRAME_FILTERING
1879
1881#define AOM_CTRL_AV1E_SET_FRAME_PARALLEL_DECODING
1882
1884#define AOM_CTRL_AV1E_SET_ERROR_RESILIENT_MODE
1885
1887#define AOM_CTRL_AV1E_SET_S_FRAME_MODE
1888
1890#define AOM_CTRL_AV1E_SET_AQ_MODE
1891
1893#define AOM_CTRL_AV1E_SET_FRAME_PERIODIC_BOOST
1894
1896#define AOM_CTRL_AV1E_SET_NOISE_SENSITIVITY
1897
1898AOM_CTRL_USE_TYPE(AV1E_SET_TUNE_CONTENT, int) /* aom_tune_content */
1899#define AOM_CTRL_AV1E_SET_TUNE_CONTENT
1900
1902#define AOM_CTRL_AV1E_SET_CDF_UPDATE_MODE
1903
1905#define AOM_CTRL_AV1E_SET_COLOR_PRIMARIES
1906
1908#define AOM_CTRL_AV1E_SET_TRANSFER_CHARACTERISTICS
1909
1911#define AOM_CTRL_AV1E_SET_MATRIX_COEFFICIENTS
1912
1914#define AOM_CTRL_AV1E_SET_CHROMA_SAMPLE_POSITION
1915
1917#define AOM_CTRL_AV1E_SET_MIN_GF_INTERVAL
1918
1920#define AOM_CTRL_AV1E_SET_MAX_GF_INTERVAL
1921
1923#define AOM_CTRL_AV1E_GET_ACTIVEMAP
1924
1926#define AOM_CTRL_AV1E_SET_COLOR_RANGE
1927
1929#define AOM_CTRL_AV1E_SET_RENDER_SIZE
1930
1932#define AOM_CTRL_AV1E_SET_TARGET_SEQ_LEVEL_IDX
1933
1935#define AOM_CTRL_AV1E_GET_SEQ_LEVEL_IDX
1936
1938#define AOM_CTRL_AV1E_SET_SUPERBLOCK_SIZE
1939
1941#define AOM_CTRL_AOME_SET_ENABLEAUTOBWDREF
1942
1944#define AOM_CTRL_AV1E_SET_ENABLE_CDEF
1945
1947#define AOM_CTRL_AV1E_SET_ENABLE_RESTORATION
1948
1950#define AOM_CTRL_AV1E_SET_FORCE_VIDEO_MODE
1951
1953#define AOM_CTRL_AV1E_SET_ENABLE_OBMC
1954
1956#define AOM_CTRL_AV1E_SET_DISABLE_TRELLIS_QUANT
1957
1959#define AOM_CTRL_AV1E_SET_ENABLE_QM
1960
1961// TODO(aomedia:3231): Remove these two lines.
1962AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIST_8X8, unsigned int)
1963#define AOM_CTRL_AV1E_SET_ENABLE_DIST_8X8
1964
1966#define AOM_CTRL_AV1E_SET_QM_MIN
1967
1969#define AOM_CTRL_AV1E_SET_QM_MAX
1970
1971AOM_CTRL_USE_TYPE(AV1E_SET_QM_Y, unsigned int)
1972#define AOM_CTRL_AV1E_SET_QM_Y
1973
1974AOM_CTRL_USE_TYPE(AV1E_SET_QM_U, unsigned int)
1975#define AOM_CTRL_AV1E_SET_QM_U
1976
1977AOM_CTRL_USE_TYPE(AV1E_SET_QM_V, unsigned int)
1978#define AOM_CTRL_AV1E_SET_QM_V
1979
1981#define AOM_CTRL_AV1E_SET_NUM_TG
1982
1983AOM_CTRL_USE_TYPE(AV1E_SET_MTU, unsigned int)
1984#define AOM_CTRL_AV1E_SET_MTU
1985
1987#define AOM_CTRL_AV1E_SET_ENABLE_RECT_PARTITIONS
1988
1990#define AOM_CTRL_AV1E_SET_ENABLE_AB_PARTITIONS
1991
1993#define AOM_CTRL_AV1E_SET_ENABLE_1TO4_PARTITIONS
1994
1996#define AOM_CTRL_AV1E_SET_MIN_PARTITION_SIZE
1997
1999#define AOM_CTRL_AV1E_SET_MAX_PARTITION_SIZE
2000
2002#define AOM_CTRL_AV1E_SET_ENABLE_INTRA_EDGE_FILTER
2003
2005#define AOM_CTRL_AV1E_SET_ENABLE_ORDER_HINT
2006
2008#define AOM_CTRL_AV1E_SET_ENABLE_TX64
2009
2011#define AOM_CTRL_AV1E_SET_ENABLE_FLIP_IDTX
2012
2014#define AOM_CTRL_AV1E_SET_ENABLE_RECT_TX
2015
2017#define AOM_CTRL_AV1E_SET_ENABLE_DIST_WTD_COMP
2018
2020#define AOM_CTRL_AV1E_SET_ENABLE_REF_FRAME_MVS
2021
2023#define AOM_CTRL_AV1E_SET_ALLOW_REF_FRAME_MVS
2024
2026#define AOM_CTRL_AV1E_SET_ENABLE_DUAL_FILTER
2027
2029#define AOM_CTRL_AV1E_SET_ENABLE_CHROMA_DELTAQ
2030
2032#define AOM_CTRL_AV1E_SET_ENABLE_MASKED_COMP
2033
2035#define AOM_CTRL_AV1E_SET_ENABLE_ONESIDED_COMP
2036
2038#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_COMP
2039
2041#define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTERINTRA
2042
2044#define AOM_CTRL_AV1E_SET_ENABLE_DIFF_WTD_COMP
2045
2047#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTER_WEDGE
2048
2050#define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_WEDGE
2051
2053#define AOM_CTRL_AV1E_SET_ENABLE_GLOBAL_MOTION
2054
2056#define AOM_CTRL_AV1E_SET_ENABLE_WARPED_MOTION
2057
2059#define AOM_CTRL_AV1E_SET_ALLOW_WARPED_MOTION
2060
2062#define AOM_CTRL_AV1E_SET_ENABLE_FILTER_INTRA
2063
2065#define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTRA
2066
2068#define AOM_CTRL_AV1E_SET_ENABLE_PAETH_INTRA
2069
2071#define AOM_CTRL_AV1E_SET_ENABLE_CFL_INTRA
2072
2074#define AOM_CTRL_AV1E_SET_ENABLE_SUPERRES
2075
2077#define AOM_CTRL_AV1E_SET_ENABLE_OVERLAY
2078
2080#define AOM_CTRL_AV1E_SET_ENABLE_PALETTE
2081
2083#define AOM_CTRL_AV1E_SET_ENABLE_INTRABC
2084
2086#define AOM_CTRL_AV1E_SET_ENABLE_ANGLE_DELTA
2087
2089#define AOM_CTRL_AV1E_SET_DELTAQ_MODE
2090
2092#define AOM_CTRL_AV1E_SET_DELTALF_MODE
2093
2095#define AOM_CTRL_AV1E_SET_SINGLE_TILE_DECODING
2096
2098#define AOM_CTRL_AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
2099
2100AOM_CTRL_USE_TYPE(AV1E_SET_TIMING_INFO_TYPE, int) /* aom_timing_info_type_t */
2101#define AOM_CTRL_AV1E_SET_TIMING_INFO_TYPE
2102
2104#define AOM_CTRL_AV1E_SET_FILM_GRAIN_TEST_VECTOR
2105
2107#define AOM_CTRL_AV1E_SET_FILM_GRAIN_TABLE
2108
2110#define AOM_CTRL_AV1E_SET_DENOISE_NOISE_LEVEL
2111
2113#define AOM_CTRL_AV1E_SET_DENOISE_BLOCK_SIZE
2114
2116#define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_X
2117
2119#define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_Y
2120
2122#define AOM_CTRL_AV1E_SET_REDUCED_TX_TYPE_SET
2123
2125#define AOM_CTRL_AV1E_SET_INTRA_DCT_ONLY
2126
2128#define AOM_CTRL_AV1E_SET_INTER_DCT_ONLY
2129
2131#define AOM_CTRL_AV1E_SET_INTRA_DEFAULT_TX_ONLY
2132
2134#define AOM_CTRL_AV1E_SET_QUANT_B_ADAPT
2135
2137#define AOM_CTRL_AV1E_SET_GF_MAX_PYRAMID_HEIGHT
2138
2140#define AOM_CTRL_AV1E_SET_MAX_REFERENCE_FRAMES
2141
2143#define AOM_CTRL_AV1E_SET_REDUCED_REFERENCE_SET
2144
2146#define AOM_CTRL_AV1E_SET_COEFF_COST_UPD_FREQ
2147
2149#define AOM_CTRL_AV1E_SET_MODE_COST_UPD_FREQ
2150
2152#define AOM_CTRL_AV1E_SET_MV_COST_UPD_FREQ
2153
2155#define AOM_CTRL_AV1E_SET_TIER_MASK
2156
2158#define AOM_CTRL_AV1E_SET_MIN_CR
2159
2161#define AOM_CTRL_AV1E_SET_SVC_LAYER_ID
2162// TODO(aomedia:3231): Deprecated. Remove it.
2163#define AOME_CTRL_AV1E_SET_SVC_LAYER_ID
2164
2166#define AOM_CTRL_AV1E_SET_SVC_PARAMS
2167// TODO(aomedia:3231): Deprecated. Remove it.
2168#define AOME_CTRL_AV1E_SET_SVC_PARAMS
2169
2171#define AOM_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
2172// TODO(aomedia:3231): Deprecated. Remove it.
2173#define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
2174
2176#define AOM_CTRL_AV1E_SET_VMAF_MODEL_PATH
2177
2179#define AOM_CTRL_AV1E_ENABLE_EXT_TILE_DEBUG
2180
2182#define AOM_CTRL_AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST
2183
2185#define AOM_CTRL_AV1E_SET_GF_MIN_PYRAMID_HEIGHT
2186
2188#define AOM_CTRL_AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP
2189
2191#define AOM_CTRL_AV1E_GET_BASELINE_GF_INTERVAL
2192
2193AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DNL_DENOISING, int)
2194#define AOM_CTRL_AV1E_SET_ENABLE_DNL_DENOISING
2195
2197#define AOM_CTRL_AV1E_SET_ENABLE_DIAGONAL_INTRA
2198
2200#define AOM_CTRL_AV1E_SET_DV_COST_UPD_FREQ
2201
2203#define AOM_CTRL_AV1E_SET_PARTITION_INFO_PATH
2204
2206#define AOM_CTRL_AV1E_SET_EXTERNAL_PARTITION
2207
2209#define AOM_CTRL_AV1E_SET_ENABLE_DIRECTIONAL_INTRA
2210
2212#define AOM_CTRL_AV1E_SET_ENABLE_TX_SIZE_SEARCH
2213
2216#define AOM_CTRL_AV1E_SET_SVC_REF_FRAME_COMP_PRED
2217// TODO(aomedia:3231): Deprecated. Remove it.
2218#define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_COMP_PRED
2219
2221#define AOM_CTRL_AV1E_SET_DELTAQ_STRENGTH
2222
2224#define AOM_CTRL_AV1E_SET_LOOPFILTER_CONTROL
2225
2227#define AOM_CTRL_AOME_GET_LOOPFILTER_LEVEL
2228
2230#define AOM_CTRL_AV1E_SET_AUTO_INTRA_TOOLS_OFF
2231
2233#define AOM_CTRL_AV1E_SET_RTC_EXTERNAL_RC
2234
2235AOM_CTRL_USE_TYPE(AV1E_SET_FP_MT, unsigned int)
2236#define AOM_CTRL_AV1E_SET_FP_MT
2237
2239#define AOM_CTRL_AV1E_SET_FP_MT_UNIT_TEST
2240
2242#define AOM_CTRL_AV1E_GET_TARGET_SEQ_LEVEL_IDX
2243
2245#define AOM_CTRL_AV1E_GET_NUM_OPERATING_POINTS
2246
2248#define AOM_CTRL_AV1E_SET_SKIP_POSTPROC_FILTERING
2249
2251#define AOM_CTRL_AV1E_ENABLE_SB_QP_SWEEP
2252
2254#define AOM_CTRL_AV1E_SET_QUANTIZER_ONE_PASS
2255
2257#define AOM_CTRL_AV1E_ENABLE_RATE_GUIDE_DELTAQ
2258
2260#define AOM_CTRL_AV1E_SET_RATE_DISTRIBUTION_INFO
2261
2263#define AOM_CTRL_AV1E_GET_LUMA_CDEF_STRENGTH
2264
2266#define AOM_CTRL_AV1E_SET_BITRATE_ONE_PASS_CBR
2267
2269#define AOM_CTRL_AV1E_SET_SVC_FRAME_DROP_MODE
2270
2272#define AOM_CTRL_AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR
2273
2275#define AOM_CTRL_AV1E_SET_AUTO_TILES
2276
2278#define AOM_CTRL_AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC
2279
2281#define AOM_CTRL_AV1E_SET_POSTENCODE_DROP_RTC
2282
2284#define AOM_CTRL_AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR
2285
2288#ifdef __cplusplus
2289} // extern "C"
2290#endif
2291
2292#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_SVC_FRAME_DROP_MODE
Definition aomcx.h:1784
aom_dist_metric
Distortion metric to use for RD optimization.
Definition aomcx.h:1715
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:1594
#define AOM_MAX_LAYERS
Definition aomcx.h:1724
struct aom_svc_params aom_svc_params_t
#define AOM_MAX_SEGMENTS
Max number of segments.
Definition aomcx.h:1613
#define AOM_MAX_TS_LAYERS
Definition aomcx.h:1726
aom_codec_iface_t * aom_codec_av1_cx(void)
The interface to the AV1 encoder.
aom_tune_content
Definition aomcx.h:1657
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:1725
aom_tune_metric
Model tuning parameters.
Definition aomcx.h:1688
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:1665
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
@ AOM_FULL_SUPERFRAME_DROP
Definition aomcx.h:1786
@ AOM_LAYER_DROP
Definition aomcx.h:1785
@ AV1E_SET_MATRIX_COEFFICIENTS
Codec control function to set transfer function info, int parameter.
Definition aomcx.h:581
@ AV1E_SET_ENABLE_INTERINTER_WEDGE
Codec control function to turn on / off interinter wedge compound, int parameter.
Definition aomcx.h:1019
@ AV1E_SET_ENABLE_DIAGONAL_INTRA
Codec control function to turn on / off D45 to D203 intra mode usage, int parameter.
Definition aomcx.h:1360
@ AV1E_SET_BITRATE_ONE_PASS_CBR
Codec control to set the target bitrate in kilobits per second, unsigned int parameter....
Definition aomcx.h:1540
@ AV1E_SET_MAX_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames, unsigned int parameter.
Definition aomcx.h:602
@ AV1E_SET_ROW_MT
Codec control function to enable the row based multi-threading of the encoder, unsigned int parameter...
Definition aomcx.h:369
@ AV1E_SET_ENABLE_SMOOTH_INTRA
Codec control function to turn on / off smooth intra modes usage, int parameter.
Definition aomcx.h:1079
@ AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
Codec control function to enable the extreme motion vector unit test, unsigned int parameter.
Definition aomcx.h:1171
@ AOME_SET_SHARPNESS
Codec control function to set the sharpness parameter, unsigned int parameter.
Definition aomcx.h:249
@ AV1E_GET_TARGET_SEQ_LEVEL_IDX
Codec control function to get the target sequence level index for each operating point....
Definition aomcx.h:1467
@ 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:1526
@ AV1E_SET_ENABLE_TPL_MODEL
Codec control function to enable RDO modulated by frame temporal dependency, unsigned int parameter.
Definition aomcx.h:416
@ AOME_GET_LAST_QUANTIZER_64
Codec control function to get last quantizer chosen by the encoder, int* parameter.
Definition aomcx.h:271
@ AV1E_SET_AQ_MODE
Codec control function to set adaptive quantization mode, unsigned int parameter.
Definition aomcx.h:476
@ AV1E_SET_REDUCED_REFERENCE_SET
Control to use reduced set of single and compound references, int parameter.
Definition aomcx.h:1235
@ AV1E_GET_NUM_OPERATING_POINTS
Codec control function to get the number of operating points. int* parameter.
Definition aomcx.h:1472
@ 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:1289
@ 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 the reference frame config, aom_svc_ref_frame_config_t* parameter.
Definition aomcx.h:1299
@ AV1E_SET_GF_MIN_PYRAMID_HEIGHT
Control to select minimum height for the GF group pyramid structure, unsigned int parameter.
Definition aomcx.h:1332
@ AV1E_SET_ENABLE_PAETH_INTRA
Codec control function to turn on / off Paeth intra mode usage, int parameter.
Definition aomcx.h:1087
@ AV1E_SET_TUNE_CONTENT
Codec control function to set content type, aom_tune_content parameter.
Definition aomcx.h:505
@ 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:514
@ 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:1547
@ AV1E_SET_CHROMA_SUBSAMPLING_X
Sets the chroma subsampling x value, unsigned int parameter.
Definition aomcx.h:1198
@ AV1E_SET_COLOR_RANGE
Codec control function to set color range bit, int parameter.
Definition aomcx.h:614
@ AV1E_SET_ENABLE_RESTORATION
Codec control function to encode with Loop Restoration Filter, unsigned int parameter.
Definition aomcx.h:689
@ AV1E_SET_ENABLE_ANGLE_DELTA
Codec control function to turn on/off intra angle delta, int parameter.
Definition aomcx.h:1126
@ AV1E_SET_MIN_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames, unsigned int parameter.
Definition aomcx.h:595
@ AOME_SET_ARNR_MAXFRAMES
Codec control function to set the max no of frames to create arf, unsigned int parameter.
Definition aomcx.h:276
@ AV1E_SET_MV_COST_UPD_FREQ
Control to set frequency of the cost updates for motion vectors, unsigned int parameter.
Definition aomcx.h:1265
@ AV1E_SET_INTRA_DEFAULT_TX_ONLY
Control to use default tx type only for intra modes, int parameter.
Definition aomcx.h:1214
@ AV1E_SET_TRANSFER_CHARACTERISTICS
Codec control function to set transfer function info, int parameter.
Definition aomcx.h:560
@ AV1E_SET_MTU
Codec control function to set an MTU size for a tile group, unsigned int parameter.
Definition aomcx.h:809
@ AV1E_SET_DISABLE_TRELLIS_QUANT
Codec control function to encode without trellis quantization, unsigned int parameter.
Definition aomcx.h:716
@ 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:1404
@ 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:1458
@ AV1E_SET_ENABLE_INTRABC
Codec control function to turn on/off intra block copy mode, int parameter.
Definition aomcx.h:1122
@ AV1E_SET_S_FRAME_MODE
Codec control function to enable s_frame_mode, int parameter.
Definition aomcx.h:461
@ AV1E_SET_ENABLE_AB_PARTITIONS
Codec control function to enable/disable AB partitions, int parameter.
Definition aomcx.h:827
@ AV1E_SET_ENABLE_INTERINTRA_COMP
Codec control function to turn on / off interintra compound for a sequence, int parameter.
Definition aomcx.h:995
@ 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:1184
@ AV1E_SET_ENABLE_CHROMA_DELTAQ
Codec control function to turn on / off delta quantization in chroma planes for a sequence,...
Definition aomcx.h:971
@ AV1E_SET_ENABLE_DUAL_FILTER
Codec control function to turn on / off dual interpolation filter for a sequence, int parameter.
Definition aomcx.h:963
@ AV1E_SET_QM_V
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:788
@ AV1E_SET_FRAME_PARALLEL_DECODING
Codec control function to enable frame parallel decoding feature, unsigned int parameter.
Definition aomcx.h:439
@ 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:1532
@ AV1E_SET_QM_Y
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:764
@ AV1E_SET_MIN_PARTITION_SIZE
Codec control function to set min partition size, int parameter.
Definition aomcx.h:846
@ AV1E_SET_ENABLE_WARPED_MOTION
Codec control function to turn on / off warped motion usage at sequence level, int parameter.
Definition aomcx.h:1047
@ AV1E_SET_RTC_EXTERNAL_RC
Codec control function to set flag for rate control used by external encoders.
Definition aomcx.h:1439
@ AV1E_SET_FORCE_VIDEO_MODE
Codec control function to force video mode, unsigned int parameter.
Definition aomcx.h:696
@ AV1E_SET_CHROMA_SUBSAMPLING_Y
Sets the chroma subsampling y value, unsigned int parameter.
Definition aomcx.h:1201
@ AV1E_SET_ENABLE_INTRA_EDGE_FILTER
Codec control function to turn on / off intra edge filter at sequence level, int parameter.
Definition aomcx.h:865
@ AV1E_SET_COEFF_COST_UPD_FREQ
Control to set frequency of the cost updates for coefficients, unsigned int parameter.
Definition aomcx.h:1245
@ AV1E_SET_ENABLE_DIRECTIONAL_INTRA
Codec control function to turn on / off directional intra mode usage, int parameter.
Definition aomcx.h:1389
@ AV1E_SET_MAX_INTER_BITRATE_PCT
Codec control function to set max data rate for inter frames, unsigned int parameter.
Definition aomcx.h:333
@ AV1E_SET_DENOISE_NOISE_LEVEL
Sets the noise level, int parameter.
Definition aomcx.h:1192
@ AV1E_SET_INTRA_DCT_ONLY
Control to use dct only for intra modes, int parameter.
Definition aomcx.h:1207
@ AV1E_SET_TILE_ROWS
Codec control function to set number of tile rows, unsigned int parameter.
Definition aomcx.h:406
@ AV1E_SET_QM_U
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:776
@ AV1E_SET_ENABLE_REF_FRAME_MVS
Codec control function to turn on / off ref frame mvs (mfmv) usage at sequence level,...
Definition aomcx.h:944
@ 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:1494
@ AV1E_SET_FP_MT
Codec control function to enable frame parallel multi-threading of the encoder, unsigned int paramete...
Definition aomcx.h:1447
@ 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:979
@ AV1E_GET_ACTIVEMAP
Codec control function to get an active map back from the encoder, aom_active_map_t* parameter.
Definition aomcx.h:607
@ 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:1337
@ AV1E_SET_GF_MAX_PYRAMID_HEIGHT
Control to select maximum height for the GF group pyramid structure, unsigned int parameter.
Definition aomcx.h:1224
@ AV1E_SET_ENABLE_CDEF
Codec control function to encode with CDEF, unsigned int parameter.
Definition aomcx.h:679
@ AV1E_SET_ENABLE_FLIP_IDTX
Codec control function to turn on / off flip and identity transforms, int parameter.
Definition aomcx.h:909
@ 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:651
@ AOME_GET_LOOPFILTER_LEVEL
Codec control function to get the loopfilter chosen by the encoder, int* parameter.
Definition aomcx.h:1424
@ AV1E_SET_FRAME_PERIODIC_BOOST
Codec control function to enable/disable periodic Q boost, unsigned int parameter.
Definition aomcx.h:488
@ AV1E_SET_DV_COST_UPD_FREQ
Control to set frequency of the cost updates for intrabc motion vectors, unsigned int parameter.
Definition aomcx.h:1370
@ 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:1553
@ AV1E_SET_AUTO_INTRA_TOOLS_OFF
Codec control to automatically turn off several intra coding tools, unsigned int parameter.
Definition aomcx.h:1431
@ AV1E_SET_RENDER_SIZE
Codec control function to set intended rendering image size, int32_t[2] parameter.
Definition aomcx.h:621
@ AV1E_SET_ALLOW_REF_FRAME_MVS
Codec control function to set temporal mv prediction enabling/disabling at frame level,...
Definition aomcx.h:955
@ AV1E_SET_ENABLE_RECT_TX
Codec control function to turn on / off rectangular transforms, int parameter.
Definition aomcx.h:921
@ 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:933
@ 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:1177
@ AV1E_SET_ENABLE_SUPERRES
Codec control function to turn on / off frame superresolution, int parameter.
Definition aomcx.h:1105
@ AV1E_SET_SUPERBLOCK_SIZE
Codec control function to set intended superblock size, unsigned int parameter.
Definition aomcx.h:659
@ 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:1273
@ AV1E_SET_ENABLE_INTERINTRA_WEDGE
Codec control function to turn on / off interintra wedge compound, int parameter.
Definition aomcx.h:1027
@ AV1E_SET_NOISE_SENSITIVITY
Codec control function to set noise sensitivity, unsigned int parameter.
Definition aomcx.h:496
@ AV1E_SET_SVC_PARAMS
Codec control function to set SVC parameters, aom_svc_params_t* parameter.
Definition aomcx.h:1294
@ AV1E_SET_ENABLE_DIFF_WTD_COMP
Codec control function to turn on / off difference weighted compound, int parameter.
Definition aomcx.h:1011
@ AV1E_SET_QUANT_B_ADAPT
Control to use adaptive quantize_b, int parameter.
Definition aomcx.h:1217
@ AV1E_SET_ENABLE_FILTER_INTRA
Codec control function to turn on / off filter intra usage at sequence level, int parameter.
Definition aomcx.h:1068
@ AV1E_SET_ENABLE_PALETTE
Codec control function to turn on/off palette mode, int parameter.
Definition aomcx.h:1118
@ AV1E_SET_ENABLE_CFL_INTRA
Codec control function to turn on / off CFL uv intra mode usage, int parameter.
Definition aomcx.h:1097
@ AV1E_SET_ENABLE_KEYFRAME_FILTERING
Codec control function to enable temporal filtering on key frame, unsigned int parameter.
Definition aomcx.h:425
@ AV1E_SET_NUM_TG
Codec control function to set a maximum number of tile groups, unsigned int parameter.
Definition aomcx.h:798
@ AV1E_GET_BASELINE_GF_INTERVAL
Control to get baseline gf interval.
Definition aomcx.h:1341
@ AOME_SET_MAX_INTRA_BITRATE_PCT
Codec control function to set max data rate for intra frames, unsigned int parameter.
Definition aomcx.h:314
@ AV1E_SET_ERROR_RESILIENT_MODE
Codec control function to enable error_resilient_mode, int parameter.
Definition aomcx.h:450
@ AV1E_SET_ENABLE_SMOOTH_INTERINTRA
Codec control function to turn on / off smooth inter-intra mode for a sequence, int parameter.
Definition aomcx.h:1003
@ AOME_SET_STATIC_THRESHOLD
Codec control function to set the threshold for MBs treated static, unsigned int parameter.
Definition aomcx.h:254
@ AV1E_SET_ENABLE_OBMC
Codec control function to predict with OBMC mode, unsigned int parameter.
Definition aomcx.h:706
@ AV1E_SET_PARTITION_INFO_PATH
Codec control to set the path for partition stats read and write. const char * parameter.
Definition aomcx.h:1375
@ 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:857
@ AV1E_SET_ENABLE_1TO4_PARTITIONS
Codec control function to enable/disable 1:4 and 4:1 partitions, int parameter.
Definition aomcx.h:835
@ AV1E_SET_DELTALF_MODE
Codec control function to turn on/off loopfilter modulation when delta q modulation is enabled,...
Definition aomcx.h:1150
@ AV1E_SET_ENABLE_TX64
Codec control function to turn on / off 64-length transforms, int parameter.
Definition aomcx.h:885
@ 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:1561
@ AOME_SET_TUNING
Codec control function to set visual tuning, aom_tune_metric (int) parameter.
Definition aomcx.h:290
@ 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:644
@ 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:588
@ AV1E_SET_REDUCED_TX_TYPE_SET
Control to use a reduced tx type set, int parameter.
Definition aomcx.h:1204
@ AV1E_SET_DELTAQ_STRENGTH
Set –deltaq-mode strength.
Definition aomcx.h:1410
@ AOME_SET_ENABLEAUTOBWDREF
Codec control function to enable automatic set and use of bwd-pred frames, unsigned int parameter.
Definition aomcx.h:667
@ AV1E_SET_INTER_DCT_ONLY
Control to use dct only for inter modes, int parameter.
Definition aomcx.h:1210
@ AV1E_SET_LOOPFILTER_CONTROL
Codec control to control loop filter.
Definition aomcx.h:1419
@ 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
@ AV1E_ENABLE_RATE_GUIDE_DELTAQ
Codec control to enable the rate distribution guided delta quantization in all intra mode,...
Definition aomcx.h:1514
@ AOME_GET_LAST_QUANTIZER
Codec control function to get last quantizer chosen by the encoder, int* parameter.
Definition aomcx.h:263
@ AV1E_SET_TILE_COLUMNS
Codec control function to set number of tile columns. unsigned int parameter.
Definition aomcx.h:388
@ 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:1381
@ 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:1325
@ AV1E_SET_ENABLE_ORDER_HINT
Codec control function to turn on / off frame order hint (int parameter). Affects: joint compound mod...
Definition aomcx.h:874
@ AV1E_SET_DELTAQ_MODE
Codec control function to set the delta q mode, unsigned int parameter.
Definition aomcx.h:1142
@ AV1E_SET_POSTENCODE_DROP_RTC
Codec control to enable post encode frame drop for RTC encoding, int parameter.
Definition aomcx.h:1577
@ AV1E_SET_ENABLE_GLOBAL_MOTION
Codec control function to turn on / off global motion usage for a sequence, int parameter.
Definition aomcx.h:1037
@ AV1E_SET_FILM_GRAIN_TABLE
Codec control function to set the path to the film grain parameters, const char* parameter.
Definition aomcx.h:1189
@ AV1E_SET_QM_MAX
Codec control function to set the max quant matrix flatness, unsigned int parameter.
Definition aomcx.h:752
@ AV1E_SET_MAX_REFERENCE_FRAMES
Control to select maximum reference frames allowed per frame, int parameter.
Definition aomcx.h:1231
@ AOME_SET_CPUUSED
Codec control function to set encoder internal speed settings, int parameter.
Definition aomcx.h:222
@ 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:1568
@ AV1E_SET_GF_CBR_BOOST_PCT
Boost percentage for Golden Frame in CBR mode, unsigned int parameter.
Definition aomcx.h:347
@ AV1E_SET_ENABLE_ONESIDED_COMP
Codec control function to turn on / off one sided compound usage for a sequence, int parameter.
Definition aomcx.h:987
@ AV1E_SET_DENOISE_BLOCK_SIZE
Sets the denoisers block size, unsigned int parameter.
Definition aomcx.h:1195
@ 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:1304
@ AV1E_SET_QM_MIN
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition aomcx.h:740
@ AV1E_SET_ENABLE_QM
Codec control function to encode with quantisation matrices, unsigned int parameter.
Definition aomcx.h:727
@ AV1E_SET_ENABLE_OVERLAY
Codec control function to turn on / off overlay frames for filtered ALTREF frames,...
Definition aomcx.h:1115
@ AV1E_SET_SKIP_POSTPROC_FILTERING
Codec control function to skip the application of post-processing filters on reconstructed frame,...
Definition aomcx.h:1483
@ AOME_SET_NUMBER_SPATIAL_LAYERS
Codec control function to set number of spatial layers, int parameter.
Definition aomcx.h:319
@ AV1E_SET_SINGLE_TILE_DECODING
Codec control function to set the single tile decoding mode, unsigned int parameter.
Definition aomcx.h:1160
@ AV1E_SET_ENABLE_RECT_PARTITIONS
Codec control function to enable/disable rectangular partitions, int parameter.
Definition aomcx.h:819
@ AV1E_SET_COLOR_PRIMARIES
Codec control function to set color space info, int parameter.
Definition aomcx.h:535
@ AOME_SET_CQ_LEVEL
Codec control function to set constrained / constant quality level, unsigned int parameter.
Definition aomcx.h:300
@ AV1E_SET_QUANTIZER_ONE_PASS
Codec control to set quantizer for the next frame, int parameter.
Definition aomcx.h:1502
@ 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:1399
@ AV1E_SET_MODE_COST_UPD_FREQ
Control to set frequency of the cost updates for mode, unsigned int parameter.
Definition aomcx.h:1255
@ AV1E_SET_ALLOW_WARPED_MOTION
Codec control function to turn on / off warped motion usage at frame level, int parameter.
Definition aomcx.h:1060
@ AV1E_ENABLE_EXT_TILE_DEBUG
Codec control function to enable EXT_TILE_DEBUG in AV1 encoder, unsigned int parameter.
Definition aomcx.h:1314
@ 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:1583
@ AV1E_SET_MIN_CR
Control to set minimum compression ratio, unsigned int parameter Take integer values....
Definition aomcx.h:1280
@ AV1E_SET_LOSSLESS
Codec control function to set lossless encoding mode, unsigned int parameter.
Definition aomcx.h:361
@ AOME_SET_ARNR_STRENGTH
Codec control function to set the filter strength for the arf, unsigned int parameter.
Definition aomcx.h:281
#define AOM_CTRL_USE_TYPE(id, typ)
Creates type checking mechanisms for aom_codec_control.
Definition aom_codec.h:552
const struct aom_codec_iface aom_codec_iface_t
Codec interface structure.
Definition aom_codec.h:271
aom active region map
Definition aomcx.h:1639
unsigned int rows
Definition aomcx.h:1642
unsigned int cols
Definition aomcx.h:1643
unsigned char * active_map
specify an on (1) or off (0) each 16x16 region within a frame
Definition aomcx.h:1641
Callback function set for external partition model.
Definition aom_external_partition.h:410
aom region of interest map
Definition aomcx.h:1622
unsigned int cols
Definition aomcx.h:1626
int delta_lf[8]
Definition aomcx.h:1628
unsigned int static_threshold[8]
Definition aomcx.h:1630
unsigned int rows
Definition aomcx.h:1625
unsigned char * roi_map
Definition aomcx.h:1624
int delta_q[8]
Definition aomcx.h:1627
aom image scaling mode
Definition aomcx.h:1651
AOM_SCALING_MODE v_scaling_mode
Definition aomcx.h:1653
AOM_SCALING_MODE h_scaling_mode
Definition aomcx.h:1652
Definition aomcx.h:1729
int temporal_layer_id
Definition aomcx.h:1731
int spatial_layer_id
Definition aomcx.h:1730
Definition aomcx.h:1740
int max_quantizers[32]
Definition aomcx.h:1743
int number_spatial_layers
Definition aomcx.h:1741
int layer_target_bitrate[32]
Definition aomcx.h:1748
int framerate_factor[8]
Definition aomcx.h:1750
int min_quantizers[32]
Definition aomcx.h:1744
int scaling_factor_den[4]
Definition aomcx.h:1746
int number_temporal_layers
Definition aomcx.h:1742
int scaling_factor_num[4]
Definition aomcx.h:1745
Definition aomcx.h:1777
int use_comp_pred[3]
Definition aomcx.h:1780
Definition aomcx.h:1754
int reference[7]
Definition aomcx.h:1770
int refresh[8]
Definition aomcx.h:1773
int ref_idx[7]
Definition aomcx.h:1772