Basic Types Structures
Basic Types Structures
These types and structures are defined in PrSDKTypes.h and PrSDKStructs.h, and are used throughout the Premiere API.
Premiere defines cross-platform types for convenience when developing plugins for both Windows and Mac OS.
Name | Description |
---|---|
prColor | An unsigned 32-bit integer that stores an RGB color. |
This type is useful for the 8-bpc colors retrieved by the color picker in a video effect or transition. | |
Color channels are stored as BGRA, in order of increasing memory address from left to right. | |
prWnd | A Windows HWND or Mac OS NSView* |
prParentWnd | A Windows HWND or Mac OS NSWindow* |
prOffscreen | A Windows HDC |
prRect | A Windows RECT or Mac OS Rect . |
Use the utility function prSetRect to set the dimensions of a prRect struct. | |
This should be used because Mac OS Rect members have a different ordering than Windows RECT members. | |
prFloatRect | typedef struct { |
prRgn | A Windows HRGN |
prPoint , LongPoint | typedef struct { |
LongPoint is deprecated, but still used for a couple of Bottleneck callbacks | |
prFPoint | typedef struct { |
prPixel | (Deprecated) |
prPixelAspectRatio | (Deprecated) |
PPix , *PPixPtr , **PPixHand | Holds a video frame or field, and contains related attributes such as pixel aspect ratio and pixel format. |
Manipulate PPixs using the PPix Suite, never directly. | |
TDB_TimeRecord | A time database record representing a time value in the context of a video frame rate. |
typedef struct { | |
prBool | Can be either kPrTrue or kPrFalse |
PrMemoryPtr , *PrMemoryHandle | A char* |
PrTimelineID , PrClipID | A 32-bit signed integer. |
prUTF8Char | An 8-bit unsigned integer. |
PrSDKString | An opaque data type that should be accessed using the new String Suite. |
PrParam | Used for exporter parameters |
struct PrParam | |
prDateStamp | Used in by importers in imFileAttributesRec.creationDateStamp . |
typedef struct |