#include <string.h>
#include "libavutil/avassert.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "bytestream.h"
#include "defs.h"
#include "h264.h"
#include "sei.h"
Go to the source code of this file.
|
static void | count_or_copy (uint8_t **out, uint64_t *out_size, const uint8_t *in, int in_size, enum PsSource ps, int copy) |
|
static int | h264_extradata_to_annexb (AVBSFContext *ctx, uint8_t *extradata, int extradata_size) |
|
static int | h264_mp4toannexb_save_ps (uint8_t **dst, int *dst_size, unsigned *dst_buf_size, const uint8_t *nal, uint32_t nal_size, int first) |
|
static int | h264_mp4toannexb_filter_ps (H264BSFContext *s, const uint8_t *buf, const uint8_t *buf_end) |
|
static int | h264_mp4toannexb_init (AVBSFContext *ctx) |
|
static int | h264_mp4toannexb_filter (AVBSFContext *ctx, AVPacket *opkt) |
|
static void | h264_mp4toannexb_close (AVBSFContext *ctx) |
|
static void | h264_mp4toannexb_flush (AVBSFContext *ctx) |
|
◆ LOG_ONCE
Value: if (j) \
av_log(__VA_ARGS__)
◆ PsSource
◆ count_or_copy()
static void count_or_copy |
( |
uint8_t ** |
out, |
|
|
uint64_t * |
out_size, |
|
|
const uint8_t * |
in, |
|
|
int |
in_size, |
|
|
enum PsSource |
ps, |
|
|
int |
copy |
|
) |
| |
|
static |
◆ h264_extradata_to_annexb()
static int h264_extradata_to_annexb |
( |
AVBSFContext * |
ctx, |
|
|
uint8_t * |
extradata, |
|
|
int |
extradata_size |
|
) |
| |
|
static |
◆ h264_mp4toannexb_save_ps()
static int h264_mp4toannexb_save_ps |
( |
uint8_t ** |
dst, |
|
|
int * |
dst_size, |
|
|
unsigned * |
dst_buf_size, |
|
|
const uint8_t * |
nal, |
|
|
uint32_t |
nal_size, |
|
|
int |
first |
|
) |
| |
|
static |
◆ h264_mp4toannexb_filter_ps()
static int h264_mp4toannexb_filter_ps |
( |
H264BSFContext * |
s, |
|
|
const uint8_t * |
buf, |
|
|
const uint8_t * |
buf_end |
|
) |
| |
|
static |
◆ h264_mp4toannexb_init()
◆ h264_mp4toannexb_filter()
◆ h264_mp4toannexb_close()
◆ h264_mp4toannexb_flush()
◆ codec_ids
◆ ff_h264_mp4toannexb_bsf