FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 "avcodec.h"
#include "bsf.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
static void filter(int16_t *output, ptrdiff_t out_stride, int16_t *low, ptrdiff_t low_stride, int16_t *high, ptrdiff_t high_stride, int len, int clip)
Definition: cfhd.c:153
AVCodecID
Identify the syntax and semantics of the bitstream.
Definition: avcodec.h:215
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.