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>.
|
#include "qffmpeghwaccel_videotoolbox_p.h"
#include <qvideoframeformat.h>
#include <qffmpegvideobuffer_p.h>
#include <qloggingcategory.h>
#include "private/qvideotexturehelper_p.h"
#include <rhi/qrhi.h>
#include <CoreVideo/CVMetalTexture.h>
#include <CoreVideo/CVMetalTextureCache.h>
#include <qopenglcontext.h>
import <Metal/Metal.h>
Go to the source code of this file.
Functions | |
static QT_BEGIN_NAMESPACE | Q_LOGGING_CATEGORY (qLcVideotoolbox, "qt.multimedia.ffmpeg.videotoolbox") namespace QFFmpeg |
|
static |
Definition at line 31 of file qffmpeghwaccel_videotoolbox.mm.
References QRhi::backend(), QRhiTexture::BGRA8, cache, frame, GL_RGBA, GL_TEXTURE_RECTANGLE, GL_UNSIGNED_BYTE, QVideoTextureHelper::TextureDescription::heightForPlane(), i, QRhi::Metal, QRhi::nativeHandles(), QRhi::OpenGLES2, Q_ASSERT, qCWarning, qWarning, QRhiTexture::R16, QRhiTexture::R16F, QRhiTexture::R32F, QRhiTexture::R8, ret, QRhiTexture::RG16, QRhiTexture::RG8, QRhiTexture::RGBA16F, QRhiTexture::RGBA32F, QRhiTexture::RGBA8, rhiTextureFormatToMetalFormat(), QVideoTextureHelper::textureDescription(), QVideoTextureHelper::TextureDescription::textureFormat, QFFmpegVideoBuffer::toQtPixelFormat(), QRhiTexture::UnknownFormat, and QVideoTextureHelper::TextureDescription::widthForPlane().