raster scan system and random scan system.ppt

18
Raster Scan Systems

Upload: santosh-jhansi

Post on 14-Dec-2015

140 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: raster scan system and random scan system.ppt

Raster Scan Systems

Page 2: raster scan system and random scan system.ppt

Raster Scan Systems In addition to the central processing unit

(CPU), a special processor, called the video controller or display controller, is used to control the operation of the display device.

CPUCPU System System MemoryMemory

Video Video ControllerController

MonitorMonitor

System BusSystem Bus

I/O Devices

Page 3: raster scan system and random scan system.ppt

Video Controller A fixed area of the system memory is

reserved for the frame buffer, and the video controller is given direct access to the frame buffer memory.

Page 4: raster scan system and random scan system.ppt

Video Controller Frame buffer location, and the

corresponding screen positions, are referenced in Cartesian coordinates.

x

y

Page 5: raster scan system and random scan system.ppt

Video Controller Scan lines are then labeled from ymax at

the top of the screen to 0 at the bottom. Along each scan line, screen pixel positions are labeled from 0 to xmax.

Line Scany max

x max x

y Line Scany max

x max

Page 6: raster scan system and random scan system.ppt

Video Controller Two registers are used to store the coordinates

of the screen pixels.

Raster Scan Generator

x Register y Register

Memory Address

Frame Buffer Pixel register

The Basic refresh operation of the video controller.

Page 7: raster scan system and random scan system.ppt

Video ControllerSome of operations can be performed by the Video

Controller: Refreshing operation.

Video controller can retrieve pixel intensities from different areas on different refresh cycles.

Example:Two frame buffers are often provided so that one buffer used for refreshing other is filled with intensity values.two buffers can swithch roles

used in real time animations.

Page 8: raster scan system and random scan system.ppt

Transformation (Areas of the screen can be enlarged, reduces, or moved during the refresh cycles)

some systems are designed to allow the video controller to mix the frame buffer image with input image from television camera or other input device.

Page 9: raster scan system and random scan system.ppt

Raster Scan Display Processor

Page 10: raster scan system and random scan system.ppt

Raster Scan Display Processor A raster system containing a separate display

processor (graphics controller, display coprocessor) The purpose of the DP DP is to free the CPU from the

graphics chores.

Page 11: raster scan system and random scan system.ppt

Architecture of a raster graphics system with display processor

CPUCPUDisplay Display

ProcessorProcessor

Video Video ControllerController

MonitorMonitor

System BusSystem Bus

I/O Devices

System System MemoryMemory

Display Processor Display Processor MemoryMemory

Frame Frame bufferbuffer

Page 12: raster scan system and random scan system.ppt

DP A major task of the display processor

is Scan Conversion.

Scan Conversion: is digitizing a picture definition given in an application program into a set of pixel intensity values for storage in the frame buffer.( scan conversion straight line segment, Character )

Page 13: raster scan system and random scan system.ppt

Scan converting a straight line segment for example, means that we have to locate the pixel position closest to the line path and store the intensity for each position in the frame buffer.

Characters can be defined with rectangular grids

Page 14: raster scan system and random scan system.ppt

Display Processor Generation various line styles

(dashed, dotted, or solid)

Displaying color areas

Performing certain transformation and manipulation on display objects.

Page 15: raster scan system and random scan system.ppt

In effort to reduce memory requirement in raster system,methods have been devised for organizing the frame buffer as linked list and decoding the intensity information.

One way to do this is to store each scan line as a set of integer pairs

One number of each pair indicates an intensity value and the second number specifies the number of adjacent pixels on the scan line that are to have same intensity.(run length encoding)

Page 16: raster scan system and random scan system.ppt

Random Scan Systems

Page 17: raster scan system and random scan system.ppt

Random Scan System An application program as input and stored in

the system memory along with a graphic package.

Graphic commands in the application program are translated by the graphics package into a display file stored in the system memory.

This file is then accessed by the display processor unit (DPU)(graphic controller) to refresh the screen.

Page 18: raster scan system and random scan system.ppt

Random-Scan Systems

CPUCPUSystem System

MemoryMemoryDisplay Display

ProcessorProcessorMonitorMonitor

System BusSystem Bus

I/O Devices