FFmpeg
Loading...
Searching...
No Matches
thread.h
Go to the documentation of this file.
1/*
2 * VVC thread logic
3 *
4 * Copyright (C) 2023 Nuo Mi
5 *
6 * This file is part of FFmpeg.
7 *
8 * FFmpeg is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * FFmpeg is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with FFmpeg; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22
23#ifndef AVCODEC_VVC_THREAD_H
24#define AVCODEC_VVC_THREAD_H
25
26#include "dec.h"
27
29void ff_vvc_executor_free(struct FFExecutor **e);
30
36
37#endif // AVCODEC_VVC_THREAD_H
#define s(width, name)
Definition cbs_vp9.c:198
static const uint16_t fc[]
Definition dcaenc.h:43
struct FFExecutor * ff_vvc_executor_alloc(VVCContext *s, int thread_count)
Definition thread.c:687
void ff_vvc_frame_thread_free(VVCFrameContext *fc)
Definition thread.c:703
int ff_vvc_frame_thread_init(VVCFrameContext *fc)
Definition thread.c:743
int ff_vvc_frame_wait(VVCContext *s, VVCFrameContext *fc)
Definition thread.c:837
void ff_vvc_executor_free(struct FFExecutor **e)
Definition thread.c:698
int ff_vvc_frame_submit(VVCContext *s, VVCFrameContext *fc)
Definition thread.c:808
int ff_vvc_per_frame_init(VVCFrameContext *fc)
Definition dec.c:415
int thread_count
Definition executor.c:58