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
filter_frame For filters that do not use the this method is called when a frame is pushed to the filter s input It can be called at any time except in a reentrant way If the input frame is enough to produce then the filter should push the output frames on the output link immediately As an exception to the previous rule if the input frame is enough to produce several output frames then the filter needs output only at least one per link The additional frames can be left buffered in the filter
Definition: filter_design.txt:228
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:365
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