Blender V5.0
movie_util.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
13extern "C" {
14# include <libavcodec/avcodec.h>
15# include <libavutil/pixfmt.h>
16}
17# include "DNA_scene_types.h"
18
19struct AVFrame;
20
21int ffmpeg_deinterlace(
22 AVFrame *dst, const AVFrame *src, enum AVPixelFormat pix_fmt, int width, int height);
23
24const char *ffmpeg_last_error();
25AVCodecID mov_av_codec_id_get(IMB_Ffmpeg_Codec_ID id);
26
28bool MOV_codec_supports_alpha(AVCodecID codec_id, int ffmpeg_profile);
29
35bool MOV_codec_supports_crf(AVCodecID codec_id);
36
41int MOV_codec_valid_bit_depths(AVCodecID codec_id);
42
46int MOV_thread_count();
47
48#endif /* WITH_FFMPEG */
IMB_Ffmpeg_Codec_ID
int MOV_codec_valid_bit_depths(IMB_Ffmpeg_Codec_ID codec_id)
bool MOV_codec_supports_alpha(IMB_Ffmpeg_Codec_ID codec_id, int ffmpeg_profile)
bool MOV_codec_supports_crf(IMB_Ffmpeg_Codec_ID codec_id)