AOMedia Codec SDK: aom/aomcx.h Source File

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
153 enum aome_enc_control_id {
157 AOME_USE_REFERENCE = 7,
158
162 AOME_SET_ROI_MAP = 8,
163
167 AOME_SET_ACTIVEMAP = 9,
168
169 /* NOTE: enum 10 unused */
170
174 AOME_SET_SCALEMODE = 11,
175
179 AOME_SET_SPATIAL_LAYER_ID = 12,
180
192 AOME_SET_CPUUSED = 13,
193
200 AOME_SET_ENABLEAUTOALTREF = 14,
201
202 /* NOTE: enum 15 unused */
203
206 AOME_SET_SHARPNESS = AOME_SET_ENABLEAUTOALTREF + 2, // 16
207
211 AOME_SET_STATIC_THRESHOLD = 17,
212
213 /* NOTE: enum 18 unused */
214
220 AOME_GET_LAST_QUANTIZER = AOME_SET_STATIC_THRESHOLD + 2, // 19
221
228 AOME_GET_LAST_QUANTIZER_64 = 20,
229
233 AOME_SET_ARNR_MAXFRAMES = 21,
234
238 AOME_SET_ARNR_STRENGTH = 22,
239
240 /* NOTE: enum 23 unused */
241
245 AOME_SET_TUNING = AOME_SET_ARNR_STRENGTH + 2, // 24
246
255 AOME_SET_CQ_LEVEL = 25,
256
269 AOME_SET_MAX_INTRA_BITRATE_PCT = 26,
270
274 AOME_SET_NUMBER_SPATIAL_LAYERS = 27,
275
288 AV1E_SET_MAX_INTER_BITRATE_PCT = AOME_SET_MAX_INTRA_BITRATE_PCT + 2, // 28
289
302 AV1E_SET_GF_CBR_BOOST_PCT = 29,
303
304 /* NOTE: enum 30 unused */
305
316 AV1E_SET_LOSSLESS = AV1E_SET_GF_CBR_BOOST_PCT + 2, // 31
317
324 AV1E_SET_ROW_MT = 32,
325
343 AV1E_SET_TILE_COLUMNS = 33,
344
361 AV1E_SET_TILE_ROWS = 34,
362
369 AV1E_SET_ENABLE_TPL_MODEL = 35,
370
377 AV1E_SET_ENABLE_KEYFRAME_FILTERING = 36,
378
391 AV1E_SET_FRAME_PARALLEL_DECODING = 37,
392
402 AV1E_SET_ERROR_RESILIENT_MODE = 38,
403
413 AV1E_SET_S_FRAME_MODE = 39,
414
426 AV1E_SET_AQ_MODE = 40,
427
438 AV1E_SET_FRAME_PERIODIC_BOOST = 41,
439
446 AV1E_SET_NOISE_SENSITIVITY = 42,
447
454 AV1E_SET_TUNE_CONTENT = 43,
455
463 AV1E_SET_CDF_UPDATE_MODE = 44,
464
484 AV1E_SET_COLOR_PRIMARIES = 45,
485
509 AV1E_SET_TRANSFER_CHARACTERISTICS = 46,
510
530 AV1E_SET_MATRIX_COEFFICIENTS = 47,
531
537 AV1E_SET_CHROMA_SAMPLE_POSITION = 48,
538
544 AV1E_SET_MIN_GF_INTERVAL = 49,
545
551 AV1E_SET_MAX_GF_INTERVAL = 50,
552
556 AV1E_GET_ACTIVEMAP = 51,
557
563 AV1E_SET_COLOR_RANGE = 52,
564
570 AV1E_SET_RENDER_SIZE = 53,
571
589 AV1E_SET_TARGET_SEQ_LEVEL_IDX = 54,
590
596 AV1E_GET_SEQ_LEVEL_IDX = 55,
597
604 AV1E_SET_SUPERBLOCK_SIZE = 56,
605
612 AOME_SET_ENABLEAUTOBWDREF = 57,
613
622 AV1E_SET_ENABLE_CDEF = 58,
623
630 AV1E_SET_ENABLE_RESTORATION = 59,
631
637 AV1E_SET_FORCE_VIDEO_MODE = 60,
638
645 AV1E_SET_ENABLE_OBMC = 61,
646
655 AV1E_SET_DISABLE_TRELLIS_QUANT = 62,
656
666 AV1E_SET_ENABLE_QM = 63,
667
679 AV1E_SET_QM_MIN = 64,
680
691 AV1E_SET_QM_MAX = 65,
692
703 AV1E_SET_QM_Y = 66,
704
715 AV1E_SET_QM_U = 67,
716
727 AV1E_SET_QM_V = 68,
728
729 /* NOTE: enum 69 unused */
730
737 AV1E_SET_NUM_TG = 70,
738
748 AV1E_SET_MTU = 71,
749
750 /* NOTE: enum 72 unused */
751
758 AV1E_SET_ENABLE_RECT_PARTITIONS = 73,
759
766 AV1E_SET_ENABLE_AB_PARTITIONS = 74,
767
774 AV1E_SET_ENABLE_1TO4_PARTITIONS = 75,
775
785 AV1E_SET_MIN_PARTITION_SIZE = 76,
786
796 AV1E_SET_MAX_PARTITION_SIZE = 77,
797
804 AV1E_SET_ENABLE_INTRA_EDGE_FILTER = 78,
805
813 AV1E_SET_ENABLE_ORDER_HINT = 79,
814
824 AV1E_SET_ENABLE_TX64 = 80,
825
848 AV1E_SET_ENABLE_FLIP_IDTX = 81,
849
850 /* Note: enum value 82 unused */
851
862 AV1E_SET_ENABLE_DIST_WTD_COMP = 83,
863
873 AV1E_SET_ENABLE_REF_FRAME_MVS = 84,
874
884 AV1E_SET_ALLOW_REF_FRAME_MVS = 85,
885
892 AV1E_SET_ENABLE_DUAL_FILTER = 86,
893
900 AV1E_SET_ENABLE_CHROMA_DELTAQ = 87,
901
908 AV1E_SET_ENABLE_MASKED_COMP = 88,
909
916 AV1E_SET_ENABLE_ONESIDED_COMP = 89,
917
924 AV1E_SET_ENABLE_INTERINTRA_COMP = 90,
925
932 AV1E_SET_ENABLE_SMOOTH_INTERINTRA = 91,
933
940 AV1E_SET_ENABLE_DIFF_WTD_COMP = 92,
941
948 AV1E_SET_ENABLE_INTERINTER_WEDGE = 93,
949
956 AV1E_SET_ENABLE_INTERINTRA_WEDGE = 94,
957
964 AV1E_SET_ENABLE_GLOBAL_MOTION = 95,
965
972 AV1E_SET_ENABLE_WARPED_MOTION = 96,
973
983 AV1E_SET_ALLOW_WARPED_MOTION = 97,
984
994 AV1E_SET_ENABLE_FILTER_INTRA = 98,
995
1005 AV1E_SET_ENABLE_SMOOTH_INTRA = 99,
1006
1013 AV1E_SET_ENABLE_PAETH_INTRA = 100,
1014
1023 AV1E_SET_ENABLE_CFL_INTRA = 101,
1024
1033 AV1E_SET_ENABLE_SUPERRES = 102,
1034
1043 AV1E_SET_ENABLE_OVERLAY = 103,
1044
1046 AV1E_SET_ENABLE_PALETTE = 104,
1047
1050 AV1E_SET_ENABLE_INTRABC = 105,
1051
1054 AV1E_SET_ENABLE_ANGLE_DELTA = 106,
1055
1066 AV1E_SET_DELTAQ_MODE = 107,
1067
1074 AV1E_SET_DELTALF_MODE = 108,
1075
1084 AV1E_SET_SINGLE_TILE_DECODING = 109,
1085
1095 AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST = 110,
1096
1101 AV1E_SET_TIMING_INFO_TYPE = 111,
1102
1108 AV1E_SET_FILM_GRAIN_TEST_VECTOR = 112,
1109
1113 AV1E_SET_FILM_GRAIN_TABLE = 113,
1114
1116 AV1E_SET_DENOISE_NOISE_LEVEL = 114,
1117
1119 AV1E_SET_DENOISE_BLOCK_SIZE = 115,
1120
1122 AV1E_SET_CHROMA_SUBSAMPLING_X = 116,
1123
1125 AV1E_SET_CHROMA_SUBSAMPLING_Y = 117,
1126
1128 AV1E_SET_REDUCED_TX_TYPE_SET = 118,
1129
1131 AV1E_SET_INTRA_DCT_ONLY = 119,
1132
1134 AV1E_SET_INTER_DCT_ONLY = 120,
1135
1138 AV1E_SET_INTRA_DEFAULT_TX_ONLY = 121,
1139
1141 AV1E_SET_QUANT_B_ADAPT = 122,
1142
1148 AV1E_SET_GF_MAX_PYRAMID_HEIGHT = 123,
1149
1155 AV1E_SET_MAX_REFERENCE_FRAMES = 124,
1156
1159 AV1E_SET_REDUCED_REFERENCE_SET = 125,
1160
1161 /* NOTE: enums 126-139 unused */
1162 /* NOTE: Need a gap in enum values to avoud conflict with 128, 129, 130 */
1163
1172 AV1E_SET_COEFF_COST_UPD_FREQ = 140,
1173
1182 AV1E_SET_MODE_COST_UPD_FREQ = 141,
1183
1192 AV1E_SET_MV_COST_UPD_FREQ = 142,
1193
1200 AV1E_SET_TIER_MASK = 143,
1201
1207 AV1E_SET_MIN_CR = 144,
1208
1209 /* NOTE: enums 145-149 unused */
1210
1214 AV1E_SET_SVC_LAYER_ID = 150,
1215
1219 AV1E_SET_SVC_PARAMS = 151,
1220
1225 AV1E_SET_SVC_REF_FRAME_CONFIG = 152,
1226
1230 AV1E_SET_VMAF_MODEL_PATH = 153,
1231
1240 AV1E_ENABLE_EXT_TILE_DEBUG = 154,
1241
1251 AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST = 155,
1252
1258 AV1E_SET_GF_MIN_PYRAMID_HEIGHT = 156,
1259 };
1260
1265 typedef enum aom_scaling_mode_1d {
1266 AOME_NORMAL = 0,
1267 AOME_FOURFIVE = 1,
1268 AOME_THREEFIVE = 2,
1269 AOME_ONETWO = 3
1270 } AOM_SCALING_MODE;
1271
1279 #define AOM_MAX_SEGMENTS 8
1280
1288 typedef struct aom_roi_map {
1290 unsigned char *roi_map;
1291 unsigned int rows;
1292 unsigned int cols;
1293 int delta_q[AOM_MAX_SEGMENTS];
1294 int delta_lf[AOM_MAX_SEGMENTS];
1296 unsigned int static_threshold[AOM_MAX_SEGMENTS];
1297 } aom_roi_map_t;
1298
1305 typedef struct aom_active_map {
1307 unsigned char *active_map;
1308 unsigned int rows;
1309 unsigned int cols;
1310 } aom_active_map_t;
1311
1317 typedef struct aom_scaling_mode {
1318 AOM_SCALING_MODE h_scaling_mode;
1319 AOM_SCALING_MODE v_scaling_mode;
1320 } aom_scaling_mode_t;
1321
1323 typedef enum {
1324 AOM_CONTENT_DEFAULT,
1325 AOM_CONTENT_SCREEN,
1326 AOM_CONTENT_INVALID
1327 } aom_tune_content;
1328
1330 typedef enum {
1331 AOM_TIMING_UNSPECIFIED,
1332 AOM_TIMING_EQUAL,
1333 AOM_TIMING_DEC_MODEL
1334 } aom_timing_info_type_t;
1335
1341 typedef enum {
1342 AOM_TUNE_PSNR = 0,
1343 AOM_TUNE_SSIM = 1,
1344 /* NOTE: enums 2 and 3 unused */
1345 AOM_TUNE_VMAF_WITH_PREPROCESSING = 4,
1346 AOM_TUNE_VMAF_WITHOUT_PREPROCESSING = 5,
1347 AOM_TUNE_VMAF_MAX_GAIN = 6
1348 } aom_tune_metric;
1349
1350 #define AOM_MAX_LAYERS 32
1351 #define AOM_MAX_SS_LAYERS 4
1352 #define AOM_MAX_TS_LAYERS 8
1355 typedef struct aom_svc_layer_id {
1356 int spatial_layer_id;
1357 int temporal_layer_id;
1358 } aom_svc_layer_id_t;
1359
1361 typedef struct aom_svc_params {
1362 int number_spatial_layers;
1363 int number_temporal_layers;
1364 int max_quantizers[AOM_MAX_LAYERS];
1365 int min_quantizers[AOM_MAX_LAYERS];
1366 int scaling_factor_num[AOM_MAX_SS_LAYERS];
1367 int scaling_factor_den[AOM_MAX_SS_LAYERS];
1369 int layer_target_bitrate[AOM_MAX_LAYERS];
1371 int framerate_factor[AOM_MAX_TS_LAYERS];
1372 } aom_svc_params_t;
1373
1375 typedef struct aom_svc_ref_frame_config {
1376 // 7 references: LAST_FRAME (0), LAST2_FRAME(1), LAST3_FRAME(2),
1377 // GOLDEN_FRAME(3), BWDREF_FRAME(4), ALTREF2_FRAME(5), ALTREF_FRAME(6).
1378 int reference[7];
1380 int ref_idx[7];
1381 int refresh[8];
1382 } aom_svc_ref_frame_config_t;
1383
1396 AOM_CTRL_USE_TYPE(AOME_USE_REFERENCE, int)
1397 #define AOM_CTRL_AOME_USE_REFERENCE
1398
1399 AOM_CTRL_USE_TYPE(AOME_SET_ROI_MAP, aom_roi_map_t *)
1400 #define AOM_CTRL_AOME_SET_ROI_MAP
1401
1402 AOM_CTRL_USE_TYPE(AOME_SET_ACTIVEMAP, aom_active_map_t *)
1403 #define AOM_CTRL_AOME_SET_ACTIVEMAP
1404
1405 AOM_CTRL_USE_TYPE(AOME_SET_SCALEMODE, aom_scaling_mode_t *)
1406 #define AOM_CTRL_AOME_SET_SCALEMODE
1407
1408 AOM_CTRL_USE_TYPE(AOME_SET_SPATIAL_LAYER_ID, unsigned int)
1409 #define AOM_CTRL_AOME_SET_SPATIAL_LAYER_ID
1410
1411 AOM_CTRL_USE_TYPE(AOME_SET_CPUUSED, int)
1412 #define AOM_CTRL_AOME_SET_CPUUSED
1413
1414 AOM_CTRL_USE_TYPE(AOME_SET_ENABLEAUTOALTREF, unsigned int)
1415 #define AOM_CTRL_AOME_SET_ENABLEAUTOALTREF
1416
1417 AOM_CTRL_USE_TYPE(AOME_SET_ENABLEAUTOBWDREF, unsigned int)
1418 #define AOM_CTRL_AOME_SET_ENABLEAUTOBWDREF
1419
1420 AOM_CTRL_USE_TYPE(AOME_SET_SHARPNESS, unsigned int)
1421 #define AOM_CTRL_AOME_SET_SHARPNESS
1422
1423 AOM_CTRL_USE_TYPE(AOME_SET_STATIC_THRESHOLD, unsigned int)
1424 #define AOM_CTRL_AOME_SET_STATIC_THRESHOLD
1425
1426 AOM_CTRL_USE_TYPE(AOME_SET_ARNR_MAXFRAMES, unsigned int)
1427 #define AOM_CTRL_AOME_SET_ARNR_MAXFRAMES
1428
1429 AOM_CTRL_USE_TYPE(AOME_SET_ARNR_STRENGTH, unsigned int)
1430 #define AOM_CTRL_AOME_SET_ARNR_STRENGTH
1431
1432 AOM_CTRL_USE_TYPE(AOME_SET_TUNING, int) /* aom_tune_metric */
1433 #define AOM_CTRL_AOME_SET_TUNING
1434
1435 AOM_CTRL_USE_TYPE(AOME_SET_CQ_LEVEL, unsigned int)
1436 #define AOM_CTRL_AOME_SET_CQ_LEVEL
1437
1438 AOM_CTRL_USE_TYPE(AV1E_SET_ROW_MT, unsigned int)
1439 #define AOM_CTRL_AV1E_SET_ROW_MT
1440
1441 AOM_CTRL_USE_TYPE(AV1E_SET_TILE_COLUMNS, unsigned int)
1442 #define AOM_CTRL_AV1E_SET_TILE_COLUMNS
1443
1444 AOM_CTRL_USE_TYPE(AV1E_SET_TILE_ROWS, unsigned int)
1445 #define AOM_CTRL_AV1E_SET_TILE_ROWS
1446
1447 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_TPL_MODEL, unsigned int)
1448 #define AOM_CTRL_AV1E_SET_ENABLE_TPL_MODEL
1449
1450 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_KEYFRAME_FILTERING, unsigned int)
1451 #define AOM_CTRL_AV1E_SET_ENABLE_KEYFRAME_FILTERING
1452
1453 AOM_CTRL_USE_TYPE(AOME_GET_LAST_QUANTIZER, int *)
1454 #define AOM_CTRL_AOME_GET_LAST_QUANTIZER
1455
1456 AOM_CTRL_USE_TYPE(AOME_GET_LAST_QUANTIZER_64, int *)
1457 #define AOM_CTRL_AOME_GET_LAST_QUANTIZER_64
1458
1459 AOM_CTRL_USE_TYPE(AOME_SET_MAX_INTRA_BITRATE_PCT, unsigned int)
1460 #define AOM_CTRL_AOME_SET_MAX_INTRA_BITRATE_PCT
1461
1462 AOM_CTRL_USE_TYPE(AOME_SET_MAX_INTER_BITRATE_PCT, unsigned int)
1463 #define AOM_CTRL_AOME_SET_MAX_INTER_BITRATE_PCT
1464
1465 AOM_CTRL_USE_TYPE(AOME_SET_NUMBER_SPATIAL_LAYERS, int)
1466 #define AOME_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1467
1468 AOM_CTRL_USE_TYPE(AV1E_SET_GF_CBR_BOOST_PCT, unsigned int)
1469 #define AOM_CTRL_AV1E_SET_GF_CBR_BOOST_PCT
1470
1471 AOM_CTRL_USE_TYPE(AV1E_SET_LOSSLESS, unsigned int)
1472 #define AOM_CTRL_AV1E_SET_LOSSLESS
1473
1474 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_CDEF, unsigned int)
1475 #define AOM_CTRL_AV1E_SET_ENABLE_CDEF
1476
1477 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_RESTORATION, unsigned int)
1478 #define AOM_CTRL_AV1E_SET_ENABLE_RESTORATION
1479
1480 AOM_CTRL_USE_TYPE(AV1E_SET_FORCE_VIDEO_MODE, unsigned int)
1481 #define AOM_CTRL_AV1E_SET_FORCE_VIDEO_MODE
1482
1483 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_OBMC, unsigned int)
1484 #define AOM_CTRL_AV1E_SET_ENABLE_OBMC
1485
1486 AOM_CTRL_USE_TYPE(AV1E_SET_DISABLE_TRELLIS_QUANT, unsigned int)
1487 #define AOM_CTRL_AV1E_SET_DISABLE_TRELLIS_QUANT
1488
1489 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_QM, unsigned int)
1490 #define AOM_CTRL_AV1E_SET_ENABLE_QM
1491
1492 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIST_8X8, unsigned int)
1493 #define AOM_CTRL_AV1E_SET_ENABLE_DIST_8X8
1494
1495 AOM_CTRL_USE_TYPE(AV1E_SET_QM_MIN, unsigned int)
1496 #define AOM_CTRL_AV1E_SET_QM_MIN
1497
1498 AOM_CTRL_USE_TYPE(AV1E_SET_QM_MAX, unsigned int)
1499 #define AOM_CTRL_AV1E_SET_QM_MAX
1500
1501 AOM_CTRL_USE_TYPE(AV1E_SET_QM_Y, unsigned int)
1502 #define AOM_CTRL_AV1E_SET_QM_Y
1503
1504 AOM_CTRL_USE_TYPE(AV1E_SET_QM_U, unsigned int)
1505 #define AOM_CTRL_AV1E_SET_QM_U
1506
1507 AOM_CTRL_USE_TYPE(AV1E_SET_QM_V, unsigned int)
1508 #define AOM_CTRL_AV1E_SET_QM_V
1509
1510 AOM_CTRL_USE_TYPE(AV1E_SET_NUM_TG, unsigned int)
1511 #define AOM_CTRL_AV1E_SET_NUM_TG
1512
1513 AOM_CTRL_USE_TYPE(AV1E_SET_MTU, unsigned int)
1514 #define AOM_CTRL_AV1E_SET_MTU
1515
1516 AOM_CTRL_USE_TYPE(AV1E_SET_TIMING_INFO_TYPE, int) /* aom_timing_info_type_t */
1517 #define AOM_CTRL_AV1E_SET_TIMING_INFO_TYPE
1518
1519 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_RECT_PARTITIONS, int)
1520 #define AOM_CTRL_AV1E_SET_ENABLE_RECT_PARTITIONS
1521
1522 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_AB_PARTITIONS, int)
1523 #define AOM_CTRL_AV1E_SET_ENABLE_AB_PARTITIONS
1524
1525 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_1TO4_PARTITIONS, int)
1526 #define AOM_CTRL_AV1E_SET_ENABLE_1TO4_PARTITIONS
1527
1528 AOM_CTRL_USE_TYPE(AV1E_SET_MIN_PARTITION_SIZE, int)
1529 #define AOM_CTRL_AV1E_SET_MIN_PARTITION_SIZE
1530
1531 AOM_CTRL_USE_TYPE(AV1E_SET_MAX_PARTITION_SIZE, int)
1532 #define AOM_CTRL_AV1E_SET_MAX_PARTITION_SIZE
1533
1534 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTRA_EDGE_FILTER, int)
1535 #define AOM_CTRL_AV1E_SET_ENABLE_INTRA_EDGE_FILTER
1536
1537 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_ORDER_HINT, int)
1538 #define AOM_CTRL_AV1E_SET_ENABLE_ORDER_HINT
1539
1540 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_TX64, int)
1541 #define AOM_CTRL_AV1E_SET_ENABLE_TX64
1542
1543 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_FLIP_IDTX, int)
1544 #define AOM_CTRL_AV1E_SET_ENABLE_FLIP_IDTX
1545
1546 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIST_WTD_COMP, int)
1547 #define AOM_CTRL_AV1E_SET_ENABLE_DIST_WTD_COMP
1548
1549 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_REF_FRAME_MVS, int)
1550 #define AOM_CTRL_AV1E_SET_ENABLE_REF_FRAME_MVS
1551
1552 AOM_CTRL_USE_TYPE(AV1E_SET_ALLOW_REF_FRAME_MVS, int)
1553 #define AOM_CTRL_AV1E_SET_ALLOW_REF_FRAME_MVS
1554
1555 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DUAL_FILTER, int)
1556 #define AOM_CTRL_AV1E_SET_ENABLE_DUAL_FILTER
1557
1558 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_CHROMA_DELTAQ, int)
1559 #define AOM_CTRL_AV1E_SET_ENABLE_CHROMA_DELTAQ
1560
1561 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_MASKED_COMP, int)
1562 #define AOM_CTRL_AV1E_SET_ENABLE_MASKED_COMP
1563
1564 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_ONESIDED_COMP, int)
1565 #define AOM_CTRL_AV1E_SET_ENABLE_ONESIDED_COMP
1566
1567 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTERINTRA_COMP, int)
1568 #define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_COMP
1569
1570 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_SMOOTH_INTERINTRA, int)
1571 #define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTERINTRA
1572
1573 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIFF_WTD_COMP, int)
1574 #define AOM_CTRL_AV1E_SET_ENABLE_DIFF_WTD_COMP
1575
1576 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTERINTER_WEDGE, int)
1577 #define AOM_CTRL_AV1E_SET_ENABLE_INTERINTER_WEDGE
1578
1579 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTERINTRA_WEDGE, int)
1580 #define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_WEDGE
1581
1582 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_GLOBAL_MOTION, int)
1583 #define AOM_CTRL_AV1E_SET_ENABLE_GLOBAL_MOTION
1584
1585 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_WARPED_MOTION, int)
1586 #define AOM_CTRL_AV1E_SET_ENABLE_WARPED_MOTION
1587
1588 AOM_CTRL_USE_TYPE(AV1E_SET_ALLOW_WARPED_MOTION, int)
1589 #define AOM_CTRL_AV1E_SET_ALLOW_WARPED_MOTION
1590
1591 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_FILTER_INTRA, int)
1592 #define AOM_CTRL_AV1E_SET_ENABLE_FILTER_INTRA
1593
1594 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_SMOOTH_INTRA, int)
1595 #define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTRA
1596
1597 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_PAETH_INTRA, int)
1598 #define AOM_CTRL_AV1E_SET_ENABLE_PAETH_INTRA
1599
1600 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_CFL_INTRA, int)
1601 #define AOM_CTRL_AV1E_SET_ENABLE_CFL_INTRA
1602
1603 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_SUPERRES, int)
1604 #define AOM_CTRL_AV1E_SET_ENABLE_SUPERRES
1605
1606 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_OVERLAY, int)
1607 #define AOM_CTRL_AV1E_SET_ENABLE_OVERLAY
1608
1609 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_PALETTE, int)
1610 #define AOM_CTRL_AV1E_SET_ENABLE_PALETTE
1611
1612 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTRABC, int)
1613 #define AOM_CTRL_AV1E_SET_ENABLE_INTRABC
1614
1615 AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_ANGLE_DELTA, int)
1616 #define AOM_CTRL_AV1E_SET_ENABLE_ANGLE_DELTA
1617
1618 AOM_CTRL_USE_TYPE(AV1E_SET_FRAME_PARALLEL_DECODING, unsigned int)
1619 #define AOM_CTRL_AV1E_SET_FRAME_PARALLEL_DECODING
1620
1621 AOM_CTRL_USE_TYPE(AV1E_SET_ERROR_RESILIENT_MODE, int)
1622 #define AOM_CTRL_AV1E_SET_ERROR_RESILIENT_MODE
1623
1624 AOM_CTRL_USE_TYPE(AV1E_SET_S_FRAME_MODE, int)
1625 #define AOM_CTRL_AV1E_SET_S_FRAME_MODE
1626
1627 AOM_CTRL_USE_TYPE(AV1E_SET_AQ_MODE, unsigned int)
1628 #define AOM_CTRL_AV1E_SET_AQ_MODE
1629
1630 AOM_CTRL_USE_TYPE(AV1E_SET_DELTAQ_MODE, unsigned int)
1631 #define AOM_CTRL_AV1E_SET_DELTAQ_MODE
1632
1633 AOM_CTRL_USE_TYPE(AV1E_SET_DELTALF_MODE, unsigned int)
1634 #define AOM_CTRL_AV1E_SET_DELTALF_MODE
1635
1636 AOM_CTRL_USE_TYPE(AV1E_SET_FRAME_PERIODIC_BOOST, unsigned int)
1637 #define AOM_CTRL_AV1E_SET_FRAME_PERIODIC_BOOST
1638
1639 AOM_CTRL_USE_TYPE(AV1E_SET_NOISE_SENSITIVITY, unsigned int)
1640 #define AOM_CTRL_AV1E_SET_NOISE_SENSITIVITY
1641
1642 AOM_CTRL_USE_TYPE(AV1E_SET_TUNE_CONTENT, int) /* aom_tune_content */
1643 #define AOM_CTRL_AV1E_SET_TUNE_CONTENT
1644
1645 AOM_CTRL_USE_TYPE(AV1E_SET_COLOR_PRIMARIES, int)
1646 #define AOM_CTRL_AV1E_SET_COLOR_PRIMARIES
1647
1648 AOM_CTRL_USE_TYPE(AV1E_SET_TRANSFER_CHARACTERISTICS, int)
1649 #define AOM_CTRL_AV1E_SET_TRANSFER_CHARACTERISTICS
1650
1651 AOM_CTRL_USE_TYPE(AV1E_SET_MATRIX_COEFFICIENTS, int)
1652 #define AOM_CTRL_AV1E_SET_MATRIX_COEFFICIENTS
1653
1654 AOM_CTRL_USE_TYPE(AV1E_SET_CHROMA_SAMPLE_POSITION, int)
1655 #define AOM_CTRL_AV1E_SET_CHROMA_SAMPLE_POSITION
1656
1657 AOM_CTRL_USE_TYPE(AV1E_SET_MIN_GF_INTERVAL, unsigned int)
1658 #define AOM_CTRL_AV1E_SET_MIN_GF_INTERVAL
1659
1660 AOM_CTRL_USE_TYPE(AV1E_SET_MAX_GF_INTERVAL, unsigned int)
1661 #define AOM_CTRL_AV1E_SET_MAX_GF_INTERVAL
1662
1663 AOM_CTRL_USE_TYPE(AV1E_GET_ACTIVEMAP, aom_active_map_t *)
1664 #define AOM_CTRL_AV1E_GET_ACTIVEMAP
1665
1666 AOM_CTRL_USE_TYPE(AV1E_SET_COLOR_RANGE, int)
1667 #define AOM_CTRL_AV1E_SET_COLOR_RANGE
1668
1669 #define AOM_CTRL_AV1E_SET_RENDER_SIZE
1670 AOM_CTRL_USE_TYPE(AV1E_SET_RENDER_SIZE, int *)
1671
1672 AOM_CTRL_USE_TYPE(AV1E_SET_SUPERBLOCK_SIZE, unsigned int)
1673 #define AOM_CTRL_AV1E_SET_SUPERBLOCK_SIZE
1674
1675 AOM_CTRL_USE_TYPE(AV1E_GET_SEQ_LEVEL_IDX, int *)
1676 #define AOM_CTRL_AV1E_GET_SEQ_LEVEL_IDX
1677
1678 AOM_CTRL_USE_TYPE(AV1E_SET_SINGLE_TILE_DECODING, unsigned int)
1679 #define AOM_CTRL_AV1E_SET_SINGLE_TILE_DECODING
1680
1681 AOM_CTRL_USE_TYPE(AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST, unsigned int)
1682 #define AOM_CTRL_AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
1683
1684 AOM_CTRL_USE_TYPE(AV1E_ENABLE_EXT_TILE_DEBUG, unsigned int)
1685 #define AOM_CTRL_AV1E_ENABLE_EXT_TILE_DEBUG
1686
1687 AOM_CTRL_USE_TYPE(AV1E_SET_VMAF_MODEL_PATH, const char *)
1688 #define AOM_CTRL_AV1E_SET_VMAF_MODEL_PATH
1689
1690 AOM_CTRL_USE_TYPE(AV1E_SET_FILM_GRAIN_TEST_VECTOR, int)
1691 #define AOM_CTRL_AV1E_SET_FILM_GRAIN_TEST_VECTOR
1692
1693 AOM_CTRL_USE_TYPE(AV1E_SET_FILM_GRAIN_TABLE, const char *)
1694 #define AOM_CTRL_AV1E_SET_FILM_GRAIN_TABLE
1695
1696 AOM_CTRL_USE_TYPE(AV1E_SET_CDF_UPDATE_MODE, unsigned int)
1697 #define AOM_CTRL_AV1E_SET_CDF_UPDATE_MODE
1698
1699 AOM_CTRL_USE_TYPE(AV1E_SET_DENOISE_NOISE_LEVEL, int)
1700 #define AOM_CTRL_AV1E_SET_DENOISE_NOISE_LEVEL
1701
1702 AOM_CTRL_USE_TYPE(AV1E_SET_DENOISE_BLOCK_SIZE, unsigned int)
1703 #define AOM_CTRL_AV1E_SET_DENOISE_BLOCK_SIZE
1704
1705 AOM_CTRL_USE_TYPE(AV1E_SET_CHROMA_SUBSAMPLING_X, unsigned int)
1706 #define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_X
1707
1708 AOM_CTRL_USE_TYPE(AV1E_SET_CHROMA_SUBSAMPLING_Y, unsigned int)
1709 #define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_Y
1710
1711 AOM_CTRL_USE_TYPE(AV1E_SET_REDUCED_TX_TYPE_SET, int)
1712 #define AOM_CTRL_AV1E_SET_REDUCED_TX_TYPE_SET
1713
1714 AOM_CTRL_USE_TYPE(AV1E_SET_INTRA_DCT_ONLY, int)
1715 #define AOM_CTRL_AV1E_SET_INTRA_DCT_ONLY
1716
1717 AOM_CTRL_USE_TYPE(AV1E_SET_INTER_DCT_ONLY, int)
1718 #define AOM_CTRL_AV1E_SET_INTER_DCT_ONLY
1719
1720 AOM_CTRL_USE_TYPE(AV1E_SET_INTRA_DEFAULT_TX_ONLY, int)
1721 #define AOM_CTRL_AV1E_SET_INTRA_DEFAULT_TX_ONLY
1722
1723 AOM_CTRL_USE_TYPE(AV1E_SET_QUANT_B_ADAPT, int)
1724 #define AOM_CTRL_AV1E_SET_QUANT_B_ADAPT
1725
1726 AOM_CTRL_USE_TYPE(AV1E_SET_GF_MIN_PYRAMID_HEIGHT, unsigned int)
1727 #define AOM_CTRL_AV1E_SET_GF_MIN_PYRAMID_HEIGHT
1728
1729 AOM_CTRL_USE_TYPE(AV1E_SET_GF_MAX_PYRAMID_HEIGHT, unsigned int)
1730 #define AOM_CTRL_AV1E_SET_GF_MAX_PYRAMID_HEIGHT
1731
1732 AOM_CTRL_USE_TYPE(AV1E_SET_MAX_REFERENCE_FRAMES, int)
1733 #define AOM_CTRL_AV1E_SET_MAX_REFERENCE_FRAMES
1734
1735 AOM_CTRL_USE_TYPE(AV1E_SET_REDUCED_REFERENCE_SET, int)
1736 #define AOM_CTRL_AV1E_SET_REDUCED_REFERENCE_SET
1737
1738 AOM_CTRL_USE_TYPE(AV1E_SET_COEFF_COST_UPD_FREQ, unsigned int)
1739 #define AOM_CTRL_AV1E_SET_COEFF_COST_UPD_FREQ
1740
1741 AOM_CTRL_USE_TYPE(AV1E_SET_MODE_COST_UPD_FREQ, unsigned int)
1742 #define AOM_CTRL_AV1E_SET_MODE_COST_UPD_FREQ
1743
1744 AOM_CTRL_USE_TYPE(AV1E_SET_MV_COST_UPD_FREQ, unsigned int)
1745 #define AOM_CTRL_AV1E_SET_MV_COST_UPD_FREQ
1746
1747 AOM_CTRL_USE_TYPE(AV1E_SET_TARGET_SEQ_LEVEL_IDX, int)
1748 #define AOM_CTRL_AV1E_SET_TARGET_SEQ_LEVEL_IDX
1749
1750 AOM_CTRL_USE_TYPE(AV1E_SET_TIER_MASK, unsigned int)
1751 #define AOM_CTRL_AV1E_SET_TIER_MASK
1752
1753 AOM_CTRL_USE_TYPE(AV1E_SET_MIN_CR, unsigned int)
1754 #define AOM_CTRL_AV1E_SET_MIN_CR
1755
1756 AOM_CTRL_USE_TYPE(AV1E_SET_SVC_LAYER_ID, aom_svc_layer_id_t *)
1757 #define AOME_CTRL_AV1E_SET_SVC_LAYER_ID
1758
1759 AOM_CTRL_USE_TYPE(AV1E_SET_SVC_PARAMS, aom_svc_params_t *)
1760 #define AOME_CTRL_AV1E_SET_SVC_PARAMS
1761
1762 AOM_CTRL_USE_TYPE(AV1E_SET_SVC_REF_FRAME_CONFIG, aom_svc_ref_frame_config_t *)
1763 #define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
1764
1765 AOM_CTRL_USE_TYPE(AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST, unsigned int)
1766 #define AOM_CTRL_AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST
1767
1770 #ifdef __cplusplus
1771 } // extern "C"
1772 #endif
1773
1774 #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, int* parameter.
Definition: aomcx.h:228
AV1E_ENABLE_EXT_TILE_DEBUG
@ AV1E_ENABLE_EXT_TILE_DEBUG
Codec control function to enable EXT_TILE_DEBUG in AV1 encoder, unsigned int parameter.
Definition: aomcx.h:1240
AV1E_SET_ENABLE_DIFF_WTD_COMP
@ AV1E_SET_ENABLE_DIFF_WTD_COMP
Codec control function to turn on / off difference weighted compound, int parameter.
Definition: aomcx.h:940
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:1307
AV1E_SET_MV_COST_UPD_FREQ
@ AV1E_SET_MV_COST_UPD_FREQ
Control to set frequency of the cost updates for motion vectors, unsigned int parameter.
Definition: aomcx.h: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:1200
AV1E_SET_ENABLE_OVERLAY
@ AV1E_SET_ENABLE_OVERLAY
Codec control function to turn on / off overlay frames for filtered ALTREF frames,...
Definition: aomcx.h:1043
AV1E_SET_RENDER_SIZE
@ AV1E_SET_RENDER_SIZE
Codec control function to set intended rendering image size, int32_t[2] parameter.
Definition: aomcx.h:570
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:1074
AV1E_SET_S_FRAME_MODE
@ AV1E_SET_S_FRAME_MODE
Codec control function to enable s_frame_mode, int parameter.
Definition: aomcx.h:413
aom_scaling_mode
aom image scaling mode
Definition: aomcx.h:1317
AOME_SET_CPUUSED
@ AOME_SET_CPUUSED
Codec control function to set encoder internal speed settings, int parameter.
Definition: aomcx.h:192
AV1E_GET_SEQ_LEVEL_IDX
@ AV1E_GET_SEQ_LEVEL_IDX
Codec control function to get sequence level index for each operating point. int* parameter....
Definition: aomcx.h:596
aom_svc_params::framerate_factor
int framerate_factor[8]
Definition: aomcx.h:1371
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, int parameter.
Definition: aomcx.h:983
aom_svc_params::number_spatial_layers
int number_spatial_layers
Definition: aomcx.h:1362
AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
@ AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
Codec control function to enable the extreme motion vector unit test, unsigned int parameter.
Definition: aomcx.h:1095
AV1E_SET_FORCE_VIDEO_MODE
@ AV1E_SET_FORCE_VIDEO_MODE
Codec control function to force video mode, unsigned int parameter.
Definition: aomcx.h:637
AV1E_SET_ENABLE_DIST_WTD_COMP
@ AV1E_SET_ENABLE_DIST_WTD_COMP
Codec control function to turn on / off dist-wtd compound mode at sequence level, int parameter.
Definition: aomcx.h:862
AV1E_SET_ENABLE_TX64
@ AV1E_SET_ENABLE_TX64
Codec control function to turn on / off 64-length transforms, int parameter.
Definition: aomcx.h:824
AOME_SET_ACTIVEMAP
@ AOME_SET_ACTIVEMAP
Codec control function to pass an Active map to encoder, aom_active_map_t* parameter.
Definition: aomcx.h:167
AV1E_SET_AQ_MODE
@ AV1E_SET_AQ_MODE
Codec control function to set adaptive quantization mode, unsigned int parameter.
Definition: aomcx.h:426
AV1E_SET_MAX_GF_INTERVAL
@ AV1E_SET_MAX_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames, unsigned int parameter.
Definition: aomcx.h:551
AV1E_SET_ENABLE_OBMC
@ AV1E_SET_ENABLE_OBMC
Codec control function to predict with OBMC mode, unsigned int parameter.
Definition: aomcx.h:645
AV1E_SET_QUANT_B_ADAPT
@ AV1E_SET_QUANT_B_ADAPT
Control to use adaptive quantize_b, int parameter.
Definition: aomcx.h:1141
AV1E_SET_GF_CBR_BOOST_PCT
@ AV1E_SET_GF_CBR_BOOST_PCT
Boost percentage for Golden Frame in CBR mode, unsigned int parameter.
Definition: aomcx.h:302
AOME_SET_SPATIAL_LAYER_ID
@ AOME_SET_SPATIAL_LAYER_ID
Codec control function to set encoder spatial layer id, unsigned int parameter.
Definition: aomcx.h:179
AV1E_SET_ENABLE_1TO4_PARTITIONS
@ AV1E_SET_ENABLE_1TO4_PARTITIONS
Codec control function to enable/disable 1:4 and 4:1 partitions, int parameter.
Definition: aomcx.h:774
aom_svc_ref_frame_config::refresh
int refresh[8]
Definition: aomcx.h:1381
aom_codec_iface_t
const struct aom_codec_iface aom_codec_iface_t
Codec interface structure.
Definition: aom_codec.h:196
AV1E_GET_ACTIVEMAP
@ AV1E_GET_ACTIVEMAP
Codec control function to get an active map back from the encoder, aom_active_map_t* parameter.
Definition: aomcx.h:556
AOM_MAX_SS_LAYERS
#define AOM_MAX_SS_LAYERS
Definition: aomcx.h:1351
aom_svc_ref_frame_config::reference
int reference[7]
Definition: aomcx.h:1378
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:884
AOME_SET_STATIC_THRESHOLD
@ AOME_SET_STATIC_THRESHOLD
Codec control function to set the threshold for MBs treated static, unsigned int parameter.
Definition: aomcx.h:211
AV1E_SET_QM_V
@ AV1E_SET_QM_V
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:727
AV1E_SET_ENABLE_PALETTE
@ AV1E_SET_ENABLE_PALETTE
Codec control function to turn on/off palette mode, int parameter.
Definition: aomcx.h:1046
AV1E_SET_MODE_COST_UPD_FREQ
@ AV1E_SET_MODE_COST_UPD_FREQ
Control to set frequency of the cost updates for mode, unsigned int parameter.
Definition: aomcx.h:1182
AOME_SET_ROI_MAP
@ AOME_SET_ROI_MAP
Codec control function to pass an ROI map to encoder, aom_roi_map_t* parameter.
Definition: aomcx.h:162
AV1E_SET_QM_U
@ AV1E_SET_QM_U
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:715
AV1E_SET_ROW_MT
@ AV1E_SET_ROW_MT
Codec control function to enable the row based multi-threading of the encoder, unsigned int parameter...
Definition: aomcx.h:324
AOM_CTRL_USE_TYPE
#define AOM_CTRL_USE_TYPE(id, typ)
Creates typechecking mechanisms for aom_codec_control.
Definition: aom_codec.h:436
AV1E_SET_DELTAQ_MODE
@ AV1E_SET_DELTAQ_MODE
Codec control function to set the delta q mode, unsigned int parameter.
Definition: aomcx.h:1066
AV1E_SET_COLOR_PRIMARIES
@ AV1E_SET_COLOR_PRIMARIES
Codec control function to set color space info, int parameter.
Definition: aomcx.h:484
AV1E_SET_TUNE_CONTENT
@ AV1E_SET_TUNE_CONTENT
Codec control function to set content type, aom_tune_content parameter.
Definition: aomcx.h:454
AV1E_SET_QM_MAX
@ AV1E_SET_QM_MAX
Codec control function to set the max quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:691
aom_svc_params::max_quantizers
int max_quantizers[32]
Definition: aomcx.h:1364
aom_tune_content
aom_tune_content
Definition: aomcx.h:1323
AOME_SET_ARNR_STRENGTH
@ AOME_SET_ARNR_STRENGTH
Codec control function to set the filter strength for the arf, unsigned int parameter.
Definition: aomcx.h:238
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, unsigned int parameter.
Definition: aomcx.h:200
aom_roi_map::roi_map
unsigned char * roi_map
Definition: aomcx.h:1290
aom_svc_params::number_temporal_layers
int number_temporal_layers
Definition: aomcx.h:1363
AV1E_SET_TRANSFER_CHARACTERISTICS
@ AV1E_SET_TRANSFER_CHARACTERISTICS
Codec control function to set transfer function info, int parameter.
Definition: aomcx.h:509
AV1E_SET_ENABLE_ANGLE_DELTA
@ AV1E_SET_ENABLE_ANGLE_DELTA
Codec control function to turn on/off intra angle delta, int parameter.
Definition: aomcx.h:1054
AV1E_SET_SINGLE_TILE_DECODING
@ AV1E_SET_SINGLE_TILE_DECODING
Codec control function to set the single tile decoding mode, unsigned int parameter.
Definition: aomcx.h:1084
aom_svc_layer_id
Definition: aomcx.h:1355
AV1E_SET_MAX_PARTITION_SIZE
@ AV1E_SET_MAX_PARTITION_SIZE
Codec control function to set max partition size, int parameter.
Definition: aomcx.h:796
AV1E_SET_VMAF_MODEL_PATH
@ AV1E_SET_VMAF_MODEL_PATH
Codec control function to set the path to the VMAF model used when tuning the encoder for VMAF,...
Definition: aomcx.h:1230
AV1E_SET_ENABLE_SUPERRES
@ AV1E_SET_ENABLE_SUPERRES
Codec control function to turn on / off frame superresolution, int parameter.
Definition: aomcx.h:1033
AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST
@ AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST
Codec control function to enable the superblock multipass unit test in AV1 to ensure that the encoder...
Definition: aomcx.h:1251
AV1E_SET_QM_Y
@ AV1E_SET_QM_Y
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:703
AV1E_SET_TIMING_INFO_TYPE
@ AV1E_SET_TIMING_INFO_TYPE
Codec control function to signal picture timing info in the bitstream, aom_timing_info_type_t paramet...
Definition: aomcx.h:1101
AV1E_SET_ENABLE_SMOOTH_INTRA
@ AV1E_SET_ENABLE_SMOOTH_INTRA
Codec control function to turn on / off smooth intra modes usage, int parameter.
Definition: aomcx.h:1005
aom_scaling_mode_1d
aom_scaling_mode_1d
aom 1-D scaling mode
Definition: aomcx.h:1265
AV1E_SET_TILE_ROWS
@ AV1E_SET_TILE_ROWS
Codec control function to set number of tile rows, unsigned int parameter.
Definition: aomcx.h:361
AOME_GET_LAST_QUANTIZER
@ AOME_GET_LAST_QUANTIZER
Codec control function to get last quantizer chosen by the encoder, int* parameter.
Definition: aomcx.h:220
AV1E_SET_COEFF_COST_UPD_FREQ
@ AV1E_SET_COEFF_COST_UPD_FREQ
Control to set frequency of the cost updates for coefficients, unsigned int parameter.
Definition: aomcx.h:1172
AV1E_SET_FRAME_PERIODIC_BOOST
@ AV1E_SET_FRAME_PERIODIC_BOOST
Codec control function to enable/disable periodic Q boost, unsigned int parameter.
Definition: aomcx.h:438
aom_active_map::cols
unsigned int cols
Definition: aomcx.h:1309
AV1E_SET_SVC_LAYER_ID
@ AV1E_SET_SVC_LAYER_ID
Codec control function to set the layer id, aom_svc_layer_id_t* parameter.
Definition: aomcx.h:1214
AV1E_SET_NUM_TG
@ AV1E_SET_NUM_TG
Codec control function to set a maximum number of tile groups, unsigned int parameter.
Definition: aomcx.h:737
AOME_SET_ARNR_MAXFRAMES
@ AOME_SET_ARNR_MAXFRAMES
Codec control function to set the max no of frames to create arf, unsigned int parameter.
Definition: aomcx.h:233
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:900
AOME_SET_ENABLEAUTOBWDREF
@ AOME_SET_ENABLEAUTOBWDREF
Codec control function to enable automatic set and use of bwd-pred frames, unsigned int parameter.
Definition: aomcx.h:612
aom_svc_ref_frame_config
Definition: aomcx.h:1375
AV1E_SET_FRAME_PARALLEL_DECODING
@ AV1E_SET_FRAME_PARALLEL_DECODING
Codec control function to enable frame parallel decoding feature, unsigned int parameter.
Definition: aomcx.h:391
AV1E_SET_INTER_DCT_ONLY
@ AV1E_SET_INTER_DCT_ONLY
Control to use dct only for inter modes, int parameter.
Definition: aomcx.h:1134
aom_svc_params::scaling_factor_num
int scaling_factor_num[4]
Definition: aomcx.h:1366
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, int parameter.
Definition: aomcx.h:1131
aom_svc_params::layer_target_bitrate
int layer_target_bitrate[32]
Definition: aomcx.h:1369
AV1E_SET_ENABLE_PAETH_INTRA
@ AV1E_SET_ENABLE_PAETH_INTRA
Codec control function to turn on / off Paeth intra mode usage, int parameter.
Definition: aomcx.h:1013
AV1E_SET_GF_MIN_PYRAMID_HEIGHT
@ AV1E_SET_GF_MIN_PYRAMID_HEIGHT
Control to select minimum height for the GF group pyramid structure, unsigned int parameter.
Definition: aomcx.h:1258
AV1E_SET_MTU
@ AV1E_SET_MTU
Codec control function to set an MTU size for a tile group, unsigned int parameter.
Definition: aomcx.h:748
aom_svc_params::min_quantizers
int min_quantizers[32]
Definition: aomcx.h:1365
AOM_MAX_SEGMENTS
#define AOM_MAX_SEGMENTS
Max number of segments.
Definition: aomcx.h:1279
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, unsigned int parameter Take integer values....
Definition: aomcx.h:1207
AV1E_SET_CDF_UPDATE_MODE
@ AV1E_SET_CDF_UPDATE_MODE
Codec control function to set CDF update mode, unsigned int parameter.
Definition: aomcx.h:463
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:1352
aom_svc_params
Definition: aomcx.h:1361
AV1E_SET_NOISE_SENSITIVITY
@ AV1E_SET_NOISE_SENSITIVITY
Codec control function to set noise sensitivity, unsigned int parameter.
Definition: aomcx.h:446
aom_roi_map::rows
unsigned int rows
Definition: aomcx.h:1291
aom_scaling_mode::h_scaling_mode
AOM_SCALING_MODE h_scaling_mode
Definition: aomcx.h:1318
aom_tune_metric
aom_tune_metric
Model tuning parameters.
Definition: aomcx.h:1341
AOM_MAX_LAYERS
#define AOM_MAX_LAYERS
Definition: aomcx.h:1350
AV1E_SET_SUPERBLOCK_SIZE
@ AV1E_SET_SUPERBLOCK_SIZE
Codec control function to set intended superblock size, unsigned int parameter.
Definition: aomcx.h:604
aom_scaling_mode::v_scaling_mode
AOM_SCALING_MODE v_scaling_mode
Definition: aomcx.h:1319
AV1E_SET_INTRA_DEFAULT_TX_ONLY
@ AV1E_SET_INTRA_DEFAULT_TX_ONLY
Control to use default tx type only for intra modes, int parameter.
Definition: aomcx.h:1138
AV1E_SET_CHROMA_SAMPLE_POSITION
@ AV1E_SET_CHROMA_SAMPLE_POSITION
Codec control function to set chroma 4:2:0 sample position info, aom_chroma_sample_position_t paramet...
Definition: aomcx.h:537
aom_encoder.h
Describes the encoder algorithm interface to applications.
aom_roi_map
aom region of interest map
Definition: aomcx.h:1288
AV1E_SET_MIN_PARTITION_SIZE
@ AV1E_SET_MIN_PARTITION_SIZE
Codec control function to set min partition size, int parameter.
Definition: aomcx.h:785
AV1E_SET_TARGET_SEQ_LEVEL_IDX
@ AV1E_SET_TARGET_SEQ_LEVEL_IDX
Control to set target sequence level index for a certain operating point(OP), int parameter Possible ...
Definition: aomcx.h:589
AV1E_SET_DISABLE_TRELLIS_QUANT
@ AV1E_SET_DISABLE_TRELLIS_QUANT
Codec control function to encode without trellis quantization, unsigned int parameter.
Definition: aomcx.h:655
aom_svc_params::scaling_factor_den
int scaling_factor_den[4]
Definition: aomcx.h:1367
AOME_SET_SCALEMODE
@ AOME_SET_SCALEMODE
Codec control function to set encoder scaling mode, aom_scaling_mode_t* parameter.
Definition: aomcx.h:174
AOME_USE_REFERENCE
@ AOME_USE_REFERENCE
Codec control function to set which reference frame encoder can use, int parameter.
Definition: aomcx.h:157
AV1E_SET_ENABLE_INTRABC
@ AV1E_SET_ENABLE_INTRABC
Codec control function to turn on/off intra block copy mode, int parameter.
Definition: aomcx.h:1050
AV1E_SET_ENABLE_WARPED_MOTION
@ AV1E_SET_ENABLE_WARPED_MOTION
Codec control function to turn on / off warped motion usage at sequence level, int parameter.
Definition: aomcx.h:972
AV1E_SET_REDUCED_REFERENCE_SET
@ AV1E_SET_REDUCED_REFERENCE_SET
Control to use reduced set of single and compound references, int parameter.
Definition: aomcx.h:1159
AV1E_SET_ENABLE_INTERINTER_WEDGE
@ AV1E_SET_ENABLE_INTERINTER_WEDGE
Codec control function to turn on / off interinter wedge compound, int parameter.
Definition: aomcx.h:948
AV1E_SET_QM_MIN
@ AV1E_SET_QM_MIN
Codec control function to set the min quant matrix flatness, unsigned int parameter.
Definition: aomcx.h:679
AV1E_SET_MIN_GF_INTERVAL
@ AV1E_SET_MIN_GF_INTERVAL
Codec control function to set minimum interval between GF/ARF frames, unsigned int parameter.
Definition: aomcx.h:544
aom_active_map
aom active region map
Definition: aomcx.h:1305
AV1E_SET_ENABLE_CFL_INTRA
@ AV1E_SET_ENABLE_CFL_INTRA
Codec control function to turn on / off CFL uv intra mode usage, int parameter.
Definition: aomcx.h:1023
AV1E_SET_ENABLE_FLIP_IDTX
@ AV1E_SET_ENABLE_FLIP_IDTX
Codec control function to turn on / off flip and identity transforms, int parameter.
Definition: aomcx.h:848
AV1E_SET_COLOR_RANGE
@ AV1E_SET_COLOR_RANGE
Codec control function to set color range bit, int parameter.
Definition: aomcx.h:563
AOME_SET_MAX_INTRA_BITRATE_PCT
@ AOME_SET_MAX_INTRA_BITRATE_PCT
Codec control function to set max data rate for intra frames, unsigned int parameter.
Definition: aomcx.h:269
AV1E_SET_MATRIX_COEFFICIENTS
@ AV1E_SET_MATRIX_COEFFICIENTS
Codec control function to set transfer function info, int parameter.
Definition: aomcx.h:530
aom_roi_map::static_threshold
unsigned int static_threshold[8]
Definition: aomcx.h:1296
AV1E_SET_ENABLE_CDEF
@ AV1E_SET_ENABLE_CDEF
Codec control function to encode with CDEF, unsigned int parameter.
Definition: aomcx.h:622
AV1E_SET_FILM_GRAIN_TABLE
@ AV1E_SET_FILM_GRAIN_TABLE
Codec control function to set the path to the film grain parameters, const char* parameter.
Definition: aomcx.h:1113
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:1108
AV1E_SET_MAX_INTER_BITRATE_PCT
@ AV1E_SET_MAX_INTER_BITRATE_PCT
Codec control function to set max data rate for inter frames, unsigned int parameter.
Definition: aomcx.h:288
AV1E_SET_ENABLE_GLOBAL_MOTION
@ AV1E_SET_ENABLE_GLOBAL_MOTION
Codec control function to turn on / off global motion usage for a sequence, int parameter.
Definition: aomcx.h:964
aom_active_map::rows
unsigned int rows
Definition: aomcx.h:1308
aom_roi_map::cols
unsigned int cols
Definition: aomcx.h:1292
AV1E_SET_ENABLE_ORDER_HINT
@ AV1E_SET_ENABLE_ORDER_HINT
Codec control function to turn on / off frame order hint (int parameter). Affects: joint compound mod...
Definition: aomcx.h:813
AV1E_SET_SVC_PARAMS
@ AV1E_SET_SVC_PARAMS
Codec control function to set SVC paramaeters, aom_svc_params_t* parameter.
Definition: aomcx.h:1219
AV1E_SET_TILE_COLUMNS
@ AV1E_SET_TILE_COLUMNS
Codec control function to set number of tile columns. unsigned int parameter.
Definition: aomcx.h:343
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:1225
AV1E_SET_ENABLE_QM
@ AV1E_SET_ENABLE_QM
Codec control function to encode with quantisation matrices, unsigned int parameter.
Definition: aomcx.h:666
AV1E_SET_ENABLE_INTERINTRA_COMP
@ AV1E_SET_ENABLE_INTERINTRA_COMP
Codec control function to turn on / off interintra compound for a sequence, int parameter.
Definition: aomcx.h:924
aom_roi_map::delta_q
int delta_q[8]
Definition: aomcx.h:1293
aom_svc_params_t
struct aom_svc_params aom_svc_params_t
AOME_SET_SHARPNESS
@ AOME_SET_SHARPNESS
Codec control function to set sharpness, unsigned int parameter.
Definition: aomcx.h:206
AV1E_SET_ENABLE_INTERINTRA_WEDGE
@ AV1E_SET_ENABLE_INTERINTRA_WEDGE
Codec control function to turn on / off interintra wedge compound, int parameter.
Definition: aomcx.h:956
AV1E_SET_DENOISE_BLOCK_SIZE
@ AV1E_SET_DENOISE_BLOCK_SIZE
Sets the denoisers block size, unsigned int parameter.
Definition: aomcx.h:1119
aom_svc_layer_id::spatial_layer_id
int spatial_layer_id
Definition: aomcx.h:1356
AV1E_SET_DENOISE_NOISE_LEVEL
@ AV1E_SET_DENOISE_NOISE_LEVEL
Sets the noise level, int parameter.
Definition: aomcx.h:1116
AV1E_SET_ENABLE_SMOOTH_INTERINTRA
@ AV1E_SET_ENABLE_SMOOTH_INTERINTRA
Codec control function to turn on / off smooth inter-intra mode for a sequence, int parameter.
Definition: aomcx.h:932
AOME_SET_CQ_LEVEL
@ AOME_SET_CQ_LEVEL
Codec control function to set constrained / constant quality level, unsigned int parameter.
Definition: aomcx.h:255
AV1E_SET_ENABLE_KEYFRAME_FILTERING
@ AV1E_SET_ENABLE_KEYFRAME_FILTERING
Codec control function to enable temporal filtering on key frame, unsigned int parameter.
Definition: aomcx.h:377
AV1E_SET_LOSSLESS
@ AV1E_SET_LOSSLESS
Codec control function to set lossless encoding mode, unsigned int parameter.
Definition: aomcx.h:316
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, unsigned int parameter.
Definition: aomcx.h:369
AV1E_SET_ERROR_RESILIENT_MODE
@ AV1E_SET_ERROR_RESILIENT_MODE
Codec control function to enable error_resilient_mode, int parameter.
Definition: aomcx.h:402
AV1E_SET_ENABLE_RESTORATION
@ AV1E_SET_ENABLE_RESTORATION
Codec control function to encode with Loop Restoration Filter, unsigned int parameter.
Definition: aomcx.h:630
aom_roi_map::delta_lf
int delta_lf[8]
Definition: aomcx.h:1294
AV1E_SET_ENABLE_RECT_PARTITIONS
@ AV1E_SET_ENABLE_RECT_PARTITIONS
Codec control function to enable/disable rectangular partitions, int parameter.
Definition: aomcx.h:758
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 interpolation filter for a sequence, int parameter.
Definition: aomcx.h:892
AOME_SET_TUNING
@ AOME_SET_TUNING
Codec control function to set visual tuning, aom_tune_metric (int) parameter.
Definition: aomcx.h:245
AV1E_SET_ENABLE_AB_PARTITIONS
@ AV1E_SET_ENABLE_AB_PARTITIONS
Codec control function to enable/disable AB partitions, int parameter.
Definition: aomcx.h:766
aom_svc_ref_frame_config::ref_idx
int ref_idx[7]
Definition: aomcx.h:1380
AV1E_SET_GF_MAX_PYRAMID_HEIGHT
@ AV1E_SET_GF_MAX_PYRAMID_HEIGHT
Control to select maximum height for the GF group pyramid structure, unsigned int parameter.
Definition: aomcx.h:1148
AV1E_SET_ENABLE_ONESIDED_COMP
@ AV1E_SET_ENABLE_ONESIDED_COMP
Codec control function to turn on / off one sided compound usage for a sequence, int parameter.
Definition: aomcx.h:916
AV1E_SET_CHROMA_SUBSAMPLING_Y
@ AV1E_SET_CHROMA_SUBSAMPLING_Y
Sets the chroma subsampling y value, unsigned int parameter.
Definition: aomcx.h:1125
AV1E_SET_ENABLE_MASKED_COMP
@ AV1E_SET_ENABLE_MASKED_COMP
Codec control function to turn on / off masked compound usage (wedge and diff-wtd compound modes) for...
Definition: aomcx.h:908
AV1E_SET_ENABLE_FILTER_INTRA
@ AV1E_SET_ENABLE_FILTER_INTRA
Codec control function to turn on / off filter intra usage at sequence level, int parameter.
Definition: aomcx.h:994
AOME_SET_NUMBER_SPATIAL_LAYERS
@ AOME_SET_NUMBER_SPATIAL_LAYERS
Codec control function to set number of spatial layers, int parameter.
Definition: aomcx.h:274
aom_timing_info_type_t
aom_timing_info_type_t
Definition: aomcx.h:1330
AV1E_SET_ENABLE_INTRA_EDGE_FILTER
@ AV1E_SET_ENABLE_INTRA_EDGE_FILTER
Codec control function to turn on / off intra edge filter at sequence level, int parameter.
Definition: aomcx.h:804
aom_svc_layer_id::temporal_layer_id
int temporal_layer_id
Definition: aomcx.h:1357
AV1E_SET_REDUCED_TX_TYPE_SET
@ AV1E_SET_REDUCED_TX_TYPE_SET
Control to use a reduced tx type set, int parameter.
Definition: aomcx.h:1128
AV1E_SET_CHROMA_SUBSAMPLING_X
@ AV1E_SET_CHROMA_SUBSAMPLING_X
Sets the chroma subsampling x value, unsigned int parameter.
Definition: aomcx.h:1122
AV1E_SET_MAX_REFERENCE_FRAMES
@ AV1E_SET_MAX_REFERENCE_FRAMES
Control to select maximum reference frames allowed per frame, int parameter.
Definition: aomcx.h:1155
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:873