ofDocsdocumentation video ofGstVideoUtils

ofGstVideoUtils


allocate( ... )

bool allocate(int w, int h, ofPixelFormat pixelFormat)

close( )

void close()

eos_cb( )

void eos_cb()

getGstFormat( ... )

GstVideoFormat getGstFormat(ofPixelFormat format)

getGstFormatName( ... )

string getGstFormatName(ofPixelFormat format)

getHeight( )

float getHeight()

getOFFormat( ... )

ofPixelFormat getOFFormat(GstVideoFormat format)

getPixelFormat( )

ofPixelFormat getPixelFormat()

getPixels( )

ofPixels & getPixels()

getPixels( )

const ofPixels & getPixels()

getTexture( )

ofTexture * getTexture()

getWidth( )

float getWidth()

isFrameNew( )

bool isFrameNew()

isInitialized( )

bool isInitialized()

ofGstVideoUtils( )

ofGstVideoUtils()

reallocateOnNextFrame( )

void reallocateOnNextFrame()

setCopyPixels( ... )

void setCopyPixels(bool copy)

setPipeline( ... )

bool setPipeline(string pipeline, ofPixelFormat pixelFormat=OF_PIXELS_RGB, bool isStream=false, int w, int h)

setPixelFormat( ... )

bool setPixelFormat(ofPixelFormat pixelFormat)

sync_bus_call( ... )

gboolean sync_bus_call(GstBus *bus, GstMessage *msg, gpointer data)

update( )

void update()

~ofGstVideoUtils( )

~ofGstVideoUtils()

Variables

bool bBackPixelsChanged
bool bHavePixelsChanged
bool bIsFrameNew
ofPixels backPixels
ofPixels bufferEvent
bool copyPixels
ofPixels eventPixels
ofPixelFormat internalPixelFormat
GstMapInfo mapinfo
ofMutex mutex
ofPixels pixels
ofPixels prerollEvent