IBM Books

Image, Audio, and Video Extenders Administration and Programming


Displaying a full-size image or video frame

Use the DBiBrowse API to display an image that is stored in a database table. See Using the display or play APIs for detailed information on using this API.

Use the DBvGetNextFrame API or DBvSeekFrame API to get a full-size video frame. The frame is stored in YUV format in a buffer, and can be converted to RGB format using the DBvFrameDatato24BitRGB API. Append a header to the converted frame (for example, append a BMP file-type header) and write the header and frame data to a file. Then use the DBiBrowse API to display the contents of the file. See Chapter 14, Detecting video scene changes for detailed information about using the DBvGetNextFrame, DBvSeekNextFrame, and DBvFrameDatato24BitRGB APIs, and for further information about displaying a video frame.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]