Alacron FAST-UXGA Скачать руководство пользователя страница 17

17 of 28 

id(1) float Zoom; 

This variable controls how the images are displayed on the controls surface. When set to 1.0 
the pixels of the image are display as pixels on the screen, this is some time called 1:1 viewing. 
If set to less than one a larger piece of the image is displayed (zoom out). If set larger than one 
a small portion of the image is displayed (zoom in). 

id(2) long XOrigin; 

This property controls which pixel is displayed in the upper left corner of the OCX display 
surface. Large values display pixels to the right. 

id(3) long YOrigin; 

This property controls which line is displayed at the top of the OCX display surface. Larger 
values move down the image. 

id(4) boolean RedEnable; 

If the image is color, and the RedEnable is true, then the first plane of the image is displayed. If 
it is false the first plane is not displayed. For non-RGB formats for example YUV 4:4:4 this 
refers to the Y part of the image. All images are converted from their native format to RGB 
when input to the control. Typically no color space conversion is done. 

id(5) boolean BluEnable; 

If the image is color, and the BlueEnable is true, then the last plane of the image is displayed. If 
it is false the last plane is not displayed. For non-RGB formats for example YUV 4:4:4 this 
refers to the V part of the image. All images are converted from their native format to RGB 
when input to the control. Typically no color space conversion is done. 

id(6) boolean GrnEnable; 

If the image is color, and the GrnEnable is true, then the middle plane of the image is 
displayed. If it is false the middle plane is not displayed. For non-RGB formats for example YUV 
4:4:4 this refers to the U part of the image. All images are converted from their native format to 
RGB when input to the control. Typically no color space conversion is done. 

id(7) boolean AutoZoomAndPan; 

This flag controls whether the use of the control can pan and zoom the control view with the 
mouse and the shift key. 

Normally the mouse just moves the cursor over the image. If the shift key is held down (either 
one), the image will pan. The panning area is the central portion of the display area, and is 
scaled so you can pan of the whole image without double dragging. 

id(14) boolean Rotated; 

This flag allows one to rotate the image 90 degrees, before displaying. 

id(18) readonly] float Compression; 

This property is set to the compression level of a JPEG image if one 
is passed to the control. 

ALPICTURE

 

M

ETHODS

 

id(8) Update(long* Image, short Shift); 

This method is used to provide a pointer to the image structure containing the image. The shift 
factor is applied to the pixel planes before display. The image structure is defined below. A long 
pointer is used to avoid complexity in the IDL of little benefit. As the pointer is being passed into 
the control, this method can not be used across processes. The Update API is canned by the 
Create API and is typically not used by a user. The Update method assumes that the image 
surface has already been setup in memory to match the display characteristics of the display 
mode in effect. 

id(9) Create(long* Image, short Shift); 

This method is used to provide a pointer to the image structure containing the image. The shift 
factor is applied to the pixel planes before display. The image structure is defined below. A long 
pointer is used to avoid complexity in the IDL of little benefit. As the pointer is being passed into 

Содержание FAST-UXGA

Страница 1: ...FAST UXGA PCI EXPRESS TECHNICAL PRODUCT DESCRIPTION 30002 00192...

Страница 2: ...2 of 28...

Страница 3: ...to this manual at any time without notice Document Name Fast X Technical Product Description Document Number 30002 00192 Revision History 1 0 October 25 2006 2 0 February 26 2007 2 1 May 10 2007 Trad...

Страница 4: ...4 of 28...

Страница 5: ...ts 20 Using the control 20 ALACRON S STRETCH NEXPERIA OCX 21 Interfaces 21 IStretchBoard 21 Properties 23 BOOL Valid 23 BOOL ReadyState 23 Int PID id 1 23 Int rval id 2 23 BOOL ResetOnRelease id 3 23...

Страница 6: ...6 of 28 CONTACTING TECHNICAL SUPPORT 25 RETURNING PRODUCTS FOR REPAIR OR REPLACEMENT 27 REPORTING BUGS 27...

Страница 7: ...w if they did not come in your FastSeries shipment 30002 00148 ALFAST Runtime Software Programmer s Guide Reference 30002 00150 FastSeries Library User s Manual 30002 00169 ALRT Runtime Software Progr...

