VideoStd
This module describes the video standards (D1 NTSC, D1 PAL, 720P, 1080I etc.) used by the various DMAI modules. It has no state, so no creation of an instance is required.
More...
|
Defines |
#define | VideoStd_QVGA_WIDTH 320 |
#define | VideoStd_QVGA_HEIGHT 240 |
#define | VideoStd_CIF_WIDTH 352 |
#define | VideoStd_CIF_HEIGHT 288 |
#define | VideoStd_SIF_WIDTH 352 |
#define | VideoStd_SIF_NTSC_HEIGHT 240 |
#define | VideoStd_SIF_PAL_HEIGHT 288 |
#define | VideoStd_VGA_WIDTH 640 |
#define | VideoStd_VGA_HEIGHT 480 |
#define | VideoStd_D1_WIDTH 720 |
#define | VideoStd_D1_NTSC_HEIGHT 480 |
#define | VideoStd_D1_PAL_HEIGHT 576 |
#define | VideoStd_480P_WIDTH 720 |
#define | VideoStd_480P_HEIGHT 480 |
#define | VideoStd_576P_WIDTH 720 |
#define | VideoStd_576P_HEIGHT 576 |
#define | VideoStd_720P_WIDTH 1280 |
#define | VideoStd_720P_HEIGHT 720 |
#define | VideoStd_1080I_WIDTH 1920 |
#define | VideoStd_1080I_HEIGHT 1080 |
#define | VideoStd_1080P_WIDTH 1920 |
#define | VideoStd_1080P_HEIGHT 1080 |
Enumerations |
enum | VideoStd_Type {
VideoStd_AUTO = 0,
VideoStd_CIF,
VideoStd_SIF_NTSC,
VideoStd_SIF_PAL,
VideoStd_VGA,
VideoStd_D1_NTSC,
VideoStd_D1_PAL,
VideoStd_480P,
VideoStd_576P,
VideoStd_720P_60,
VideoStd_720P_50,
VideoStd_720P_30,
VideoStd_1080I_30,
VideoStd_1080I_25,
VideoStd_1080P_30,
VideoStd_1080P_25,
VideoStd_1080P_24,
VideoStd_QVGA,
VideoStd_1080P_60,
VideoStd_1080P_50,
VideoStd_1080I_60,
VideoStd_COUNT
} |
| Video standards. More...
|
Functions |
Int | VideoStd_getResolution (VideoStd_Type videoStd, Int32 *widthPtr, Int32 *heightPtr) |
| Returns the resolution of a given video standard.
|
Detailed Description
This module describes the video standards (D1 NTSC, D1 PAL, 720P, 1080I etc.) used by the various DMAI modules. It has no state, so no creation of an instance is required.
Define Documentation
#define VideoStd_QVGA_WIDTH 320 |
#define VideoStd_QVGA_HEIGHT 240 |
#define VideoStd_CIF_WIDTH 352 |
#define VideoStd_CIF_HEIGHT 288 |
#define VideoStd_SIF_WIDTH 352 |
#define VideoStd_SIF_NTSC_HEIGHT 240 |
Height in pixels of SIF NTSC
#define VideoStd_SIF_PAL_HEIGHT 288 |
Height in pixels of SIF PAL
#define VideoStd_VGA_WIDTH 640 |
#define VideoStd_VGA_HEIGHT 480 |
#define VideoStd_D1_WIDTH 720 |
#define VideoStd_D1_NTSC_HEIGHT 480 |
Height in pixels of D1 NTSC
#define VideoStd_D1_PAL_HEIGHT 576 |
Height in pixels of D1 PAL
#define VideoStd_480P_WIDTH 720 |
#define VideoStd_480P_HEIGHT 480 |
Height in pixels for 480P
#define VideoStd_576P_WIDTH 720 |
#define VideoStd_576P_HEIGHT 576 |
Height in pixels for 576P
#define VideoStd_720P_WIDTH 1280 |
#define VideoStd_720P_HEIGHT 720 |
#define VideoStd_1080I_WIDTH 1920 |
#define VideoStd_1080I_HEIGHT 1080 |
Height in pixels of 1080I
#define VideoStd_1080P_WIDTH 1920 |
#define VideoStd_1080P_HEIGHT 1080 |
Height in pixels of 1080P
Enumeration Type Documentation
Video standards.
- Enumerator:
-
VideoStd_AUTO |
Automatically select standard (if supported) |
VideoStd_CIF |
CIF @ 30 frames per second |
VideoStd_SIF_NTSC |
SIF @ 30 frames per second |
VideoStd_SIF_PAL |
SIF @ 25 frames per second |
VideoStd_VGA |
VGA (640x480) @ 60 frames per second |
VideoStd_D1_NTSC |
D1 NTSC @ 30 frames per second |
VideoStd_D1_PAL |
D1 PAL @ 25 frames per second |
VideoStd_480P |
D1 Progressive NTSC @ 60 frames per second |
VideoStd_576P |
D1 Progressive PAL @ 50 frames per second |
VideoStd_720P_60 |
720P @ 60 frames per second |
VideoStd_720P_50 |
720P @ 50 frames per second |
VideoStd_720P_30 |
720P @ 30 frames per second |
VideoStd_1080I_30 |
1080I @ 30 frames per second |
VideoStd_1080I_25 |
1080I @ 25 frames per second |
VideoStd_1080P_30 |
1080P @ 30 frames per second |
VideoStd_1080P_25 |
1080P @ 25 frames per second |
VideoStd_1080P_24 |
1080P @ 24 frames per second |
VideoStd_QVGA |
QVGA @ 30 frames per second |
VideoStd_1080P_60 |
1080P @ 60 frames per second |
VideoStd_1080P_50 |
1080P @ 50 frames per second |
VideoStd_1080I_60 |
1080I @ 60 frames per second |
VideoStd_COUNT |
|
Function Documentation
Int VideoStd_getResolution |
( |
VideoStd_Type |
videoStd, |
|
|
Int32 * |
widthPtr, |
|
|
Int32 * |
heightPtr | |
|
) |
| | |
Returns the resolution of a given video standard.
- Parameters:
-
[in] | videoStd | The VideoStd_Type to return the resolution of. |
[out] | widthPtr | A pointer to where the width is returned. |
[out] | heightPtr | A pointer to where the height is returned. |
- Return values:
-
| Dmai_EOK | on success. |
| Negative value | for failure, see Dmai.h. |