dmIC(3dm) dmIC(3dm)
dmICGetDstQueueFD, dmICGetSrcQueueFilled, dmICGetDstQueueFilled - image
converter queue management
#include <dmedia/dm_imageconvert.h>
int dmICGetDstQueueFD(DMimageconverter converter);
int dmICGetSrcQueueFilled(DMimageconverter converter);
int dmICGetDstQueueFilled(DMimageconverter converter);
dmICGetDstQueueFD returns the file descriptor of the output queue, that
becomes readable when output becomes available from the image converter.
A user may use this in readfds in select(2) or in pollfds in poll(2) in
an asynchronous application to receive notification when there is output
available from the image converter.
dmICGetDstQueueFilled returns the number of output buffers available to
be received from the image converter using dmICReceive.
dmICGetSrcQueueFilled returns the number of buffers which have been sent
with dmICSend but which have not yet reached the image convertor.
Buffers which are currently being converted are not counted towards
either of these filled counts.
dmICCreate(3dm), dmICReceive(3dm), dmICWork(3dm).
PPPPaaaaggggeeee 1111 [ Back ]
|