FFmpeg
Data Structures | Macros | Typedefs | Enumerations | Functions
refs.h File Reference
#include "dec.h"

Go to the source code of this file.

Data Structures

struct  VVCProgressListener
 

Macros

#define VVC_FRAME_FLAG_OUTPUT   (1 << 0)
 
#define VVC_FRAME_FLAG_SHORT_REF   (1 << 1)
 
#define VVC_FRAME_FLAG_LONG_REF   (1 << 2)
 
#define VVC_FRAME_FLAG_BUMPING   (1 << 3)
 

Typedefs

typedef void(* progress_done_fn) (VVCProgressListener *l)
 

Enumerations

enum  VVCProgress { VVC_PROGRESS_MV, VVC_PROGRESS_PIXEL, VVC_PROGRESS_LAST }
 

Functions

int ff_vvc_output_frame (VVCContext *s, VVCFrameContext *fc, struct AVFrame *out, int no_output_of_prior_pics_flag, int flush)
 
void ff_vvc_bump_frame (VVCContext *s, VVCFrameContext *fc)
 
int ff_vvc_set_new_ref (VVCContext *s, VVCFrameContext *fc, struct AVFrame **frame)
 
const RefPicListff_vvc_get_ref_list (const VVCFrameContext *fc, const VVCFrame *ref, int x0, int y0)
 
int ff_vvc_frame_rpl (VVCContext *s, VVCFrameContext *fc, SliceContext *sc)
 
int ff_vvc_slice_rpl (VVCContext *s, VVCFrameContext *fc, SliceContext *sc)
 
void ff_vvc_unref_frame (VVCFrameContext *fc, VVCFrame *frame, int flags)
 
void ff_vvc_clear_refs (VVCFrameContext *fc)
 
void ff_vvc_flush_dpb (VVCFrameContext *fc)
 
void ff_vvc_report_frame_finished (VVCFrame *frame)
 
void ff_vvc_report_progress (VVCFrame *frame, VVCProgress vp, int y)
 
void ff_vvc_add_progress_listener (VVCFrame *frame, VVCProgressListener *l)
 

Macro Definition Documentation

◆ VVC_FRAME_FLAG_OUTPUT

#define VVC_FRAME_FLAG_OUTPUT   (1 << 0)

Definition at line 28 of file refs.h.

◆ VVC_FRAME_FLAG_SHORT_REF

#define VVC_FRAME_FLAG_SHORT_REF   (1 << 1)

Definition at line 29 of file refs.h.

◆ VVC_FRAME_FLAG_LONG_REF

#define VVC_FRAME_FLAG_LONG_REF   (1 << 2)

Definition at line 30 of file refs.h.

◆ VVC_FRAME_FLAG_BUMPING

#define VVC_FRAME_FLAG_BUMPING   (1 << 3)

Definition at line 31 of file refs.h.

Typedef Documentation

◆ progress_done_fn

typedef void(* progress_done_fn) (VVCProgressListener *l)

Definition at line 50 of file refs.h.

Enumeration Type Documentation

◆ VVCProgress

Enumerator
VVC_PROGRESS_MV 
VVC_PROGRESS_PIXEL 
VVC_PROGRESS_LAST 

Definition at line 43 of file refs.h.

Function Documentation

◆ ff_vvc_output_frame()

int ff_vvc_output_frame ( VVCContext s,
VVCFrameContext fc,
struct AVFrame out,
int  no_output_of_prior_pics_flag,
int  flush 
)

Definition at line 213 of file refs.c.

Referenced by frame_start(), and get_decoded_frame().

◆ ff_vvc_bump_frame()

void ff_vvc_bump_frame ( VVCContext s,
VVCFrameContext fc 
)

Definition at line 272 of file refs.c.

Referenced by frame_start().

◆ ff_vvc_set_new_ref()

int ff_vvc_set_new_ref ( VVCContext s,
VVCFrameContext fc,
struct AVFrame **  frame 
)

Definition at line 171 of file refs.c.

Referenced by frame_start().

◆ ff_vvc_get_ref_list()

const RefPicList* ff_vvc_get_ref_list ( const VVCFrameContext fc,
const VVCFrame ref,
int  x0,
int  y0 
)

Definition at line 67 of file refs.c.

Referenced by vvc_deblock_bs_luma().

◆ ff_vvc_frame_rpl()

int ff_vvc_frame_rpl ( VVCContext s,
VVCFrameContext fc,
SliceContext sc 
)

Definition at line 523 of file refs.c.

Referenced by frame_start().

◆ ff_vvc_slice_rpl()

int ff_vvc_slice_rpl ( VVCContext s,
VVCFrameContext fc,
SliceContext sc 
)

Definition at line 464 of file refs.c.

Referenced by ff_vvc_frame_rpl(), and slice_start().

◆ ff_vvc_unref_frame()

void ff_vvc_unref_frame ( VVCFrameContext fc,
VVCFrame frame,
int  flags 
)

◆ ff_vvc_clear_refs()

void ff_vvc_clear_refs ( VVCFrameContext fc)

Definition at line 77 of file refs.c.

Referenced by frame_context_setup().

◆ ff_vvc_flush_dpb()

void ff_vvc_flush_dpb ( VVCFrameContext fc)

Definition at line 84 of file refs.c.

Referenced by vvc_decode_flush().

◆ ff_vvc_report_frame_finished()

void ff_vvc_report_frame_finished ( VVCFrame frame)

Definition at line 547 of file refs.c.

Referenced by decode_nal_units(), ff_vvc_frame_wait(), generate_missing_ref(), and submit_frame().

◆ ff_vvc_report_progress()

void ff_vvc_report_progress ( VVCFrame frame,
VVCProgress  vp,
int  y 
)

Definition at line 587 of file refs.c.

Referenced by ff_vvc_report_frame_finished(), and report_frame_progress().

◆ ff_vvc_add_progress_listener()

void ff_vvc_add_progress_listener ( VVCFrame frame,
VVCProgressListener l 
)

Definition at line 608 of file refs.c.

Referenced by add_progress_listener().