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

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

Contents


dmFXMovieRenderImage(3dm)			     dmFXMovieRenderImage(3dm)


NAME    [Toc]    [Back]

     dmFXMovieRenderImage, dmFXMovieInsertImage, dmFXMovieRenderFields,
     dmFXMovieInsertFields - transfer images between movies and	special
     effects

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/fx_buffer.h>

     DMstatus dmFXMovieRenderImage    [Toc]    [Back]
	   ( MVid movie,
	     MVtime time,
	     MVtimescale timeScale,
	     int inputUsage,
	     DMfxbuffer* destinationBuffer )

     DMstatus dmFXMovieInsertImage    [Toc]    [Back]
	   ( MVid track,
	     MVtime time,
	     MVtime duration,
	     MVtimescale timeScale,
	     DMfxbuffer* sourceBuffer )

     DMstatus dmFXMovieRenderFields    [Toc]    [Back]
	   ( MVid movie,
	     MVtime time,
	     MVtime duration,
	     MVtimescale timeScale,
	     DMfxbuffer* dstFieldA,
	     DMfxbuffer* dstFieldB )

     DMstatus dmFXMovieInsertFields    [Toc]    [Back]
	   ( MVid track,
	     MVtime time,
	     MVtime duration,
	     MVtimescale timeScale,
	     DMfxbuffer* srcFieldA,
	     DMfxbuffer* srcFieldB )

PARAMETERS    [Toc]    [Back]

     movie		 The movie that	contains the image to be rendered.

     track		 The track into	which a	new image is inserted.

     time		 A time	within the movie.

     duration		 Specifies how long an inserted	image will be
			 displayed when	the movie is played.






									Page 1






dmFXMovieRenderImage(3dm)			     dmFXMovieRenderImage(3dm)



     timeScale		 Specifies the units for time and duration.

     inputUsage		 Specifies how the image buffer	will be	used, a
			 combination of	bufInputDirect,	bufInputTexture,
			 bufInputDrawPixels, and bufInputMovie.

     destinationBuffer	 The buffer in which the resulting image is placed.

     sourceBuffer	 A buffer containing the image to be inserted into the
			 movie.

     dstFieldA		 Field buffer where the	even numbered scanlines
			 (counting from	0) of the resulting image are placed.

     dstFieldB		 Field buffer where the	odd numbered scanlines
			 (counting from	0) of the resulting image are placed.

     srcFieldA		 Field buffer which contains the even numbered
			 scanlines (counting from 0) of	the image to be
			 inserted into the movie.

     srcFieldB		 Field buffer which contains the odd numbered
			 scanlines (counting from 0) of	the image to be
			 inserted into the movie.

DESCRIPTION    [Toc]    [Back]

     dmFXmovieRenderImage renders a movie at the given time (see
     mvRenderMovieToImageBuffer(3dm)), and places the result in
     destinationBuffer.	 It is equivalent to calling
     dmFXSetupOutputImageBuffer, mvRenderMovieToImageBuffer, and
     dmFXCleanupOutputImageBuffer in sequence, but may be more efficient.
     dmFXmovieRenderImage takes	into account the current movie rectangle (see
     mvSetMovieRect(3dm)) to decide the	location of the	image in the buffer.

     dmFXMovieInsertImage take a buffer	containing an image, and inserts that
     image in the given	track at the given time.  It is	equivalent to calling
     dmFXSetupInputImageBuffer,	mvInsertFramesAtTime, and
     dmFXCleanupInputImageBuffer in sequence, but may be more efficient.

     dmFXMovieRenderFields renders a movie at the given	time (see
     mvRenderMovieToImageBuffer(3dm)), and places the result in	dstFieldA and
     dstFieldB.	 dstFieldA contains the	even numbered scanlines	(counting from
     0), and dstFieldB contains	the odd	numbered scanlines.  It	is equivalent
     in	functionality to calling dmFXMovieRenderImage(3dm) followed by
     dmFXSplitFields(3dm), but might be	more efficient under some conditions.

     dmFXMovieInsertFields takes two buffers containing	interlaced image data,
     and inserts those fields into the given track at the given	time.
     dstFieldA contains	the even numbered scanlines of the full	image
     (counting from 0) and dstFieldB contains the odd numbered scanlines.  It
     is	equivalent in functionality to calling dmFXJoinFields(3dm) followed by



									Page 2






dmFXMovieRenderImage(3dm)			     dmFXMovieRenderImage(3dm)



     dmFXMovieInsertImage(3dm),	but might be more efficient under some
     conditions.

RETURN VALUES    [Toc]    [Back]

     All functions return DM_SUCCESS if	the operation was completed
     successfully, and DM_FAILURE if not.  In the case of failure, error
     information can be	obtained from dmGetError(3dm).

SEE ALSO    [Toc]    [Back]

      
      
     dmFXAllocateImageBuffers(3dm), dmFXSetupInputImageBuffer(3dm),
     dmFXSetupScanlineBuffer(3dm), dmFXSplitFields(3dm), dmFXJoinFields(3dm),
     dmGetError(3dm), mvSetMovieRect(3dm).


									PPPPaaaaggggeeee 3333
[ Back ]
 Similar pages
Name OS Title
dmPMProcessClip IRIX apply special effects to movies
dmFXDrawPixels IRIX pixel transfer operations for special effects
capture IRIX record movies, images, or sounds
mediarecorder IRIX record movies, still images, or audio files
dmPMCreateEffect IRIX create and destroy special effects
dmPMGetPlugin IRIX retrieve a pointer to a special effects plugin
dmFXTexImage2D IRIX load an image for use as a texture for special effects
fxSetupScanlineBuffer IRIX get information about a special-effects image buffer
fxSetupInputImageBuffer IRIX manage special-effects image buffers
dmFXUpdateImageBuffer IRIX change the active size of a special effects buffer
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service