beautypg.com

Line rate – Grass Valley Switcher Products User Manual

Page 142

background image

142

Switcher Products — Protocols Manual

Section 6 — Still Store Image File Format

Pad parameters pad1 and pad2 are fillers generated by the compiler to
align the next parameter to a 16 or 32 bit boundary. These pads must be
included in the file but their value is unimportant.

Metadata files are written as 512 bytes regardless of the size of the active
information. Pad3 fills out the message to 512 bytes. Values are not impor-
tant but dummy values must be included in the file.

Line Rate

For offset 0xac: imageLineRate, the 2

6

bit, bit 6, is the “progressive scan” bit.

For rates other than 525 and 625, the upper eight bits of the 16-bit image-
LineRate field can optionally be used to express the original frame rate. The

0xB4

Int32

fenceSize

0 for full screen

1 for 1/2 x 1/2

2 for 1/3 x 1/3

3 for 1/5 x 1/5
Fill image data file with appropriate information. See discussion above in Image
Data File Format section.

0xB8

float

outputCropRight

Controls cropping of image when loaded to the output of the from still store. See
discussion below in Crops and Position section.

0xBC

float

outputCropLeft

0xC0

float

outputCropTop

0xC4

float

outputCropBottom

0xC8

float

outputVertPos

Controls position of image when loaded to the output of the stillstore. See discus-
sion below in Crop and Position section.

0xCC

float

outputHorizPos

0xD0

Int32

outputFreezeMode

Controls how frozen image is displayed by the still store.
0 to display complete frame

1 to display field 1 with interpolated field 1 for field 2

2 to display field 2 with interpolated field 2 for field 1

3 to display field 1 in both fields (replicate)

4 to display field 2 in both fields (replicate)

0xD4

Int8

shapedVideo

0 for unshaped or video only

1 for shaped video
See discussion above in Shaped Video section.

0xD5

Int8

pad2

0 (compiler generated structure alignment filler)

0xD6

Int16

clipLength

Number of frames stored in data file.
Stills have a length of 1

0xD8

Int16

markInFrame

Playback starting frame number (0 is first frame in file)

0xDA

Int16

markOutFrame

Playback ending frame (number of the frame AFTER last one to be played)

0xDC

Int16

vidKeyOffset

Temporal offset for key in frames (not used). Fill with 0s.

0xDE

Int16

loopFromFrame

Number of last frame in a looped region.

0xE0

Int16

loopToFrame

Number of first frame included in looped region.

0xE2

Int16

loopCount

Number of times looped region is repeated.
0 - no repeat (play looped region once)

1 - 32767 repeat loop region this number of times

-1 loop forever
A value of 1 says repeat the looped region once, i.e., play it twice.

0xE4

Int32

dwLowDateTime

Date and time of image modification in Win32 (MFC) format (not used). Insert
Win32 formatted date and time or fill with 0s.

0xE8

Int32

dwHighDateTime

0xEC

276 characters

pad3[276]

0s (for consistent 512 byte file size regardless of version)

Table 125. Image Metadata - (continued)

Offset

Size

Parameter

Value /Comment