#include <stdint.h>
#include "libavutil/log.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "av1.h"
#include "av1_parse.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "bytestream.h"
#include "h2645_parse.h"
#include "h264.h"
#include "lcevc.h"
#include "startcode.h"
#include "vc1_common.h"
#include "vvc.h"
#include "hevc/hevc.h"
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 uint64_t | get_mb (GetBitContext *s) |
| |
| static int | write_lcevc_nalu (AVBSFContext *ctx, PutByteContext *pbc, const H2645NAL *nal, int remove) |
| | Rewrite the NALu stripping the unneeded blocks. More...
|
| |
| 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 |
◆ get_mb()
◆ write_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 293 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
◆ extract_tab
| const { ... } extract_tab[] |
◆ codec_ids
◆ options
◆ extract_extradata_class
| const AVClass extract_extradata_class |
|
static |
◆ ff_extract_extradata_bsf