FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
vp9_superframe_bsf.c File Reference
#include "libavutil/avassert.h"
#include "avcodec.h"
#include "bsf.h"
#include "get_bits.h"

Go to the source code of this file.

Data Structures

struct  VP9BSFContext
 
struct  VP9BSFContext::CachedBuf
 

Macros

#define MAX_CACHE   8
 
#define wloop(mag, wr)
 

Functions

static void stats (const struct CachedBuf *in, int n_in, unsigned *_max, unsigned *_sum)
 
static int merge_superframe (const struct CachedBuf *in, int n_in, AVPacket *out)
 
static int vp9_superframe_filter (AVBSFContext *ctx, AVPacket *out)
 
static void vp9_superframe_close (AVBSFContext *ctx)
 

Variables

static enum AVCodecID codec_ids []
 
const AVBitStreamFilter ff_vp9_superframe_bsf
 

Macro Definition Documentation

#define MAX_CACHE   8

Definition at line 27 of file vp9_superframe_bsf.c.

Referenced by vp9_superframe_filter().

#define wloop (   mag,
  wr 
)
Value:
for (n = 0; n < n_in; n++) { \
wr; \
ptr += mag + 1; \
}
int n
Definition: avisynth_c.h:547

Referenced by merge_superframe().

Function Documentation

static void stats ( const struct CachedBuf *  in,
int  n_in,
unsigned *  _max,
unsigned *  _sum 
)
static
static int merge_superframe ( const struct CachedBuf *  in,
int  n_in,
AVPacket out 
)
static

Definition at line 54 of file vp9_superframe_bsf.c.

Referenced by vp9_superframe_filter().

static int vp9_superframe_filter ( AVBSFContext ctx,
AVPacket out 
)
static

Definition at line 101 of file vp9_superframe_bsf.c.

static void vp9_superframe_close ( AVBSFContext ctx)
static

Definition at line 185 of file vp9_superframe_bsf.c.

Variable Documentation

enum AVCodecID codec_ids[]
static
Initial value:

Definition at line 195 of file vp9_superframe_bsf.c.

const AVBitStreamFilter ff_vp9_superframe_bsf
Initial value:
= {
.name = "vp9_superframe",
.priv_data_size = sizeof(VP9BSFContext),
}
static int vp9_superframe_filter(AVBSFContext *ctx, AVPacket *out)
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, uint8_t clip)
Definition: cfhd.c:80
static void vp9_superframe_close(AVBSFContext *ctx)
static enum AVCodecID codec_ids[]

Definition at line 199 of file vp9_superframe_bsf.c.