|
Home2L - C/C++ API v1.4-2-g83f4c (2025-08-23)
Smart Tools for a Private Home
|
#include "phone.H"
Public Attributes | |
| bool | changed |
| Set on change, reset on fetching. | |
Frame format. | |
| EPhoneVideoFormat | format |
| Pixel format. | |
| int | h |
| Image dimensions. | |
Frame data references. | |
The following fields describe an image either by a single chunk suitable for 'SDL_UpdateTexture()' or in separate planes as accepted by 'SDL_UpdateYUVTexture()'. The plane references are used if 'data == NULL' and 'planeY != NULL'. | |
| uint8_t * | data |
| Data, if all planes contiguous in memory (for 'SDL_UpdateTexture()') | |
| int | pitch |
| number of bytes between rows (for 'data != NULL') | |
| uint8_t * | planeV |
| color planes (Y, U, V) (for 'SDL_UpdateYUVTexture()') | |
| int | pitchV |
| number of bytes between rows (for 'SDL_UpdateYUVTexture()') | |