FFmpeg  4.0
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 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_uninit()

static void vp9_superframe_split_uninit ( AVBSFContext ctx)
static

Definition at line 135 of file vp9_superframe_split_bsf.c.

Variable Documentation

◆ ff_vp9_superframe_split_bsf

const AVBitStreamFilter ff_vp9_superframe_split_bsf
Initial value:
= {
.name = "vp9_superframe_split",
.priv_data_size = sizeof(VP9SFSplitContext),
}
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:114
AVCodecID
Identify the syntax and semantics of the bitstream.
Definition: avcodec.h:215
static void vp9_superframe_split_uninit(AVBSFContext *ctx)
static int vp9_superframe_split_filter(AVBSFContext *ctx, AVPacket *out)
static enum AVCodecID codec_ids[]

Definition at line 141 of file vp9_superframe_split_bsf.c.