FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
movsub_bsf.c File Reference
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"

Go to the source code of this file.

Functions

static int text2movsub (AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
 
static int mov2textsub (AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
 

Variables

AVBitStreamFilter ff_text2movsub_bsf
 
AVBitStreamFilter ff_mov2textsub_bsf
 

Function Documentation

static int text2movsub ( AVBitStreamFilterContext bsfc,
AVCodecContext avctx,
const char *  args,
uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_t buf,
int  buf_size,
int  keyframe 
)
static

Definition at line 26 of file movsub_bsf.c.

Referenced by avcodec_register_all().

static int mov2textsub ( AVBitStreamFilterContext bsfc,
AVCodecContext avctx,
const char *  args,
uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_t buf,
int  buf_size,
int  keyframe 
)
static

Definition at line 44 of file movsub_bsf.c.

Referenced by avcodec_register_all().

Variable Documentation

AVBitStreamFilter ff_text2movsub_bsf
Initial value:
={
.name = "text2movsub",
.filter = text2movsub,
}
static int text2movsub(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
Definition: movsub_bsf.c:26

Definition at line 39 of file movsub_bsf.c.

AVBitStreamFilter ff_mov2textsub_bsf
Initial value:
={
.name = "mov2textsub",
.filter = mov2textsub,
}
static int mov2textsub(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
Definition: movsub_bsf.c:44

Definition at line 56 of file movsub_bsf.c.