FFmpeg
|
#include <stdatomic.h>
#include "libavutil/executor.h"
#include "libavutil/mem.h"
#include "libavutil/thread.h"
#include "vvc_thread.h"
#include "vvc_ctu.h"
#include "vvc_filter.h"
#include "vvc_inter.h"
#include "vvc_intra.h"
#include "vvc_refs.h"
Go to the source code of this file.
Data Structures | |
struct | ProgressListener |
struct | VVCTask |
struct | VVCRowThread |
struct | VVCFrameThread |
Macros | |
#define | ADD(dx, dy, stage) frame_thread_add_score(s, ft, t->rx + (dx), t->ry + (dy), stage) |
#define | CHECK(a, b) |
#define | VVC_THREAD_DEBUG |
Typedefs | |
typedef int(* | run_func) (VVCContext *s, VVCLocalContext *lc, VVCTask *t) |
Variables | |
const static char * | task_name [] |
#define ADD | ( | dx, | |
dy, | |||
stage | |||
) | frame_thread_add_score(s, ft, t->rx + (dx), t->ry + (dy), stage) |
#define VVC_THREAD_DEBUG |
Definition at line 535 of file vvc_thread.c.
typedef int(* run_func) (VVCContext *s, VVCLocalContext *lc, VVCTask *t) |
Definition at line 549 of file vvc_thread.c.
enum VVCTaskStage |
Definition at line 42 of file vvc_thread.c.
|
static |
Definition at line 105 of file vvc_thread.c.
Referenced by frame_thread_add_score().
|
static |
Definition at line 114 of file vvc_thread.c.
Referenced by ff_vvc_frame_thread_init(), and frame_thread_init_score().
|
static |
Definition at line 127 of file vvc_thread.c.
Referenced by ff_vvc_frame_submit().
|
static |
Definition at line 134 of file vvc_thread.c.
Referenced by frame_thread_add_score().
|
static |
Definition at line 139 of file vvc_thread.c.
Referenced by task_is_stage_ready().
|
static |
Definition at line 145 of file vvc_thread.c.
Referenced by decode_cell_data(), schedule_next_parse(), and task_has_target_score().
|
static |
Definition at line 157 of file vvc_thread.c.
Referenced by frame_thread_add_score(), and task_is_stage_ready().
|
static |
Definition at line 187 of file vvc_thread.c.
Referenced by check_colocation(), progress_done(), schedule_next_parse(), submit_entry_point(), and task_run().
|
static |
Definition at line 204 of file vvc_thread.c.
Referenced by progress_done(), and task_run().
|
static |
Definition at line 213 of file vvc_thread.c.
Referenced by mv_done(), and pixel_done().
|
static |
Definition at line 223 of file vvc_thread.c.
Referenced by listener_init().
|
static |
Definition at line 228 of file vvc_thread.c.
Referenced by filter_mb_dir(), and listener_init().
|
static |
Definition at line 233 of file vvc_thread.c.
Referenced by add_progress_listener().
|
static |
Definition at line 246 of file vvc_thread.c.
Referenced by check_colocation(), and schedule_inter().
|
static |
Definition at line 256 of file vvc_thread.c.
Referenced by parse_task_done().
|
static |
Definition at line 282 of file vvc_thread.c.
Referenced by parse_task_done().
|
static |
Definition at line 299 of file vvc_thread.c.
Referenced by task_stage_done().
|
static |
Definition at line 311 of file vvc_thread.c.
Referenced by frame_thread_init_score(), and task_run_stage().
Definition at line 350 of file vvc_thread.c.
Referenced by task_ready(), and task_run().
Definition at line 360 of file vvc_thread.c.
Referenced by ff_vvc_executor_alloc().
Definition at line 373 of file vvc_thread.c.
Referenced by ff_vvc_executor_alloc().
|
static |
Definition at line 391 of file vvc_thread.c.
Referenced by run_alf(), run_inter(), and run_parse().
|
static |
Definition at line 413 of file vvc_thread.c.
Referenced by task_run_stage().
|
static |
Definition at line 432 of file vvc_thread.c.
Referenced by task_run_stage().
|
static |
Definition at line 445 of file vvc_thread.c.
Referenced by task_run_stage().
|
static |
Definition at line 452 of file vvc_thread.c.
Referenced by task_run_stage().
|
static |
Definition at line 465 of file vvc_thread.c.
Referenced by task_run_stage().
|
static |
Definition at line 481 of file vvc_thread.c.
Referenced by task_run_stage().
|
static |
Definition at line 499 of file vvc_thread.c.
Referenced by task_run_stage().
|
static |
Definition at line 518 of file vvc_thread.c.
Referenced by task_run_stage().
|
static |
Definition at line 551 of file vvc_thread.c.
Referenced by task_run().
Definition at line 592 of file vvc_thread.c.
Referenced by ff_vvc_executor_alloc().
AVExecutor* ff_vvc_executor_alloc | ( | VVCContext * | s, |
const int | thread_count | ||
) |
Definition at line 614 of file vvc_thread.c.
Referenced by vvc_decode_init().
void ff_vvc_executor_free | ( | AVExecutor ** | e | ) |
Definition at line 626 of file vvc_thread.c.
Referenced by vvc_decode_free().
void ff_vvc_frame_thread_free | ( | VVCFrameContext * | fc | ) |
Definition at line 631 of file vvc_thread.c.
Referenced by ff_vvc_frame_thread_init(), and frame_context_free().
|
static |
Definition at line 645 of file vvc_thread.c.
Referenced by ff_vvc_frame_thread_init().
int ff_vvc_frame_thread_init | ( | VVCFrameContext * | fc | ) |
Definition at line 671 of file vvc_thread.c.
Referenced by frame_start().
|
static |
Definition at line 736 of file vvc_thread.c.
Referenced by ff_vvc_frame_submit().
|
static |
Definition at line 753 of file vvc_thread.c.
Referenced by ff_vvc_frame_submit().
void ff_vvc_frame_submit | ( | VVCContext * | s, |
VVCFrameContext * | fc | ||
) |
Definition at line 761 of file vvc_thread.c.
Referenced by submit_frame().
int ff_vvc_frame_wait | ( | VVCContext * | s, |
VVCFrameContext * | fc | ||
) |
Definition at line 781 of file vvc_thread.c.
Referenced by wait_delayed_frame().
|
static |
Definition at line 537 of file vvc_thread.c.
Referenced by task_run_stage().