|
FFmpeg
|
#include <stdatomic.h>#include <stdbool.h>#include "libavutil/mem.h"#include "libavutil/thread.h"#include "libavutil/refstruct.h"#include "libavcodec/thread.h"#include "libavcodec/decode.h"#include "refs.h"Go to the source code of this file.
Data Structures | |
| struct | FrameProgress |
Macros | |
| #define | CHECK_MAX(d) (frame->ref_##d * frame->sps->r->sps_pic_##d##_max_in_luma_samples >= ref->ref_##d * (frame->pps->r->pps_pic_##d##_in_luma_samples - max)) |
| #define | CHECK_SAMPLES(d) (frame->pps->r->pps_pic_##d##_in_luma_samples == ref->pps->r->pps_pic_##d##_in_luma_samples) |
| #define | RPR_SCALE(f) (((ref->f << 14) + (fc->ref->f >> 1)) / fc->ref->f) |
| void ff_vvc_unref_frame | ( | VVCFrameContext * | fc, |
| VVCFrame * | frame, | ||
| int | flags | ||
| ) |
Definition at line 44 of file refs.c.
Referenced by alloc_frame(), ff_vvc_clear_refs(), ff_vvc_flush_dpb(), ff_vvc_frame_rpl(), ff_vvc_output_frame(), frame_context_free(), frame_context_setup(), frame_start(), and submit_frame().
| 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().
| void ff_vvc_clear_refs | ( | VVCFrameContext * | fc | ) |
Definition at line 86 of file refs.c.
Referenced by frame_context_setup().
| void ff_vvc_flush_dpb | ( | VVCFrameContext * | fc | ) |
Definition at line 93 of file refs.c.
Referenced by vvc_decode_flush().
|
static |
Definition at line 99 of file refs.c.
Referenced by alloc_progress().
|
static |
Definition at line 109 of file refs.c.
Referenced by alloc_frame().
|
static |
Definition at line 122 of file refs.c.
Referenced by ff_vvc_set_new_ref(), and generate_missing_ref().
|
static |
Definition at line 188 of file refs.c.
Referenced by ff_vvc_set_new_ref().
| int ff_vvc_set_new_ref | ( | VVCContext * | s, |
| VVCFrameContext * | fc, | ||
| AVFrame ** | frame | ||
| ) |
Definition at line 218 of file refs.c.
Referenced by frame_start().
| int ff_vvc_output_frame | ( | VVCContext * | s, |
| VVCFrameContext * | fc, | ||
| AVFrame * | out, | ||
| const int | no_output_of_prior_pics_flag, | ||
| int | flush | ||
| ) |
Definition at line 261 of file refs.c.
Referenced by frame_start(), and get_decoded_frame().
| void ff_vvc_bump_frame | ( | VVCContext * | s, |
| VVCFrameContext * | fc | ||
| ) |
Definition at line 328 of file refs.c.
Referenced by frame_start().
|
static |
Definition at line 369 of file refs.c.
Referenced by add_candidate_ref().
|
static |
Definition at line 383 of file refs.c.
Referenced by add_candidate_ref(), and ff_vvc_frame_rpl().
|
static |
Definition at line 389 of file refs.c.
Referenced by add_candidate_ref().
Definition at line 425 of file refs.c.
Referenced by add_candidate_ref().
|
static |
Definition at line 442 of file refs.c.
Referenced by ff_vvc_slice_rpl().
|
static |
Definition at line 492 of file refs.c.
Referenced by ff_vvc_slice_rpl().
|
static |
Definition at line 510 of file refs.c.
Referenced by ff_vvc_slice_rpl(), and ref_pic_list_struct().
|
static |
Definition at line 520 of file refs.c.
Referenced by ff_vvc_slice_rpl().
| int ff_vvc_slice_rpl | ( | VVCContext * | s, |
| VVCFrameContext * | fc, | ||
| SliceContext * | sc | ||
| ) |
Definition at line 534 of file refs.c.
Referenced by ff_vvc_frame_rpl(), and slice_start().
| int ff_vvc_frame_rpl | ( | VVCContext * | s, |
| VVCFrameContext * | fc, | ||
| SliceContext * | sc | ||
| ) |
Definition at line 593 of file refs.c.
Referenced by frame_start().
| void ff_vvc_report_frame_finished | ( | VVCFrame * | frame | ) |
Definition at line 617 of file refs.c.
Referenced by decode_nal_units(), ff_vvc_frame_wait(), generate_missing_ref(), and submit_frame().
|
static |
Definition at line 623 of file refs.c.
Referenced by ff_vvc_add_progress_listener(), and get_done_listener().
|
static |
Definition at line 628 of file refs.c.
Referenced by ff_vvc_add_progress_listener(), and get_done_listener().
|
static |
Definition at line 634 of file refs.c.
Referenced by get_done_listener().
|
static |
Definition at line 641 of file refs.c.
Referenced by ff_vvc_report_progress().
| void ff_vvc_report_progress | ( | VVCFrame * | frame, |
| const VVCProgress | vp, | ||
| const int | y | ||
| ) |
Definition at line 657 of file refs.c.
Referenced by ff_vvc_report_frame_finished(), and report_frame_progress().
| void ff_vvc_add_progress_listener | ( | VVCFrame * | frame, |
| VVCProgressListener * | l | ||
| ) |
Definition at line 678 of file refs.c.
Referenced by add_progress_listener().
1.8.17