1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3#ifndef QFFMPEGENCODEROPTIONS_P_H
4#define QFFMPEGENCODEROPTIONS_P_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include "qffmpeghwaccel_p.h"
18#include "qvideoframeformat.h"
19#include "private/qplatformmediarecorder_p.h"
20
21QT_BEGIN_NAMESPACE
22
23namespace QFFmpeg {
24
25void applyVideoEncoderOptions(const QMediaEncoderSettings &settings, const QByteArray &codecName, AVCodecContext *codec, AVDictionary **opts);
26void applyAudioEncoderOptions(const QMediaEncoderSettings &settings, const QByteArray &codecName, AVCodecContext *codec, AVDictionary **opts);
27
28}
29
30QT_END_NAMESPACE
31
32#endif
33

source code of qtmultimedia/src/plugins/multimedia/ffmpeg/recordingengine/qffmpegencoderoptions_p.h