![]() |
Qt 6.x
The Qt SDK
|
#include "avfvideobuffer_p.h"
#include <rhi/qrhi.h>
#include <CoreVideo/CVMetalTexture.h>
#include <CoreVideo/CVMetalTextureCache.h>
#include <QtGui/qopenglcontext.h>
#include <private/qvideotexturehelper_p.h>
#include "qavfhelpers_p.h"
#import <AVFoundation/AVFoundation.h>
#import <Metal/Metal.h>
Go to the source code of this file.
Functions | |
static MTLPixelFormat | rhiTextureFormatToMetalFormat (QRhiTexture::Format f) |
|
static |
Definition at line 89 of file avfvideobuffer.mm.
References QRhiTexture::BGRA8, QRhiTexture::R16, QRhiTexture::R16F, QRhiTexture::R32F, QRhiTexture::R8, QRhiTexture::RG16, QRhiTexture::RG8, QRhiTexture::RGBA16F, QRhiTexture::RGBA32F, QRhiTexture::RGBA8, and QRhiTexture::UnknownFormat.
Referenced by Q_LOGGING_CATEGORY(), and AVFVideoBuffer::textureHandle().