FFmpeg
|
Go to the source code of this file.
Functions | |
void | ff_hevc_unref_frame (HEVCContext *s, HEVCFrame *frame, int flags) |
RefPicList * | ff_hevc_get_ref_list (HEVCContext *s, HEVCFrame *ref, int x0, int y0) |
void | ff_hevc_clear_refs (HEVCContext *s) |
Mark all frames in DPB as unused for reference. | |
void | ff_hevc_flush_dpb (HEVCContext *s) |
Drop all frames currently in DPB. | |
static HEVCFrame * | alloc_frame (HEVCContext *s) |
int | ff_hevc_set_new_ref (HEVCContext *s, AVFrame **frame, int poc) |
int | ff_hevc_output_frame (HEVCContext *s, AVFrame *out, int flush) |
Find next frame in output order and put a reference to it in frame. | |
static int | init_slice_rpl (HEVCContext *s) |
int | ff_hevc_slice_rpl (HEVCContext *s) |
Construct the reference picture list(s) for the current slice. | |
static HEVCFrame * | find_ref_idx (HEVCContext *s, int poc) |
static void | mark_ref (HEVCFrame *frame, int flag) |
static HEVCFrame * | generate_missing_ref (HEVCContext *s, int poc) |
static int | add_candidate_ref (HEVCContext *s, RefPicList *list, int poc, int ref_flag) |
int | ff_hevc_frame_rps (HEVCContext *s) |
Construct the reference picture sets for the current frame. | |
int | ff_hevc_compute_poc (HEVCContext *s, int poc_lsb) |
Compute POC of the current frame and return it. | |
int | ff_hevc_frame_nb_refs (HEVCContext *s) |
Get the number of candidate references for the current frame. | |
void ff_hevc_unref_frame | ( | HEVCContext * | s, |
HEVCFrame * | frame, | ||
int | flags | ||
) |
Definition at line 30 of file hevc_refs.c.
Referenced by alloc_frame(), ff_hevc_clear_refs(), ff_hevc_flush_dpb(), ff_hevc_frame_rps(), ff_hevc_output_frame(), hevc_decode_frame(), hevc_decode_free(), hevc_ref_frame(), and hevc_update_thread_context().
RefPicList* ff_hevc_get_ref_list | ( | HEVCContext * | s, |
HEVCFrame * | ref, | ||
int | x0, | ||
int | y0 | ||
) |
Definition at line 52 of file hevc_refs.c.
Referenced by ff_hevc_deblocking_boundary_strengths().
void ff_hevc_clear_refs | ( | HEVCContext * | s | ) |
Mark all frames in DPB as unused for reference.
Definition at line 66 of file hevc_refs.c.
Referenced by hls_slice_header().
void ff_hevc_flush_dpb | ( | HEVCContext * | s | ) |
Drop all frames currently in DPB.
Definition at line 75 of file hevc_refs.c.
Referenced by hevc_decode_flush().
|
static |
Definition at line 82 of file hevc_refs.c.
Referenced by ff_hevc_set_new_ref(), and generate_missing_ref().
int ff_hevc_set_new_ref | ( | HEVCContext * | s, |
AVFrame ** | frame, | ||
int | poc | ||
) |
Definition at line 123 of file hevc_refs.c.
Referenced by hevc_frame_start().
int ff_hevc_output_frame | ( | HEVCContext * | s, |
AVFrame * | frame, | ||
int | flush | ||
) |
Find next frame in output order and put a reference to it in frame.
Definition at line 155 of file hevc_refs.c.
Referenced by hevc_decode_frame(), and hevc_frame_start().
|
static |
Definition at line 212 of file hevc_refs.c.
Referenced by ff_hevc_slice_rpl().
int ff_hevc_slice_rpl | ( | HEVCContext * | s | ) |
Construct the reference picture list(s) for the current slice.
Definition at line 230 of file hevc_refs.c.
Referenced by decode_nal_unit().
|
static |
Definition at line 300 of file hevc_refs.c.
Referenced by add_candidate_ref().
Definition at line 326 of file hevc_refs.c.
Referenced by add_candidate_ref(), and ff_hevc_frame_rps().
|
static |
Definition at line 332 of file hevc_refs.c.
Referenced by add_candidate_ref().
|
static |
Definition at line 365 of file hevc_refs.c.
Referenced by ff_hevc_frame_rps().
int ff_hevc_frame_rps | ( | HEVCContext * | s | ) |
Construct the reference picture sets for the current frame.
Definition at line 387 of file hevc_refs.c.
Referenced by hevc_frame_start().
int ff_hevc_compute_poc | ( | HEVCContext * | s, |
int | poc_lsb | ||
) |
Compute POC of the current frame and return it.
Definition at line 446 of file hevc_refs.c.
Referenced by hls_slice_header(), and parse_nal_units().
int ff_hevc_frame_nb_refs | ( | HEVCContext * | s | ) |
Get the number of candidate references for the current frame.
Definition at line 469 of file hevc_refs.c.
Referenced by hls_slice_header().