Страница 8: ...bandwidth monochrome video to a host PC Figure 1 Fast UXGA PCI X Board The Fast X UXGA option attaches to a Fast Xe PCI Express card It provides the interface to the high bandwidth analog video sourc...

Страница 9: ...ard Mezzanine expansion card with 152 pin VHDCI connector Plugging in a Video I O Extender daughter card replaces standard video connections with a variety of analog and digital video formats Performa...

Страница 10: ...of analog video with the green channel carrying a composite sync Single channel of monochrome analog composite video The video inputs are terminated to ground with 75 ohms and capacitive coupled into...

Страница 11: ...X Fast Xe board I2 C INTERFACE The I2 C interface exposes 32 registers to control the operation of the AD9888Bs Each AD9888Bs has a separate slave address Channel 1 Mux 0 and 1 are addressed at 0x98 w...

Страница 12: ...ng their glue circuits the data sheet for the AD9888 provides the software model via the definition and use of the internal registers of the AD9888 The data passed back to the front end FPGA of the Fa...

Страница 13: ...rage Note this limits the average video pixel rate to 200 mega pixels per second for each video interface Video packets are generated as 32 byte data payload with four bytes of address The packets are...

Страница 14: ...need to reprogram the interface while it is operating except to switch the input multiplexers in the AD9888s Please see the Fast Motion Library manual for the details of the data flow as well as the A...

Страница 15: ...d to describe it This OCX uses the MFC class library to leverage the predefined classes in MFC It can not claim to be a light weight control but rather a multipurpose control ALPICTURE TYPE LIBRARY ID...

Страница 16: ...ods id DISPID_READYSTATECHANGE void ReadyStateChange id DISPID_MOUSEMOVE void MouseMove short Button short Shift OLE_XPOS_PIXELS x OLE_YPOS_PIXELS y id DISPID_MOUSEUP void MouseUp short Button short S...

Страница 17: ...non RGB formats for example YUV 4 4 4 this refers to the U part of the image All images are converted from their native format to RGB when input to the control Typically no color space conversion is...

Страница 18: ...ges can take a long time to be processed into the control This API allows a smaller are of an image to be updated It can be used to combine images on the same display surface It uses the copy raster o...

Страница 19: ...ly this is local memory ncomp reflects the number of additional image structures linked on the next field For planer images each plane is a separate image linked in a list on the next field id is an a...

Страница 20: ...short Button short Shift OLE_XPOS_PIXELS x OLE_YPOS_PIXELS y This event is triggered if the mouse is double clicked within the OCX display window USING THE CONTROL Be sure you have the file alpicture...

Страница 21: ...antiated into a host program in a standard control site in an application The StretchBoard OCX is implemented with Microsoft ATL One possible drawback of the OCX is it does not use standard events to...

Страница 22: ...ProbeVersion out retval CHAR pVer propget id 7 helpstring property MMIO HRESULT MMIO in ULONG reg out retval ULONG pVal propput id 7 helpstring property MMIO HRESULT MMIO in ULONG reg in ULONG newVal...

Страница 23: ...is only valid in the current process CHAR PCIPROBEVERSION ID 6 This attribute is obsolete and returns not implemented ULONG MMIO REG ID 7 This attribute is not implemented in the control and returns n...

Страница 24: ...in LONG type in LONG Length in BYTE Msg The type parameter is dual purpose The upper 8 bits of the value is the processor number aka pid The remaining 24 bits indicate the reason for the call A type...

Страница 25: ...isolate the problem Turning off any operations not directly related may help isolate the problem _____ Finally first save your original work Then remove any extraneous code that doesn t directly cont...

Страница 26: ...version of the host operating system i e Windows XP _____ Note the types and numbers of all your software revisions daughter card libraries the application library and the compiler _____ The piece of...

Страница 27: ...information ready _____ Serial numbers and descriptions of product s being shipped back _____ A listing including revision numbers for all software libraries applications daughter cards etc _____ A c...

Страница 28: ...run the module to track down the anomaly you ve found If you do not have Internet access or if it is inconvenient for you to get to access copy the code to a disk describe the error and mail the disk...

Отзывы: