FFmpeg
Data Structures | Macros | Functions | Variables
vvc_mp4toannexb.c File Reference
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "bsf.h"
#include "bsf_internal.h"
#include "bytestream.h"
#include "defs.h"
#include "vvc.h"

Go to the source code of this file.

Data Structures

struct  VVCBSFContext
 

Macros

#define MIN_VVCC_LENGTH   23
 

Functions

static int vvc_extradata_to_annexb (AVBSFContext *ctx)
 
static int vvc_mp4toannexb_init (AVBSFContext *ctx)
 
static int vvc_mp4toannexb_filter (AVBSFContext *ctx, AVPacket *out)
 

Variables

static enum AVCodecID codec_ids []
 
const FFBitStreamFilter ff_vvc_mp4toannexb_bsf
 

Macro Definition Documentation

◆ MIN_VVCC_LENGTH

#define MIN_VVCC_LENGTH   23

Definition at line 33 of file vvc_mp4toannexb.c.

Function Documentation

◆ vvc_extradata_to_annexb()

static int vvc_extradata_to_annexb ( AVBSFContext ctx)
static

Definition at line 40 of file vvc_mp4toannexb.c.

Referenced by vvc_mp4toannexb_init().

◆ vvc_mp4toannexb_init()

static int vvc_mp4toannexb_init ( AVBSFContext ctx)
static

Definition at line 193 of file vvc_mp4toannexb.c.

◆ vvc_mp4toannexb_filter()

static int vvc_mp4toannexb_filter ( AVBSFContext ctx,
AVPacket out 
)
static

Definition at line 214 of file vvc_mp4toannexb.c.

Variable Documentation

◆ codec_ids

enum AVCodecID codec_ids[]
static
Initial value:

Definition at line 318 of file vvc_mp4toannexb.c.

◆ ff_vvc_mp4toannexb_bsf

const FFBitStreamFilter ff_vvc_mp4toannexb_bsf
Initial value:
= {
.p.name = "vvc_mp4toannexb",
.p.codec_ids = codec_ids,
.priv_data_size = sizeof(VVCBSFContext),
}

Definition at line 322 of file vvc_mp4toannexb.c.

filter
void(* filter)(uint8_t *src, int stride, int qscale)
Definition: h263dsp.c:29
vvc_mp4toannexb_filter
static int vvc_mp4toannexb_filter(AVBSFContext *ctx, AVPacket *out)
Definition: vvc_mp4toannexb.c:214
init
int(* init)(AVBSFContext *ctx)
Definition: dts2pts.c:366
AV_CODEC_ID_VVC
@ AV_CODEC_ID_VVC
Definition: codec_id.h:250
AV_CODEC_ID_NONE
@ AV_CODEC_ID_NONE
Definition: codec_id.h:50
codec_ids
static enum AVCodecID codec_ids[]
Definition: vvc_mp4toannexb.c:318
vvc_mp4toannexb_init
static int vvc_mp4toannexb_init(AVBSFContext *ctx)
Definition: vvc_mp4toannexb.c:193
VVCBSFContext
Definition: vvc_mp4toannexb.c:35