![]() |
Qt 6.x
The Qt SDK
|
#include "qffmpeghwaccel_vaapi_p.h"#include <va/va.h>#include <qvideoframeformat.h>#include "qffmpegvideobuffer_p.h"#include "private/qvideotexturehelper_p.h"#include <rhi/qrhi.h>#include <qguiapplication.h>#include <qpa/qplatformnativeinterface.h>#include <qopenglfunctions.h>#include <libavutil/hwcontext_vaapi.h>#include <va/va_drm.h>#include <va/va_drmcommon.h>#include <EGL/egl.h>#include <EGL/eglext.h>#include <unistd.h>#include <qloggingcategory.h>
Include dependency graph for qffmpeghwaccel_vaapi.cpp:Go to the source code of this file.
Classes | |
| class | QFFmpeg::VAAPITextureSet |
Namespaces | |
| namespace | QFFmpeg |
Macros | |
| #define | fourcc_code(a, b, c, d) |
| #define | DRM_FORMAT_RGBA8888 fourcc_code('R', 'A', '2', '4') /* [31:0] R:G:B:A 8:8:8:8 little endian */ |
| #define | DRM_FORMAT_RGB888 fourcc_code('R', 'G', '2', '4') /* [23:0] R:G:B little endian */ |
| #define | DRM_FORMAT_RG88 fourcc_code('R', 'G', '8', '8') /* [15:0] R:G 8:8 little endian */ |
| #define | DRM_FORMAT_ABGR8888 fourcc_code('A', 'B', '2', '4') /* [31:0] A:B:G:R 8:8:8:8 little endian */ |
| #define | DRM_FORMAT_BGR888 fourcc_code('B', 'G', '2', '4') /* [23:0] B:G:R little endian */ |
| #define | DRM_FORMAT_GR88 fourcc_code('G', 'R', '8', '8') /* [15:0] G:R 8:8 little endian */ |
| #define | DRM_FORMAT_R8 fourcc_code('R', '8', ' ', ' ') /* [7:0] R */ |
| #define | DRM_FORMAT_R16 fourcc_code('R', '1', '6', ' ') /* [15:0] R little endian */ |
| #define | DRM_FORMAT_RGB565 fourcc_code('R', 'G', '1', '6') /* [15:0] R:G:B 5:6:5 little endian */ |
| #define | DRM_FORMAT_RG1616 fourcc_code('R', 'G', '3', '2') /* [31:0] R:G 16:16 little endian */ |
| #define | DRM_FORMAT_GR1616 fourcc_code('G', 'R', '3', '2') /* [31:0] G:R 16:16 little endian */ |
| #define | DRM_FORMAT_BGRA1010102 fourcc_code('B', 'A', '3', '0') /* [31:0] B:G:R:A 10:10:10:2 little endian */ |
| #define | LAYER 0 |
| #define | PLANE i |
Functions | |
| static QT_BEGIN_NAMESPACE | Q_LOGGING_CATEGORY (qLHWAccelVAAPI, "qt.multimedia.ffmpeg.hwaccelvaapi") |
| static const quint32 * | QFFmpeg::fourccFromPixelFormat (const QVideoFrameFormat::PixelFormat format) |
| #define DRM_FORMAT_ABGR8888 fourcc_code('A', 'B', '2', '4') /* [31:0] A:B:G:R 8:8:8:8 little endian */ |
Definition at line 37 of file qffmpeghwaccel_vaapi.cpp.
| #define DRM_FORMAT_BGR888 fourcc_code('B', 'G', '2', '4') /* [23:0] B:G:R little endian */ |
Definition at line 38 of file qffmpeghwaccel_vaapi.cpp.
| #define DRM_FORMAT_BGRA1010102 fourcc_code('B', 'A', '3', '0') /* [31:0] B:G:R:A 10:10:10:2 little endian */ |
Definition at line 45 of file qffmpeghwaccel_vaapi.cpp.
| #define DRM_FORMAT_GR1616 fourcc_code('G', 'R', '3', '2') /* [31:0] G:R 16:16 little endian */ |
Definition at line 44 of file qffmpeghwaccel_vaapi.cpp.
| #define DRM_FORMAT_GR88 fourcc_code('G', 'R', '8', '8') /* [15:0] G:R 8:8 little endian */ |
Definition at line 39 of file qffmpeghwaccel_vaapi.cpp.
| #define DRM_FORMAT_R16 fourcc_code('R', '1', '6', ' ') /* [15:0] R little endian */ |
Definition at line 41 of file qffmpeghwaccel_vaapi.cpp.
| #define DRM_FORMAT_R8 fourcc_code('R', '8', ' ', ' ') /* [7:0] R */ |
Definition at line 40 of file qffmpeghwaccel_vaapi.cpp.
| #define DRM_FORMAT_RG1616 fourcc_code('R', 'G', '3', '2') /* [31:0] R:G 16:16 little endian */ |
Definition at line 43 of file qffmpeghwaccel_vaapi.cpp.
| #define DRM_FORMAT_RG88 fourcc_code('R', 'G', '8', '8') /* [15:0] R:G 8:8 little endian */ |
Definition at line 36 of file qffmpeghwaccel_vaapi.cpp.
| #define DRM_FORMAT_RGB565 fourcc_code('R', 'G', '1', '6') /* [15:0] R:G:B 5:6:5 little endian */ |
Definition at line 42 of file qffmpeghwaccel_vaapi.cpp.
| #define DRM_FORMAT_RGB888 fourcc_code('R', 'G', '2', '4') /* [23:0] R:G:B little endian */ |
Definition at line 35 of file qffmpeghwaccel_vaapi.cpp.
| #define DRM_FORMAT_RGBA8888 fourcc_code('R', 'A', '2', '4') /* [31:0] R:G:B:A 8:8:8:8 little endian */ |
Definition at line 34 of file qffmpeghwaccel_vaapi.cpp.
Definition at line 31 of file qffmpeghwaccel_vaapi.cpp.
| #define LAYER 0 |
| #define PLANE i |
|
static |