#include <string.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avcodec.h"
Go to the source code of this file.
|
static int | 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_extradata_to_annexb (H264BSFContext *ctx, AVCodecContext *avctx, const int padding) |
|
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 int 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 |
Initial value:= {
.name = "h264_mp4toannexb",
}
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 filter(MpegAudioContext *s, int ch, const short *samples, int incr)
Definition at line 256 of file h264_mp4toannexb_bsf.c.