Module |
|
Header |
/Engine/Plugins/Media/LinearTimecode/Source/LinearTimecode/Public/LinearTimecodeDecoder.h |
Include |
#include "LinearTimecodeDecoder.h" |
class FLinearTimecodeDecoder
Process audio samples to extract Linear Timecode Signal
Name | Description | ||
---|---|---|---|
|
bCurrent |
Helper to detect zero crossings/edges of the input signal. |
|
|
bFlip |
Indicates that we're expecting the second half of a logical 1. |
|
|
float |
Center |
Sample value to detect zero crossings/edges of the input signal. |
|
Clock |
Counts number of samples since last edge. |
|
|
Cycles |
Estimates number of samples for a logical 1 in the LTC stream. |
|
|
FrameMax |
Keeps track of largest frame value received, helps estimate FrameRate. |
|
|
FrameRate |
Tries to infer FrameRate based on frame value rollovers. |
|
|
MaxSamplesPerEdge |
Maximum allowable samples per edge in the signal. Helps filter out noise. |
|
|
MinSamplesPerEdge |
Minimum allowable samples per edge in the signal. Helps filter out noise. |
|
|
uint16[6] |
TimecodeBits |
Holds the stream to be decoded as bits come in. |
Name | Description | |
---|---|---|
|
FLinearTimecodeDecoder() |
Public interface, methods |
Name | Description | ||
---|---|---|---|
|
AdjustCycles ( |
Tries to calculate the number of clocks per bit. |
|
|
DecodeBitStream ( |
||
|
DecodeFrame ( |
||
|
HasCompleteFrame ( |
||
|
Reset() |
Flush internal state of timecode reader |
|
|
Sample ( |
Analyze a single sample, looking for a time code pattern |
|
|
ShiftAndInsert |
Add bit to decoded stream. |
Name |
Description |
|
---|---|---|
|
EDecodePattern |
Used to extract timecode from bit stream |
Name |
Description |
---|---|
BackwardPattern |
|
ForwardPattern |