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

  man pages->IRIX man pages -> video/vlgetnextvalid (3d)              
Title
Content
Arch
Section
 

Contents


VLGETNEXTVALID(3dm)					   VLGETNEXTVALID(3dm)


NAME    [Toc]    [Back]

     vlGetNextValid, vlGetLatestValid, vlGetActiveRegion, vlGetNextFree,
     vlGetDMediaInfo, vlGetImageInfo, vlPutValid, vlPutFree - VL buffer
     management	routines

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/vl.h>

     void *vlGetActiveRegion(VLServer vlServer,	VLBuffer buffer, VLInfoPtr info);
     DMediaInfo	*vlGetDMediaInfo(VLServer vlServer, VLBuffer buffer,
			 VLInfoPtr info);
     DMImageInfo *vlGetImageInfo(VLServer vlServer, VLBuffer buffer,
			 VLInfoPtr info);

     VLInfoPtr vlGetLatestValid(VLServer vlServer, VLBuffer buffer);
     VLInfoPtr vlGetNextFree(VLServer vlServer,	VLBuffer buffer, int size);
     VLInfoPtr vlGetNextValid(VLServer vlServer, VLBuffer buffer);

     int vlPutFree(VLServer vlServer, VLBuffer buffer);
     int vlPutValid(VLServer vlServer, VLBuffer	buffer);

DESCRIPTION    [Toc]    [Back]

     vlGetActiveRegion returns a pointer to the	video frame data.  The region
     is	determined by the settings of the VL_OFFSET controls.  The default is
     the region	of valid video data.

     vlGetDMediaInfo returns a pointer to a DMediaInfo struct containing
     general information.

     vlGetImageInfo returns a pointer to a DMImageInfo struct containing image
     specific info.

     vlGetLatestValid returns the info struct of the most recently received
     frame.

     vlGetNextFree returns the info struct of the next free buffer.

     vlGetNextValid returns the	info struct of the next	available frame.

     vlPutFree frees any frames	that were acquired via vlGetLatestValid	or
     vlGetNextValid.

     vlPutValid	marks a	buffer as ready	to be sent.

RETURN VALUE    [Toc]    [Back]

     Upon successful completion, vlGetLatestValid, vlGetNextFree,
     vlGetNextValid return valid pointers, otherwise a value of	NULL is
     returned. If a value returned is NULL, the	buffer should be checked with
     vlBufferDone(3dm) to see if more data can be written to the buffer. It is
     possible to get a NULL return value without a failure, if there is	no
     buffer available. In this case vlGetErrno will not	return a useful	error.




									Page 1






VLGETNEXTVALID(3dm)					   VLGETNEXTVALID(3dm)



     Upon successful completion	vlGetActiveRegion, vlGetDMediaInfo,
     vlGetImageInfo return valid pointers, otherwise they return NULL.

     vlPutFree and vlPutValid return VLSuccess on successful completion,
     otherwise a value of -1 is	returned. In all failure cases,	vlErrno	is set
     to	indicate the error.

SEE ALSO    [Toc]    [Back]

      
      
     vlCreateBuffer(3dm), vlRegisterBuffer(3dm)
VLGETNEXTVALID(3dm)					   VLGETNEXTVALID(3dm)


NAME    [Toc]    [Back]

     vlGetNextValid, vlGetLatestValid, vlGetActiveRegion, vlGetNextFree,
     vlGetDMediaInfo, vlGetImageInfo, vlPutValid, vlPutFree - VL buffer
     management	routines

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/vl.h>

     void *vlGetActiveRegion(VLServer vlServer,	VLBuffer buffer, VLInfoPtr info);
     DMediaInfo	*vlGetDMediaInfo(VLServer vlServer, VLBuffer buffer,
			 VLInfoPtr info);
     DMImageInfo *vlGetImageInfo(VLServer vlServer, VLBuffer buffer,
			 VLInfoPtr info);

     VLInfoPtr vlGetLatestValid(VLServer vlServer, VLBuffer buffer);
     VLInfoPtr vlGetNextFree(VLServer vlServer,	VLBuffer buffer, int size);
     VLInfoPtr vlGetNextValid(VLServer vlServer, VLBuffer buffer);

     int vlPutFree(VLServer vlServer, VLBuffer buffer);
     int vlPutValid(VLServer vlServer, VLBuffer	buffer);

DESCRIPTION    [Toc]    [Back]

     vlGetActiveRegion returns a pointer to the	video frame data.  The region
     is	determined by the settings of the VL_OFFSET controls.  The default is
     the region	of valid video data.

     vlGetDMediaInfo returns a pointer to a DMediaInfo struct containing
     general information.

     vlGetImageInfo returns a pointer to a DMImageInfo struct containing image
     specific info.

     vlGetLatestValid returns the info struct of the most recently received
     frame.

     vlGetNextFree returns the info struct of the next free buffer.

     vlGetNextValid returns the	info struct of the next	available frame.

     vlPutFree frees any frames	that were acquired via vlGetLatestValid	or
     vlGetNextValid.

     vlPutValid	marks a	buffer as ready	to be sent.

RETURN VALUE    [Toc]    [Back]

     Upon successful completion, vlGetLatestValid, vlGetNextFree,
     vlGetNextValid return valid pointers, otherwise a value of	NULL is
     returned. If a value returned is NULL, the	buffer should be checked with
     vlBufferDone(3dm) to see if more data can be written to the buffer. It is
     possible to get a NULL return value without a failure, if there is	no
     buffer available. In this case vlGetErrno will not	return a useful	error.




									Page 1






VLGETNEXTVALID(3dm)					   VLGETNEXTVALID(3dm)



     Upon successful completion	vlGetActiveRegion, vlGetDMediaInfo,
     vlGetImageInfo return valid pointers, otherwise they return NULL.

     vlPutFree and vlPutValid return VLSuccess on successful completion,
     otherwise a value of -1 is	returned. In all failure cases,	vlErrno	is set
     to	indicate the error.

SEE ALSO    [Toc]    [Back]

      
      
     vlCreateBuffer(3dm), vlRegisterBuffer(3dm)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
vlbufferreset IRIX VL buffer state management routines
vlDMBufferGetValid IRIX VL DMbuffer management routines
disklabel OpenBSD disk label management routines
disklabel NetBSD disk label management routines
realloc FreeBSD kernel memory management routines
bounds_check_with_label NetBSD disk label management routines
readdisklabel NetBSD disk label management routines
reallocf FreeBSD kernel memory management routines
setdisklabel NetBSD disk label management routines
writedisklabel NetBSD disk label management routines
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service