FFmpeg
Classes | Typedefs | Variables
libaomdec.c File Reference

AV1 decoder support via libaom. More...

#include <aom/aom_decoder.h>
#include <aom/aomdx.h>
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "internal.h"
#include "profiles.h"

Classes

struct  AV1DecodeContext
 

Typedefs

typedef struct AV1DecodeContext AV1DecodeContext
 

Variables

AVCodec ff_libaom_av1_decoder
 

Detailed Description

AV1 decoder support via libaom.

Variable Documentation

§ ff_libaom_av1_decoder

AVCodec ff_libaom_av1_decoder
Initial value:
= {
.name = "libaom-av1",
.long_name = NULL_IF_CONFIG_SMALL("libaom AV1"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_AV1,
.priv_data_size = sizeof(AV1DecodeContext),
.init = av1_init,
.close = aom_free,
.decode = aom_decode,
.profiles = NULL_IF_CONFIG_SMALL(ff_av1_profiles),
.wrapper_name = "libaom",
}
#define AV_CODEC_CAP_AUTO_THREADS
Codec supports avctx->thread_count == 0 (auto).
Definition: avcodec.h:1027
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: libaomdec.c:36
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959