| 130 | } |
| 131 | |
| 132 | static 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 | |
| 145 | static int task_init_parse(VVCTask *t, SliceContext *sc, EntryPoint *ep, const int ctu_idx) |
| 146 | { |
no outgoing calls
no test coverage detected