Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
QuickTimeUtils.cpp File Reference
#include "cinder/gl/gl.h"
#include "cinder/qtime/QuickTime.h"
#include "cinder/qtime/QuickTimeUtils.h"
#include <QuickTime/QuickTime.h>
#include <ApplicationServices/ApplicationServices.h>
#include <QuickTime/ImageCompression.h>
#include <CoreVideo/CoreVideo.h>
Include dependency graph for QuickTimeUtils.cpp:

Namespaces

 cinder
 
 cinder::qtime
 

Functions

bool cinder::qtime::dictionarySetValue (CFMutableDictionaryRef dict, CFStringRef key, SInt32 value)
 
bool cinder::qtime::dictionarySetPixelBufferPixelFormatType (bool alpha, CFMutableDictionaryRef dict)
 
bool cinder::qtime::dictionarySetPixelBufferSize (const unsigned int width, const unsigned int height, CFMutableDictionaryRef dict)
 
bool cinder::qtime::dictionarySetPixelBufferBytesPerRowAlignment (CFMutableDictionaryRef dict)
 
void cinder::qtime::dictionarySetPixelBufferOpenGLCompatibility (CFMutableDictionaryRef dict)
 
bool cinder::qtime::dictionarySetPixelBufferOptions (unsigned int width, unsigned int height, bool alpha, CFMutableDictionaryRef *pixelBufferOptions)
 
CFMutableDictionaryRef cinder::qtime::initQTVisualContextOptions (int width, int height, bool alpha)
 
::ItemCount cinder::qtime::openMovieBaseProperties (QTNewMoviePropertyElement movieProps[10])
 
::Movie cinder::qtime::openMovieFromUrl (const Url &url)
 
::Movie cinder::qtime::openMovieFromPath (const fs::path &path)
 
Handle cinder::qtime::createPointerReferenceHandle (void *data, Size dataSize)
 
OSStatus cinder::qtime::ptrDataRefAddFileNameExtension (ComponentInstance dataRefHandler, const string &fileName)
 
OSStatus cinder::qtime::ptrDataRefAddMIMETypeExtension (ComponentInstance dataRefHandler, const std::string &mimeType)
 
Handle cinder::qtime::createPointerDataRefWithExtensions (void *data, size_t dataSize, const string &fileName, const string &mimeType)
 
::Movie cinder::qtime::openMovieFromMemory (const void *data, size_t dataSize, const string &fileNameHint, const string &mimeTypeHint)
 
Surface8u cinder::qtime::convertCVPixelBufferToSurface (CVPixelBufferRef pixelBufferRef)
 Makes a cinder::Surface form a CVPixelBufferRef, setting a proper deallocation function to free the CVPixelBufferRef upon the destruction of the Surface::Obj. More...
 
CVPixelBufferRef cinder::qtime::createCvPixelBuffer (ImageSourceRef imageSource, bool convertToYpCbCr=false)
 Creates a CVPixelBufferRef from an ImageSource. Release the result with CVPixelBufferRelease(). If convertToYpCbCr the resulting CVPixelBuffer will be in either k444YpCbCr8CodecType or k4444YpCbCrA8PixelFormat. More...