arduino-audio-tools
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
JpegOpenCV Class Reference

Display image with opencv to be used on the desktop. More...

#include <JpegOpenCV.h>

Inheritance diagram for JpegOpenCV:
VideoOutput

Public Member Functions

void beginFrame (size_t jpegSize) override
 
uint32_t endFrame () override
 
size_t write (const uint8_t *data, size_t len) override
 

Protected Member Functions

void display ()
 

Protected Attributes

bool create_window = true
 
std::vector< uint8_t > img_vector
 
int open = 0
 
size_t pos = 0
 
size_t size = 0
 
uint64_t start = 0
 
const char * window = "Movie"
 

Detailed Description

Display image with opencv to be used on the desktop.

Author
Phil Schatzmann

Member Function Documentation

◆ endFrame()

uint32_t endFrame ( )
inlineoverridevirtual

dipsplay a single jpeg image, provides the milliseconds since the begin frame to calculate the necessary delay

Implements VideoOutput.


The documentation for this class was generated from the following file: