
VP-790 Protocol – API Functions 69
If attempting to set foreground and background color to the same
tone an error message is reported E_OUT_OF_RANGE (0x5). The
same error code is generated for values greater than 7.
2.61 69BMoving Test Pattern Foreground Color
2.61.1 310BbyOsdTpgFgColSet
API index: 3290
Sets the foreground color of the moving test pattern.
Input Parameters
Name Type Range Description
Value UWORD32 0: Black
1: White
2: Yellow
3: Cyan
4: Green
5: Magenta
6: Red
7: Blue
Foreground color of the moving test
pattern.
Return Values
Name Type Range Description
Status BYTE 0x00-0xFF 0 if successful, error code otherwise
2.61.2 311BbyOsdTpgFgColGet
API index: 3291
Retrieves the foreground color of the moving test pattern.
Input Parameters
Name Type Range Description
Option BYTE 0: From cache
1: From SPD
Retrieval method
None
Return Values
Name Type Range Description
Status BYTE 0x00-0xFF 0 if successful, error code otherwise
Value UWORD32 0: Black
1: White
2: Yellow
3: Cyan
4: Green
5: Magenta
6: Red
7: Blue
Foreground color setting of the
moving test pattern.
Comentários a estes Manuais