dmFXJoinFields man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



dmFXJoinFields(3dm)					   dmFXJoinFields(3dm)

NAME
     dmFXJoinFields - join two fields into a single frame

SYNOPSIS
     #include <dmedia/fx_buffer.h>

     DMstatus dmFXJoinFields
	   ( int inputUsage,
	     DMfxbuffer *fieldA,
	     DMfxbuffer *fieldB,
	     DMfxbuffer *dstFrame )

PARAMETERS
     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
     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
     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
     dmFXSplitFields(3dm), dmFXMovieRenderFields(3dm),
     dmFXMovieInsertFields(3dm), dmFXAllocateImageBuffers(3dm), DMbuffer(4)

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net