Rman Examples Applications

samplePlay
sampleInterp
sampleRep
sampleRate
M1Play
hostPlayer
superPlay2
statemac

These applications were written as examples of how to use the Rman interface in your Cheops programs. They are located in ${CHEOPS_BASE}/local/src/examples/rman/.
Enjoy !


samplePlay

This program is the simplest movie player using NORMAN, the Resource Manager and the Rman Interface Library. It preloads an RGB datfile to local memory (displaying it over the global bus as its loading) and then enters a forever loop, displaying it to the output module using the Nile bus.

Usage:

   samplePlay < datfile> 
	[-x < window x position> ] [-y < window y position> ] 
	[-o < output module id> ] 
	[-frame < width>  < 0xBBGGRR> ] 
	[-up < scale_factor> ] 
	[-np (not palendromic)] 
	[-v (verbose)]


sampleInterp

This program preloads an RGB datfile to local memory (displaying it over the global bus as its loading) and then enters a forever loop, doing a 2-D upsample and interpolate (hz upsample-filter, transpose, hz upsample-filter, transpose) and finally displaying it to the output card using Nile.

Usage:

   sampleInterp < datfile> 
	[-x < output_x_pos> ] [-y < output_y_pos> ] 
	[-o < output module id> ] 
	[-v (verbose)] [-i < interp factor>  < filter datfile> ]

Written by Abha Singh 2/18/92 (her first Cheops program).


sampleRep

This program preloads an RGB file, (displaying the channels over the global bus as its loading), then enters a forever loop, doing a 2-D upsample and hold of the image sequence and transferring it to the screen over the global bus.

Usage:

   sampleRep < datfile> 
        [-huv < hub up vt> ] [-huh < hub up hz> ]
        [-nuv < nile up vt> ] [-nuh < nile up hz> ]
	[-x < output_x_pos> ] [-y < output_y_pos> ]
	[-o < output module id> ] 
	[-v (verbose)]

Written by Shawn Becker 4/13/93.


sampleRate

This program the simplest movie player using NORMAN the Resource Manager that allows framerate control. It preloads an RGB datfile to local memory (displaying it over the global bus as its loading) and then enters a forever loop, displaying it to the output card using the Nile bus.

Usage:

   sampleRate < datfile> 
	[-fps < frames per second> ] 
	[-x < window x position> ] [-y < window y position> ] 
	[-o < output module id> ] 
	[-up < scale_factor> ] 
	[-np (not palendromic)] 
        [-sl (single loop)]
        [-rl (ramlog)]
	[-v (verbose)]

Written by Shawn Becker 8/30/93


M1Play

This program preloads an RGB datfile to the M1 memory module (displaying it on the output module over the global bus as it is loading) and then enters a forever loop, transferring the frames to local memory and then displaying them to the output module using the Nile bus.

Usage:

  M1Play < datfile> 
	[-x < window x position> ] [-y < window y position> ] 
	[-o < output module id> ] 
	[-frame < width>  < 0xBBGGRR> ] 
	[-up < scale_factor> ] 
	[-np (not palendromic)] [-global (use global bus)]
	[-v (verbose)] [-to (to this frame)]


hostPlayer

This program preloads an RGB datfile to host memory and then enters a forever loop, doing a host to local download, 2-D upsample and interpolate (hz upsample-filter, transpose, hz upsample-filter, transpose) and finally displaying it to the output card using Nile.

Usage:

   hostPlayer < datfile> 
	[-x < output_x_pos> ] [-y < output_y_pos> ] 
	[-o < output module id> ] 
	[-v (verbose++)] [-i < factor>  < filtfile> ]

Written by Shawn Becker 2/19/92. This program was modified from sampleInterp.


superPlay2

I think this is a fancy rate control movie player...

Usage:

   superPlay2 < datfile> 
	[-x < window x position> ] [-y < window y position> ] 
	[-o < output module id> ] 
	[-frame < width>  < 0xBBGGRR> ] 
	[-up < scale_factor> ] 
	[-v (verbose)]


statemac

This program shows a trivial example of how to use the crude Rman interface to the state machine (still under construction.)


Return to
Software Index
Return to Cheops Homepage
cheops-web@media.mit.edu
This is a "fix it yourself" page, located at /mas/garden/cheops/WWW/software/examplesrman.html