libavcodec/h264_mp4toannexb_bsf.c File Reference

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  H264BSFContext

Functions

static void alloc_and_copy (uint8_t **poutbuf, int *poutbuf_size, const uint8_t *sps_pps, uint32_t sps_pps_size, const uint8_t *in, uint32_t in_size)
static int h264_mp4toannexb_filter (AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
static void h264_mp4toannexb_close (AVBitStreamFilterContext *bsfc)

Variables

AVBitStreamFilter h264_mp4toannexb_bsf


Function Documentation

static void alloc_and_copy ( uint8_t **  poutbuf,
int *  poutbuf_size,
const uint8_t *  sps_pps,
uint32_t  sps_pps_size,
const uint8_t *  in,
uint32_t  in_size 
) [static]

Definition at line 32 of file h264_mp4toannexb_bsf.c.

Referenced by h264_mp4toannexb_filter().

static void h264_mp4toannexb_close ( AVBitStreamFilterContext bsfc  )  [static]

Definition at line 157 of file h264_mp4toannexb_bsf.c.

static int h264_mp4toannexb_filter ( 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 51 of file h264_mp4toannexb_bsf.c.


Variable Documentation

Initial value:

Definition at line 163 of file h264_mp4toannexb_bsf.c.


Generated on Fri Oct 26 02:36:52 2012 for FFmpeg by  doxygen 1.5.8