FFmpeg
Loading...
Searching...
No Matches
evc_frame_merge.c File Reference

Go to the source code of this file.

Data Structures

struct  AccessUnitBuffer
 
struct  EVCFMergeContext
 

Functions

static int end_of_access_unit_found (const EVCParamSets *ps, const EVCParserSliceHeader *sh, const EVCParserPoc *poc, enum EVCNALUnitType nalu_type)
 
static void evc_frame_merge_flush (AVBSFContext *bsf)
 
static int parse_nal_unit (AVBSFContext *bsf, const uint8_t *buf, int buf_size)
 
static int evc_frame_merge_filter (AVBSFContext *bsf, AVPacket *out)
 
static int evc_frame_merge_init (AVBSFContext *bsf)
 
static void evc_frame_merge_close (AVBSFContext *bsf)
 

Variables

static enum AVCodecID evc_frame_merge_codec_ids []
 
const FFBitStreamFilter ff_evc_frame_merge_bsf
 

Function Documentation

◆ end_of_access_unit_found()

static int end_of_access_unit_found ( const EVCParamSets * ps,
const EVCParserSliceHeader * sh,
const EVCParserPoc * poc,
enum EVCNALUnitType nalu_type )
static

Definition at line 43 of file evc_frame_merge.c.

Referenced by parse_nal_unit().

◆ evc_frame_merge_flush()

static void evc_frame_merge_flush ( AVBSFContext * bsf)
static

Definition at line 64 of file evc_frame_merge.c.

◆ parse_nal_unit()

static int parse_nal_unit ( AVBSFContext * bsf,
const uint8_t * buf,
int buf_size )
static

Definition at line 74 of file evc_frame_merge.c.

Referenced by evc_frame_merge_filter().

◆ evc_frame_merge_filter()

static int evc_frame_merge_filter ( AVBSFContext * bsf,
AVPacket * out )
static

Definition at line 147 of file evc_frame_merge.c.

◆ evc_frame_merge_init()

static int evc_frame_merge_init ( AVBSFContext * bsf)
static

Definition at line 253 of file evc_frame_merge.c.

◆ evc_frame_merge_close()

static void evc_frame_merge_close ( AVBSFContext * bsf)
static

Definition at line 265 of file evc_frame_merge.c.

Variable Documentation

◆ evc_frame_merge_codec_ids

enum AVCodecID evc_frame_merge_codec_ids[]
static
Initial value:
= {
}
@ AV_CODEC_ID_NONE
Definition codec_id.h:48
@ AV_CODEC_ID_EVC
Definition codec_id.h:316

Definition at line 278 of file evc_frame_merge.c.

◆ ff_evc_frame_merge_bsf

const FFBitStreamFilter ff_evc_frame_merge_bsf
Initial value:
= {
.p.name = "evc_frame_merge",
.p.codec_ids = evc_frame_merge_codec_ids,
.priv_data_size = sizeof(EVCFMergeContext),
}
static av_cold void close(AVCodecParserContext *s)
Definition apv_parser.c:197
void(* flush)(AVBSFContext *ctx)
Definition dts2pts.c:610
int(* init)(AVBSFContext *ctx)
Definition dts2pts.c:608
static enum AVCodecID evc_frame_merge_codec_ids[]
static void evc_frame_merge_close(AVBSFContext *bsf)
static int evc_frame_merge_init(AVBSFContext *bsf)
static void evc_frame_merge_flush(AVBSFContext *bsf)
static int evc_frame_merge_filter(AVBSFContext *bsf, AVPacket *out)
void(* filter)(uint8_t *src, ptrdiff_t stride, int qscale)
Definition h263dsp.c:29

Definition at line 282 of file evc_frame_merge.c.