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

 JpegOpenCV ()=default
 
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

Constructor & Destructor Documentation

◆ JpegOpenCV()

JpegOpenCV ( )
default

Member Function Documentation

◆ beginFrame()

void beginFrame ( size_t  jpegSize)
inlineoverridevirtual

Implements VideoOutput.

◆ display()

void display ( )
inlineprotected

◆ 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.

Member Data Documentation

◆ create_window

bool create_window = true
protected

◆ img_vector

std::vector<uint8_t> img_vector
protected

◆ open

int open = 0
protected

◆ pos

size_t pos = 0
protected

◆ size

size_t size = 0
protected

◆ start

uint64_t start = 0
protected

◆ window

const char* window = "Movie"
protected

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