Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The Wxutil.h header file in the DirectShow base classes provides functions and macros to help convert between VIDEOINFOHEADERand BITMAPINFOstructures.
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 VIDEOINFOHEADERstructure and related data. |
|
Finds the first palette entry in a VIDEOINFOHEADERstructure. |
|
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 VIDEOINFOHEADERstructures, which are used throughout DirectShow to describe video data streams.
Although similar to the BITMAPINFOstructure used in Microsoft® Win32® and existing multimedia, VIDEOINFOHEADERalso 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. |