libdcp
|
Create frequency-shift-keyed samples for encoding synchronization signals. More...
#include <fsk.h>
Public Member Functions | |
void | set_data (std::vector< bool > data) |
int32_t | get () |
Private Attributes | |
std::vector< bool > | _data |
int | _data_position = 0 |
int | _sample_position = 0 |
bool | _last_polarity = false |
bool | _last_bit = false |
Create frequency-shift-keyed samples for encoding synchronization signals.
An array of data is given to a FSK object using set_data(), and on calling get() this data will be returned in a the D-Cinema FSK "format", sample by sample, starting with the MSB of the first byte in the data array.
int32_t FSK::get | ( | ) |
|
private |
|
private |
|
private |
|
private |