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 |
---|---|
Compares the masks of two video images. |
|
Retrieves a pointer to the array of bitmasks for the specified VIDEOINFOHEADERstructure. |
|
Retrieves a pointer to an array of RGBQUADstructures that describes the color palette for the specified VIDEOINFOHEADERstructure. |
|
Calculates the byte size of the specified bitmap |
|
Retrieves a pointer to the image data from the specified video image. |
|
Retrieves the sequence header for the specified MPEG-1 video image. |
|
Checks if the video image's color palette is 8-bit or less. |
|
Returns the number of colors in the video image's palette. |
|
Clears the specified video image's bitmasks. |
|
Clears the specified video image. |
|
Clears the specified video image's color palette. |
|
Calculates the size of the EGA (4-bit) color palette. |
|
Calculates the size of the mask's color palette. |
|
Calculates the size of the specified MPEG-1 video image. |
|
Calculates the size of the 8-bit color palette. |
|
Calculates the byte offset for the video image's bitmap information. |
|
Calculates the size of the video image. |
|
Retrieves a pointer to an array of TRUECOLORINFOstructures that describes the bitmasks and color palette for the specified VIDEOINFOHEADERstructure. |
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. |