FFmpeg
Loading...
Searching...
No Matches
av1dec.c File Reference
#include "config_components.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "libavcodec/av1_parse.h"
#include "libavcodec/bsf.h"
#include "avformat.h"
#include "avio_internal.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  AV1DemuxContext
 

Macros

#define DEC   AV_OPT_FLAG_DECODING_PARAM
 
#define OFFSET(x)
 

Functions

static int get_score (int type, int *seq)
 
static int av1_read_header (AVFormatContext *s)
 
static int av1_read_close (AVFormatContext *s)
 

Variables

static const AVOption av1_options []
 
static const AVClass av1_demuxer_class
 

Macro Definition Documentation

◆ DEC

#define DEC   AV_OPT_FLAG_DECODING_PARAM

Definition at line 111 of file av1dec.c.

◆ OFFSET

#define OFFSET ( x)
Value:

Definition at line 112 of file av1dec.c.

Function Documentation

◆ get_score()

static int get_score ( int type,
int * seq )
static

Definition at line 43 of file av1dec.c.

◆ av1_read_header()

static int av1_read_header ( AVFormatContext * s)
static

Definition at line 61 of file av1dec.c.

◆ av1_read_close()

static int av1_read_close ( AVFormatContext * s)
static

Definition at line 103 of file av1dec.c.

Variable Documentation

◆ av1_options

const AVOption av1_options[]
static
Initial value:
= {
{ "framerate", "", OFFSET(framerate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, INT_MAX, DEC},
{ NULL },
}
#define NULL
Definition coverity.c:32
#define OFFSET(x)
@ AV_OPT_TYPE_VIDEO_RATE
Underlying C type is AVRational.
Definition opt.h:314
#define DEC
Definition librsvgdec.c:149
float framerate
Definition av1_levels.c:29

Definition at line 113 of file av1dec.c.

◆ av1_demuxer_class

const AVClass av1_demuxer_class
static
Initial value:
= {
.class_name = "AV1 Annex B/low overhead OBU demuxer",
.item_name = av_default_item_name,
.option = av1_options,
}
const char * av_default_item_name(void *ptr)
Return the context name.
Definition log.c:241
#define LIBAVUTIL_VERSION_INT
Definition version.h:85
static const AVOption av1_options[]
Definition av1dec.c:1533

Definition at line 119 of file av1dec.c.