arduino-audio-tools
Loading...
Searching...
No Matches
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_timg_vector
 
int open = 0
 
size_t pos = 0
 
size_t size = 0
 
uint64_t start = 0
 
const charwindow = "Movie"
 

Detailed Description

Display image with opencv to be used on the desktop.

Author
Phil Schatzmann

Member Function Documentation

◆ beginFrame()

void beginFrame ( size_t  jpegSize)
inlineoverridevirtual

Implements VideoOutput.

◆ endFrame()

uint32_t endFrame ( )
inlineoverridevirtual

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

Implements VideoOutput.

◆ write()

size_t write ( const uint8_t data,
size_t  len 
)
inlineoverridevirtual

Implements VideoOutput.


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