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

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

Contents


dmFXJoinFields(3dm)					   dmFXJoinFields(3dm)


NAME    [Toc]    [Back]

     dmFXJoinFields - join two fields into a single frame

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/fx_buffer.h>

     DMstatus dmFXJoinFields    [Toc]    [Back]
	   ( int inputUsage,
	     DMfxbuffer	*fieldA,
	     DMfxbuffer	*fieldB,
	     DMfxbuffer	*dstFrame )

PARAMETERS    [Toc]    [Back]

     inputUsage	  Specifies the	modes in which dstFrame	will be	used as	input;
		  says how the image will be read from the buffer and used as
		  input	to a plug-in or	application.  The value	is a bitwise
		  combination of one or	more of: bufInputDirect,
		  bufInputTexture, bufInputDrawPixels, bufInputMovie.  The
		  options set must include all of the different	ways in	which
		  dstFrame will	be used.

     fieldA	  The "top-most" field.	 Scanline 0 of fieldA will be copied
		  to scanline 0	of the destination frame (dstFrame).

     fieldB	  The "bottom-most" field.  Scanline 0 of fieldB will be
		  copied to scanline 1 of the destination frame	(dstFrame).

     dstFrame	  The destination frame	to copy	the two	fields.

DESCRIPTION    [Toc]    [Back]

     dmFXJoinFields will create	a frame	from two fields.  The source field
     buffers must be half the height of	the destination	frame buffer (see
     dmFXAllocateImageBuffers),	and the	width of the source field buffers must
     be	the same as the	width of the destination frame buffer.

     The scanlines from	fieldA are copied to the even numbered scanlines of
     the destination frame starting at the destination frame's row 0.  The
     scanlines from fieldB are copied to the odd numbered scanlines of the
     destination frame starting	at the destination frame's row 1.

RETURN VALUES    [Toc]    [Back]

     dmFXJoinFields will return	DM_SUCCESS on success, and DM_FAILURE on
     failure.  In the case of failure, error information can be	obtained from
     dmGetError(3dm).  Potential reasons for failure include:







									Page 1






dmFXJoinFields(3dm)					   dmFXJoinFields(3dm)



     FX_ERROR_BAD_PARAMETER   The height of the	destination frame buffer is
			      not 2 times the height of	the source field
			      buffers

     FX_ERROR_BAD_PARAMETER   The width	of the destination frame buffer	is not
			      equal to the width of the	source field buffers

SEE ALSO    [Toc]    [Back]

      
      
     dmFXSplitFields(3dm), dmFXMovieRenderFields(3dm),
     dmFXMovieInsertFields(3dm), dmFXAllocateImageBuffers(3dm),	DMbuffer(4)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
dmFXSplitFields IRIX split a frame out into two fields
vidtomem IRIX Video Library capture single frame tool
memtovid IRIX Video Library single frame output tool
DThmsftoframe IRIX convert hours, minutes, seconds, frame to DAT frame number.
DTframetohmsf IRIX convert DAT frame number to hours, minutes, seconds, frame
CDframetomsf IRIX convert CD frame number to minutes, seconds, frame
concat IRIX Join lists together
ttdt_session_join HP-UX join a ToolTalk session
tt_session_join HP-UX join a session and make it the default
ccsync IRIX Power Fortran join accelerator.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service