FFmpeg
|
#include "libavutil/avassert.h"
#include "decode.h"
#include "thread.h"
#include "hevc.h"
#include "hevcdec.h"
#include "refstruct.h"
#include "threadframe.h"
Go to the source code of this file.
Definition at line 33 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_frame_start(), and unref_missing_refs().
const RefPicList* ff_hevc_get_ref_list | ( | const HEVCContext * | s, |
const HEVCFrame * | ref, | ||
int | x0, | ||
int | y0 | ||
) |
Definition at line 56 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 130 of file hevc_refs.c.
Referenced by hevc_frame_start().
|
static |
Definition at line 170 of file hevc_refs.c.
Referenced by ff_hevc_frame_rps().
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 180 of file hevc_refs.c.
Referenced by hevc_decode_frame(), and hevc_frame_start().
void ff_hevc_bump_frame | ( | HEVCContext * | s | ) |
Definition at line 248 of file hevc_refs.c.
Referenced by hevc_frame_start().
|
static |
Definition at line 288 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 306 of file hevc_refs.c.
Referenced by decode_nal_unit().
|
static |
Definition at line 391 of file hevc_refs.c.
Referenced by add_candidate_ref().
Definition at line 410 of file hevc_refs.c.
Referenced by add_candidate_ref(), and ff_hevc_frame_rps().
|
static |
Definition at line 416 of file hevc_refs.c.
Referenced by add_candidate_ref().
|
static |
Definition at line 451 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 473 of file hevc_refs.c.
Referenced by hevc_frame_start().
int ff_hevc_frame_nb_refs | ( | const HEVCContext * | s | ) |
Get the number of candidate references for the current frame.
Definition at line 535 of file hevc_refs.c.
Referenced by hls_slice_header(), nvdec_hevc_start_frame(), and vdpau_hevc_start_frame().