FFmpeg
Data Structures | Functions | Variables
vp9_superframe_split_bsf.c File Reference
#include <stddef.h>
#include "bsf.h"
#include "bsf_internal.h"
#include "bytestream.h"
#include "get_bits.h"

Go to the source code of this file.

Data Structures

struct  VP9SFSplitContext
 

Functions

static int vp9_superframe_split_filter (AVBSFContext *ctx, AVPacket *out)
 
static int vp9_superframe_split_init (AVBSFContext *ctx)
 
static void vp9_superframe_split_flush (AVBSFContext *ctx)
 
static void vp9_superframe_split_uninit (AVBSFContext *ctx)
 

Variables

const AVBitStreamFilter ff_vp9_superframe_split_bsf
 

Detailed Description

This bitstream filter splits VP9 superframes into packets containing just one frame.

Definition in file vp9_superframe_split_bsf.c.

Function Documentation

◆ vp9_superframe_split_filter()

static int vp9_superframe_split_filter ( AVBSFContext ctx,
AVPacket out 
)
static

Definition at line 41 of file vp9_superframe_split_bsf.c.

◆ vp9_superframe_split_init()

static int vp9_superframe_split_init ( AVBSFContext ctx)
static

Definition at line 135 of file vp9_superframe_split_bsf.c.

◆ vp9_superframe_split_flush()

static void vp9_superframe_split_flush ( AVBSFContext ctx)
static

Definition at line 146 of file vp9_superframe_split_bsf.c.

◆ vp9_superframe_split_uninit()

static void vp9_superframe_split_uninit ( AVBSFContext ctx)
static

Definition at line 152 of file vp9_superframe_split_bsf.c.

Variable Documentation

◆ ff_vp9_superframe_split_bsf

const AVBitStreamFilter ff_vp9_superframe_split_bsf
Initial value:

Definition at line 158 of file vp9_superframe_split_bsf.c.

init
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:31
VP9SFSplitContext
Definition: vp9_superframe_split_bsf.c:32
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
vp9_superframe_split_init
static int vp9_superframe_split_init(AVBSFContext *ctx)
Definition: vp9_superframe_split_bsf.c:135
AV_CODEC_ID_VP9
@ AV_CODEC_ID_VP9
Definition: codec_id.h:218
flush
static void flush(AVCodecContext *avctx)
Definition: aacdec_template.c:593
AVCodecID
AVCodecID
Identify the syntax and semantics of the bitstream.
Definition: codec_id.h:47
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:48
vp9_superframe_split_flush
static void vp9_superframe_split_flush(AVBSFContext *ctx)
Definition: vp9_superframe_split_bsf.c:146
vp9_superframe_split_filter
static int vp9_superframe_split_filter(AVBSFContext *ctx, AVPacket *out)
Definition: vp9_superframe_split_bsf.c:41
codec_ids
static enum AVCodecID codec_ids[]
Definition: aac_adtstoasc_bsf.c:148
vp9_superframe_split_uninit
static void vp9_superframe_split_uninit(AVBSFContext *ctx)
Definition: vp9_superframe_split_bsf.c:152