FFmpeg
Data Structures | Functions | Variables
av1_frame_merge_bsf.c File Reference
#include "bsf.h"
#include "bsf_internal.h"
#include "cbs.h"
#include "cbs_av1.h"

Go to the source code of this file.

Data Structures

struct  AV1FMergeContext
 

Functions

static void av1_frame_merge_flush (AVBSFContext *bsf)
 
static int av1_frame_merge_filter (AVBSFContext *bsf, AVPacket *out)
 
static int av1_frame_merge_init (AVBSFContext *bsf)
 
static void av1_frame_merge_close (AVBSFContext *bsf)
 

Variables

static enum AVCodecID av1_frame_merge_codec_ids []
 
const FFBitStreamFilter ff_av1_frame_merge_bsf
 

Function Documentation

◆ av1_frame_merge_flush()

static void av1_frame_merge_flush ( AVBSFContext bsf)
static

Definition at line 34 of file av1_frame_merge_bsf.c.

Referenced by av1_frame_merge_filter().

◆ av1_frame_merge_filter()

static int av1_frame_merge_filter ( AVBSFContext bsf,
AVPacket out 
)
static

Definition at line 44 of file av1_frame_merge_bsf.c.

◆ av1_frame_merge_init()

static int av1_frame_merge_init ( AVBSFContext bsf)
static

Definition at line 126 of file av1_frame_merge_bsf.c.

◆ av1_frame_merge_close()

static void av1_frame_merge_close ( AVBSFContext bsf)
static

Definition at line 143 of file av1_frame_merge_bsf.c.

Variable Documentation

◆ av1_frame_merge_codec_ids

enum AVCodecID av1_frame_merge_codec_ids[]
static
Initial value:

Definition at line 155 of file av1_frame_merge_bsf.c.

◆ ff_av1_frame_merge_bsf

const FFBitStreamFilter ff_av1_frame_merge_bsf
Initial value:
= {
.p.name = "av1_frame_merge",
.p.codec_ids = av1_frame_merge_codec_ids,
.priv_data_size = sizeof(AV1FMergeContext),
}

Definition at line 159 of file av1_frame_merge_bsf.c.

av1_frame_merge_codec_ids
static enum AVCodecID av1_frame_merge_codec_ids[]
Definition: av1_frame_merge_bsf.c:155
av1_frame_merge_filter
static int av1_frame_merge_filter(AVBSFContext *bsf, AVPacket *out)
Definition: av1_frame_merge_bsf.c:44
filter
filter_frame For filters that do not use the this method is called when a frame is pushed to the filter s input It can be called at any time except in a reentrant way If the input frame is enough to produce then the filter should push the output frames on the output link immediately As an exception to the previous rule if the input frame is enough to produce several output frames then the filter needs output only at least one per link The additional frames can be left buffered in the filter
Definition: filter_design.txt:228
av1_frame_merge_flush
static void av1_frame_merge_flush(AVBSFContext *bsf)
Definition: av1_frame_merge_bsf.c:34
init
int(* init)(AVBSFContext *ctx)
Definition: dts2pts_bsf.c:365
AV_CODEC_ID_AV1
@ AV_CODEC_ID_AV1
Definition: codec_id.h:283
AV1FMergeContext
Definition: av1_frame_merge_bsf.c:26
av1_frame_merge_close
static void av1_frame_merge_close(AVBSFContext *bsf)
Definition: av1_frame_merge_bsf.c:143
av1_frame_merge_init
static int av1_frame_merge_init(AVBSFContext *bsf)
Definition: av1_frame_merge_bsf.c:126
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:50
flush
void(* flush)(AVBSFContext *ctx)
Definition: dts2pts_bsf.c:367