reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

WICTextureManager Class Reference
Inheritance diagram for WICTextureManager:
ofMediaFoundationPlayer::METexture

Public Member Functions

bool isValid () override
 
bool allocate (ofPixelFormat afmt, int aw, int ah) override
 
bool create (DXGI_FORMAT aDxFormat) override
 
bool transferFrame (IMFMediaEngine *aengine) override
 
bool draw (ofPixels &apix) override
 
bool updatePixels (ofTexture &aSrcTex, ofPixels &apix, ofPixelFormat aTargetPixFormat) override
 
- Public Member Functions inherited from ofMediaFoundationPlayer::METexture
int getWidth ()
 
int getHeight ()
 

Protected Attributes

Microsoft::WRL::ComPtr< IWICBitmap > mWicBitmap = nullptr
 
Microsoft::WRL::ComPtr< IWICImagingFactory > mWicFactory = nullptr
 
bool mBValid = false
 
- Protected Attributes inherited from ofMediaFoundationPlayer::METexture
unsigned int mWidth = 0
 
unsigned int mHeight = 0
 
MFARGB bgColor { 0, 0, 0, 0 }
 
MFVideoNormalizedRect mNormalizedVidRect { 0.0f, 0.0f, 1.0f, 1.0f }
 
ofPixelFormat mOfPixFmt
 
std::shared_ptr< ofTexturemOfTex
 
ofPixels mSrcPixels
 

Additional Inherited Members

- Protected Member Functions inherited from ofMediaFoundationPlayer::METexture
bool _swapPixelsFromSrc4ChannelTo3 (ofPixels &aDstPix)
 

Member Function Documentation

◆ allocate()

bool WICTextureManager::allocate ( ofPixelFormat  afmt,
int  aw,
int  ah 
)
overridevirtual

◆ create()

bool WICTextureManager::create ( DXGI_FORMAT  aDxFormat)
overridevirtual

◆ draw()

bool WICTextureManager::draw ( ofPixels apix)
overridevirtual

◆ isValid()

bool WICTextureManager::isValid ( )
inlineoverridevirtual

◆ transferFrame()

bool WICTextureManager::transferFrame ( IMFMediaEngine *  aengine)
overridevirtual

◆ updatePixels()

bool WICTextureManager::updatePixels ( ofTexture aSrcTex,
ofPixels apix,
ofPixelFormat  aTargetPixFormat 
)
overridevirtual

Member Data Documentation

◆ mBValid

bool WICTextureManager::mBValid = false
protected

◆ mWicBitmap

Microsoft::WRL::ComPtr<IWICBitmap> WICTextureManager::mWicBitmap = nullptr
protected

◆ mWicFactory

Microsoft::WRL::ComPtr<IWICImagingFactory> WICTextureManager::mWicFactory = nullptr
protected

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