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::QPmrMediaBuffer Class Referencefinal

#include <qwmf_support_p.h>

Inheritance diagram for QWMF::QPmrMediaBuffer:
Collaboration diagram for QWMF::QPmrMediaBuffer:

Public Member Functions

 STDMETHODIMP_ (ULONG) Release() override
STDMETHODIMP Lock (BYTE **ppbBuffer, DWORD *pcbMaxLength, DWORD *pcbCurrentLength) override
STDMETHODIMP Unlock () override
STDMETHODIMP GetCurrentLength (DWORD *pcbCurrentLength) override
STDMETHODIMP SetCurrentLength (DWORD cbCurrentLength) override
STDMETHODIMP GetMaxLength (DWORD *pcbMaxLength) override

Static Public Member Functions

static HRESULT CreateInstance (QSpan< const std::byte >, std::pmr::memory_resource *, IMFMediaBuffer **ppBuffer)
static HRESULT CreateInstance (qsizetype capacity, std::pmr::memory_resource *, IMFMediaBuffer **ppBuffer)

Detailed Description

Definition at line 114 of file qwmf_support_p.h.

Member Function Documentation

◆ CreateInstance() [1/2]

HRESULT QWMF::QPmrMediaBuffer::CreateInstance ( qsizetype capacity,
std::pmr::memory_resource * resource,
IMFMediaBuffer ** ppBuffer )
static

Definition at line 160 of file qwmf_support.cpp.

◆ CreateInstance() [2/2]

HRESULT QWMF::QPmrMediaBuffer::CreateInstance ( QSpan< const std::byte > data,
std::pmr::memory_resource * resource,
IMFMediaBuffer ** ppBuffer )
static

Definition at line 137 of file qwmf_support.cpp.

◆ GetCurrentLength()

STDMETHODIMP QWMF::QPmrMediaBuffer::GetCurrentLength ( DWORD * pcbCurrentLength)
override

Definition at line 221 of file qwmf_support.cpp.

◆ GetMaxLength()

STDMETHODIMP QWMF::QPmrMediaBuffer::GetMaxLength ( DWORD * pcbMaxLength)
override

Definition at line 239 of file qwmf_support.cpp.

◆ Lock()

STDMETHODIMP QWMF::QPmrMediaBuffer::Lock ( BYTE ** ppbBuffer,
DWORD * pcbMaxLength,
DWORD * pcbCurrentLength )
override

Definition at line 196 of file qwmf_support.cpp.

◆ SetCurrentLength()

STDMETHODIMP QWMF::QPmrMediaBuffer::SetCurrentLength ( DWORD cbCurrentLength)
override

Definition at line 230 of file qwmf_support.cpp.

◆ STDMETHODIMP_()

QWMF::QPmrMediaBuffer::STDMETHODIMP_ ( ULONG )
override

◆ Unlock()

STDMETHODIMP QWMF::QPmrMediaBuffer::Unlock ( )
override

Definition at line 215 of file qwmf_support.cpp.


The documentation for this class was generated from the following files: