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 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
55 
61 /*
62  * Algorithm Flags
63  */
64 
71 #define AOM_EFLAG_NO_REF_LAST (1 << 16)
78 #define AOM_EFLAG_NO_REF_LAST2 (1 << 17)
85 #define AOM_EFLAG_NO_REF_LAST3 (1 << 18)
92 #define AOM_EFLAG_NO_REF_GF (1 << 19)
93 
100 #define AOM_EFLAG_NO_REF_ARF (1 << 20)
107 #define AOM_EFLAG_NO_REF_BWD (1 << 21)
114 #define AOM_EFLAG_NO_REF_ARF2 (1 << 22)
115 
121 #define AOM_EFLAG_NO_UPD_LAST (1 << 23)
122 
128 #define AOM_EFLAG_NO_UPD_GF (1 << 24)
129 
135 #define AOM_EFLAG_NO_UPD_ARF (1 << 25)
141 #define AOM_EFLAG_NO_UPD_ENTROPY (1 << 26)
147 #define AOM_EFLAG_NO_REF_FRAME_MVS (1 << 27)
153 #define AOM_EFLAG_ERROR_RESILIENT (1 << 28)
159 #define AOM_EFLAG_SET_S_FRAME (1 << 29)
165 #define AOM_EFLAG_SET_PRIMARY_REF_NONE (1 << 30)
166 
180 
185 
190 
191  /* NOTE: enum 10 unused */
192 
197 
202 
219 
227 
228  /* NOTE: enum 15 unused */
229 
240 
245 
246  /* NOTE: enum 18 unused */
247 
254 
262 
267 
272 
273  /* NOTE: enum 23 unused */
274 
281 
291 
305 
310 
324 
338 
339  /* NOTE: enum 30 unused */
340 
352 
360 
379 
397 
407 
416 
430 
441 
452 
467 
479 
487 
496 
505 
526 
551 
572 
579 
586 
593 
598 
605 
612 
631 
638 
646 
654 
665 
675 
682 
692 
702 
713 
726 
738 
750 
762 
774 
775  /* NOTE: enum 69 unused */
776 
784 
795 
796  /* NOTE: enum 72 unused */
797 
805 
813 
821 
832 
843 
851 
860 
871 
895 
907 
919 
930 
941 
949 
957 
965 
973 
981 
989 
997 
1005 
1013 
1023 
1033 
1046 
1054 
1065 
1073 
1083 
1091 
1101 
1104 
1108 
1112 
1126 
1134 
1144 
1155 
1161 
1168 
1173 
1176 
1179 
1182 
1185 
1188 
1191 
1194 
1198 
1201 
1208 
1215 
1219 
1229 
1239 
1249 
1257 
1264 
1265  /* NOTE: enums 145-149 unused */
1266 
1271 
1276 
1282 
1287 
1297 
1308 
1315 
1320 
1324 
1325  /*\brief Control to set encoding the denoised frame from denoise-noise-level
1326  *
1327  * - 0 = disabled/encode the original frame
1328  * - 1 = enabled/encode the denoised frame (default)
1329  */
1330  AV1E_SET_ENABLE_DNL_DENOISING = 140,
1331 
1343 
1353 
1358 
1364 
1372 
1379 
1384 
1390 
1399 
1404  // Any new encoder control IDs should be added above.
1405  // Maximum allowed encoder control ID is 229.
1406  // No encoder control ID should be added below.
1407 };
1408 
1413 typedef enum aom_scaling_mode_1d {
1414  AOME_NORMAL = 0,
1415  AOME_FOURFIVE = 1,
1416  AOME_THREEFIVE = 2,
1417  AOME_THREEFOUR = 3,
1418  AOME_ONEFOUR = 4,
1419  AOME_ONEEIGHT = 5,
1420  AOME_ONETWO = 6
1422 
1430 #define AOM_MAX_SEGMENTS 8
1431 
1439 typedef struct aom_roi_map {
1441  unsigned char *roi_map;
1442  unsigned int rows;
1443  unsigned int cols;
1449 
1456 typedef struct aom_active_map {
1458  unsigned char *active_map;
1459  unsigned int rows;
1460  unsigned int cols;
1462 
1468 typedef struct aom_scaling_mode {
1472 
1474 typedef enum {
1475  AOM_CONTENT_DEFAULT,
1476  AOM_CONTENT_SCREEN,
1477  AOM_CONTENT_FILM,
1478  AOM_CONTENT_INVALID
1480 
1482 typedef enum {
1483  AOM_TIMING_UNSPECIFIED,
1484  AOM_TIMING_EQUAL,
1485  AOM_TIMING_DEC_MODEL
1487 
1493 typedef enum {
1494  AOM_TUNE_PSNR = 0,
1495  AOM_TUNE_SSIM = 1,
1496  /* NOTE: enums 2 and 3 unused */
1497  AOM_TUNE_VMAF_WITH_PREPROCESSING = 4,
1498  AOM_TUNE_VMAF_WITHOUT_PREPROCESSING = 5,
1499  AOM_TUNE_VMAF_MAX_GAIN = 6,
1500  AOM_TUNE_VMAF_NEG_MAX_GAIN = 7,
1501  AOM_TUNE_BUTTERAUGLI = 8,
1502 } aom_tune_metric;
1503 
1504 #define AOM_MAX_LAYERS 32
1505 #define AOM_MAX_SS_LAYERS 4
1506 #define AOM_MAX_TS_LAYERS 8
1509 typedef struct aom_svc_layer_id {
1513 
1515 typedef struct aom_svc_params {
1527 
1530  // 7 references: LAST_FRAME (0), LAST2_FRAME(1), LAST3_FRAME(2),
1531  // GOLDEN_FRAME(3), BWDREF_FRAME(4), ALTREF2_FRAME(5), ALTREF_FRAME(6).
1532  int reference[7];
1534  int ref_idx[7];
1535  int refresh[8];
1537 
1540  // Use compound prediction for the ref_frame pairs GOLDEN_LAST (0),
1541  // LAST2_LAST (1), and ALTREF_LAST (2).
1542  int use_comp_pred[3];
1544 
1558 #define AOM_CTRL_AOME_USE_REFERENCE
1559 
1561 #define AOM_CTRL_AOME_SET_ROI_MAP
1562 
1564 #define AOM_CTRL_AOME_SET_ACTIVEMAP
1565 
1567 #define AOM_CTRL_AOME_SET_SCALEMODE
1568 
1570 #define AOM_CTRL_AOME_SET_SPATIAL_LAYER_ID
1571 
1573 #define AOM_CTRL_AOME_SET_CPUUSED
1574 
1576 #define AOM_CTRL_AOME_SET_ENABLEAUTOALTREF
1577 
1579 #define AOM_CTRL_AOME_SET_ENABLEAUTOBWDREF
1580 
1582 #define AOM_CTRL_AOME_SET_SHARPNESS
1583 
1585 #define AOM_CTRL_AOME_SET_STATIC_THRESHOLD
1586 
1588 #define AOM_CTRL_AOME_SET_ARNR_MAXFRAMES
1589 
1591 #define AOM_CTRL_AOME_SET_ARNR_STRENGTH
1592 
1593 AOM_CTRL_USE_TYPE(AOME_SET_TUNING, int) /* aom_tune_metric */
1594 #define AOM_CTRL_AOME_SET_TUNING
1595 
1596 AOM_CTRL_USE_TYPE(AOME_SET_CQ_LEVEL, unsigned int)
1597 #define AOM_CTRL_AOME_SET_CQ_LEVEL
1598 
1599 AOM_CTRL_USE_TYPE(AV1E_SET_ROW_MT, unsigned int)
1600 #define AOM_CTRL_AV1E_SET_ROW_MT
1601 
1603 #define AOM_CTRL_AV1E_SET_TILE_COLUMNS
1604 
1606 #define AOM_CTRL_AV1E_SET_TILE_ROWS
1607 
1609 #define AOM_CTRL_AV1E_SET_ENABLE_TPL_MODEL
1610 
1612 #define AOM_CTRL_AV1E_SET_ENABLE_KEYFRAME_FILTERING
1613 
1615 #define AOM_CTRL_AOME_GET_LAST_QUANTIZER
1616 
1618 #define AOM_CTRL_AOME_GET_LAST_QUANTIZER_64
1619 
1621 #define AOM_CTRL_AOME_SET_MAX_INTRA_BITRATE_PCT
1622 
1623 AOM_CTRL_USE_TYPE(AOME_SET_MAX_INTER_BITRATE_PCT, unsigned int)
1624 #define AOM_CTRL_AOME_SET_MAX_INTER_BITRATE_PCT
1625 
1627 #define AOME_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1628 
1630 #define AOM_CTRL_AV1E_SET_GF_CBR_BOOST_PCT
1631 
1632 AOM_CTRL_USE_TYPE(AV1E_SET_LOSSLESS, unsigned int)
1633 #define AOM_CTRL_AV1E_SET_LOSSLESS
1634 
1636 #define AOM_CTRL_AV1E_SET_ENABLE_CDEF
1637 
1639 #define AOM_CTRL_AV1E_SET_ENABLE_RESTORATION
1640 
1642 #define AOM_CTRL_AV1E_SET_FORCE_VIDEO_MODE
1643 
1645 #define AOM_CTRL_AV1E_SET_ENABLE_OBMC
1646 
1648 #define AOM_CTRL_AV1E_SET_DISABLE_TRELLIS_QUANT
1649 
1651 #define AOM_CTRL_AV1E_SET_ENABLE_QM
1652 
1653 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIST_8X8, unsigned int)
1654 #define AOM_CTRL_AV1E_SET_ENABLE_DIST_8X8
1655 
1656 AOM_CTRL_USE_TYPE(AV1E_SET_QM_MIN, unsigned int)
1657 #define AOM_CTRL_AV1E_SET_QM_MIN
1658 
1659 AOM_CTRL_USE_TYPE(AV1E_SET_QM_MAX, unsigned int)
1660 #define AOM_CTRL_AV1E_SET_QM_MAX
1661 
1662 AOM_CTRL_USE_TYPE(AV1E_SET_QM_Y, unsigned int)
1663 #define AOM_CTRL_AV1E_SET_QM_Y
1664 
1665 AOM_CTRL_USE_TYPE(AV1E_SET_QM_U, unsigned int)
1666 #define AOM_CTRL_AV1E_SET_QM_U
1667 
1668 AOM_CTRL_USE_TYPE(AV1E_SET_QM_V, unsigned int)
1669 #define AOM_CTRL_AV1E_SET_QM_V
1670 
1671 AOM_CTRL_USE_TYPE(AV1E_SET_NUM_TG, unsigned int)
1672 #define AOM_CTRL_AV1E_SET_NUM_TG
1673 
1674 AOM_CTRL_USE_TYPE(AV1E_SET_MTU, unsigned int)
1675 #define AOM_CTRL_AV1E_SET_MTU
1676 
1677 AOM_CTRL_USE_TYPE(AV1E_SET_TIMING_INFO_TYPE, int) /* aom_timing_info_type_t */
1678 #define AOM_CTRL_AV1E_SET_TIMING_INFO_TYPE
1679 
1681 #define AOM_CTRL_AV1E_SET_ENABLE_RECT_PARTITIONS
1682 
1684 #define AOM_CTRL_AV1E_SET_ENABLE_AB_PARTITIONS
1685 
1687 #define AOM_CTRL_AV1E_SET_ENABLE_1TO4_PARTITIONS
1688 
1690 #define AOM_CTRL_AV1E_SET_MIN_PARTITION_SIZE
1691 
1693 #define AOM_CTRL_AV1E_SET_MAX_PARTITION_SIZE
1694 
1696 #define AOM_CTRL_AV1E_SET_ENABLE_INTRA_EDGE_FILTER
1697 
1699 #define AOM_CTRL_AV1E_SET_ENABLE_ORDER_HINT
1700 
1702 #define AOM_CTRL_AV1E_SET_ENABLE_TX64
1703 
1705 #define AOM_CTRL_AV1E_SET_ENABLE_FLIP_IDTX
1706 
1708 #define AOM_CTRL_AV1E_SET_ENABLE_RECT_TX
1709 
1711 #define AOM_CTRL_AV1E_SET_ENABLE_DIST_WTD_COMP
1712 
1714 #define AOM_CTRL_AV1E_SET_ENABLE_REF_FRAME_MVS
1715 
1717 #define AOM_CTRL_AV1E_SET_ALLOW_REF_FRAME_MVS
1718 
1720 #define AOM_CTRL_AV1E_SET_ENABLE_DUAL_FILTER
1721 
1723 #define AOM_CTRL_AV1E_SET_ENABLE_CHROMA_DELTAQ
1724 
1726 #define AOM_CTRL_AV1E_SET_ENABLE_MASKED_COMP
1727 
1729 #define AOM_CTRL_AV1E_SET_ENABLE_ONESIDED_COMP
1730 
1732 #define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_COMP
1733 
1735 #define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTERINTRA
1736 
1738 #define AOM_CTRL_AV1E_SET_ENABLE_DIFF_WTD_COMP
1739 
1741 #define AOM_CTRL_AV1E_SET_ENABLE_INTERINTER_WEDGE
1742 
1744 #define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_WEDGE
1745 
1747 #define AOM_CTRL_AV1E_SET_ENABLE_GLOBAL_MOTION
1748 
1750 #define AOM_CTRL_AV1E_SET_ENABLE_WARPED_MOTION
1751 
1753 #define AOM_CTRL_AV1E_SET_ALLOW_WARPED_MOTION
1754 
1756 #define AOM_CTRL_AV1E_SET_ENABLE_FILTER_INTRA
1757 
1759 #define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTRA
1760 
1762 #define AOM_CTRL_AV1E_SET_ENABLE_PAETH_INTRA
1763 
1765 #define AOM_CTRL_AV1E_SET_ENABLE_CFL_INTRA
1766 
1768 #define AOM_CTRL_AV1E_SET_ENABLE_DIAGONAL_INTRA
1769 
1771 #define AOM_CTRL_AV1E_SET_ENABLE_SUPERRES
1772 
1774 #define AOM_CTRL_AV1E_SET_ENABLE_OVERLAY
1775 
1777 #define AOM_CTRL_AV1E_SET_ENABLE_PALETTE
1778 
1780 #define AOM_CTRL_AV1E_SET_ENABLE_INTRABC
1781 
1783 #define AOM_CTRL_AV1E_SET_ENABLE_ANGLE_DELTA
1784 
1786 #define AOM_CTRL_AV1E_SET_FRAME_PARALLEL_DECODING
1787 
1789 #define AOM_CTRL_AV1E_SET_ERROR_RESILIENT_MODE
1790 
1792 #define AOM_CTRL_AV1E_SET_S_FRAME_MODE
1793 
1794 AOM_CTRL_USE_TYPE(AV1E_SET_AQ_MODE, unsigned int)
1795 #define AOM_CTRL_AV1E_SET_AQ_MODE
1796 
1798 #define AOM_CTRL_AV1E_SET_DELTAQ_MODE
1799 
1801 #define AOM_CTRL_AV1E_SET_DELTAQ_STRENGTH
1802 
1804 #define AOM_CTRL_AV1E_SET_DELTALF_MODE
1805 
1807 #define AOM_CTRL_AV1E_SET_FRAME_PERIODIC_BOOST
1808 
1810 #define AOM_CTRL_AV1E_SET_NOISE_SENSITIVITY
1811 
1812 AOM_CTRL_USE_TYPE(AV1E_SET_TUNE_CONTENT, int) /* aom_tune_content */
1813 #define AOM_CTRL_AV1E_SET_TUNE_CONTENT
1814 
1816 #define AOM_CTRL_AV1E_SET_COLOR_PRIMARIES
1817 
1819 #define AOM_CTRL_AV1E_SET_TRANSFER_CHARACTERISTICS
1820 
1822 #define AOM_CTRL_AV1E_SET_MATRIX_COEFFICIENTS
1823 
1825 #define AOM_CTRL_AV1E_SET_CHROMA_SAMPLE_POSITION
1826 
1828 #define AOM_CTRL_AV1E_SET_MIN_GF_INTERVAL
1829 
1831 #define AOM_CTRL_AV1E_SET_MAX_GF_INTERVAL
1832 
1834 #define AOM_CTRL_AV1E_GET_ACTIVEMAP
1835 
1837 #define AOM_CTRL_AV1E_SET_COLOR_RANGE
1838 
1839 #define AOM_CTRL_AV1E_SET_RENDER_SIZE
1841 
1843 #define AOM_CTRL_AV1E_SET_SUPERBLOCK_SIZE
1844 
1846 #define AOM_CTRL_AV1E_GET_SEQ_LEVEL_IDX
1847 
1849 #define AOM_CTRL_AV1E_GET_BASELINE_GF_INTERVAL
1850 
1852 #define AOM_CTRL_AV1E_SET_SINGLE_TILE_DECODING
1853 
1855 #define AOM_CTRL_AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
1856 
1858 #define AOM_CTRL_AV1E_ENABLE_EXT_TILE_DEBUG
1859 
1861 #define AOM_CTRL_AV1E_SET_VMAF_MODEL_PATH
1862 
1864 #define AOM_CTRL_AV1E_SET_FILM_GRAIN_TEST_VECTOR
1865 
1867 #define AOM_CTRL_AV1E_SET_FILM_GRAIN_TABLE
1868 
1870 #define AOM_CTRL_AV1E_SET_CDF_UPDATE_MODE
1871 
1873 #define AOM_CTRL_AV1E_SET_DENOISE_NOISE_LEVEL
1874 
1876 #define AOM_CTRL_AV1E_SET_DENOISE_BLOCK_SIZE
1877 
1879 #define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_X
1880 
1882 #define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_Y
1883 
1885 #define AOM_CTRL_AV1E_SET_REDUCED_TX_TYPE_SET
1886 
1888 #define AOM_CTRL_AV1E_SET_INTRA_DCT_ONLY
1889 
1891 #define AOM_CTRL_AV1E_SET_INTER_DCT_ONLY
1892 
1894 #define AOM_CTRL_AV1E_SET_INTRA_DEFAULT_TX_ONLY
1895 
1897 #define AOM_CTRL_AV1E_SET_QUANT_B_ADAPT
1898 
1900 #define AOM_CTRL_AV1E_SET_GF_MIN_PYRAMID_HEIGHT
1901 
1903 #define AOM_CTRL_AV1E_SET_GF_MAX_PYRAMID_HEIGHT
1904 
1906 #define AOM_CTRL_AV1E_SET_MAX_REFERENCE_FRAMES
1907 
1909 #define AOM_CTRL_AV1E_SET_REDUCED_REFERENCE_SET
1910 
1912 #define AOM_CTRL_AV1E_SET_COEFF_COST_UPD_FREQ
1913 
1915 #define AOM_CTRL_AV1E_SET_MODE_COST_UPD_FREQ
1916 
1918 #define AOM_CTRL_AV1E_SET_MV_COST_UPD_FREQ
1919 
1921 #define AOM_CTRL_AV1E_SET_TARGET_SEQ_LEVEL_IDX
1922 
1924 #define AOM_CTRL_AV1E_SET_TIER_MASK
1925 
1926 AOM_CTRL_USE_TYPE(AV1E_SET_MIN_CR, unsigned int)
1927 #define AOM_CTRL_AV1E_SET_MIN_CR
1928 
1930 #define AOME_CTRL_AV1E_SET_SVC_LAYER_ID
1931 
1933 #define AOME_CTRL_AV1E_SET_SVC_PARAMS
1934 
1936 #define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
1937 
1939 #define AOM_CTRL_AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST
1940 
1942 #define AOM_CTRL_AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP
1943 
1944 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DNL_DENOISING, int)
1945 #define AOM_CTRL_AV1E_SET_ENABLE_DNL_DENOISING
1946 
1948 #define AOM_CTRL_AV1E_SET_DV_COST_UPD_FREQ
1949 
1951 #define AOM_CTRL_AV1E_SET_PARTITION_INFO_PATH
1952 
1954 #define AOM_CTRL_AV1E_SET_EXTERNAL_PARTITION
1955 
1957 #define AOM_CTRL_AV1E_SET_ENABLE_DIRECTIONAL_INTRA
1958 
1960 #define AOM_CTRL_AV1E_SET_ENABLE_TX_SIZE_SEARCH
1961 
1964 #define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_COMP_PRED
1965 
1967 #define AOM_CTRL_AV1E_SET_LOOPFILTER_CONTROL
1968 
1970 #define AOM_CTRL_AOME_GET_LOOPFILTER_LEVEL
1971 
1974 #ifdef __cplusplus
1975 } // extern "C"
1976 #endif
1977 
1978 #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_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:1413
#define AOM_MAX_LAYERS
Definition: aomcx.h:1504
struct aom_svc_params aom_svc_params_t
#define AOM_MAX_SEGMENTS
Max number of segments.
Definition: aomcx.h:1430
aom_codec_iface_t * aom_codec_av1_cx(void)
The interface to the AV1 encoder.
#define AOM_MAX_TS_LAYERS
Definition: aomcx.h:1506
aom_tune_content
Definition: aomcx.h:1474
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:1505
aom_tune_metric
Model tuning parameters.
Definition: aomcx.h:1493
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:1482
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:175
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:571
@ AV1E_SET_ENABLE_INTERINTER_WEDGE
Codec control function to turn on / off interinter wedge compound, int parameter.
Definition: aomcx.h:1004
@ AV1E_SET_ENABLE_DIAGONAL_INTRA
Codec control function to turn on / off D45 to D203 intra mode usage, int parameter.
Definition: aomcx.h:1342
@ AV1E_SET_MAX_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames, unsigned int parameter.
Definition: aomcx.h:592
@ AV1E_SET_ROW_MT
Codec control function to enable the row based multi-threading of the encoder, unsigned int parameter...
Definition: aomcx.h:359
@ AV1E_SET_ENABLE_SMOOTH_INTRA
Codec control function to turn on / off smooth intra modes usage, int parameter.
Definition: aomcx.h:1064
@ AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
Codec control function to enable the extreme motion vector unit test, unsigned int parameter.
Definition: aomcx.h:1154
@ AOME_SET_SHARPNESS
Codec control function to set the sharpness parameter, unsigned int parameter.
Definition: aomcx.h:239
@ AV1E_SET_ENABLE_TPL_MODEL
Codec control function to enable RDO modulated by frame temporal dependency, unsigned int parameter.
Definition: aomcx.h:406
@ AOME_GET_LAST_QUANTIZER_64
Codec control function to get last quantizer chosen by the encoder, int* parameter.
Definition: aomcx.h:261
@ AV1E_SET_AQ_MODE
Codec control function to set adaptive quantization mode, unsigned int parameter.
Definition: aomcx.h:466
@ AV1E_SET_REDUCED_REFERENCE_SET
Control to use reduced set of single and compound references, int parameter.
Definition: aomcx.h:1218
@ AV1E_SET_SVC_LAYER_ID
Codec control function to set the layer id, aom_svc_layer_id_t* parameter.
Definition: aomcx.h:1270
@ AOME_USE_REFERENCE
Codec control function to set which reference frame encoder can use, int parameter.
Definition: aomcx.h:179
@ 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:1281
@ AV1E_SET_GF_MIN_PYRAMID_HEIGHT
Control to select minimum height for the GF group pyramid structure, unsigned int parameter.
Definition: aomcx.h:1314
@ AV1E_SET_ENABLE_PAETH_INTRA
Codec control function to turn on / off Paeth intra mode usage, int parameter.
Definition: aomcx.h:1072
@ AV1E_SET_TUNE_CONTENT
Codec control function to set content type, aom_tune_content parameter.
Definition: aomcx.h:495
@ AOME_SET_ROI_MAP
Codec control function to pass an ROI map to encoder, aom_roi_map_t* parameter.
Definition: aomcx.h:184
@ AV1E_SET_CDF_UPDATE_MODE
Codec control function to set CDF update mode, unsigned int parameter.
Definition: aomcx.h:504
@ AV1E_SET_CHROMA_SUBSAMPLING_X
Sets the chroma subsampling x value, unsigned int parameter.
Definition: aomcx.h:1181
@ AV1E_SET_COLOR_RANGE
Codec control function to set color range bit, int parameter.
Definition: aomcx.h:604
@ AV1E_SET_ENABLE_RESTORATION
Codec control function to encode with Loop Restoration Filter, unsigned int parameter.
Definition: aomcx.h:674
@ AV1E_SET_ENABLE_ANGLE_DELTA
Codec control function to turn on/off intra angle delta, int parameter.
Definition: aomcx.h:1111
@ AV1E_SET_MIN_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames, unsigned int parameter.
Definition: aomcx.h:585
@ AOME_SET_ARNR_MAXFRAMES
Codec control function to set the max no of frames to create arf, unsigned int parameter.
Definition: aomcx.h:266
@ AV1E_SET_MV_COST_UPD_FREQ
Control to set frequency of the cost updates for motion vectors, unsigned int parameter.
Definition: aomcx.h:1248
@ AV1E_SET_INTRA_DEFAULT_TX_ONLY
Control to use default tx type only for intra modes, int parameter.
Definition: aomcx.h:1197
@ AV1E_SET_TRANSFER_CHARACTERISTICS
Codec control function to set transfer function info, int parameter.
Definition: aomcx.h:550
@ AV1E_SET_MTU
Codec control function to set an MTU size for a tile group, unsigned int parameter.
Definition: aomcx.h:794
@ AV1E_SET_DISABLE_TRELLIS_QUANT
Codec control function to encode without trellis quantization, unsigned int parameter.
Definition: aomcx.h:701
@ 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:1383
@ AV1E_SET_ENABLE_INTRABC
Codec control function to turn on/off intra block copy mode, int parameter.
Definition: aomcx.h:1107
@ AV1E_SET_S_FRAME_MODE
Codec control function to enable s_frame_mode, int parameter.
Definition: aomcx.h:451
@ AV1E_SET_ENABLE_AB_PARTITIONS
Codec control function to enable/disable AB partitions, int parameter.
Definition: aomcx.h:812
@ AV1E_SET_ENABLE_INTERINTRA_COMP
Codec control function to turn on / off interintra compound for a sequence, int parameter.
Definition: aomcx.h:980
@ 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:1167
@ AV1E_SET_ENABLE_CHROMA_DELTAQ
Codec control function to turn on / off delta quantization in chroma planes for a sequence,...
Definition: aomcx.h:956
@ AV1E_SET_ENABLE_DUAL_FILTER
Codec control function to turn on / off dual interpolation filter for a sequence, int parameter.
Definition: aomcx.h:948
@ AV1E_SET_QM_V
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:773
@ AV1E_SET_FRAME_PARALLEL_DECODING
Codec control function to enable frame parallel decoding feature, unsigned int parameter.
Definition: aomcx.h:429
@ AV1E_SET_QM_Y
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:749
@ AV1E_SET_MIN_PARTITION_SIZE
Codec control function to set min partition size, int parameter.
Definition: aomcx.h:831
@ AV1E_SET_ENABLE_WARPED_MOTION
Codec control function to turn on / off warped motion usage at sequence level, int parameter.
Definition: aomcx.h:1032
@ AV1E_SET_FORCE_VIDEO_MODE
Codec control function to force video mode, unsigned int parameter.
Definition: aomcx.h:681
@ AV1E_SET_CHROMA_SUBSAMPLING_Y
Sets the chroma subsampling y value, unsigned int parameter.
Definition: aomcx.h:1184
@ AV1E_SET_ENABLE_INTRA_EDGE_FILTER
Codec control function to turn on / off intra edge filter at sequence level, int parameter.
Definition: aomcx.h:850
@ AV1E_SET_COEFF_COST_UPD_FREQ
Control to set frequency of the cost updates for coefficients, unsigned int parameter.
Definition: aomcx.h:1228
@ AV1E_SET_ENABLE_DIRECTIONAL_INTRA
Codec control function to turn on / off directional intra mode usage, int parameter.
Definition: aomcx.h:1371
@ AV1E_SET_MAX_INTER_BITRATE_PCT
Codec control function to set max data rate for inter frames, unsigned int parameter.
Definition: aomcx.h:323
@ AV1E_SET_DENOISE_NOISE_LEVEL
Sets the noise level, int parameter.
Definition: aomcx.h:1175
@ AV1E_SET_INTRA_DCT_ONLY
Control to use dct only for intra modes, int parameter.
Definition: aomcx.h:1190
@ AV1E_SET_TILE_ROWS
Codec control function to set number of tile rows, unsigned int parameter.
Definition: aomcx.h:396
@ AV1E_SET_QM_U
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:761
@ AV1E_SET_ENABLE_REF_FRAME_MVS
Codec control function to turn on / off ref frame mvs (mfmv) usage at sequence level,...
Definition: aomcx.h:929
@ 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:964
@ AV1E_GET_ACTIVEMAP
Codec control function to get an active map back from the encoder, aom_active_map_t* parameter.
Definition: aomcx.h:597
@ 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:1319
@ AV1E_SET_GF_MAX_PYRAMID_HEIGHT
Control to select maximum height for the GF group pyramid structure, unsigned int parameter.
Definition: aomcx.h:1207
@ AV1E_SET_ENABLE_CDEF
Codec control function to encode with CDEF, unsigned int parameter.
Definition: aomcx.h:664
@ AV1E_SET_ENABLE_FLIP_IDTX
Codec control function to turn on / off flip and identity transforms, int parameter.
Definition: aomcx.h:894
@ AOME_SET_ACTIVEMAP
Codec control function to pass an Active map to encoder, aom_active_map_t* parameter.
Definition: aomcx.h:189
@ AV1E_GET_SEQ_LEVEL_IDX
Codec control function to get sequence level index for each operating point. int* parameter....
Definition: aomcx.h:637
@ AOME_GET_LOOPFILTER_LEVEL
Codec control function to get the loopfilter chosen by the encoder, int* parameter.
Definition: aomcx.h:1403
@ AV1E_SET_FRAME_PERIODIC_BOOST
Codec control function to enable/disable periodic Q boost, unsigned int parameter.
Definition: aomcx.h:478
@ AV1E_SET_DV_COST_UPD_FREQ
Control to set frequency of the cost updates for intrabc motion vectors, unsigned int parameter.
Definition: aomcx.h:1352
@ AV1E_SET_RENDER_SIZE
Codec control function to set intended rendering image size, int32_t[2] parameter.
Definition: aomcx.h:611
@ AV1E_SET_ALLOW_REF_FRAME_MVS
Codec control function to set temporal mv prediction enabling/disabling at frame level,...
Definition: aomcx.h:940
@ AV1E_SET_ENABLE_RECT_TX
Codec control function to turn on / off rectangular transforms, int parameter.
Definition: aomcx.h:906
@ 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:918
@ 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:1160
@ AV1E_SET_ENABLE_SUPERRES
Codec control function to turn on / off frame superresolution, int parameter.
Definition: aomcx.h:1090
@ AV1E_SET_SUPERBLOCK_SIZE
Codec control function to set intended superblock size, unsigned int parameter.
Definition: aomcx.h:645
@ 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:1256
@ AV1E_SET_ENABLE_INTERINTRA_WEDGE
Codec control function to turn on / off interintra wedge compound, int parameter.
Definition: aomcx.h:1012
@ AV1E_SET_NOISE_SENSITIVITY
Codec control function to set noise sensitivity, unsigned int parameter.
Definition: aomcx.h:486
@ AV1E_SET_SVC_PARAMS
Codec control function to set SVC paramaeters, aom_svc_params_t* parameter.
Definition: aomcx.h:1275
@ AV1E_SET_ENABLE_DIFF_WTD_COMP
Codec control function to turn on / off difference weighted compound, int parameter.
Definition: aomcx.h:996
@ AV1E_SET_QUANT_B_ADAPT
Control to use adaptive quantize_b, int parameter.
Definition: aomcx.h:1200
@ AV1E_SET_ENABLE_FILTER_INTRA
Codec control function to turn on / off filter intra usage at sequence level, int parameter.
Definition: aomcx.h:1053
@ AV1E_SET_ENABLE_PALETTE
Codec control function to turn on/off palette mode, int parameter.
Definition: aomcx.h:1103
@ AV1E_SET_ENABLE_CFL_INTRA
Codec control function to turn on / off CFL uv intra mode usage, int parameter.
Definition: aomcx.h:1082
@ AV1E_SET_ENABLE_KEYFRAME_FILTERING
Codec control function to enable temporal filtering on key frame, unsigned int parameter.
Definition: aomcx.h:415
@ AV1E_SET_NUM_TG
Codec control function to set a maximum number of tile groups, unsigned int parameter.
Definition: aomcx.h:783
@ AV1E_GET_BASELINE_GF_INTERVAL
Control to get baseline gf interval.
Definition: aomcx.h:1323
@ AOME_SET_MAX_INTRA_BITRATE_PCT
Codec control function to set max data rate for intra frames, unsigned int parameter.
Definition: aomcx.h:304
@ AV1E_SET_ERROR_RESILIENT_MODE
Codec control function to enable error_resilient_mode, int parameter.
Definition: aomcx.h:440
@ AV1E_SET_ENABLE_SMOOTH_INTERINTRA
Codec control function to turn on / off smooth inter-intra mode for a sequence, int parameter.
Definition: aomcx.h:988
@ AOME_SET_STATIC_THRESHOLD
Codec control function to set the threshold for MBs treated static, unsigned int parameter.
Definition: aomcx.h:244
@ AV1E_SET_ENABLE_OBMC
Codec control function to predict with OBMC mode, unsigned int parameter.
Definition: aomcx.h:691
@ AV1E_SET_PARTITION_INFO_PATH
Codec control to set the path for partition stats read and write. const char * parameter.
Definition: aomcx.h:1357
@ AOME_SET_SPATIAL_LAYER_ID
Codec control function to set encoder spatial layer id, unsigned int parameter.
Definition: aomcx.h:201
@ AV1E_SET_MAX_PARTITION_SIZE
Codec control function to set max partition size, int parameter.
Definition: aomcx.h:842
@ AV1E_SET_ENABLE_1TO4_PARTITIONS
Codec control function to enable/disable 1:4 and 4:1 partitions, int parameter.
Definition: aomcx.h:820
@ AV1E_SET_DELTALF_MODE
Codec control function to turn on/off loopfilter modulation when delta q modulation is enabled,...
Definition: aomcx.h:1133
@ AV1E_SET_ENABLE_TX64
Codec control function to turn on / off 64-length transforms, int parameter.
Definition: aomcx.h:870
@ AOME_SET_TUNING
Codec control function to set visual tuning, aom_tune_metric (int) parameter.
Definition: aomcx.h:280
@ 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:630
@ 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:578
@ AV1E_SET_REDUCED_TX_TYPE_SET
Control to use a reduced tx type set, int parameter.
Definition: aomcx.h:1187
@ AV1E_SET_DELTAQ_STRENGTH
Set –deltaq-mode strength.
Definition: aomcx.h:1389
@ AOME_SET_ENABLEAUTOBWDREF
Codec control function to enable automatic set and use of bwd-pred frames, unsigned int parameter.
Definition: aomcx.h:653
@ AV1E_SET_INTER_DCT_ONLY
Control to use dct only for inter modes, int parameter.
Definition: aomcx.h:1193
@ AV1E_SET_LOOPFILTER_CONTROL
Codec control to control loop filter.
Definition: aomcx.h:1398
@ AOME_SET_ENABLEAUTOALTREF
Codec control function to enable automatic set and use alf frames, unsigned int parameter.
Definition: aomcx.h:226
@ AOME_SET_SCALEMODE
Codec control function to set encoder scaling mode, aom_scaling_mode_t* parameter.
Definition: aomcx.h:196
@ AOME_GET_LAST_QUANTIZER
Codec control function to get last quantizer chosen by the encoder, int* parameter.
Definition: aomcx.h:253
@ AV1E_SET_TILE_COLUMNS
Codec control function to set number of tile columns. unsigned int parameter.
Definition: aomcx.h:378
@ 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:1363
@ 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:1307
@ AV1E_SET_ENABLE_ORDER_HINT
Codec control function to turn on / off frame order hint (int parameter). Affects: joint compound mod...
Definition: aomcx.h:859
@ AV1E_SET_DELTAQ_MODE
Codec control function to set the delta q mode, unsigned int parameter.
Definition: aomcx.h:1125
@ AV1E_SET_ENABLE_GLOBAL_MOTION
Codec control function to turn on / off global motion usage for a sequence, int parameter.
Definition: aomcx.h:1022
@ AV1E_SET_FILM_GRAIN_TABLE
Codec control function to set the path to the film grain parameters, const char* parameter.
Definition: aomcx.h:1172
@ AV1E_SET_QM_MAX
Codec control function to set the max quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:737
@ AV1E_SET_MAX_REFERENCE_FRAMES
Control to select maximum reference frames allowed per frame, int parameter.
Definition: aomcx.h:1214
@ AOME_SET_CPUUSED
Codec control function to set encoder internal speed settings, int parameter.
Definition: aomcx.h:218
@ AV1E_SET_GF_CBR_BOOST_PCT
Boost percentage for Golden Frame in CBR mode, unsigned int parameter.
Definition: aomcx.h:337
@ AV1E_SET_ENABLE_ONESIDED_COMP
Codec control function to turn on / off one sided compound usage for a sequence, int parameter.
Definition: aomcx.h:972
@ AV1E_SET_DENOISE_BLOCK_SIZE
Sets the denoisers block size, unsigned int parameter.
Definition: aomcx.h:1178
@ 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:1286
@ AV1E_SET_QM_MIN
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:725
@ AV1E_SET_ENABLE_QM
Codec control function to encode with quantisation matrices, unsigned int parameter.
Definition: aomcx.h:712
@ AV1E_SET_ENABLE_OVERLAY
Codec control function to turn on / off overlay frames for filtered ALTREF frames,...
Definition: aomcx.h:1100
@ AOME_SET_NUMBER_SPATIAL_LAYERS
Codec control function to set number of spatial layers, int parameter.
Definition: aomcx.h:309
@ AV1E_SET_SINGLE_TILE_DECODING
Codec control function to set the single tile decoding mode, unsigned int parameter.
Definition: aomcx.h:1143
@ AV1E_SET_ENABLE_RECT_PARTITIONS
Codec control function to enable/disable rectangular partitions, int parameter.
Definition: aomcx.h:804
@ AV1E_SET_COLOR_PRIMARIES
Codec control function to set color space info, int parameter.
Definition: aomcx.h:525
@ AOME_SET_CQ_LEVEL
Codec control function to set constrained / constant quality level, unsigned int parameter.
Definition: aomcx.h:290
@ AV1E_SET_ENABLE_TX_SIZE_SEARCH
Control to turn on / off transform size search.
Definition: aomcx.h:1378
@ AV1E_SET_MODE_COST_UPD_FREQ
Control to set frequency of the cost updates for mode, unsigned int parameter.
Definition: aomcx.h:1238
@ AV1E_SET_ALLOW_WARPED_MOTION
Codec control function to turn on / off warped motion usage at frame level, int parameter.
Definition: aomcx.h:1045
@ AV1E_ENABLE_EXT_TILE_DEBUG
Codec control function to enable EXT_TILE_DEBUG in AV1 encoder, unsigned int parameter.
Definition: aomcx.h:1296
@ AV1E_SET_MIN_CR
Control to set minimum compression ratio, unsigned int parameter Take integer values....
Definition: aomcx.h:1263
@ AV1E_SET_LOSSLESS
Codec control function to set lossless encoding mode, unsigned int parameter.
Definition: aomcx.h:351
@ AOME_SET_ARNR_STRENGTH
Codec control function to set the filter strength for the arf, unsigned int parameter.
Definition: aomcx.h:271
#define AOM_CTRL_USE_TYPE(id, typ)
Creates typechecking 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:1456
unsigned int rows
Definition: aomcx.h:1459
unsigned int cols
Definition: aomcx.h:1460
unsigned char * active_map
specify an on (1) or off (0) each 16x16 region within a frame
Definition: aomcx.h:1458
Callback function set for external partition model.
Definition: aom_external_partition.h:410
aom region of interest map
Definition: aomcx.h:1439
unsigned int cols
Definition: aomcx.h:1443
int delta_lf[8]
Definition: aomcx.h:1445
unsigned int static_threshold[8]
Definition: aomcx.h:1447
unsigned int rows
Definition: aomcx.h:1442
unsigned char * roi_map
Definition: aomcx.h:1441
int delta_q[8]
Definition: aomcx.h:1444
aom image scaling mode
Definition: aomcx.h:1468
AOM_SCALING_MODE v_scaling_mode
Definition: aomcx.h:1470
AOM_SCALING_MODE h_scaling_mode
Definition: aomcx.h:1469
Definition: aomcx.h:1509
int temporal_layer_id
Definition: aomcx.h:1511
int spatial_layer_id
Definition: aomcx.h:1510
Definition: aomcx.h:1515
int max_quantizers[32]
Definition: aomcx.h:1518
int number_spatial_layers
Definition: aomcx.h:1516
int layer_target_bitrate[32]
Definition: aomcx.h:1523
int framerate_factor[8]
Definition: aomcx.h:1525
int min_quantizers[32]
Definition: aomcx.h:1519
int scaling_factor_den[4]
Definition: aomcx.h:1521
int number_temporal_layers
Definition: aomcx.h:1517
int scaling_factor_num[4]
Definition: aomcx.h:1520
Definition: aomcx.h:1539
int use_comp_pred[3]
Definition: aomcx.h:1542
Definition: aomcx.h:1529
int reference[7]
Definition: aomcx.h:1532
int refresh[8]
Definition: aomcx.h:1535
int ref_idx[7]
Definition: aomcx.h:1534