• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 size of the tile, unsigned int*
238    * parameter
239    */
240   AV1D_GET_TILE_SIZE,
241 
242   /*!\brief Codec control function to get the tile count in a tile list,
243    * unsigned int* parameter
244    */
245   AV1D_GET_TILE_COUNT,
246 
247   /*!\brief Codec control function to set the byte alignment of the planes in
248    * the reference buffers, int parameter
249    *
250    * Valid values are power of 2, from 32 to 1024. A value of 0 sets
251    * legacy alignment. I.e. Y plane is aligned to 32 bytes, U plane directly
252    * follows Y plane, and V plane directly follows U plane. Default value is 0.
253    */
254   AV1_SET_BYTE_ALIGNMENT,
255 
256   /*!\brief Codec control function to invert the decoding order to from right to
257    * left, int parameter
258    *
259    * The function is used in a test to confirm the decoding independence of tile
260    * columns. The function may be used in application where this order
261    * of decoding is desired. int parameter
262    *
263    * TODO(yaowu): Rework the unit test that uses this control, and in a future
264    *              release, this test-only control shall be removed.
265    */
266   AV1_INVERT_TILE_DECODE_ORDER,
267 
268   /*!\brief Codec control function to set the skip loop filter flag, int
269    * parameter
270    *
271    * Valid values are integers. The decoder will skip the loop filter
272    * when its value is set to nonzero. If the loop filter is skipped the
273    * decoder may accumulate decode artifacts. The default value is 0.
274    */
275   AV1_SET_SKIP_LOOP_FILTER,
276 
277   /*!\brief Codec control function to retrieve a pointer to the Accounting
278    * struct, takes Accounting** as parameter
279    *
280    * If called before a frame has been decoded, this returns AOM_CODEC_ERROR.
281    * The caller should ensure that AOM_CODEC_OK is returned before attempting
282    * to dereference the Accounting pointer.
283    *
284    * \attention When configured with -DCONFIG_ACCOUNTING=0, the default, this
285    * returns AOM_CODEC_INCAPABLE.
286    */
287   AV1_GET_ACCOUNTING,
288 
289   /*!\brief Codec control function to get last decoded frame quantizer,
290    * int* parameter
291    *
292    * Returned value uses internal quantizer scale defined by the codec.
293    */
294   AOMD_GET_LAST_QUANTIZER,
295 
296   /*!\brief Codec control function to set the range of tile decoding, int
297    * parameter
298    *
299    * A value that is greater and equal to zero indicates only the specific
300    * row/column is decoded. A value that is -1 indicates the whole row/column
301    * is decoded. A special case is both values are -1 that means the whole
302    * frame is decoded.
303    */
304   AV1_SET_DECODE_TILE_ROW,
305   AV1_SET_DECODE_TILE_COL,
306 
307   /*!\brief Codec control function to set the tile coding mode, unsigned int
308    * parameter
309    *
310    * - 0 = tiles are coded in normal tile mode
311    * - 1 = tiles are coded in large-scale tile mode
312    */
313   AV1_SET_TILE_MODE,
314 
315   /*!\brief Codec control function to get the frame header information of an
316    * encoded frame, aom_tile_data* parameter
317    */
318   AV1D_GET_FRAME_HEADER_INFO,
319 
320   /*!\brief Codec control function to get the start address and size of a
321    * tile in the coded bitstream, aom_tile_data* parameter.
322    */
323   AV1D_GET_TILE_DATA,
324 
325   /*!\brief Codec control function to set the external references' pointers in
326    * the decoder, av1_ext_ref_frame_t* parameter.
327    *
328    * This is used while decoding the tile list OBU in large-scale tile coding
329    * mode.
330    */
331   AV1D_SET_EXT_REF_PTR,
332 
333   /*!\brief Codec control function to enable the ext-tile software debug and
334    * testing code in the decoder, unsigned int parameter
335    */
336   AV1D_EXT_TILE_DEBUG,
337 
338   /*!\brief Codec control function to enable the row based multi-threading of
339    * decoding, unsigned int parameter
340    *
341    * - 0 = disabled
342    * - 1 = enabled (default)
343    */
344   AV1D_SET_ROW_MT,
345 
346   /*!\brief Codec control function to indicate whether bitstream is in
347    * Annex-B format, unsigned int parameter
348    */
349   AV1D_SET_IS_ANNEXB,
350 
351   /*!\brief Codec control function to indicate which operating point to use,
352    * int parameter
353    *
354    * A scalable stream may define multiple operating points, each of which
355    * defines a set of temporal and spatial layers to be processed. The
356    * operating point index may take a value between 0 and
357    * operating_points_cnt_minus_1 (which is at most 31).
358    */
359   AV1D_SET_OPERATING_POINT,
360 
361   /*!\brief Codec control function to indicate whether to output one frame per
362    * temporal unit (the default), or one frame per spatial layer, int parameter
363    *
364    * In a scalable stream, each temporal unit corresponds to a single "frame"
365    * of video, and within a temporal unit there may be multiple spatial layers
366    * with different versions of that frame.
367    * For video playback, only the highest-quality version (within the
368    * selected operating point) is needed, but for some use cases it is useful
369    * to have access to multiple versions of a frame when they are available.
370    */
371   AV1D_SET_OUTPUT_ALL_LAYERS,
372 
373   /*!\brief Codec control function to set an aom_inspect_cb callback that is
374    * invoked each time a frame is decoded, aom_inspect_init* parameter
375    *
376    * \attention When configured with -DCONFIG_INSPECTION=0, the default, this
377    * returns AOM_CODEC_INCAPABLE.
378    */
379   AV1_SET_INSPECTION_CALLBACK,
380 
381   /*!\brief Codec control function to set the skip film grain flag, int
382    * parameter
383    *
384    * Valid values are integers. The decoder will skip the film grain when its
385    * value is set to nonzero. The default value is 0.
386    */
387   AV1D_SET_SKIP_FILM_GRAIN,
388 
389   /*!\brief Codec control function to check the presence of forward key frames,
390    * int* parameter
391    */
392   AOMD_GET_FWD_KF_PRESENT,
393 
394   /*!\brief Codec control function to get the frame flags of the previous frame
395    * decoded, int* parameter
396    *
397    * This will return a flag of type aom_codec_frame_flags_t.
398    */
399   AOMD_GET_FRAME_FLAGS,
400 
401   /*!\brief Codec control function to check the presence of altref frames, int*
402    * parameter
403    */
404   AOMD_GET_ALTREF_PRESENT,
405 
406   /*!\brief Codec control function to get tile information of the previous frame
407    * decoded, aom_tile_info* parameter
408    *
409    * This will return a struct of type aom_tile_info.
410    */
411   AOMD_GET_TILE_INFO,
412 
413   /*!\brief Codec control function to get screen content tools information,
414    * aom_screen_content_tools_info* parameter
415    *
416    * It returns a struct of type aom_screen_content_tools_info, which contains
417    * the header flags allow_screen_content_tools, allow_intrabc, and
418    * force_integer_mv.
419    */
420   AOMD_GET_SCREEN_CONTENT_TOOLS_INFO,
421 
422   /*!\brief Codec control function to get the still picture coding information,
423    * aom_still_picture_info* parameter
424    */
425   AOMD_GET_STILL_PICTURE,
426 
427   /*!\brief Codec control function to get superblock size,
428    * aom_superblock_size_t* parameter
429    *
430    * It returns an enum, indicating the superblock size read from the sequence
431    * header(0 for BLOCK_64X64 and 1 for BLOCK_128X128)
432    */
433   AOMD_GET_SB_SIZE,
434 
435   /*!\brief Codec control function to check if the previous frame
436    * decoded has show existing frame flag set, int* parameter
437    */
438   AOMD_GET_SHOW_EXISTING_FRAME_FLAG,
439 
440   /*!\brief Codec control function to get the S_FRAME coding information,
441    * aom_s_frame_info* parameter
442    */
443   AOMD_GET_S_FRAME_INFO,
444 
445   /*!\brief Codec control function to get the show frame flag, int* parameter
446    */
447   AOMD_GET_SHOW_FRAME_FLAG,
448 
449   /*!\brief Codec control function to get the base q index of a frame, int*
450    * parameter
451    */
452   AOMD_GET_BASE_Q_IDX,
453 
454   /*!\brief Codec control function to get the order hint of a frame, unsigned
455    * int* parameter
456    */
457   AOMD_GET_ORDER_HINT,
458 
459   /*!\brief Codec control function to get the info of a 4x4 block.
460    * Parameters: int mi_row, int mi_col, and MB_MODE_INFO*.
461    *
462    * \note This only returns a shallow copy, so all pointer members should not
463    * be used.
464    */
465   AV1D_GET_MI_INFO,
466 };
467 
468 /*!\cond */
469 /*!\brief AOM decoder control function parameter type
470  *
471  * Defines the data types that AOMD control functions take.
472  *
473  * \note Additional common controls are defined in aom.h.
474  *
475  * \note For each control ID "X", a macro-define of
476  * AOM_CTRL_X is provided. It is used at compile time to determine
477  * if the control ID is supported by the libaom library available,
478  * when the libaom version cannot be controlled.
479  */
480 AOM_CTRL_USE_TYPE(AOMD_GET_LAST_REF_UPDATES, int *)
481 #define AOM_CTRL_AOMD_GET_LAST_REF_UPDATES
482 
483 AOM_CTRL_USE_TYPE(AOMD_GET_FRAME_CORRUPTED, int *)
484 #define AOM_CTRL_AOMD_GET_FRAME_CORRUPTED
485 
486 AOM_CTRL_USE_TYPE(AOMD_GET_LAST_REF_USED, int *)
487 #define AOM_CTRL_AOMD_GET_LAST_REF_USED
488 
489 AOM_CTRL_USE_TYPE(AV1D_GET_FRAME_SIZE, int *)
490 #define AOM_CTRL_AV1D_GET_FRAME_SIZE
491 
492 AOM_CTRL_USE_TYPE(AV1D_GET_DISPLAY_SIZE, int *)
493 #define AOM_CTRL_AV1D_GET_DISPLAY_SIZE
494 
495 AOM_CTRL_USE_TYPE(AV1D_GET_BIT_DEPTH, unsigned int *)
496 #define AOM_CTRL_AV1D_GET_BIT_DEPTH
497 
498 AOM_CTRL_USE_TYPE(AV1D_GET_IMG_FORMAT, aom_img_fmt_t *)
499 #define AOM_CTRL_AV1D_GET_IMG_FORMAT
500 
501 AOM_CTRL_USE_TYPE(AV1D_GET_TILE_SIZE, unsigned int *)
502 #define AOM_CTRL_AV1D_GET_TILE_SIZE
503 
504 AOM_CTRL_USE_TYPE(AV1D_GET_TILE_COUNT, unsigned int *)
505 #define AOM_CTRL_AV1D_GET_TILE_COUNT
506 
507 AOM_CTRL_USE_TYPE(AV1_INVERT_TILE_DECODE_ORDER, int)
508 #define AOM_CTRL_AV1_INVERT_TILE_DECODE_ORDER
509 
510 AOM_CTRL_USE_TYPE(AV1_SET_SKIP_LOOP_FILTER, int)
511 #define AOM_CTRL_AV1_SET_SKIP_LOOP_FILTER
512 
513 AOM_CTRL_USE_TYPE(AV1_GET_ACCOUNTING, Accounting **)
514 #define AOM_CTRL_AV1_GET_ACCOUNTING
515 
516 AOM_CTRL_USE_TYPE(AOMD_GET_LAST_QUANTIZER, int *)
517 #define AOM_CTRL_AOMD_GET_LAST_QUANTIZER
518 
519 AOM_CTRL_USE_TYPE(AV1_SET_DECODE_TILE_ROW, int)
520 #define AOM_CTRL_AV1_SET_DECODE_TILE_ROW
521 
522 AOM_CTRL_USE_TYPE(AV1_SET_DECODE_TILE_COL, int)
523 #define AOM_CTRL_AV1_SET_DECODE_TILE_COL
524 
525 AOM_CTRL_USE_TYPE(AV1_SET_TILE_MODE, unsigned int)
526 #define AOM_CTRL_AV1_SET_TILE_MODE
527 
528 AOM_CTRL_USE_TYPE(AV1D_GET_FRAME_HEADER_INFO, aom_tile_data *)
529 #define AOM_CTRL_AV1D_GET_FRAME_HEADER_INFO
530 
531 AOM_CTRL_USE_TYPE(AV1D_GET_TILE_DATA, aom_tile_data *)
532 #define AOM_CTRL_AV1D_GET_TILE_DATA
533 
534 AOM_CTRL_USE_TYPE(AV1D_SET_EXT_REF_PTR, av1_ext_ref_frame_t *)
535 #define AOM_CTRL_AV1D_SET_EXT_REF_PTR
536 
537 AOM_CTRL_USE_TYPE(AV1D_EXT_TILE_DEBUG, unsigned int)
538 #define AOM_CTRL_AV1D_EXT_TILE_DEBUG
539 
540 AOM_CTRL_USE_TYPE(AV1D_SET_ROW_MT, unsigned int)
541 #define AOM_CTRL_AV1D_SET_ROW_MT
542 
543 AOM_CTRL_USE_TYPE(AV1D_SET_IS_ANNEXB, unsigned int)
544 #define AOM_CTRL_AV1D_SET_IS_ANNEXB
545 
546 AOM_CTRL_USE_TYPE(AV1D_SET_OPERATING_POINT, int)
547 #define AOM_CTRL_AV1D_SET_OPERATING_POINT
548 
549 AOM_CTRL_USE_TYPE(AV1D_SET_OUTPUT_ALL_LAYERS, int)
550 #define AOM_CTRL_AV1D_SET_OUTPUT_ALL_LAYERS
551 
552 AOM_CTRL_USE_TYPE(AV1_SET_INSPECTION_CALLBACK, aom_inspect_init *)
553 #define AOM_CTRL_AV1_SET_INSPECTION_CALLBACK
554 
555 AOM_CTRL_USE_TYPE(AV1D_SET_SKIP_FILM_GRAIN, int)
556 #define AOM_CTRL_AV1D_SET_SKIP_FILM_GRAIN
557 
558 AOM_CTRL_USE_TYPE(AOMD_GET_FWD_KF_PRESENT, int *)
559 #define AOM_CTRL_AOMD_GET_FWD_KF_PRESENT
560 
561 AOM_CTRL_USE_TYPE(AOMD_GET_FRAME_FLAGS, int *)
562 #define AOM_CTRL_AOMD_GET_FRAME_FLAGS
563 
564 AOM_CTRL_USE_TYPE(AOMD_GET_ALTREF_PRESENT, int *)
565 #define AOM_CTRL_AOMD_GET_ALTREF_PRESENT
566 
567 AOM_CTRL_USE_TYPE(AOMD_GET_TILE_INFO, aom_tile_info *)
568 #define AOM_CTRL_AOMD_GET_TILE_INFO
569 
570 AOM_CTRL_USE_TYPE(AOMD_GET_SCREEN_CONTENT_TOOLS_INFO,
571                   aom_screen_content_tools_info *)
572 #define AOM_CTRL_AOMD_GET_SCREEN_CONTENT_TOOLS_INFO
573 
574 AOM_CTRL_USE_TYPE(AOMD_GET_STILL_PICTURE, aom_still_picture_info *)
575 #define AOM_CTRL_AOMD_GET_STILL_PICTURE
576 
577 AOM_CTRL_USE_TYPE(AOMD_GET_SB_SIZE, aom_superblock_size_t *)
578 #define AOMD_CTRL_AOMD_GET_SB_SIZE
579 
580 AOM_CTRL_USE_TYPE(AOMD_GET_SHOW_EXISTING_FRAME_FLAG, int *)
581 #define AOMD_CTRL_AOMD_GET_SHOW_EXISTING_FRAME_FLAG
582 
583 AOM_CTRL_USE_TYPE(AOMD_GET_S_FRAME_INFO, aom_s_frame_info *)
584 #define AOMD_CTRL_AOMD_GET_S_FRAME_INFO
585 
586 AOM_CTRL_USE_TYPE(AOMD_GET_SHOW_FRAME_FLAG, int *)
587 #define AOM_CTRL_AOMD_GET_SHOW_FRAME_FLAG
588 
589 AOM_CTRL_USE_TYPE(AOMD_GET_BASE_Q_IDX, int *)
590 #define AOM_CTRL_AOMD_GET_BASE_Q_IDX
591 
592 AOM_CTRL_USE_TYPE(AOMD_GET_ORDER_HINT, unsigned int *)
593 #define AOM_CTRL_AOMD_GET_ORDER_HINT
594 
595 // The AOM_CTRL_USE_TYPE macro can't be used with AV1D_GET_MI_INFO because
596 // AV1D_GET_MI_INFO takes more than one parameter.
597 #define AOM_CTRL_AV1D_GET_MI_INFO
598 /*!\endcond */
599 /*! @} - end defgroup aom_decoder */
600 #ifdef __cplusplus
601 }  // extern "C"
602 #endif
603 
604 #endif  // AOM_AOM_AOMDX_H_
605