Figure 5.1 Display window and frame buffer window
visual effects | Parameters to control | effect |
---|---|---|
zoom | FRX, FRY | Freezes the display window and zooms the displayed image. |
scroll | FZX, FZY | Moves the image left, right, up and down without changing the magnification. |
move | DZX,DZY | Moves the display reference position without changing the zoom point. |
Peeping | DLX,DLY | You can peek at the image in the frame buffer while changing the relative display position of the image. |
wipe | DLX, DLY, DSX, DSY | The display window size changes without changing the image magnification. |
Expand | DLX, DLY, DSX, DSY | The display window size changes as the image size changes. |
/* Transfer and output a 352 x 240 pixel image at the same size to the host */ /* Change display size */ MPG_WnSetSize(mpgwn, (352/2), 240); /* Set magnification */ MPG_WnSetDispRatio(mpgwn, 2000, 1000); /* Execute host transfer output */