test public

Dependencies:   HttpServer_snapshot_mbed-os

Embed: (wiki syntax)

« Back to documentation index

EasyDec_Mov Class Reference

A class to communicate a EasyDec_Mov. More...

#include <EasyDec_Mov.h>

Inherits EasyDecoder.

Public Member Functions

virtual bool AnalyzeHeder (char *p_title, char *p_artist, char *p_album, uint16_t tag_size, FILE *fp)
 analyze header
virtual size_t GetNextData (void *buf, size_t len)
 get next data
virtual uint16_t GetChannel ()
 get channel
virtual uint16_t GetBlockSize ()
 get block size
virtual uint32_t GetSamplingRate ()
 get sampling rate

Static Public Member Functions

static void attach (Callback< void()> func, uint8_t *video_buf, uint32_t video_buf_size)
 Attach a function to be called when acquiring an image.

Detailed Description

A class to communicate a EasyDec_Mov.

Definition at line 29 of file EasyDec_Mov.h.


Member Function Documentation

bool AnalyzeHeder ( char *  p_title,
char *  p_artist,
char *  p_album,
uint16_t  tag_size,
FILE *  fp 
) [virtual]

analyze header

Parameters:
p_titletitle tag buffer
p_artistartist tag buffer
p_albumalbum tag buffer
tag_sizetag buffer size
fpfile pointer
Returns:
true = success, false = failure

Definition at line 38 of file EasyDec_Mov.cpp.

void attach ( Callback< void()>  func,
uint8_t *  video_buf,
uint32_t  video_buf_size 
) [static]

Attach a function to be called when acquiring an image.

Parameters:
funcpointer to the function to be called
video_bufvideo buffer address
video_buf_sizevideo buffer size

Definition at line 32 of file EasyDec_Mov.cpp.

uint16_t GetBlockSize (  ) [virtual]

get block size

Returns:
block size

Definition at line 137 of file EasyDec_Mov.cpp.

uint16_t GetChannel (  ) [virtual]

get channel

Returns:
channel

Definition at line 133 of file EasyDec_Mov.cpp.

size_t GetNextData ( void *  buf,
size_t  len 
) [virtual]

get next data

Parameters:
bufdata buffer address
lendata buffer length
Returns:
get data size

Definition at line 84 of file EasyDec_Mov.cpp.

uint32_t GetSamplingRate (  ) [virtual]

get sampling rate

Returns:
sampling rate

Definition at line 141 of file EasyDec_Mov.cpp.