Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dmFXSetupScanlineBuffer(3dm) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dmFXMovieRenderImage(3dm)

dmFXSetupInputImageBuffer(3dm)

dmFXSetupScanlineBuffer(3dm)

dmFXIsGLExtensionSupported(3dm)

dmGetError(3dm)



dmFXSetupScanlineBuffer(3dm)                      dmFXSetupScanlineBuffer(3dm)



NAME
     dmFXSetupScanlineBuffer - get information about a special-effects image
     buffer


SYNOPSIS
     #include <dmedia/fxbuffer.h>

     DMstatus dmFXSetupScanlineBuffer
           ( DMfxbuffer* buffer,
             PRXScanlineBuffer* returnInfo )


PARAMETERS
     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
     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 FXSTRANGEROWBYTES to
     YES will cause it to create buffers where the width of the storage area
     is greater than is needed.


RETURN VALUES
     It returns DMSUCCESS or DMFAILURE.  In the case of failure, error
     information can be obtained from dmGetError(3dm).


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








                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026