AOMedia AV1 Codec
aom.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
31#ifndef AOM_AOM_AOM_H_
32#define AOM_AOM_AOM_H_
33
34#include "aom/aom_codec.h"
35#include "aom/aom_image.h"
36
37#ifdef __cplusplus
38extern "C" {
39#endif
40
52
58
65
71
77
82 // No common control IDs should be added after AOM_DECODER_CTRL_ID_START.
83};
84
94
106#define AOM_CTRL_AV1_GET_REFERENCE
107
109#define AOM_CTRL_AV1_SET_REFERENCE
110
112#define AOM_CTRL_AV1_COPY_REFERENCE
113
115#define AOM_CTRL_AV1_GET_NEW_FRAME_IMAGE
116
118#define AOM_CTRL_AV1_COPY_NEW_FRAME_IMAGE
119
123#ifdef __cplusplus
124} // extern "C"
125#endif
126
127#endif // AOM_AOM_AOM_H_
Describes the codec algorithm interface to applications.
Describes the aom image descriptor and associated operations.
struct av1_ref_frame av1_ref_frame_t
AV1 specific reference frame data struct.
aom_com_control_id
Control functions.
Definition aom.h:46
@ AOM_DECODER_CTRL_ID_START
Start point of control IDs for aom_dec_control_id. Any new common control IDs should be added above.
Definition aom.h:81
@ AV1_GET_NEW_FRAME_IMAGE
Codec control function to get a pointer to the new frame.
Definition aom.h:70
@ AV1_GET_REFERENCE
Codec control function to get a pointer to a reference frame.
Definition aom.h:51
@ AV1_SET_REFERENCE
Codec control function to write a frame into a reference buffer.
Definition aom.h:57
@ AV1_COPY_NEW_FRAME_IMAGE
Codec control function to copy the new frame to an external buffer.
Definition aom.h:76
@ AV1_COPY_REFERENCE
Codec control function to get a copy of reference frame from the decoder.
Definition aom.h:64
#define AOM_CTRL_USE_TYPE(id, typ)
Creates type checking mechanisms for aom_codec_control.
Definition aom_codec.h:534
Image Descriptor.
Definition aom_image.h:182
AV1 specific reference frame data struct.
Definition aom.h:89
int use_external_ref
Definition aom.h:91
aom_image_t img
Definition aom.h:92
int idx
Definition aom.h:90