Image | Audio | Video |
---|---|---|
X |
Converts a video frame from a YUV color-value format, such as MPEG, to a 24-bit RGB format. The user must allocate a target buffer before issuing the API call.
Authorization
None
Library file
OS/2 and Windows | AIX, HP-UX, and Solaris |
---|---|
dmbmpeg.lib | libdmbmpeg.a (AIX) |
| libdmbmpeg.sl (HP-UX) |
| libdmbmpeg.so (Solaris) |
Include file
dmbshot.h
Syntax
long DBvFrameDataTo24BitRGB( unsigned char *RGB, DBvFrameData *fd, unsigned long dx, unsigned long dy );
Parameters
Error codes
Examples
Convert a video frame from MPEG to 24-bit RGB:
#include <dmbshot.h> rc = DBvFrameDataTo24BitRGB(RGB, &video->fd, video->dx, video->dy);