All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
mpeg4_unpack_bframes_bsf.c File Reference
#include "avcodec.h"
#include "bsf.h"
#include "mpeg4video.h"

Go to the source code of this file.

Data Structures

struct  UnpackBFramesBSFContext


static unsigned int find_startcode (const uint8_t *buf, int buf_size, int *pos)
static void scan_buffer (const uint8_t *buf, int buf_size, int *pos_p, int *nb_vop, int *pos_vop2)
static int mpeg4_unpack_bframes_filter (AVBSFContext *ctx, AVPacket *out)
static int mpeg4_unpack_bframes_init (AVBSFContext *ctx)
static void mpeg4_unpack_bframes_flush (AVBSFContext *bsfc)
static void mpeg4_unpack_bframes_close (AVBSFContext *bsfc)


static enum AVCodecID codec_ids []
const AVBitStreamFilter ff_mpeg4_unpack_bframes_bsf

Function Documentation

static unsigned int find_startcode ( const uint8_t buf,
int  buf_size,
int pos 

Definition at line 31 of file mpeg4_unpack_bframes_bsf.c.

Referenced by scan_buffer().

static void scan_buffer ( const uint8_t buf,
int  buf_size,
int pos_p,
int nb_vop,
int pos_vop2 
static int mpeg4_unpack_bframes_filter ( AVBSFContext ctx,
AVPacket out 

Definition at line 73 of file mpeg4_unpack_bframes_bsf.c.

static int mpeg4_unpack_bframes_init ( AVBSFContext ctx)

Definition at line 148 of file mpeg4_unpack_bframes_bsf.c.

static void mpeg4_unpack_bframes_flush ( AVBSFContext bsfc)

Definition at line 169 of file mpeg4_unpack_bframes_bsf.c.

static void mpeg4_unpack_bframes_close ( AVBSFContext bsfc)

Definition at line 175 of file mpeg4_unpack_bframes_bsf.c.

Variable Documentation

enum AVCodecID codec_ids[]
Initial value:

Definition at line 181 of file mpeg4_unpack_bframes_bsf.c.

const AVBitStreamFilter ff_mpeg4_unpack_bframes_bsf
Initial value:
= {
.name = "mpeg4_unpack_bframes",
.priv_data_size = sizeof(UnpackBFramesBSFContext),
static void flush(AVCodecContext *avctx)
static void mpeg4_unpack_bframes_close(AVBSFContext *bsfc)
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static int mpeg4_unpack_bframes_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, int clip)
Definition: cfhd.c:153
static int mpeg4_unpack_bframes_init(AVBSFContext *ctx)
static enum AVCodecID codec_ids[]
static void mpeg4_unpack_bframes_flush(AVBSFContext *bsfc)

Definition at line 185 of file mpeg4_unpack_bframes_bsf.c.