*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> fx/fxSetupScanlineBuffer (3d)              
Title
Content
Arch
Section
 

Contents


dmFXSetupScanlineBuffer(3dm)			  dmFXSetupScanlineBuffer(3dm)


NAME    [Toc]    [Back]

     dmFXSetupScanlineBuffer - get information about a special-effects image
     buffer

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/fx_buffer.h>

     DMstatus dmFXSetupScanlineBuffer    [Toc]    [Back]
	   ( DMfxbuffer* buffer,
	     PRX_ScanlineBuffer* returnInfo )

PARAMETERS    [Toc]    [Back]

     buffer	  A special-effects image buffer that has been set up for
		  access with dmFXSetupInputImageBuffer	or
		  dmFXSetupOutputImageBuffer.

     returnInfo	  A PRX_ScanlineBufferRec structure, which will	be filled in.

DESCRIPTION    [Toc]    [Back]

     dmFXSetupScanlineBuffer returns information about an image	buffer,
     including:	data, a	pointer	to the image data, rowBytes the	number of
     bytes (stride) for	each row of the	image, bounds, the size	of the image.

     This function sets	all fields of the PRX_ScanlineBufferRec	structure,
     except for	appPrivate.

     Under normal circumstances, the number of bytes for each row will be four
     times the buffer width.  Applications that	use DMfxbuffers	can count on
     this.  It can be useful, when debugging plugins, to create	buffers	that
     have a larger internal width.  If you are using the debug version of
     libfxplugutils, setting the environment variable FX_STRANGE_ROWBYTES to
     YES will cause it to create buffers where the width of the	storage	area
     is	greater	than is	needed.

RETURN VALUES    [Toc]    [Back]

     It	returns	DM_SUCCESS or DM_FAILURE.  In the case of failure, error
     information can be	obtained from dmGetError(3dm).

SEE ALSO    [Toc]    [Back]

      
      
     dmFXMovieRenderImage(3dm),	dmFXSetupInputImageBuffer(3dm),
     dmFXSetupScanlineBuffer(3dm), dmFXIsGLExtensionSupported(3dm),
     dmGetError(3dm).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
fxSetupInputImageBuffer IRIX manage special-effects image buffers
dmFXTexImage2D IRIX load an image for use as a texture for special effects
fxAllocateImageBuffers IRIX create and destroy image buffers for special effects
dmFXUpdateImageBuffer IRIX change the active size of a special effects buffer
dmPMCreateEffect IRIX create and destroy special effects
dmPMProcessClip IRIX apply special effects to movies
fxMovieRenderImage IRIX transfer images between movies and special effects
dmFXDrawPixels IRIX pixel transfer operations for special effects
dmPMGetPlugin IRIX retrieve a pointer to a special effects plugin
MrmOpenHierarchyFromBuffer HP-UX Allocates a hierarchy ID and opens a buffer containing a memory image of a UID file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service