This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofMediaFoundationPlayer::METexture Class Referenceabstract
#include <ofMediaFoundationPlayer.h>
Inheritance diagram for ofMediaFoundationPlayer::METexture:

Public Member Functions | |
virtual bool | allocate (ofPixelFormat afmt, int aw, int ah) |
virtual bool | transferFrame (IMFMediaEngine *aengine)=0 |
virtual bool | create (DXGI_FORMAT aDxFormat)=0 |
virtual bool | isValid ()=0 |
virtual bool | draw (ofPixels &apix)=0 |
virtual bool | updatePixels (ofTexture &aSrcTex, ofPixels &apix, ofPixelFormat aTargetPixFormat)=0 |
int | getWidth () |
int | getHeight () |
Protected Member Functions | |
bool | _swapPixelsFromSrc4ChannelTo3 (ofPixels &aDstPix) |
Protected Attributes | |
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< ofTexture > | mOfTex |
ofPixels | mSrcPixels |
Member Function Documentation
◆ _swapPixelsFromSrc4ChannelTo3()
|
protected |
◆ allocate()
|
virtual |
Reimplemented in SharedDXGLTexture, and WICTextureManager.
◆ create()
|
pure virtual |
Implemented in SharedDXGLTexture, and WICTextureManager.
◆ draw()
|
pure virtual |
Implemented in SharedDXGLTexture, and WICTextureManager.
◆ getHeight()
|
inline |
◆ getWidth()
|
inline |
◆ isValid()
|
pure virtual |
Implemented in SharedDXGLTexture, and WICTextureManager.
◆ transferFrame()
|
pure virtual |
Implemented in SharedDXGLTexture, and WICTextureManager.
◆ updatePixels()
|
pure virtual |
Implemented in SharedDXGLTexture, and WICTextureManager.
Member Data Documentation
◆ bgColor
|
protected |
◆ mHeight
|
protected |
◆ mNormalizedVidRect
|
protected |
◆ mOfPixFmt
|
protected |
◆ mOfTex
|
protected |
◆ mSrcPixels
|
protected |
◆ mWidth
|
protected |
The documentation for this class was generated from the following files:
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/video/ofMediaFoundationPlayer.h
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/video/ofMediaFoundationPlayer.cpp