FFmpeg
Data Structures | Functions | Variables
vp9_superframe_split_bsf.c File Reference

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

#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

static int vp9_superframe_split_filter ( AVBSFContext ctx,
AVPacket out 
)
static

Definition at line 41 of file vp9_superframe_split_bsf.c.

static int vp9_superframe_split_init ( AVBSFContext ctx)
static

Definition at line 135 of file vp9_superframe_split_bsf.c.

static void vp9_superframe_split_flush ( AVBSFContext ctx)
static

Definition at line 146 of file vp9_superframe_split_bsf.c.

static void vp9_superframe_split_uninit ( AVBSFContext ctx)
static

Definition at line 152 of file vp9_superframe_split_bsf.c.

Variable Documentation

const AVBitStreamFilter ff_vp9_superframe_split_bsf
Initial value:
= {
.name = "vp9_superframe_split",
.priv_data_size = sizeof(VP9SFSplitContext),
}
static void flush(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
AVCodecID
Identify the syntax and semantics of the bitstream.
Definition: codec_id.h:44
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
static int vp9_superframe_split_init(AVBSFContext *ctx)
static void vp9_superframe_split_uninit(AVBSFContext *ctx)
static void vp9_superframe_split_flush(AVBSFContext *ctx)
static int vp9_superframe_split_filter(AVBSFContext *ctx, AVPacket *out)
static enum AVCodecID codec_ids[]

Definition at line 158 of file vp9_superframe_split_bsf.c.