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
avfvideobuffer.mm File Reference

(30eb2b2417c2658fb324452d1fc76043157ada23)

#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>
+ Include dependency graph for avfvideobuffer.mm:

Go to the source code of this file.

Functions

static MTLPixelFormat rhiTextureFormatToMetalFormat (QRhiTexture::Format f)
 

Function Documentation

◆ rhiTextureFormatToMetalFormat()

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().

+ Here is the caller graph for this function: