Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
VideoProcessing.h
/* |
* VideoProcessing.h |
* VideoProcessing |
* |
* Created by Scott Kuechle on Wed May 14 2003. |
* Copyright (c) 2003 __MyCompanyName__. All rights reserved. |
* |
*/ |
#if __MACH__ |
#include <QuickTime/QuickTime.h> |
#else |
#endif |
typedef struct |
{ |
// input: supplied by client |
Ptr baseAddr; // base address of start of this layer |
Rect layerBounds; // bounds of the layer (ie, where to draw) |
long rowBytes; // rowBytes, stripped of high bits |
} LayerRecord, *LayerPtr; |
#define kNumPixelFormatsSupported 0x20 |
typedef struct { |
long width; |
long height; |
Rect dstRect; |
OSType pixelFormat; |
Ptr baseAddr; |
long rowBytes; |
LayerRecord source, overlay, dest; |
UInt32 *redCount, *greenCount, *blueCount; |
UInt32 redMin, redMax; |
UInt32 greenMin, greenMax; |
UInt32 blueMin, blueMax; |
} AppBlitDecompressRecord; |
typedef struct |
{ |
ComponentInstance self; |
ComponentInstance delegateComponent; |
ComponentInstance target; |
OSType **wantedDestinationPixelTypeH; |
} AppBlitGlobalsRecord, *AppBlitGlobalsPtr; |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-10-06