FFmpeg
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 
29 void ff_vvc_executor_free(struct AVExecutor **e);
30 
35 
36 #endif // AVCODEC_VVC_THREAD_H
ff_vvc_frame_wait
int ff_vvc_frame_wait(VVCContext *s, VVCFrameContext *fc)
Definition: thread.c:781
fc
#define fc(width, name, range_min, range_max)
Definition: cbs_av1.c:464
ff_vvc_frame_thread_init
int ff_vvc_frame_thread_init(VVCFrameContext *fc)
Definition: thread.c:671
s
#define s(width, name)
Definition: cbs_vp9.c:198
AVExecutor
Definition: executor.c:49
ff_vvc_frame_thread_free
void ff_vvc_frame_thread_free(VVCFrameContext *fc)
Definition: thread.c:631
AVExecutor::thread_count
int thread_count
Definition: executor.c:51
ff_vvc_executor_alloc
struct AVExecutor * ff_vvc_executor_alloc(VVCContext *s, int thread_count)
Definition: thread.c:614
ff_vvc_executor_free
void ff_vvc_executor_free(struct AVExecutor **e)
Definition: thread.c:626
ff_vvc_frame_submit
void ff_vvc_frame_submit(VVCContext *s, VVCFrameContext *fc)
Definition: thread.c:761
VVCFrameContext
Definition: dec.h:92
VVCContext
Definition: dec.h:195
dec.h