FFmpeg
Loading...
Searching...
No Matches
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)
 
#define VVC_FRAME_FLAG_CORRUPT   (1 << 4)
 

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.

Referenced by ff_vvc_bump_frame(), ff_vvc_output_frame(), and ff_vvc_set_new_ref().

◆ VVC_FRAME_FLAG_SHORT_REF

#define VVC_FRAME_FLAG_SHORT_REF   (1 << 1)

◆ VVC_FRAME_FLAG_LONG_REF

#define VVC_FRAME_FLAG_LONG_REF   (1 << 2)

◆ VVC_FRAME_FLAG_BUMPING

#define VVC_FRAME_FLAG_BUMPING   (1 << 3)

Definition at line 31 of file refs.h.

Referenced by ff_vvc_bump_frame(), and ff_vvc_output_frame().

◆ VVC_FRAME_FLAG_CORRUPT

#define VVC_FRAME_FLAG_CORRUPT   (1 << 4)

Typedef Documentation

◆ progress_done_fn

typedef void(* progress_done_fn) (VVCProgressListener *l)

Definition at line 51 of file refs.h.

Enumeration Type Documentation

◆ VVCProgress

Enumerator
VVC_PROGRESS_MV 
VVC_PROGRESS_PIXEL 
VVC_PROGRESS_LAST 

Definition at line 44 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 269 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 336 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 226 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 76 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 601 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 542 of file refs.c.

Referenced by ff_vvc_frame_rpl(), and slice_start().

◆ ff_vvc_unref_frame()

◆ ff_vvc_clear_refs()

void ff_vvc_clear_refs ( VVCFrameContext * fc)

Definition at line 86 of file refs.c.

Referenced by frame_context_setup().

◆ ff_vvc_flush_dpb()

void ff_vvc_flush_dpb ( VVCFrameContext * fc)

Definition at line 93 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 625 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 665 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 686 of file refs.c.

Referenced by add_progress_listener().