MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / task_init

Function task_init

libavcodec/vvc/thread.c:132–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132static void task_init(VVCTask *t, VVCTaskStage stage, VVCFrameContext *fc, const int rx, const int ry)
133{
134 memset(t, 0, sizeof(*t));
135 t->stage = stage;
136 t->fc = fc;
137 t->rx = rx;
138 t->ry = ry;
139 t->rs = ry * fc->ft->ctu_width + rx;
140 for (int i = 0; i < FF_ARRAY_ELEMS(t->score); i++)
141 atomic_store(t->score + i, 0);
142 atomic_store(&t->target_inter_score, 0);
143}
144
145static int task_init_parse(VVCTask *t, SliceContext *sc, EntryPoint *ep, const int ctu_idx)
146{

Callers 2

frame_thread_init_scoreFunction · 0.70
ff_vvc_frame_thread_initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected