FFmpeg
libavcodec
vvc
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_VVC_THREAD_H
24
#define AVCODEC_VVC_VVC_THREAD_H
25
26
#include "
vvcdec.h
"
27
28
struct
AVExecutor
*
ff_vvc_executor_alloc
(
VVCContext
*
s
,
int
thread_count
);
29
void
ff_vvc_executor_free
(
struct
AVExecutor
**e);
30
31
int
ff_vvc_frame_thread_init
(
VVCFrameContext
*
fc
);
32
void
ff_vvc_frame_thread_free
(
VVCFrameContext
*
fc
);
33
void
ff_vvc_frame_submit
(
VVCContext
*
s
,
VVCFrameContext
*
fc
);
34
int
ff_vvc_frame_wait
(
VVCContext
*
s
,
VVCFrameContext
*
fc
);
35
36
#endif // AVCODEC_VVC_VVC_THREAD_H
fc
#define fc(width, name, range_min, range_max)
Definition:
cbs_av1.c:472
ff_vvc_frame_wait
int ff_vvc_frame_wait(VVCContext *s, VVCFrameContext *fc)
Definition:
vvc_thread.c:812
ff_vvc_executor_free
void ff_vvc_executor_free(struct AVExecutor **e)
Definition:
vvc_thread.c:657
ff_vvc_frame_thread_init
int ff_vvc_frame_thread_init(VVCFrameContext *fc)
Definition:
vvc_thread.c:702
s
#define s(width, name)
Definition:
cbs_vp9.c:198
ff_vvc_executor_alloc
struct AVExecutor * ff_vvc_executor_alloc(VVCContext *s, int thread_count)
Definition:
vvc_thread.c:645
vvcdec.h
ff_vvc_frame_thread_free
void ff_vvc_frame_thread_free(VVCFrameContext *fc)
Definition:
vvc_thread.c:662
AVExecutor
Definition:
executor.c:47
AVExecutor::thread_count
int thread_count
Definition:
executor.c:49
ff_vvc_frame_submit
void ff_vvc_frame_submit(VVCContext *s, VVCFrameContext *fc)
Definition:
vvc_thread.c:792
VVCFrameContext
Definition:
vvcdec.h:92
VVCContext
Definition:
vvcdec.h:195
Generated on Thu Sep 26 2024 23:15:25 for FFmpeg by
1.8.17