Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qffmpegioutils_p.h
Go to the documentation of this file.
1// Copyright (C) 2024 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
4#ifndef QFFMPEGIOUTILS_P_H
5#define QFFMPEGIOUTILS_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include "qtmultimediaglobal.h"
19#include "qffmpegdefs_p.h"
20
21#include <type_traits>
22
24
25namespace QFFmpeg {
26
27int readQIODevice(void *opaque, uint8_t *buf, int buf_size);
28
30 std::conditional_t<QT_FFMPEG_AVIO_WRITE_CONST, const uint8_t *, uint8_t *>;
31
32int writeQIODevice(void *opaque, AvioWriteBufferType buf, int buf_size);
33
34int64_t seekQIODevice(void *opaque, int64_t offset, int whence);
35
36} // namespace QFFmpeg
37
39
40#endif // QFFMPEGIOUTILS_P_H
int writeQIODevice(void *opaque, AvioWriteBufferType buf, int buf_size)
int64_t seekQIODevice(void *opaque, int64_t offset, int whence)
std::conditional_t< QT_FFMPEG_AVIO_WRITE_CONST, const uint8_t *, uint8_t * > AvioWriteBufferType
int readQIODevice(void *opaque, uint8_t *buf, int buf_size)
Combined button and popup list for selecting options.
GLenum GLuint GLenum GLsizei const GLchar * buf
GLenum GLuint GLintptr offset