no-OS
Loading...
Searching...
No Matches
camera_overlay.h File Reference

Tiny RGB565 text renderer for the camera statistics band. More...

#include <stdint.h>
#include "camera_ipc.h"
Include dependency graph for camera_overlay.h:

Functions

void camera_overlay_line (uint8_t *tile_pixels, const char *text)
 Render one line of overlay text into a camera tile.
 
void camera_overlay_color_key (uint8_t *tile_pixels)
 Draw red, green, blue and white reference swatches into a tile.
 

Detailed Description

Tiny RGB565 text renderer for the camera statistics band.

Author
Victor Pascu (victo.nosp@m.r.pa.nosp@m.scu@a.nosp@m.nalo.nosp@m.g.com)

Copyright 2026(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ camera_overlay_color_key()

void camera_overlay_color_key ( uint8_t * tile_pixels)

Draw red, green, blue and white reference swatches into a tile.

Parameters
tile_pixels- RGB565 tile buffer, CAMERA_TILE_BYTES long.

◆ camera_overlay_line()

void camera_overlay_line ( uint8_t * tile_pixels,
const char * text )

Render one line of overlay text into a camera tile.

Parameters
tile_pixels- RGB565 tile buffer, CAMERA_TILE_BYTES long.
text- NUL-terminated text; it is truncated at the frame width.