Bitmap Functions (Compact 2013)
3/26/2014
The Wxutil.h header file in the DirectShow base classes provides functions to help convert between VIDEOINFOHEADER and BITMAPINFO structures.
Programming element |
Description |
---|---|
Checks if the video image contains a color palette. |
|
Finds the number of bits per pixel. |
|
Finds the size (in bytes) needed to build a VIDEOINFOHEADER structure and related data. |
|
Finds the first palette entry in a VIDEOINFOHEADER structure. |
|
Finds the size (in bytes) needed to hold an image. |
|
Finds the GUID subtype for a given bitmap info header structure. |
|
Finds the (debug) name for a given GUID subtype. |
|
Finds the GUID subtype for a given bitmap header. |
These functions are made available to help manage VIDEOINFOHEADER structures, which are used throughout DirectShow to describe video data streams.
Although similar to the BITMAPINFO structure used in Microsoft® Win32® and existing multimedia, VIDEOINFOHEADER also adds some new video-specific fields.
Global data |
Description |
---|---|
bits555 |
Array of color bitmasks for an RGB 555 bitmap. |
bits565 |
Array of color bitmasks for an RGB 565 bitmap. |
bits888 |
Array of color bitmasks for an RGB 24-bit bitmap. |