found this info and I'm almost sorry I asked in the first place. I still don't see what the purpose of input device is.
Here's what I found on a google:
Orientation Header
The last of the generic headers is the orientation header. Information in this header describes the position of the image on the display and also contains some additional information on the source of the image data.
This header is 256 bytes in length and has the following format:
typedef struct _GenericOrientationHeader { DWORD XOffset; /* X offset */ DWORD YOffset; /* Y offset */ SINGLE XCenter; /* X center */ SINGLE YCenter; /* Y center */ DWORD XOriginalSize; /* X original size */ DWORD YOriginalSize; /* Y original size */ char FileName[100]; /* Source image file name */ char TimeDate[24]; /* Source image date and time */ char InputName[32]; /* Input device name */ char InputSN[32]; /* Input device serial number */ WORD Border[4]; /* Border validity (XL, XR, YT, YB) */ DWORD AspectRatio[2]; /* Pixel aspect ratio (H:V) */ BYTE Reserved[28]; /* Reserved field used for padding */ } GENERICORIENTATIONHEADER;
XOffset and YOffset indicate the offset of the first pixel in the stored image from the first pixel in the original image. If the two images are not offset, then the values of these fields will be 0.
XCenter and YCenter are floating-point values indicating the X and Y coordinates of the center of the image.
XOriginalSize and YOriginalSize indicate the width and height, respectively, of the original image, in pixels per line and lines per image.
FileName is the name of the source image from which the image was processed or extracted.
TimeDate is a 24-byte field containing a time and date stamp of when the source image was created. This stamp is a string in the form YYYY:MM:DD:HH:MM:SS:LTZ.
InputName is a 32-byte ASCII string declaring the name of the input device.
InputSN is a 32-byte ASCII string declaring the serial number of the input device.
Border is a set of four values that describe the region of the image eroded due to edge-sensitive filter processing. These values are, in order: X left, X right, Y top, and Y bottom. Values of 0, 0, 0, 0 indicate no border and therefore no erosion.
AspectRatio is the pixel aspect ratio described as a horizontal value (AspectRatio[0]) divided by a vertical value (AspectRatio[1]).
Reserved is a 28-byte field used to pad the header out to 256 bytes in length. Future versions of the DPX format may support additional fields in this area.
---In Avid-L2@yahoogroups.com, <bigfish@...> wrote :
Posted by: bigfish@pacbell.net
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (3) |
No comments:
Post a Comment