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 12 /*!\defgroup aom_decoder AOMedia AOM/AV1 Decoder 13 * \ingroup aom 14 * 15 * @{ 16 */ 17 /*!\file 18 * \brief Provides definitions for using AOM or AV1 within the aom Decoder 19 * interface. 20 */ 21 #ifndef AOM_AOM_AOMDX_H_ 22 #define AOM_AOM_AOMDX_H_ 23 24 #ifdef __cplusplus 25 extern "C" { 26 #endif 27 28 /* Include controls common to both the encoder and decoder */ 29 #include "aom/aom.h" 30 31 /*!\name Algorithm interface for AV1 32 * 33 * This interface provides the capability to decode AV1 streams. 34 * @{ 35 */ 36 37 /*!\brief A single instance of the AV1 decoder. 38 *\deprecated This access mechanism is provided for backwards compatibility; 39 * prefer aom_codec_av1_dx(). 40 */ 41 extern aom_codec_iface_t aom_codec_av1_dx_algo; 42 /*!\brief The interface to the AV1 decoder. 43 */ 44 extern aom_codec_iface_t *aom_codec_av1_dx(void); 45 46 /*!@} - end algorithm interface member group */ 47 48 /** Data structure that stores bit accounting for debug 49 */ 50 typedef struct Accounting Accounting; 51 52 #ifndef AOM_INSPECTION_H_ 53 /** Callback that inspects decoder frame data. 54 */ 55 typedef void (*aom_inspect_cb)(void *decoder, void *ctx); 56 57 #endif 58 59 /*!\brief Structure to hold inspection callback and context. 60 * 61 * Defines a structure to hold the inspection callback function and calling 62 * context. 63 */ 64 typedef struct aom_inspect_init { 65 /*! Inspection callback. */ 66 aom_inspect_cb inspect_cb; 67 68 /*! Inspection context. */ 69 void *inspect_ctx; 70 } aom_inspect_init; 71 72 /*!\brief Structure to collect a buffer index when inspecting. 73 * 74 * Defines a structure to hold the buffer and return an index 75 * when calling decode from inspect. This enables us to decode 76 * non showable sub frames. 77 */ 78 typedef struct { 79 /*! Pointer for new position in compressed buffer after decoding 1 OBU. */ 80 const unsigned char *buf; 81 /*! Index into reference buffer array to see result of decoding 1 OBU. */ 82 int idx; 83 /*! Is a show existing frame. */ 84 int show_existing; 85 } Av1DecodeReturn; 86 87 /*!\brief Structure to hold a tile's start address and size in the bitstream. 88 * 89 * Defines a structure to hold a tile's start address and size in the bitstream. 90 */ 91 typedef struct aom_tile_data { 92 /*! Tile data size. */ 93 size_t coded_tile_data_size; 94 /*! Tile's start address. */ 95 const void *coded_tile_data; 96 /*! Extra size information. */ 97 size_t extra_size; 98 } aom_tile_data; 99 100 /*!\brief Max number of tile columns 101 * 102 * This is the limit of number of tile columns allowed within a frame. 103 * 104 * Currently same as "MAX_TILE_COLS" in AV1, the maximum that AV1 supports. 105 * 106 */ 107 #define AOM_MAX_TILE_COLS 64 108 /*!\brief Max number of tile rows 109 * 110 * This is the limit of number of tile rows allowed within a frame. 111 * 112 * Currently same as "MAX_TILE_ROWS" in AV1, the maximum that AV1 supports. 113 * 114 */ 115 #define AOM_MAX_TILE_ROWS 64 116 117 /*!\brief Structure to hold information about tiles in a frame. 118 * 119 * Defines a structure to hold a frame's tile information, namely 120 * number of tile columns, number of tile_rows, and the width and 121 * height of each tile. 122 */ 123 typedef struct aom_tile_info { 124 /*! Indicates the number of tile columns. */ 125 int tile_columns; 126 /*! Indicates the number of tile rows. */ 127 int tile_rows; 128 /*! Indicates the tile widths in units of SB. */ 129 int tile_widths[AOM_MAX_TILE_COLS]; 130 /*! Indicates the tile heights in units of SB. */ 131 int tile_heights[AOM_MAX_TILE_ROWS]; 132 /*! Indicates the number of tile groups present in a frame. */ 133 int num_tile_groups; 134 } aom_tile_info; 135 136 /*!\brief Structure to hold information about still image coding. 137 * 138 * Defines a structure to hold a information regarding still picture 139 * and its header type. 140 */ 141 typedef struct aom_still_picture_info { 142 /*! Video is a single frame still picture */ 143 int is_still_picture; 144 /*! Use full header for still picture */ 145 int is_reduced_still_picture_hdr; 146 } aom_still_picture_info; 147 148 /*!\brief Structure to hold information about S_FRAME. 149 * 150 * Defines a structure to hold a information regarding S_FRAME 151 * and its position. 152 */ 153 typedef struct aom_s_frame_info { 154 /*! Indicates if current frame is S_FRAME */ 155 int is_s_frame; 156 /*! Indicates if current S_FRAME is present at ALTREF frame*/ 157 int is_s_frame_at_altref; 158 } aom_s_frame_info; 159 160 /*!\brief Structure to hold information about screen content tools. 161 * 162 * Defines a structure to hold information about screen content 163 * tools, namely: allow_screen_content_tools, allow_intrabc, and 164 * force_integer_mv. 165 */ 166 typedef struct aom_screen_content_tools_info { 167 /*! Are screen content tools allowed */ 168 int allow_screen_content_tools; 169 /*! Is intrabc allowed */ 170 int allow_intrabc; 171 /*! Is integer mv forced */ 172 int force_integer_mv; 173 } aom_screen_content_tools_info; 174 175 /*!\brief Structure to hold the external reference frame pointer. 176 * 177 * Define a structure to hold the external reference frame pointer. 178 */ 179 typedef struct av1_ext_ref_frame { 180 /*! Start pointer of external references. */ 181 aom_image_t *img; 182 /*! Number of available external references. */ 183 int num; 184 } av1_ext_ref_frame_t; 185 186 /*!\enum aom_dec_control_id 187 * \brief AOM decoder control functions 188 * 189 * This set of macros define the control functions available for the AOM 190 * decoder interface. 191 * The range for decoder control ID is >= 256. 192 * 193 * \sa #aom_codec_control(aom_codec_ctx_t *ctx, int ctrl_id, ...) 194 */ 195 enum aom_dec_control_id { 196 /*!\brief Codec control function to get info on which reference frames were 197 * updated by the last decode, int* parameter 198 */ 199 AOMD_GET_LAST_REF_UPDATES = AOM_DECODER_CTRL_ID_START, 200 201 /*!\brief Codec control function to check if the indicated frame is 202 corrupted, int* parameter 203 */ 204 AOMD_GET_FRAME_CORRUPTED, 205 206 /*!\brief Codec control function to get info on which reference frames were 207 * used by the last decode, int* parameter 208 */ 209 AOMD_GET_LAST_REF_USED, 210 211 /*!\brief Codec control function to get the dimensions that the current 212 * frame is decoded at, int* parameter 213 * 214 * This may be different to the intended display size for the frame as 215 * specified in the wrapper or frame header (see AV1D_GET_DISPLAY_SIZE). 216 */ 217 AV1D_GET_FRAME_SIZE, 218 219 /*!\brief Codec control function to get the current frame's intended display 220 * dimensions (as specified in the wrapper or frame header), int* parameter 221 * 222 * This may be different to the decoded dimensions of this frame (see 223 * AV1D_GET_FRAME_SIZE). 224 */ 225 AV1D_GET_DISPLAY_SIZE, 226 227 /*!\brief Codec control function to get the bit depth of the stream, 228 * unsigned int* parameter 229 */ 230 AV1D_GET_BIT_DEPTH, 231 232 /*!\brief Codec control function to get the image format of the stream, 233 * aom_img_fmt_t* parameter 234 */ 235 AV1D_GET_IMG_FORMAT, 236 237 /*!\brief Codec control function to get the width and height (in pixels) of 238 * the tiles in a tile list, unsigned int* parameter 239 * 240 * Tile width is in the high 16 bits of the output value, and tile height is 241 * in the low 16 bits of the output value. 242 */ 243 AV1D_GET_TILE_SIZE, 244 245 /*!\brief Codec control function to get the tile count in a tile list, 246 * unsigned int* parameter 247 */ 248 AV1D_GET_TILE_COUNT, 249 250 /*!\brief Codec control function to set the byte alignment of the planes in 251 * the reference buffers, int parameter 252 * 253 * Valid values are power of 2, from 32 to 1024. A value of 0 sets 254 * legacy alignment. I.e. Y plane is aligned to 32 bytes, U plane directly 255 * follows Y plane, and V plane directly follows U plane. Default value is 0. 256 */ 257 AV1_SET_BYTE_ALIGNMENT, 258 259 /*!\brief Codec control function to invert the decoding order to from right to 260 * left, int parameter 261 * 262 * The function is used in a test to confirm the decoding independence of tile 263 * columns. The function may be used in application where this order 264 * of decoding is desired. int parameter 265 * 266 * TODO(yaowu): Rework the unit test that uses this control, and in a future 267 * release, this test-only control shall be removed. 268 */ 269 AV1_INVERT_TILE_DECODE_ORDER, 270 271 /*!\brief Codec control function to set the skip loop filter flag, int 272 * parameter 273 * 274 * Valid values are integers. The decoder will skip the loop filter 275 * when its value is set to nonzero. If the loop filter is skipped the 276 * decoder may accumulate decode artifacts. The default value is 0. 277 */ 278 AV1_SET_SKIP_LOOP_FILTER, 279 280 /*!\brief Codec control function to retrieve a pointer to the Accounting 281 * struct, takes Accounting** as parameter 282 * 283 * If called before a frame has been decoded, this returns AOM_CODEC_ERROR. 284 * The caller should ensure that AOM_CODEC_OK is returned before attempting 285 * to dereference the Accounting pointer. 286 * 287 * \attention When configured with -DCONFIG_ACCOUNTING=0, the default, this 288 * returns AOM_CODEC_INCAPABLE. 289 */ 290 AV1_GET_ACCOUNTING, 291 292 /*!\brief Codec control function to get last decoded frame quantizer, 293 * int* parameter 294 * 295 * Returned value uses internal quantizer scale defined by the codec. 296 */ 297 AOMD_GET_LAST_QUANTIZER, 298 299 /*!\brief Codec control function to set the range of tile decoding, int 300 * parameter 301 * 302 * A value that is greater and equal to zero indicates only the specific 303 * row/column is decoded. A value that is -1 indicates the whole row/column 304 * is decoded. A special case is both values are -1 that means the whole 305 * frame is decoded. 306 */ 307 AV1_SET_DECODE_TILE_ROW, 308 AV1_SET_DECODE_TILE_COL, 309 310 /*!\brief Codec control function to set the tile coding mode, unsigned int 311 * parameter 312 * 313 * - 0 = tiles are coded in normal tile mode 314 * - 1 = tiles are coded in large-scale tile mode 315 */ 316 AV1_SET_TILE_MODE, 317 318 /*!\brief Codec control function to get the frame header information of an 319 * encoded frame, aom_tile_data* parameter 320 */ 321 AV1D_GET_FRAME_HEADER_INFO, 322 323 /*!\brief Codec control function to get the start address and size of a 324 * tile in the coded bitstream, aom_tile_data* parameter. 325 */ 326 AV1D_GET_TILE_DATA, 327 328 /*!\brief Codec control function to set the external references' pointers in 329 * the decoder, av1_ext_ref_frame_t* parameter. 330 * 331 * This is used while decoding the tile list OBU in large-scale tile coding 332 * mode. 333 */ 334 AV1D_SET_EXT_REF_PTR, 335 336 /*!\brief Codec control function to enable the ext-tile software debug and 337 * testing code in the decoder, unsigned int parameter 338 */ 339 AV1D_EXT_TILE_DEBUG, 340 341 /*!\brief Codec control function to enable the row based multi-threading of 342 * decoding, unsigned int parameter 343 * 344 * - 0 = disabled 345 * - 1 = enabled (default) 346 */ 347 AV1D_SET_ROW_MT, 348 349 /*!\brief Codec control function to indicate whether bitstream is in 350 * Annex-B format, unsigned int parameter 351 */ 352 AV1D_SET_IS_ANNEXB, 353 354 /*!\brief Codec control function to indicate which operating point to use, 355 * int parameter 356 * 357 * A scalable stream may define multiple operating points, each of which 358 * defines a set of temporal and spatial layers to be processed. The 359 * operating point index may take a value between 0 and 360 * operating_points_cnt_minus_1 (which is at most 31). 361 */ 362 AV1D_SET_OPERATING_POINT, 363 364 /*!\brief Codec control function to indicate whether to output one frame per 365 * temporal unit (the default), or one frame per spatial layer, int parameter 366 * 367 * In a scalable stream, each temporal unit corresponds to a single "frame" 368 * of video, and within a temporal unit there may be multiple spatial layers 369 * with different versions of that frame. 370 * For video playback, only the highest-quality version (within the 371 * selected operating point) is needed, but for some use cases it is useful 372 * to have access to multiple versions of a frame when they are available. 373 */ 374 AV1D_SET_OUTPUT_ALL_LAYERS, 375 376 /*!\brief Codec control function to set an aom_inspect_cb callback that is 377 * invoked each time a frame is decoded, aom_inspect_init* parameter 378 * 379 * \attention When configured with -DCONFIG_INSPECTION=0, the default, this 380 * returns AOM_CODEC_INCAPABLE. 381 */ 382 AV1_SET_INSPECTION_CALLBACK, 383 384 /*!\brief Codec control function to set the skip film grain flag, int 385 * parameter 386 * 387 * Valid values are integers. The decoder will skip the film grain when its 388 * value is set to nonzero. The default value is 0. 389 */ 390 AV1D_SET_SKIP_FILM_GRAIN, 391 392 /*!\brief Codec control function to check the presence of forward key frames, 393 * int* parameter 394 */ 395 AOMD_GET_FWD_KF_PRESENT, 396 397 /*!\brief Codec control function to get the frame flags of the previous frame 398 * decoded, int* parameter 399 * 400 * This will return a flag of type aom_codec_frame_flags_t. 401 */ 402 AOMD_GET_FRAME_FLAGS, 403 404 /*!\brief Codec control function to check the presence of altref frames, int* 405 * parameter 406 */ 407 AOMD_GET_ALTREF_PRESENT, 408 409 /*!\brief Codec control function to get tile information of the previous frame 410 * decoded, aom_tile_info* parameter 411 * 412 * This will return a struct of type aom_tile_info. 413 */ 414 AOMD_GET_TILE_INFO, 415 416 /*!\brief Codec control function to get screen content tools information, 417 * aom_screen_content_tools_info* parameter 418 * 419 * It returns a struct of type aom_screen_content_tools_info, which contains 420 * the header flags allow_screen_content_tools, allow_intrabc, and 421 * force_integer_mv. 422 */ 423 AOMD_GET_SCREEN_CONTENT_TOOLS_INFO, 424 425 /*!\brief Codec control function to get the still picture coding information, 426 * aom_still_picture_info* parameter 427 */ 428 AOMD_GET_STILL_PICTURE, 429 430 /*!\brief Codec control function to get superblock size, 431 * aom_superblock_size_t* parameter 432 * 433 * It returns an enum, indicating the superblock size read from the sequence 434 * header(0 for BLOCK_64X64 and 1 for BLOCK_128X128) 435 */ 436 AOMD_GET_SB_SIZE, 437 438 /*!\brief Codec control function to check if the previous frame 439 * decoded has show existing frame flag set, int* parameter 440 */ 441 AOMD_GET_SHOW_EXISTING_FRAME_FLAG, 442 443 /*!\brief Codec control function to get the S_FRAME coding information, 444 * aom_s_frame_info* parameter 445 */ 446 AOMD_GET_S_FRAME_INFO, 447 448 /*!\brief Codec control function to get the show frame flag, int* parameter 449 */ 450 AOMD_GET_SHOW_FRAME_FLAG, 451 452 /*!\brief Codec control function to get the base q index of a frame, int* 453 * parameter 454 */ 455 AOMD_GET_BASE_Q_IDX, 456 457 /*!\brief Codec control function to get the order hint of a frame, unsigned 458 * int* parameter 459 */ 460 AOMD_GET_ORDER_HINT, 461 462 /*!\brief Codec control function to get the info of a 4x4 block. 463 * Parameters: int mi_row, int mi_col, and MB_MODE_INFO*. 464 * 465 * \note This only returns a shallow copy, so all pointer members should not 466 * be used. 467 */ 468 AV1D_GET_MI_INFO, 469 }; 470 471 /*!\cond */ 472 /*!\brief AOM decoder control function parameter type 473 * 474 * Defines the data types that AOMD control functions take. 475 * 476 * \note Additional common controls are defined in aom.h. 477 * 478 * \note For each control ID "X", a macro-define of 479 * AOM_CTRL_X is provided. It is used at compile time to determine 480 * if the control ID is supported by the libaom library available, 481 * when the libaom version cannot be controlled. 482 */ 483 AOM_CTRL_USE_TYPE(AOMD_GET_LAST_REF_UPDATES, int *) 484 #define AOM_CTRL_AOMD_GET_LAST_REF_UPDATES 485 486 AOM_CTRL_USE_TYPE(AOMD_GET_FRAME_CORRUPTED, int *) 487 #define AOM_CTRL_AOMD_GET_FRAME_CORRUPTED 488 489 AOM_CTRL_USE_TYPE(AOMD_GET_LAST_REF_USED, int *) 490 #define AOM_CTRL_AOMD_GET_LAST_REF_USED 491 492 AOM_CTRL_USE_TYPE(AV1D_GET_FRAME_SIZE, int *) 493 #define AOM_CTRL_AV1D_GET_FRAME_SIZE 494 495 AOM_CTRL_USE_TYPE(AV1D_GET_DISPLAY_SIZE, int *) 496 #define AOM_CTRL_AV1D_GET_DISPLAY_SIZE 497 498 AOM_CTRL_USE_TYPE(AV1D_GET_BIT_DEPTH, unsigned int *) 499 #define AOM_CTRL_AV1D_GET_BIT_DEPTH 500 501 AOM_CTRL_USE_TYPE(AV1D_GET_IMG_FORMAT, aom_img_fmt_t *) 502 #define AOM_CTRL_AV1D_GET_IMG_FORMAT 503 504 AOM_CTRL_USE_TYPE(AV1D_GET_TILE_SIZE, unsigned int *) 505 #define AOM_CTRL_AV1D_GET_TILE_SIZE 506 507 AOM_CTRL_USE_TYPE(AV1D_GET_TILE_COUNT, unsigned int *) 508 #define AOM_CTRL_AV1D_GET_TILE_COUNT 509 510 AOM_CTRL_USE_TYPE(AV1_INVERT_TILE_DECODE_ORDER, int) 511 #define AOM_CTRL_AV1_INVERT_TILE_DECODE_ORDER 512 513 AOM_CTRL_USE_TYPE(AV1_SET_SKIP_LOOP_FILTER, int) 514 #define AOM_CTRL_AV1_SET_SKIP_LOOP_FILTER 515 516 AOM_CTRL_USE_TYPE(AV1_GET_ACCOUNTING, Accounting **) 517 #define AOM_CTRL_AV1_GET_ACCOUNTING 518 519 AOM_CTRL_USE_TYPE(AOMD_GET_LAST_QUANTIZER, int *) 520 #define AOM_CTRL_AOMD_GET_LAST_QUANTIZER 521 522 AOM_CTRL_USE_TYPE(AV1_SET_DECODE_TILE_ROW, int) 523 #define AOM_CTRL_AV1_SET_DECODE_TILE_ROW 524 525 AOM_CTRL_USE_TYPE(AV1_SET_DECODE_TILE_COL, int) 526 #define AOM_CTRL_AV1_SET_DECODE_TILE_COL 527 528 AOM_CTRL_USE_TYPE(AV1_SET_TILE_MODE, unsigned int) 529 #define AOM_CTRL_AV1_SET_TILE_MODE 530 531 AOM_CTRL_USE_TYPE(AV1D_GET_FRAME_HEADER_INFO, aom_tile_data *) 532 #define AOM_CTRL_AV1D_GET_FRAME_HEADER_INFO 533 534 AOM_CTRL_USE_TYPE(AV1D_GET_TILE_DATA, aom_tile_data *) 535 #define AOM_CTRL_AV1D_GET_TILE_DATA 536 537 AOM_CTRL_USE_TYPE(AV1D_SET_EXT_REF_PTR, av1_ext_ref_frame_t *) 538 #define AOM_CTRL_AV1D_SET_EXT_REF_PTR 539 540 AOM_CTRL_USE_TYPE(AV1D_EXT_TILE_DEBUG, unsigned int) 541 #define AOM_CTRL_AV1D_EXT_TILE_DEBUG 542 543 AOM_CTRL_USE_TYPE(AV1D_SET_ROW_MT, unsigned int) 544 #define AOM_CTRL_AV1D_SET_ROW_MT 545 546 AOM_CTRL_USE_TYPE(AV1D_SET_IS_ANNEXB, unsigned int) 547 #define AOM_CTRL_AV1D_SET_IS_ANNEXB 548 549 AOM_CTRL_USE_TYPE(AV1D_SET_OPERATING_POINT, int) 550 #define AOM_CTRL_AV1D_SET_OPERATING_POINT 551 552 AOM_CTRL_USE_TYPE(AV1D_SET_OUTPUT_ALL_LAYERS, int) 553 #define AOM_CTRL_AV1D_SET_OUTPUT_ALL_LAYERS 554 555 AOM_CTRL_USE_TYPE(AV1_SET_INSPECTION_CALLBACK, aom_inspect_init *) 556 #define AOM_CTRL_AV1_SET_INSPECTION_CALLBACK 557 558 AOM_CTRL_USE_TYPE(AV1D_SET_SKIP_FILM_GRAIN, int) 559 #define AOM_CTRL_AV1D_SET_SKIP_FILM_GRAIN 560 561 AOM_CTRL_USE_TYPE(AOMD_GET_FWD_KF_PRESENT, int *) 562 #define AOM_CTRL_AOMD_GET_FWD_KF_PRESENT 563 564 AOM_CTRL_USE_TYPE(AOMD_GET_FRAME_FLAGS, int *) 565 #define AOM_CTRL_AOMD_GET_FRAME_FLAGS 566 567 AOM_CTRL_USE_TYPE(AOMD_GET_ALTREF_PRESENT, int *) 568 #define AOM_CTRL_AOMD_GET_ALTREF_PRESENT 569 570 AOM_CTRL_USE_TYPE(AOMD_GET_TILE_INFO, aom_tile_info *) 571 #define AOM_CTRL_AOMD_GET_TILE_INFO 572 573 AOM_CTRL_USE_TYPE(AOMD_GET_SCREEN_CONTENT_TOOLS_INFO, 574 aom_screen_content_tools_info *) 575 #define AOM_CTRL_AOMD_GET_SCREEN_CONTENT_TOOLS_INFO 576 577 AOM_CTRL_USE_TYPE(AOMD_GET_STILL_PICTURE, aom_still_picture_info *) 578 #define AOM_CTRL_AOMD_GET_STILL_PICTURE 579 580 AOM_CTRL_USE_TYPE(AOMD_GET_SB_SIZE, aom_superblock_size_t *) 581 #define AOMD_CTRL_AOMD_GET_SB_SIZE 582 583 AOM_CTRL_USE_TYPE(AOMD_GET_SHOW_EXISTING_FRAME_FLAG, int *) 584 #define AOMD_CTRL_AOMD_GET_SHOW_EXISTING_FRAME_FLAG 585 586 AOM_CTRL_USE_TYPE(AOMD_GET_S_FRAME_INFO, aom_s_frame_info *) 587 #define AOMD_CTRL_AOMD_GET_S_FRAME_INFO 588 589 AOM_CTRL_USE_TYPE(AOMD_GET_SHOW_FRAME_FLAG, int *) 590 #define AOM_CTRL_AOMD_GET_SHOW_FRAME_FLAG 591 592 AOM_CTRL_USE_TYPE(AOMD_GET_BASE_Q_IDX, int *) 593 #define AOM_CTRL_AOMD_GET_BASE_Q_IDX 594 595 AOM_CTRL_USE_TYPE(AOMD_GET_ORDER_HINT, unsigned int *) 596 #define AOM_CTRL_AOMD_GET_ORDER_HINT 597 598 // The AOM_CTRL_USE_TYPE macro can't be used with AV1D_GET_MI_INFO because 599 // AV1D_GET_MI_INFO takes more than one parameter. 600 #define AOM_CTRL_AV1D_GET_MI_INFO 601 /*!\endcond */ 602 /*! @} - end defgroup aom_decoder */ 603 #ifdef __cplusplus 604 } // extern "C" 605 #endif 606 607 #endif // AOM_AOM_AOMDX_H_ 608