![]() |
Cinder
0.9.1
|
Classes | |
class | AvfErrorLoadingExc |
class | AvfExc |
class | AvfFileInvalidExc |
class | AvfPathInvalidExc |
class | AvfTextureErrorExc |
class | AvfUrlInvalidExc |
class | ImageTargetCvPixelBuffer |
class | ImageTargetGWorld |
class | MovieBase |
class | MovieGl |
class | MovieLoader |
class | MovieResponder |
class | MovieSurface |
class | MovieWriter |
class | MovieWriterExc |
class | MovieWriterExcAlreadyFinished |
class | MovieWriterExcFrameEncode |
class | MovieWriterExcInvalidPath |
class | QuickTimeErrorLoadingExc |
class | QuickTimeExc |
class | QuickTimeExcFft |
class | QuickTimeExcUrlInvalid |
class | QuickTimeFileInvalidExc |
class | QuickTimePathInvalidExc |
Typedefs | |
typedef std::shared_ptr< MovieWriter > | MovieWriterRef |
typedef std::shared_ptr< class MovieGl > | MovieGlRef |
typedef std::shared_ptr< MovieLoader > | MovieLoaderRef |
typedef std::shared_ptr< class MovieSurface > | MovieSurfaceRef |
typedef std::shared_ptr< class ImageTargetCvPixelBuffer > | ImageTargetCvPixelBufferRef |
typedef std::shared_ptr< class ImageTargetGWorld > | ImageTargetGWorldRef |
Functions | |
int32_t | floatToFixed (float fl) |
void | startQuickTime () |
int32_t | getQuickTimeVersion () |
std::string | getQuickTimeVersionString () |
void | quickTimeTask () |
Surface8uRef | convertCVPixelBufferToSurface (CVPixelBufferRef pixelBufferRef) |
CVPixelBufferRef | createCvPixelBuffer (ImageSourceRef imageSource, bool convertToYpCbCr=false) |
GWorldPtr | createGWorld (ImageSourceRef imageSource) |
OSStatus | enableMultiPassWithTemporaryFile (ICMCompressionSessionOptionsRef inCompressionSessionOptions, ICMMultiPassStorageRef *outMultiPassStorage) |
::Movie | openMovieFromUrl (const Url &url) |
::Movie | openMovieFromPath (const fs::path &path) |
bool | dictionarySetValue (CFMutableDictionaryRef dict, CFStringRef key, SInt32 value) |
bool | dictionarySetPixelBufferPixelFormatType (bool alpha, CFMutableDictionaryRef dict) |
bool | dictionarySetPixelBufferSize (const unsigned int width, const unsigned int height, CFMutableDictionaryRef dict) |
bool | dictionarySetPixelBufferBytesPerRowAlignment (CFMutableDictionaryRef dict) |
void | dictionarySetPixelBufferOpenGLCompatibility (CFMutableDictionaryRef dict) |
bool | dictionarySetPixelBufferOptions (unsigned int width, unsigned int height, bool alpha, CFMutableDictionaryRef *pixelBufferOptions) |
CFMutableDictionaryRef | initQTVisualContextOptions (int width, int height, bool alpha) |
::ItemCount | openMovieBaseProperties (QTNewMoviePropertyElement movieProps[10]) |
Handle | createPointerReferenceHandle (void *data, Size dataSize) |
OSStatus | ptrDataRefAddFileNameExtension (ComponentInstance dataRefHandler, const string &fileName) |
OSStatus | ptrDataRefAddMIMETypeExtension (ComponentInstance dataRefHandler, const std::string &mimeType) |
Handle | createPointerDataRefWithExtensions (void *data, size_t dataSize, const string &fileName, const string &mimeType) |
::Movie | openMovieFromMemory (const void *data, size_t dataSize, const string &fileNameHint, const string &mimeTypeHint) |
Variables | |
const float | PLATFORM_DEFAULT_GAMMA = 2.5f |
typedef std::shared_ptr< MovieWriter > cinder::qtime::MovieWriterRef |
typedef std::shared_ptr< MovieGl > cinder::qtime::MovieGlRef |
typedef std::shared_ptr< MovieLoader > cinder::qtime::MovieLoaderRef |
typedef std::shared_ptr< MovieSurface > cinder::qtime::MovieSurfaceRef |
typedef std::shared_ptr<class ImageTargetCvPixelBuffer> cinder::qtime::ImageTargetCvPixelBufferRef |
typedef std::shared_ptr<class ImageTargetGWorld> cinder::qtime::ImageTargetGWorldRef |
int32_t cinder::qtime::floatToFixed | ( | float | fl | ) |
void cinder::qtime::startQuickTime | ( | ) |
Initializes QuickTime system-wide. Safe to call multiple times.
int32_t cinder::qtime::getQuickTimeVersion | ( | ) |
Returns 0 if QuickTime is not available, otherwise an integer encoding of the QuickTime version. QuickTime 6.4 returns 0x06408000
, (0x00008000
suffix denotes a shipping release of QuickTime)
std::string cinder::qtime::getQuickTimeVersionString | ( | ) |
Returns an empty string if QuickTime is not available, otherwise a human readable string of the QuickTime version. QuickTime 6.4 returns "6.4"
.
void cinder::qtime::quickTimeTask | ( | ) |
Gives QuickTime an opportunity to update all playing movies by calling ::MoviesTask
. Generally only necessary when playing audio-only movies on Windows.
Surface8uRef 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.
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
.
GWorldPtr cinder::qtime::createGWorld | ( | ImageSourceRef | imageSource | ) |
Creates a GWorld from an ImageSource. Currently always creates a 32-bit RGBA GWorld. Dispose of the results using DisposeGWorld().
OSStatus cinder::qtime::enableMultiPassWithTemporaryFile | ( | ICMCompressionSessionOptionsRef | inCompressionSessionOptions, |
ICMMultiPassStorageRef * | outMultiPassStorage | ||
) |
Movie cinder::qtime::openMovieFromPath | ( | const fs::path & | path | ) |
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] | ) |
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 | ||
) |
const float cinder::qtime::PLATFORM_DEFAULT_GAMMA = 2.5f |