|
FabGL2 2.0.0
ESP32 Display Controller and Graphics Library for ESP-IDF
|
Composite video (PAL/NTSC) bitmapped display controller with 16 colors. More...
#include <cvbs16controller.h>

Public Member Functions | |
| virtual int | colorsCount () |
| Determines the number of colors this display provides. | |
| DisplayControllerType | controllerType () |
| Determines the display controller type. | |
| void | enableBackgroundPrimitiveExecution (bool value) |
| Enables or disables drawing during the vertical retrace. | |
| void | enableBackgroundPrimitiveTimeout (bool value) |
| Enables or disables the execution time limit of the vertical retrace interrupt. | |
| int | getScreenHeight () |
| Determines the screen height in pixels. | |
| int | getScreenWidth () |
| Determines the screen width in pixels. | |
| int | getViewPortHeight () |
| Determines the height of the viewport. | |
| int | getViewPortWidth () |
| Determines the width of the viewport. | |
| bool | isDoubleBuffered () |
| Determines whether the display controller is in double buffered mode. | |
| bool | isDoubleBufferedEnabled () |
| Determines whether the display controller is in double buffered mode and double buffering is currently active. | |
| NativePixelFormat | nativePixelFormat () |
| Determines the native pixel format of this display. | |
| void | processPrimitives () |
| Immediately draws all primitives in the queue. | |
| void | refreshSprites () |
| Forces the sprites to be updated. | |
| void | removeSprites () |
| Empties the list of active sprites. | |
| virtual void | resumeBackgroundPrimitiveExecution () |
| Resumes drawings after suspendBackgroundPrimitiveExecution(). | |
| void | setMonochrome (bool value) |
| Enables or disables monochrome output (no color burst). | |
| void | setMouseCursor (Cursor *cursor) |
| Sets the mouse cursor and makes it visible. | |
| void | setMouseCursor (CursorName cursorName) |
| Sets the mouse cursor from a set of predefined cursors. | |
| void | setMouseCursorPos (int X, int Y) |
| Sets the mouse cursor position. | |
| void | setPaletteItem (int index, RGB888 const &color) |
| Sets the color of the specified palette item. | |
| template<typename T> | |
| void | setSprites (T *sprites, int count) |
| Sets the list of active sprites. | |
| void | suspendBackgroundPrimitiveExecution () |
| Suspends drawings. | |
| virtual bool | suspendDoubleBuffering (bool value) |
| Suspends or resumes double buffering. | |
Static Public Member Functions | |
| static CVBS16Controller * | instance () |
| Returns the singleton instance of the CVBS16Controller class. | |
Static Public Attributes | |
| static int | queueSize = 1024 |
| Size of the display controller primitives queue. | |
Composite video (PAL/NTSC) bitmapped display controller with 16 colors.
CVBS16Controller generates a composite video signal (CVBS) using the internal DAC. Each pixel is represented by 4 bits, an index into a palette of 16 colors.
Example:
fabgl::CVBS16Controller displayController;
displayController.begin(GPIO_NUM_25); // composite output on GPIO 25 (DAC)
displayController.setResolution("P-PAL-B"); // progressive PAL-B
Definition at line 71 of file cvbs16controller.h.