FFmpeg
libavcodec
vvc
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
28
struct
FFExecutor
*
ff_vvc_executor_alloc
(
VVCContext
*
s
,
int
thread_count
);
29
void
ff_vvc_executor_free
(
struct
FFExecutor
**e);
30
31
int
ff_vvc_frame_thread_init
(
VVCFrameContext
*
fc
);
32
void
ff_vvc_frame_thread_free
(
VVCFrameContext
*
fc
);
33
int
ff_vvc_frame_submit
(
VVCContext
*
s
,
VVCFrameContext
*
fc
);
34
int
ff_vvc_frame_wait
(
VVCContext
*
s
,
VVCFrameContext
*
fc
);
35
int
ff_vvc_per_frame_init
(
VVCFrameContext
*
fc
);
36
37
#endif // AVCODEC_VVC_THREAD_H
FFExecutor::thread_count
int thread_count
Definition:
executor.c:58
ff_vvc_frame_wait
int ff_vvc_frame_wait(VVCContext *s, VVCFrameContext *fc)
Definition:
thread.c:837
ff_vvc_per_frame_init
int ff_vvc_per_frame_init(VVCFrameContext *fc)
Definition:
dec.c:410
fc
#define fc(width, name, range_min, range_max)
Definition:
cbs_av1.c:472
ff_vvc_frame_thread_init
int ff_vvc_frame_thread_init(VVCFrameContext *fc)
Definition:
thread.c:743
ff_vvc_executor_free
void ff_vvc_executor_free(struct FFExecutor **e)
Definition:
thread.c:698
ff_vvc_executor_alloc
struct FFExecutor * ff_vvc_executor_alloc(VVCContext *s, int thread_count)
Definition:
thread.c:687
s
#define s(width, name)
Definition:
cbs_vp9.c:198
FFExecutor
Definition:
executor.c:56
ff_vvc_frame_thread_free
void ff_vvc_frame_thread_free(VVCFrameContext *fc)
Definition:
thread.c:703
ff_vvc_frame_submit
int ff_vvc_frame_submit(VVCContext *s, VVCFrameContext *fc)
Definition:
thread.c:808
VVCFrameContext
Definition:
dec.h:117
VVCContext
Definition:
dec.h:212
dec.h
Generated on Sun Dec 29 2024 19:22:22 for FFmpeg by
1.8.17