Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QWMF Namespace Reference

Classes

class  QByteArrayMFMediaBuffer
class  QPmrMediaBuffer

Typedefs

template<typename Functor>
using IMFBufferReaderReturnType = std::invoke_result_t<Functor, QSpan<BYTE>, QSpan<BYTE>>

Functions

template<typename Functor>
auto withLockedBuffer (IMFMediaBuffer *buffer, Functor &&f) -> q23::expected< IMFBufferReaderReturnType< Functor >, HRESULT >
template<typename Functor>
auto withLockedBuffer (const ComPtr< IMFMediaBuffer > &buffer, Functor &&f) -> q23::expected< IMFBufferReaderReturnType< Functor >, HRESULT >

Variables

static constexpr auto mfBufferAlignment = 16

Typedef Documentation

◆ IMFBufferReaderReturnType

template<typename Functor>
using QWMF::IMFBufferReaderReturnType = std::invoke_result_t<Functor, QSpan<BYTE>, QSpan<BYTE>>

Definition at line 37 of file qwmf_support_p.h.

Function Documentation

◆ withLockedBuffer() [1/2]

template<typename Functor>
auto QWMF::withLockedBuffer ( const ComPtr< IMFMediaBuffer > & buffer,
Functor && f ) -> q23::expected<IMFBufferReaderReturnType<Functor>, HRESULT>
nodiscard

Definition at line 68 of file qwmf_support_p.h.

◆ withLockedBuffer() [2/2]

template<typename Functor>
auto QWMF::withLockedBuffer ( IMFMediaBuffer * buffer,
Functor && f ) -> q23::expected<IMFBufferReaderReturnType<Functor>, HRESULT>
nodiscard

Definition at line 41 of file qwmf_support_p.h.

Variable Documentation

◆ mfBufferAlignment

constexpr auto QWMF::mfBufferAlignment = 16
staticconstexpr

Definition at line 248 of file qwmf_support.cpp.