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

Go to the source code of this file.

Data Structures

struct  RemoveExtradataContext
 

Macros

#define OFFSET(x)   offsetof(RemoveExtradataContext, x)
 

Enumerations

enum  RemoveFreq { REMOVE_FREQ_KEYFRAME, REMOVE_FREQ_ALL, REMOVE_FREQ_NONKEYFRAME }
 

Functions

static int remove_extradata (AVBSFContext *ctx, AVPacket *out)
 
static int remove_extradata_init (AVBSFContext *ctx)
 
static void remove_extradata_close (AVBSFContext *ctx)
 

Variables

static const AVOption options []
 
static const AVClass remove_extradata_class
 
const AVBitStreamFilter ff_remove_extradata_bsf
 

Macro Definition Documentation

#define OFFSET (   x)    offsetof(RemoveExtradataContext, x)

Definition at line 96 of file remove_extradata_bsf.c.

Enumeration Type Documentation

enum RemoveFreq
Enumerator
REMOVE_FREQ_KEYFRAME 
REMOVE_FREQ_ALL 
REMOVE_FREQ_NONKEYFRAME 

Definition at line 27 of file remove_extradata_bsf.c.

Function Documentation

static int remove_extradata ( AVBSFContext ctx,
AVPacket out 
)
static

Definition at line 41 of file remove_extradata_bsf.c.

static int remove_extradata_init ( AVBSFContext ctx)
static

Definition at line 68 of file remove_extradata_bsf.c.

static void remove_extradata_close ( AVBSFContext ctx)
static

Definition at line 88 of file remove_extradata_bsf.c.

Variable Documentation

const AVOption options[]
static
Initial value:
= {
{ "k", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = REMOVE_FREQ_NONKEYFRAME }, .unit = "freq" },
{ "keyframe", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = REMOVE_FREQ_KEYFRAME }, .unit = "freq" },
{ "e", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = REMOVE_FREQ_ALL }, .unit = "freq" },
{ "all", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = REMOVE_FREQ_ALL }, .unit = "freq" },
{ NULL },
}
#define NULL
Definition: coverity.c:32
#define OFFSET(x)

Definition at line 97 of file remove_extradata_bsf.c.

const AVClass remove_extradata_class
static
Initial value:
= {
.class_name = "remove_extradata",
.item_name = av_default_item_name,
.option = options,
}
#define LIBAVUTIL_VERSION_INT
Definition: version.h:86
av_default_item_name
static const AVOption options[]

Definition at line 106 of file remove_extradata_bsf.c.

const AVBitStreamFilter ff_remove_extradata_bsf
Initial value:
= {
.name = "remove_extra",
.priv_data_size = sizeof(RemoveExtradataContext),
.priv_class = &remove_extradata_class,
}
static const AVClass remove_extradata_class
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, uint8_t clip)
Definition: cfhd.c:80
static void remove_extradata_close(AVBSFContext *ctx)
static int remove_extradata(AVBSFContext *ctx, AVPacket *out)
static int remove_extradata_init(AVBSFContext *ctx)

Definition at line 113 of file remove_extradata_bsf.c.