AOMedia Codec SDK
aomcx.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016, Alliance for Open Media. All rights reserved
3  *
4  * This source code is subject to the terms of the BSD 2 Clause License and
5  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6  * was not distributed with this source code in the LICENSE file, you can
7  * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8  * Media Patent License 1.0 was not distributed with this source code in the
9  * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
10  */
11 #ifndef AOM_AOM_AOMCX_H_
12 #define AOM_AOM_AOMCX_H_
13 
19 #include "aom/aom.h"
20 #include "aom/aom_encoder.h"
21 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
36 extern aom_codec_iface_t aom_codec_av1_cx_algo;
37 extern aom_codec_iface_t *aom_codec_av1_cx(void);
40 /*
41  * Algorithm Flags
42  */
43 
50 #define AOM_EFLAG_NO_REF_LAST (1 << 16)
51 
57 #define AOM_EFLAG_NO_REF_LAST2 (1 << 17)
58 
64 #define AOM_EFLAG_NO_REF_LAST3 (1 << 18)
65 
71 #define AOM_EFLAG_NO_REF_GF (1 << 19)
72 
79 #define AOM_EFLAG_NO_REF_ARF (1 << 20)
80 
86 #define AOM_EFLAG_NO_REF_BWD (1 << 21)
87 
93 #define AOM_EFLAG_NO_REF_ARF2 (1 << 22)
94 
100 #define AOM_EFLAG_NO_UPD_LAST (1 << 23)
101 
107 #define AOM_EFLAG_NO_UPD_GF (1 << 24)
108 
114 #define AOM_EFLAG_NO_UPD_ARF (1 << 25)
115 
120 #define AOM_EFLAG_NO_UPD_ENTROPY (1 << 26)
121 
126 #define AOM_EFLAG_NO_REF_FRAME_MVS (1 << 27)
127 
132 #define AOM_EFLAG_ERROR_RESILIENT (1 << 28)
133 
138 #define AOM_EFLAG_SET_S_FRAME (1 << 29)
139 
144 #define AOM_EFLAG_SET_PRIMARY_REF_NONE (1 << 30)
145 
157 
161 
165 
169 
173 
183 
187 
191 
195 
201 
208 
212 
216 
220 
228 
241 
245 
258 
271 
284 
290 
307 
323 
330 
342 
352 
362 
373 
386 
392 
399 
406 
428 
454 
476 
485 
491 
497 
501 
508 
514 
530 
536 
545 
551 
564 
574 
584 
594 
607 
621 
635 
648 
661 
674 
687 
702 
711 
723 
735 
743 
751 
759 
770 
780 
789 
801 
809 
820 
828 
838 
847 
856 
865 
874 
883 
892 
901 
910 
919 
928 
937 
945 
953 
962 
971 
979 
987 
995 
1002 
1005 
1008 
1011 
1024 
1030 
1040 
1047 
1053 
1060 
1064 
1067 
1070 
1073 
1076 
1079 
1082 
1085 
1088 
1091 
1095 
1099 
1102 
1110 
1118 
1124 
1131 
1135 
1139 
1144 };
1145 
1150 typedef enum aom_scaling_mode_1d {
1151  AOME_NORMAL = 0,
1152  AOME_FOURFIVE = 1,
1153  AOME_THREEFIVE = 2,
1154  AOME_ONETWO = 3
1156 
1164 #define AOM_MAX_SEGMENTS 8
1165 
1173 typedef struct aom_roi_map {
1175  unsigned char *roi_map;
1176  unsigned int rows;
1177  unsigned int cols;
1182 } aom_roi_map_t;
1183 
1190 typedef struct aom_active_map {
1192  unsigned char *active_map;
1193  unsigned int rows;
1194  unsigned int cols;
1196 
1202 typedef struct aom_scaling_mode {
1206 
1208 typedef enum {
1209  AOM_CONTENT_DEFAULT,
1210  AOM_CONTENT_SCREEN,
1211  AOM_CONTENT_INVALID
1213 
1215 typedef enum {
1216  AOM_TIMING_UNSPECIFIED,
1217  AOM_TIMING_EQUAL,
1218  AOM_TIMING_DEC_MODEL
1220 
1226 typedef enum {
1227  AOM_TUNE_PSNR,
1228  AOM_TUNE_SSIM,
1229  AOM_TUNE_CDEF_DIST,
1230  AOM_TUNE_DAALA_DIST
1231 } aom_tune_metric;
1232 
1233 #define AOM_MAX_LAYERS 32
1234 #define AOM_MAX_SS_LAYERS 4
1235 #define AOM_MAX_TS_LAYERS 8
1238 typedef struct aom_svc_layer_id {
1242 
1244 typedef struct aom_svc_params {
1256 
1259  // 7 references: LAST_FRAME (0), LAST2_FRAME(1), LAST3_FRAME(2),
1260  // GOLDEN_FRAME(3), BWDREF_FRAME(4), ALTREF2_FRAME(5), ALTREF_FRAME(6).
1262  int ref_idx[7];
1263  int refresh[8];
1265 
1275 #define AOM_CTRL_AOME_USE_REFERENCE
1277 #define AOM_CTRL_AOME_SET_ROI_MAP
1279 #define AOM_CTRL_AOME_SET_ACTIVEMAP
1281 #define AOM_CTRL_AOME_SET_SCALEMODE
1282 
1284 #define AOM_CTRL_AOME_SET_SPATIAL_LAYER_ID
1285 
1287 #define AOM_CTRL_AOME_SET_CPUUSED
1289 #define AOM_CTRL_AOME_SET_ENABLEAUTOALTREF
1290 
1292 #define AOM_CTRL_AOME_SET_ENABLEAUTOBWDREF
1293 
1295 #define AOM_CTRL_AOME_SET_SHARPNESS
1297 #define AOM_CTRL_AOME_SET_STATIC_THRESHOLD
1298 
1300 #define AOM_CTRL_AOME_SET_ARNR_MAXFRAMES
1302 #define AOM_CTRL_AOME_SET_ARNR_STRENGTH
1303 AOM_CTRL_USE_TYPE(AOME_SET_TUNING, int) /* aom_tune_metric */
1304 #define AOM_CTRL_AOME_SET_TUNING
1305 AOM_CTRL_USE_TYPE(AOME_SET_CQ_LEVEL, unsigned int)
1306 #define AOM_CTRL_AOME_SET_CQ_LEVEL
1307 
1308 AOM_CTRL_USE_TYPE(AV1E_SET_ROW_MT, unsigned int)
1309 #define AOM_CTRL_AV1E_SET_ROW_MT
1310 
1312 #define AOM_CTRL_AV1E_SET_TILE_COLUMNS
1314 #define AOM_CTRL_AV1E_SET_TILE_ROWS
1315 
1317 #define AOM_CTRL_AV1E_SET_ENABLE_TPL_MODEL
1318 
1320 #define AOM_CTRL_AOME_GET_LAST_QUANTIZER
1322 #define AOM_CTRL_AOME_GET_LAST_QUANTIZER_64
1323 
1325 #define AOM_CTRL_AOME_SET_MAX_INTRA_BITRATE_PCT
1326 AOM_CTRL_USE_TYPE(AOME_SET_MAX_INTER_BITRATE_PCT, unsigned int)
1327 #define AOM_CTRL_AOME_SET_MAX_INTER_BITRATE_PCT
1328 
1330 #define AOME_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1331 
1333 #define AOM_CTRL_AV1E_SET_GF_CBR_BOOST_PCT
1334 
1335 AOM_CTRL_USE_TYPE(AV1E_SET_LOSSLESS, unsigned int)
1336 #define AOM_CTRL_AV1E_SET_LOSSLESS
1337 
1339 #define AOM_CTRL_AV1E_SET_ENABLE_CDEF
1340 
1342 #define AOM_CTRL_AV1E_SET_ENABLE_RESTORATION
1343 
1345 #define AOM_CTRL_AV1E_SET_FORCE_VIDEO_MODE
1346 
1348 #define AOM_CTRL_AV1E_SET_ENABLE_OBMC
1349 
1351 #define AOM_CTRL_AV1E_SET_DISABLE_TRELLIS_QUANT
1352 
1354 #define AOM_CTRL_AV1E_SET_ENABLE_QM
1355 
1357 #define AOM_CTRL_AV1E_SET_ENABLE_DIST_8X8
1358 
1359 AOM_CTRL_USE_TYPE(AV1E_SET_QM_MIN, unsigned int)
1360 #define AOM_CTRL_AV1E_SET_QM_MIN
1361 
1362 AOM_CTRL_USE_TYPE(AV1E_SET_QM_MAX, unsigned int)
1363 #define AOM_CTRL_AV1E_SET_QM_MAX
1364 
1365 AOM_CTRL_USE_TYPE(AV1E_SET_QM_Y, unsigned int)
1366 #define AOM_CTRL_AV1E_SET_QM_Y
1367 
1368 AOM_CTRL_USE_TYPE(AV1E_SET_QM_U, unsigned int)
1369 #define AOM_CTRL_AV1E_SET_QM_U
1370 
1371 AOM_CTRL_USE_TYPE(AV1E_SET_QM_V, unsigned int)
1372 #define AOM_CTRL_AV1E_SET_QM_V
1373 
1374 AOM_CTRL_USE_TYPE(AV1E_SET_NUM_TG, unsigned int)
1375 #define AOM_CTRL_AV1E_SET_NUM_TG
1376 AOM_CTRL_USE_TYPE(AV1E_SET_MTU, unsigned int)
1377 #define AOM_CTRL_AV1E_SET_MTU
1378 
1379 AOM_CTRL_USE_TYPE(AV1E_SET_TIMING_INFO_TYPE, int) /* aom_timing_info_type_t */
1380 #define AOM_CTRL_AV1E_SET_TIMING_INFO_TYPE
1381 
1383 #define AOM_CTRL_AV1E_SET_ENABLE_RECT_PARTITIONS
1384 
1386 #define AOM_CTRL_AV1E_SET_ENABLE_AB_PARTITIONS
1387 
1389 #define AOM_CTRL_AV1E_SET_ENABLE_1TO4_PARTITIONS
1390 
1392 #define AOM_CTRL_AV1E_SET_MIN_PARTITION_SIZE
1393 
1395 #define AOM_CTRL_AV1E_SET_MAX_PARTITION_SIZE
1396 
1398 #define AOM_CTRL_AV1E_SET_ENABLE_INTRA_EDGE_FILTER
1399 
1401 #define AOM_CTRL_AV1E_SET_ENABLE_ORDER_HINT
1402 
1404 #define AOM_CTRL_AV1E_SET_ENABLE_TX64
1405 
1407 #define AOM_CTRL_AV1E_SET_TXSIZE_SEARCH_METHOD
1408 
1410 #define AOM_CTRL_AV1E_SET_ENABLE_FLIP_IDTX
1411 
1413 #define AOM_CTRL_AV1E_SET_ENABLE_DIST_WTD_COMP
1414 
1416 #define AOM_CTRL_AV1E_SET_ENABLE_REF_FRAME_MVS
1417 
1419 #define AOM_CTRL_AV1E_SET_ALLOW_REF_FRAME_MVS
1420 
1422 #define AOM_CTRL_AV1E_SET_ENABLE_DUAL_FILTER
1423 
1425 #define AOM_CTRL_AV1E_SET_ENABLE_CHROMA_DELTAQ
1426 
1428 #define AOM_CTRL_AV1E_SET_ENABLE_MASKED_COMP
1429 
1431 #define AOM_CTRL_AV1E_SET_ENABLE_ONESIDED_COMP
1432 
1434 #define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_COMP
1435 
1437 #define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTERINTRA
1438 
1440 #define AOM_CTRL_AV1E_SET_ENABLE_DIFF_WTD_COMP
1441 
1443 #define AOM_CTRL_AV1E_SET_ENABLE_INTERINTER_WEDGE
1444 
1446 #define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_WEDGE
1447 
1449 #define AOM_CTRL_AV1E_SET_ENABLE_GLOBAL_MOTION
1450 
1452 #define AOM_CTRL_AV1E_SET_ENABLE_WARPED_MOTION
1453 
1455 #define AOM_CTRL_AV1E_SET_ALLOW_WARPED_MOTION
1456 
1458 #define AOM_CTRL_AV1E_SET_ENABLE_FILTER_INTRA
1459 
1461 #define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTRA
1462 
1464 #define AOM_CTRL_AV1E_SET_ENABLE_PAETH_INTRA
1465 
1467 #define AOM_CTRL_AV1E_SET_ENABLE_CFL_INTRA
1468 
1470 #define AOM_CTRL_AV1E_SET_ENABLE_SUPERRES
1471 
1473 #define AOM_CTRL_AV1E_SET_ENABLE_PALETTE
1474 
1476 #define AOM_CTRL_AV1E_SET_ENABLE_INTRABC
1477 
1479 #define AOM_CTRL_AV1E_SET_ENABLE_ANGLE_DELTA
1480 
1482 #define AOM_CTRL_AV1E_SET_FRAME_PARALLEL_DECODING
1483 
1485 #define AOM_CTRL_AV1E_SET_ERROR_RESILIENT_MODE
1486 
1488 #define AOM_CTRL_AV1E_SET_S_FRAME_MODE
1489 
1490 AOM_CTRL_USE_TYPE(AV1E_SET_AQ_MODE, unsigned int)
1491 #define AOM_CTRL_AV1E_SET_AQ_MODE
1492 
1494 #define AOM_CTRL_AV1E_SET_DELTAQ_MODE
1495 
1497 #define AOM_CTRL_AV1E_SET_DELTALF_MODE
1498 
1500 #define AOM_CTRL_AV1E_SET_FRAME_PERIODIC_BOOST
1501 
1503 #define AOM_CTRL_AV1E_SET_NOISE_SENSITIVITY
1504 
1505 AOM_CTRL_USE_TYPE(AV1E_SET_TUNE_CONTENT, int) /* aom_tune_content */
1506 #define AOM_CTRL_AV1E_SET_TUNE_CONTENT
1507 
1509 #define AOM_CTRL_AV1E_SET_COLOR_PRIMARIES
1510 
1512 #define AOM_CTRL_AV1E_SET_TRANSFER_CHARACTERISTICS
1513 
1515 #define AOM_CTRL_AV1E_SET_MATRIX_COEFFICIENTS
1516 
1518 #define AOM_CTRL_AV1E_SET_CHROMA_SAMPLE_POSITION
1519 
1521 #define AOM_CTRL_AV1E_SET_MIN_GF_INTERVAL
1522 
1524 #define AOM_CTRL_AV1E_SET_MAX_GF_INTERVAL
1525 
1527 #define AOM_CTRL_AV1E_GET_ACTIVEMAP
1528 
1530 #define AOM_CTRL_AV1E_SET_COLOR_RANGE
1531 
1532 #define AOM_CTRL_AV1E_SET_RENDER_SIZE
1534 
1536 #define AOM_CTRL_AV1E_SET_SUPERBLOCK_SIZE
1537 
1539 #define AOM_CTRL_AV1E_GET_SEQ_LEVEL_IDX
1540 
1542 #define AOM_CTRL_AV1E_SET_SINGLE_TILE_DECODING
1543 
1545 #define AOM_CTRL_AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
1546 
1548 #define AOM_CTRL_AV1E_SET_FILM_GRAIN_TEST_VECTOR
1549 
1551 #define AOM_CTRL_AV1E_SET_FILM_GRAIN_TABLE
1552 
1554 #define AOM_CTRL_AV1E_SET_CDF_UPDATE_MODE
1555 
1557 #define AOM_CTRL_AV1E_SET_DENOISE_NOISE_LEVEL
1558 
1560 #define AOM_CTRL_AV1E_SET_DENOISE_BLOCK_SIZE
1561 
1563 #define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_X
1564 
1566 #define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_Y
1567 
1569 #define AOM_CTRL_AV1E_SET_REDUCED_TX_TYPE_SET
1570 
1572 #define AOM_CTRL_AV1E_SET_INTRA_DCT_ONLY
1573 
1575 #define AOM_CTRL_AV1E_SET_INTER_DCT_ONLY
1576 
1578 #define AOM_CTRL_AV1E_SET_INTRA_DEFAULT_TX_ONLY
1579 
1581 #define AOM_CTRL_AV1E_SET_QUANT_B_ADAPT
1582 
1584 #define AOM_CTRL_AV1E_SET_GF_MAX_PYRAMID_HEIGHT
1585 
1587 #define AOM_CTRL_AV1E_SET_MAX_REFERENCE_FRAMES
1588 
1590 #define AOM_CTRL_AV1E_SET_REDUCED_REFERENCE_SET
1591 
1593 #define AOM_CTRL_AV1E_SET_COEFF_COST_UPD_FREQ
1594 
1596 #define AOM_CTRL_AV1E_SET_MODE_COST_UPD_FREQ
1597 
1599 #define AOM_CTRL_AV1E_SET_TARGET_SEQ_LEVEL_IDX
1600 
1602 #define AOM_CTRL_AV1E_SET_TIER_MASK
1603 
1604 AOM_CTRL_USE_TYPE(AV1E_SET_MIN_CR, unsigned int)
1605 #define AOM_CTRL_AV1E_SET_MIN_CR
1606 
1608 #define AOME_CTRL_AV1E_SET_SVC_LAYER_ID
1609 
1611 #define AOME_CTRL_AV1E_SET_SVC_PARAMS
1612 
1614 #define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
1615 
1618 #ifdef __cplusplus
1619 } // extern "C"
1620 #endif
1621 
1622 #endif // AOM_AOM_AOMCX_H_
AOME_GET_LAST_QUANTIZER_64
@ AOME_GET_LAST_QUANTIZER_64
Codec control function to get last quantizer chosen by the encoder.
Definition: aomcx.h:207
AV1E_SET_ENABLE_DIFF_WTD_COMP
@ AV1E_SET_ENABLE_DIFF_WTD_COMP
Codec control function to turn on / off difference weighted compound.
Definition: aomcx.h:918
aom_active_map::active_map
unsigned char * active_map
specify an on (1) or off (0) each 16x16 region within a frame
Definition: aomcx.h:1192
AV1E_SET_TIER_MASK
@ AV1E_SET_TIER_MASK
Control to set bit mask that specifies which tier each of the 32 possible operating points conforms t...
Definition: aomcx.h:1123
AV1E_SET_RENDER_SIZE
@ AV1E_SET_RENDER_SIZE
Codec control function to set intended rendering image size.
Definition: aomcx.h:513
AV1E_SET_DELTALF_MODE
@ AV1E_SET_DELTALF_MODE
Codec control function to turn on/off loopfilter modulation when delta q modulation is enabled....
Definition: aomcx.h:1029
AV1E_SET_S_FRAME_MODE
@ AV1E_SET_S_FRAME_MODE
Codec control function to enable s_frame_mode.
Definition: aomcx.h:361
aom_scaling_mode
aom image scaling mode
Definition: aomcx.h:1202
AOME_SET_CPUUSED
@ AOME_SET_CPUUSED
Codec control function to set encoder internal speed settings.
Definition: aomcx.h:182
AV1E_GET_SEQ_LEVEL_IDX
@ AV1E_GET_SEQ_LEVEL_IDX
Codec control function to get sequence level index for each operating point. There can be at most 32 ...
Definition: aomcx.h:535
aom_svc_params::framerate_factor
int framerate_factor[8]
Definition: aomcx.h:1254
aom.h
Provides controls common to both the AOM encoder and decoder.
AV1E_SET_ALLOW_WARPED_MOTION
@ AV1E_SET_ALLOW_WARPED_MOTION
Codec control function to turn on / off warped motion usage at frame level.
Definition: aomcx.h:961
aom_svc_params::number_spatial_layers
int number_spatial_layers
Definition: aomcx.h:1245
AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
@ AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
Codec control function to enable the extreme motion vector unit test in AV1. Please note that this is...
Definition: aomcx.h:1046
AV1E_SET_FORCE_VIDEO_MODE
@ AV1E_SET_FORCE_VIDEO_MODE
Codec control function to force video mode.
Definition: aomcx.h:583
AV1E_SET_ENABLE_DIST_WTD_COMP
@ AV1E_SET_ENABLE_DIST_WTD_COMP
Codec control function to turn on / off dist-wtd compound mode at sequence level.
Definition: aomcx.h:837
AV1E_SET_ENABLE_TX64
@ AV1E_SET_ENABLE_TX64
Codec control function to turn on / off 64-length transforms.
Definition: aomcx.h:808
AOME_SET_ACTIVEMAP
@ AOME_SET_ACTIVEMAP
Codec control function to pass an Active map to encoder.
Definition: aomcx.h:164
AV1E_SET_AQ_MODE
@ AV1E_SET_AQ_MODE
Codec control function to set adaptive quantization mode.
Definition: aomcx.h:372
AV1E_SET_MAX_GF_INTERVAL
@ AV1E_SET_MAX_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames.
Definition: aomcx.h:496
AV1E_SET_TX_SIZE_SEARCH_METHOD
@ AV1E_SET_TX_SIZE_SEARCH_METHOD
Codec control function to set transform block size search method.
Definition: aomcx.h:827
AV1E_SET_ENABLE_OBMC
@ AV1E_SET_ENABLE_OBMC
Codec control function to predict with OBMC mode.
Definition: aomcx.h:593
AV1E_SET_QUANT_B_ADAPT
@ AV1E_SET_QUANT_B_ADAPT
Control to use adaptive quantize_b.
Definition: aomcx.h:1090
AV1E_SET_GF_CBR_BOOST_PCT
@ AV1E_SET_GF_CBR_BOOST_PCT
Boost percentage for Golden Frame in CBR mode.
Definition: aomcx.h:270
AOME_SET_SPATIAL_LAYER_ID
@ AOME_SET_SPATIAL_LAYER_ID
Codec control function to set encoder spatial layer id.
Definition: aomcx.h:172
AV1E_SET_ENABLE_1TO4_PARTITIONS
@ AV1E_SET_ENABLE_1TO4_PARTITIONS
Codec control function to enable/disable 1:4 and 4:1 partitions.
Definition: aomcx.h:758
aom_svc_ref_frame_config::refresh
int refresh[8]
Definition: aomcx.h:1263
aom_codec_iface_t
const struct aom_codec_iface aom_codec_iface_t
Codec interface structure.
Definition: aom_codec.h:181
AV1E_GET_ACTIVEMAP
@ AV1E_GET_ACTIVEMAP
Codec control function to get an Active map back from the encoder.
Definition: aomcx.h:500
AOM_MAX_SS_LAYERS
#define AOM_MAX_SS_LAYERS
Definition: aomcx.h:1234
AV1E_SET_ALLOW_REF_FRAME_MVS
@ AV1E_SET_ALLOW_REF_FRAME_MVS
Codec control function to set temporal mv prediction enabling/disabling at frame level.
Definition: aomcx.h:855
AOME_SET_STATIC_THRESHOLD
@ AOME_SET_STATIC_THRESHOLD
Codec control function to set the threshold for MBs treated static.
Definition: aomcx.h:194
AV1E_SET_QM_V
@ AV1E_SET_QM_V
Codec control function to set the min quant matrix flatness.
Definition: aomcx.h:686
AV1E_SET_ENABLE_PALETTE
@ AV1E_SET_ENABLE_PALETTE
Codec control function to turn on/off palette mode.
Definition: aomcx.h:1004
AV1E_SET_MODE_COST_UPD_FREQ
@ AV1E_SET_MODE_COST_UPD_FREQ
Control to set frequency of the cost updates for mode Possible values are: 0: Update at SB level (def...
Definition: aomcx.h:1117
AOME_SET_ROI_MAP
@ AOME_SET_ROI_MAP
Codec control function to pass an ROI map to encoder.
Definition: aomcx.h:160
AV1E_SET_QM_U
@ AV1E_SET_QM_U
Codec control function to set the min quant matrix flatness.
Definition: aomcx.h:673
AV1E_SET_ROW_MT
@ AV1E_SET_ROW_MT
Definition: aomcx.h:289
AOM_CTRL_USE_TYPE
#define AOM_CTRL_USE_TYPE(id, typ)
aom_codec_control type definition macro
Definition: aom_codec.h:429
AV1E_SET_DELTAQ_MODE
@ AV1E_SET_DELTAQ_MODE
Codec control function to set the delta q mode.
Definition: aomcx.h:1023
AV1E_SET_COLOR_PRIMARIES
@ AV1E_SET_COLOR_PRIMARIES
Codec control function to set color space info.
Definition: aomcx.h:427
AV1E_SET_TUNE_CONTENT
@ AV1E_SET_TUNE_CONTENT
Codec control function to set content type.
Definition: aomcx.h:398
AV1E_SET_QM_MAX
@ AV1E_SET_QM_MAX
Codec control function to set the max quant matrix flatness.
Definition: aomcx.h:647
aom_svc_params::max_quantizers
int max_quantizers[32]
Definition: aomcx.h:1247
aom_tune_content
aom_tune_content
Definition: aomcx.h:1208
AOME_SET_ARNR_STRENGTH
@ AOME_SET_ARNR_STRENGTH
Codec control function to set the filter strength for the arf.
Definition: aomcx.h:215
aome_enc_control_id
aome_enc_control_id
AVx encoder control functions.
Definition: aomcx.h:153
AOME_SET_ENABLEAUTOALTREF
@ AOME_SET_ENABLEAUTOALTREF
Codec control function to enable automatic set and use alf frames.
Definition: aomcx.h:186
aom_roi_map::roi_map
unsigned char * roi_map
Definition: aomcx.h:1175
aom_svc_params::number_temporal_layers
int number_temporal_layers
Definition: aomcx.h:1246
AV1E_SET_TRANSFER_CHARACTERISTICS
@ AV1E_SET_TRANSFER_CHARACTERISTICS
Codec control function to set transfer function info.
Definition: aomcx.h:453
AV1E_SET_ENABLE_ANGLE_DELTA
@ AV1E_SET_ENABLE_ANGLE_DELTA
Codec control function to turn on/off intra angle delta.
Definition: aomcx.h:1010
AV1E_SET_SINGLE_TILE_DECODING
@ AV1E_SET_SINGLE_TILE_DECODING
Codec control function to set the single tile decoding mode to 0 or 1.
Definition: aomcx.h:1039
aom_svc_layer_id
Definition: aomcx.h:1238
AV1E_SET_MAX_PARTITION_SIZE
@ AV1E_SET_MAX_PARTITION_SIZE
Codec control function to set max partition size.
Definition: aomcx.h:779
AV1E_SET_ENABLE_SUPERRES
@ AV1E_SET_ENABLE_SUPERRES
Codec control function to turn on / off frame superresolution.
Definition: aomcx.h:1001
AV1E_SET_QM_Y
@ AV1E_SET_QM_Y
Codec control function to set the min quant matrix flatness.
Definition: aomcx.h:660
AV1E_SET_TIMING_INFO_TYPE
@ AV1E_SET_TIMING_INFO_TYPE
Codec control function to signal picture timing info in the bitstream.
Definition: aomcx.h:1052
AV1E_SET_ENABLE_SMOOTH_INTRA
@ AV1E_SET_ENABLE_SMOOTH_INTRA
Codec control function to turn on / off smooth intra modes usage.
Definition: aomcx.h:978
aom_scaling_mode_1d
aom_scaling_mode_1d
aom 1-D scaling mode
Definition: aomcx.h:1150
AV1E_SET_TILE_ROWS
@ AV1E_SET_TILE_ROWS
Codec control function to set number of tile rows.
Definition: aomcx.h:322
AOME_GET_LAST_QUANTIZER
@ AOME_GET_LAST_QUANTIZER
Codec control function to get last quantizer chosen by the encoder.
Definition: aomcx.h:200
AV1E_SET_COEFF_COST_UPD_FREQ
@ AV1E_SET_COEFF_COST_UPD_FREQ
Control to set frequency of the cost updates for coefficients Possible values are: 0: Update at SB le...
Definition: aomcx.h:1109
AV1E_SET_FRAME_PERIODIC_BOOST
@ AV1E_SET_FRAME_PERIODIC_BOOST
Codec control function to enable/disable periodic Q boost.
Definition: aomcx.h:385
aom_active_map::cols
unsigned int cols
Definition: aomcx.h:1194
AV1E_SET_SVC_LAYER_ID
@ AV1E_SET_SVC_LAYER_ID
Codec control function to set the layer id.
Definition: aomcx.h:1134
AV1E_SET_NUM_TG
@ AV1E_SET_NUM_TG
Codec control function to set a maximum number of tile groups.
Definition: aomcx.h:710
AOME_SET_ARNR_MAXFRAMES
@ AOME_SET_ARNR_MAXFRAMES
Codec control function to set the max no of frames to create arf.
Definition: aomcx.h:211
AV1E_SET_ENABLE_CHROMA_DELTAQ
@ AV1E_SET_ENABLE_CHROMA_DELTAQ
Codec control function to turn on / off delta quantization in chroma planes usage for a sequence.
Definition: aomcx.h:873
AOME_SET_ENABLEAUTOBWDREF
@ AOME_SET_ENABLEAUTOBWDREF
Codec control function to enable automatic set and use bwd-pred frames.
Definition: aomcx.h:550
aom_svc_ref_frame_config
Definition: aomcx.h:1258
AV1E_SET_FRAME_PARALLEL_DECODING
@ AV1E_SET_FRAME_PARALLEL_DECODING
Codec control function to enable frame parallel decoding feature.
Definition: aomcx.h:341
AV1E_SET_INTER_DCT_ONLY
@ AV1E_SET_INTER_DCT_ONLY
Control to use dct only for inter modes.
Definition: aomcx.h:1084
aom_svc_params::scaling_factor_num
int scaling_factor_num[4]
Definition: aomcx.h:1249
aom_scaling_mode_t
struct aom_scaling_mode aom_scaling_mode_t
aom image scaling mode
AV1E_SET_INTRA_DCT_ONLY
@ AV1E_SET_INTRA_DCT_ONLY
Control to use dct only for intra modes.
Definition: aomcx.h:1081
aom_svc_params::layer_target_bitrate
int layer_target_bitrate[32]
Definition: aomcx.h:1252
AV1E_SET_ENABLE_PAETH_INTRA
@ AV1E_SET_ENABLE_PAETH_INTRA
Codec control function to turn on / off Paeth intra mode usage.
Definition: aomcx.h:986
AV1E_SET_MTU
@ AV1E_SET_MTU
Codec control function to set an MTU size for a tile group.
Definition: aomcx.h:722
aom_svc_params::min_quantizers
int min_quantizers[32]
Definition: aomcx.h:1248
AOM_MAX_SEGMENTS
#define AOM_MAX_SEGMENTS
Max number of segments.
Definition: aomcx.h:1164
aom_svc_layer_id_t
struct aom_svc_layer_id aom_svc_layer_id_t
AOM_SCALING_MODE
enum aom_scaling_mode_1d AOM_SCALING_MODE
aom 1-D scaling mode
AV1E_SET_MIN_CR
@ AV1E_SET_MIN_CR
Control to set minimum compression ratio. Take integer values. If non-zero, encoder will try to keep ...
Definition: aomcx.h:1130
AV1E_SET_CDF_UPDATE_MODE
@ AV1E_SET_CDF_UPDATE_MODE
Codec control function to set CDF update mode.
Definition: aomcx.h:405
aom_roi_map_t
struct aom_roi_map aom_roi_map_t
aom region of interest map
AOM_MAX_TS_LAYERS
#define AOM_MAX_TS_LAYERS
Definition: aomcx.h:1235
aom_svc_params
Definition: aomcx.h:1244
AV1E_SET_NOISE_SENSITIVITY
@ AV1E_SET_NOISE_SENSITIVITY
Codec control function to set noise sensitivity.
Definition: aomcx.h:391
aom_roi_map::rows
unsigned int rows
Definition: aomcx.h:1176
aom_scaling_mode::h_scaling_mode
AOM_SCALING_MODE h_scaling_mode
Definition: aomcx.h:1203
aom_tune_metric
aom_tune_metric
Model tuning parameters.
Definition: aomcx.h:1226
AOM_MAX_LAYERS
#define AOM_MAX_LAYERS
Definition: aomcx.h:1233
AV1E_SET_SUPERBLOCK_SIZE
@ AV1E_SET_SUPERBLOCK_SIZE
Codec control function to set intended superblock size.
Definition: aomcx.h:544
aom_scaling_mode::v_scaling_mode
AOM_SCALING_MODE v_scaling_mode
Definition: aomcx.h:1204
AV1E_SET_INTRA_DEFAULT_TX_ONLY
@ AV1E_SET_INTRA_DEFAULT_TX_ONLY
Control to use default tx type only for intra modes.
Definition: aomcx.h:1087
AV1E_SET_CHROMA_SAMPLE_POSITION
@ AV1E_SET_CHROMA_SAMPLE_POSITION
Codec control function to set chroma 4:2:0 sample position info.
Definition: aomcx.h:484
aom_encoder.h
Describes the encoder algorithm interface to applications.
aom_roi_map
aom region of interest map
Definition: aomcx.h:1173
AV1E_SET_MIN_PARTITION_SIZE
@ AV1E_SET_MIN_PARTITION_SIZE
Codec control function to set min partition size.
Definition: aomcx.h:769
AV1E_SET_TARGET_SEQ_LEVEL_IDX
@ AV1E_SET_TARGET_SEQ_LEVEL_IDX
Control to set target sequence level index for a certain operating point(OP). Possible values are in ...
Definition: aomcx.h:529
AV1E_SET_DISABLE_TRELLIS_QUANT
@ AV1E_SET_DISABLE_TRELLIS_QUANT
Codec control function to encode without trellis quantization.
Definition: aomcx.h:606
aom_svc_params::scaling_factor_den
int scaling_factor_den[4]
Definition: aomcx.h:1250
AOME_SET_SCALEMODE
@ AOME_SET_SCALEMODE
Codec control function to set encoder scaling mode.
Definition: aomcx.h:168
AOME_USE_REFERENCE
@ AOME_USE_REFERENCE
Codec control function to set which reference frame encoder can use.
Definition: aomcx.h:156
AV1E_SET_ENABLE_INTRABC
@ AV1E_SET_ENABLE_INTRABC
Codec control function to turn on/off intra block copy mode.
Definition: aomcx.h:1007
AV1E_SET_ENABLE_WARPED_MOTION
@ AV1E_SET_ENABLE_WARPED_MOTION
Codec control function to turn on / off warped motion usage at sequence level.
Definition: aomcx.h:952
AV1E_SET_REDUCED_REFERENCE_SET
@ AV1E_SET_REDUCED_REFERENCE_SET
Control to use reduced set of single and compound references.
Definition: aomcx.h:1101
AV1E_SET_ENABLE_INTERINTER_WEDGE
@ AV1E_SET_ENABLE_INTERINTER_WEDGE
Codec control function to turn on / off interinter wedge compound.
Definition: aomcx.h:927
AV1E_SET_QM_MIN
@ AV1E_SET_QM_MIN
Codec control function to set the min quant matrix flatness.
Definition: aomcx.h:634
AV1E_SET_MIN_GF_INTERVAL
@ AV1E_SET_MIN_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames.
Definition: aomcx.h:490
aom_active_map
aom active region map
Definition: aomcx.h:1190
AV1E_SET_ENABLE_CFL_INTRA
@ AV1E_SET_ENABLE_CFL_INTRA
Codec control function to turn on / off CFL uv intra mode usage.
Definition: aomcx.h:994
AV1E_SET_ENABLE_FLIP_IDTX
@ AV1E_SET_ENABLE_FLIP_IDTX
Codec control function to turn on / off flip and identity transforms.
Definition: aomcx.h:819
AV1E_SET_COLOR_RANGE
@ AV1E_SET_COLOR_RANGE
Codec control function to set color range bit.
Definition: aomcx.h:507
AOME_SET_MAX_INTRA_BITRATE_PCT
@ AOME_SET_MAX_INTRA_BITRATE_PCT
Codec control function to set Max data rate for Intra frames.
Definition: aomcx.h:240
AV1E_SET_MATRIX_COEFFICIENTS
@ AV1E_SET_MATRIX_COEFFICIENTS
Codec control function to set transfer function info.
Definition: aomcx.h:475
aom_roi_map::static_threshold
unsigned int static_threshold[8]
Definition: aomcx.h:1181
AV1E_SET_ENABLE_CDEF
@ AV1E_SET_ENABLE_CDEF
Codec control function to encode with CDEF.
Definition: aomcx.h:563
AV1E_SET_FILM_GRAIN_TABLE
@ AV1E_SET_FILM_GRAIN_TABLE
Codec control function to set the path to the film grain parameters.
Definition: aomcx.h:1063
AV1E_SET_FILM_GRAIN_TEST_VECTOR
@ AV1E_SET_FILM_GRAIN_TEST_VECTOR
Codec control function to add film grain parameters (one of several preset types) info in the bitstre...
Definition: aomcx.h:1059
AV1E_SET_MAX_INTER_BITRATE_PCT
@ AV1E_SET_MAX_INTER_BITRATE_PCT
Codec control function to set max data rate for Inter frames.
Definition: aomcx.h:257
AV1E_SET_ENABLE_GLOBAL_MOTION
@ AV1E_SET_ENABLE_GLOBAL_MOTION
Codec control function to turn on / off global motion usage for a sequence.
Definition: aomcx.h:944
aom_active_map::rows
unsigned int rows
Definition: aomcx.h:1193
AV1E_SET_ANS_WINDOW_SIZE_LOG2
@ AV1E_SET_ANS_WINDOW_SIZE_LOG2
Codec control function to set the number of symbols in an ANS data window.
Definition: aomcx.h:734
aom_roi_map::cols
unsigned int cols
Definition: aomcx.h:1177
AV1E_SET_ENABLE_ORDER_HINT
@ AV1E_SET_ENABLE_ORDER_HINT
Codec control function to turn on / off frame order hint for a few tools:
Definition: aomcx.h:800
AV1E_SET_SVC_PARAMS
@ AV1E_SET_SVC_PARAMS
Codec control function to set SVC paramaeters.
Definition: aomcx.h:1138
AV1E_SET_TILE_COLUMNS
@ AV1E_SET_TILE_COLUMNS
Codec control function to set number of tile columns.
Definition: aomcx.h:306
AV1E_SET_SVC_REF_FRAME_CONFIG
@ 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:1143
AV1E_SET_ENABLE_QM
@ AV1E_SET_ENABLE_QM
Codec control function to encode with quantisation matrices.
Definition: aomcx.h:620
AV1E_SET_ENABLE_INTERINTRA_COMP
@ AV1E_SET_ENABLE_INTERINTRA_COMP
Codec control function to turn on / off interintra compound for a sequence.
Definition: aomcx.h:900
aom_roi_map::delta_q
int delta_q[8]
Definition: aomcx.h:1178
aom_svc_params_t
struct aom_svc_params aom_svc_params_t
AV1E_SET_ENABLE_DIST_8X8
@ AV1E_SET_ENABLE_DIST_8X8
Codec control function to encode with dist_8x8.
Definition: aomcx.h:701
AOME_SET_SHARPNESS
@ AOME_SET_SHARPNESS
Codec control function to set sharpness.
Definition: aomcx.h:190
AV1E_SET_ENABLE_INTERINTRA_WEDGE
@ AV1E_SET_ENABLE_INTERINTRA_WEDGE
Codec control function to turn on / off interintra wedge compound.
Definition: aomcx.h:936
AV1E_SET_DENOISE_BLOCK_SIZE
@ AV1E_SET_DENOISE_BLOCK_SIZE
Sets the denoisers block size.
Definition: aomcx.h:1069
aom_svc_layer_id::spatial_layer_id
int spatial_layer_id
Definition: aomcx.h:1239
AV1E_SET_DENOISE_NOISE_LEVEL
@ AV1E_SET_DENOISE_NOISE_LEVEL
Sets the noise level.
Definition: aomcx.h:1066
AV1E_SET_ENABLE_SMOOTH_INTERINTRA
@ AV1E_SET_ENABLE_SMOOTH_INTERINTRA
Codec control function to turn on / off smooth inter-intra mode for a sequence.
Definition: aomcx.h:909
AOME_SET_CQ_LEVEL
@ AOME_SET_CQ_LEVEL
Codec control function to set constrained quality level.
Definition: aomcx.h:227
AV1E_SET_LOSSLESS
@ AV1E_SET_LOSSLESS
Codec control function to set lossless encoding mode.
Definition: aomcx.h:283
aom_svc_ref_frame_config_t
struct aom_svc_ref_frame_config aom_svc_ref_frame_config_t
AV1E_SET_ENABLE_TPL_MODEL
@ AV1E_SET_ENABLE_TPL_MODEL
Codec control function to enable RDO modulated by frame temporal dependency.
Definition: aomcx.h:329
AV1E_SET_ERROR_RESILIENT_MODE
@ AV1E_SET_ERROR_RESILIENT_MODE
Codec control function to enable error_resilient_mode.
Definition: aomcx.h:351
AV1E_SET_ENABLE_RESTORATION
@ AV1E_SET_ENABLE_RESTORATION
Codec control function to encode with Loop Restoration Filter.
Definition: aomcx.h:573
aom_roi_map::delta_lf
int delta_lf[8]
Definition: aomcx.h:1179
AV1E_SET_ENABLE_RECT_PARTITIONS
@ AV1E_SET_ENABLE_RECT_PARTITIONS
Codec control function to enable/disable rectangular partitions.
Definition: aomcx.h:742
aom_active_map_t
struct aom_active_map aom_active_map_t
aom active region map
AV1E_SET_ENABLE_DUAL_FILTER
@ AV1E_SET_ENABLE_DUAL_FILTER
Codec control function to turn on / off dual filter usage for a sequence.
Definition: aomcx.h:864
AOME_SET_TUNING
@ AOME_SET_TUNING
Codec control function to set visual tuning.
Definition: aomcx.h:219
AV1E_SET_ENABLE_AB_PARTITIONS
@ AV1E_SET_ENABLE_AB_PARTITIONS
Codec control function to enable/disable AB partitions.
Definition: aomcx.h:750
aom_svc_ref_frame_config::ref_idx
int ref_idx[7]
Definition: aomcx.h:1262
AV1E_SET_GF_MAX_PYRAMID_HEIGHT
@ AV1E_SET_GF_MAX_PYRAMID_HEIGHT
Control to select maximum height for the GF group pyramid structure (valid values: 0 - 4)
Definition: aomcx.h:1094
AV1E_SET_ENABLE_ONESIDED_COMP
@ AV1E_SET_ENABLE_ONESIDED_COMP
Codec control function to turn on / off one sided compound usage for a sequence.
Definition: aomcx.h:891
AV1E_SET_CHROMA_SUBSAMPLING_Y
@ AV1E_SET_CHROMA_SUBSAMPLING_Y
Sets the chroma subsampling y value.
Definition: aomcx.h:1075
AV1E_SET_ENABLE_MASKED_COMP
@ AV1E_SET_ENABLE_MASKED_COMP
Codec control function to turn on / off masked compound usage for a sequence.
Definition: aomcx.h:882
AV1E_SET_ENABLE_FILTER_INTRA
@ AV1E_SET_ENABLE_FILTER_INTRA
Codec control function to turn on / off filter intra usage at sequence level.
Definition: aomcx.h:970
AOME_SET_NUMBER_SPATIAL_LAYERS
@ AOME_SET_NUMBER_SPATIAL_LAYERS
Codec control function to set number of spatial layers.
Definition: aomcx.h:244
aom_timing_info_type_t
aom_timing_info_type_t
Definition: aomcx.h:1215
AV1E_SET_ENABLE_INTRA_EDGE_FILTER
@ AV1E_SET_ENABLE_INTRA_EDGE_FILTER
Codec control function to turn on / off intra edge filter at sequence level.
Definition: aomcx.h:788
aom_svc_layer_id::temporal_layer_id
int temporal_layer_id
Definition: aomcx.h:1240
AV1E_SET_REDUCED_TX_TYPE_SET
@ AV1E_SET_REDUCED_TX_TYPE_SET
Control to use a reduced tx type set.
Definition: aomcx.h:1078
AV1E_SET_CHROMA_SUBSAMPLING_X
@ AV1E_SET_CHROMA_SUBSAMPLING_X
Sets the chroma subsampling x value.
Definition: aomcx.h:1072
AV1E_SET_MAX_REFERENCE_FRAMES
@ AV1E_SET_MAX_REFERENCE_FRAMES
Control to select maximum reference frames allowed per frame (valid values: 3 - 7)
Definition: aomcx.h:1098
AV1E_SET_ENABLE_REF_FRAME_MVS
@ AV1E_SET_ENABLE_REF_FRAME_MVS
Codec control function to turn on / off ref frame mvs (mfmv) usage at sequence level.
Definition: aomcx.h:846