Go to the source code of this file.
|
| static int | val_in_array (const int *arr, size_t len, int val) |
| |
| static int | metadata_is_global (const AV1OBU *obu) |
| |
| static int | obu_is_global (const AV1OBU *obu) |
| |
| static int | extract_extradata_av1 (AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) |
| |
| static int | extract_extradata_h2645 (AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) |
| |
| static int | process_lcevc_nalu (PutByteContext *extradata, PutByteContext *data, int *extradata_sizep, int *data_sizep, const H2645NAL *nal) |
| | Rewrite the NALu stripping the unneeded blocks.
|
| |
| static int | extract_extradata_lcevc (AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) |
| |
| static int | extract_extradata_vc1 (AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) |
| |
| static int | extract_extradata_mpeg12 (AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) |
| |
| static int | extract_extradata_mpeg4 (AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) |
| |
| static int | extract_extradata_init (AVBSFContext *ctx) |
| |
| static int | extract_extradata_filter (AVBSFContext *ctx, AVPacket *pkt) |
| |
| static void | extract_extradata_close (AVBSFContext *ctx) |
| |
◆ OFFSET
◆ FLAGS
◆ val_in_array()
| static int val_in_array |
( |
const int * | arr, |
|
|
size_t | len, |
|
|
int | val ) |
|
static |
◆ metadata_is_global()
| static int metadata_is_global |
( |
const AV1OBU * | obu | ) |
|
|
static |
◆ obu_is_global()
| static int obu_is_global |
( |
const AV1OBU * | obu | ) |
|
|
static |
◆ extract_extradata_av1()
| static int extract_extradata_av1 |
( |
AVBSFContext * | ctx, |
|
|
AVPacket * | pkt, |
|
|
uint8_t ** | data, |
|
|
int * | size ) |
|
static |
◆ extract_extradata_h2645()
| static int extract_extradata_h2645 |
( |
AVBSFContext * | ctx, |
|
|
AVPacket * | pkt, |
|
|
uint8_t ** | data, |
|
|
int * | size ) |
|
static |
◆ process_lcevc_nalu()
Rewrite the NALu stripping the unneeded blocks.
Given that length fields coded inside the NALu are not aware of any emulation_3bytes present in the bitstream, we need to keep track of the raw buffer as we navigate the stripped buffer.
Definition at line 283 of file extract_extradata.c.
Referenced by extract_extradata_lcevc().
◆ extract_extradata_lcevc()
| static int extract_extradata_lcevc |
( |
AVBSFContext * | ctx, |
|
|
AVPacket * | pkt, |
|
|
uint8_t ** | data, |
|
|
int * | size ) |
|
static |
◆ extract_extradata_vc1()
| static int extract_extradata_vc1 |
( |
AVBSFContext * | ctx, |
|
|
AVPacket * | pkt, |
|
|
uint8_t ** | data, |
|
|
int * | size ) |
|
static |
◆ extract_extradata_mpeg12()
| static int extract_extradata_mpeg12 |
( |
AVBSFContext * | ctx, |
|
|
AVPacket * | pkt, |
|
|
uint8_t ** | data, |
|
|
int * | size ) |
|
static |
◆ extract_extradata_mpeg4()
| static int extract_extradata_mpeg4 |
( |
AVBSFContext * | ctx, |
|
|
AVPacket * | pkt, |
|
|
uint8_t ** | data, |
|
|
int * | size ) |
|
static |
◆ extract_extradata_init()
◆ extract_extradata_filter()
◆ extract_extradata_close()
◆ id
◆ extract
◆ [struct]
| const struct { ... } extract_tab[] |
Initial value:= {
}
@ AV_CODEC_ID_MPEG2VIDEO
preferred ID for MPEG-1/2 video decoding
Referenced by extract_extradata_init().
◆ codec_ids
◆ options
Initial value:= {
{ .i64 = 0 }, 0, 1,
FLAGS },
}
@ AV_OPT_TYPE_INT
Underlying C type is int.
Definition at line 677 of file extract_extradata.c.
◆ extract_extradata_class
| const AVClass extract_extradata_class |
|
static |
Initial value:= {
.class_name = "extract_extradata",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
Definition at line 683 of file extract_extradata.c.
◆ ff_extract_extradata_bsf
Initial value:= {
.p.name = "extract_extradata",
}
static enum AVCodecID codec_ids[]
static av_cold void close(AVCodecParserContext *s)
int(* init)(AVBSFContext *ctx)
void(* filter)(uint8_t *src, ptrdiff_t stride, int qscale)
Definition at line 690 of file extract_extradata.c.