Blender
V5.3
source
blender
imbuf
movie
intern
ffmpeg_swscale.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2024 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
10
11
#ifdef WITH_FFMPEG
12
13
struct
AVFrame;
14
struct
SwsContext;
15
16
namespace
blender
{
17
34
SwsContext *ffmpeg_sws_get_context(
int
src_width,
35
int
src_height,
36
int
av_src_format,
37
bool
src_full_range,
38
int
src_color_space,
39
int
dst_width,
40
int
dst_height,
41
int
av_dst_format,
42
bool
dst_full_range,
43
int
dst_color_space,
44
int
sws_flags);
45
void
ffmpeg_sws_release_context(SwsContext *ctx);
46
47
void
ffmpeg_sws_scale_frame(SwsContext *ctx, AVFrame *dst,
const
AVFrame *src);
48
49
void
ffmpeg_sws_exit();
50
51
}
// namespace blender
52
53
#endif
/* WITH_FFMPEG */
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
Generated on
for Blender by
doxygen
1.18.0