#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 (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 |
static int h264_extradata_to_annexb |
( |
AVCodecContext * |
avctx, |
|
|
const int |
padding |
|
) |
| |
|
static |