Package org.harctoolbox.analyze
Class AbstractBiphaseDecoder
java.lang.Object
org.harctoolbox.analyze.AbstractDecoder
org.harctoolbox.analyze.AbstractBiphaseDecoder
- Direct Known Subclasses:
BiphaseDecoder,BiphaseInvertDecoder,BiphaseWithDoubleToggleDecoder,BiphaseWithDurationDecoder,BiphaseWithDurationInvertDecoder,BiphaseWithTwoDurationsDecoder,BiphaseWithTwoDurationsInvertDecoder
-
Nested Class Summary
Nested classes/interfaces inherited from class org.harctoolbox.analyze.AbstractDecoder
AbstractDecoder.ParameterData -
Field Summary
FieldsFields inherited from class org.harctoolbox.analyze.AbstractDecoder
analyzer, bitSpec, CANNOT_MATCH, nameEngine, noPayload, NUMBERDECODERS, params, timebase -
Constructor Summary
ConstructorsConstructorDescriptionAbstractBiphaseDecoder(Analyzer analyzer, Analyzer.AnalyzerParams params, boolean invert) AbstractBiphaseDecoder(Analyzer analyzer, Analyzer.AnalyzerParams params, int half, int full, boolean invert) -
Method Summary
Modifier and TypeMethodDescriptionprotected static BitSpecmkBitSpec(double duration, double timebase, boolean invert, Burst.Preferences burstPrefs) protected List<IrStreamItem> parse(int beg, int length) protected abstract intMethods inherited from class org.harctoolbox.analyze.AbstractDecoder
decoderNames, dumpParameters, dumpParameters, getNoBitsLimit, name, newExtent, newFlash, newFlashOrGap, newGap, parse, parse, saveParameter, saveParameter, saveParameter
-
Field Details
-
half
protected final int half -
full
protected final int full
-
-
Constructor Details
-
AbstractBiphaseDecoder
public AbstractBiphaseDecoder(Analyzer analyzer, Analyzer.AnalyzerParams params, int half, int full, boolean invert) -
AbstractBiphaseDecoder
-
-
Method Details
-
mkBitSpec
protected static BitSpec mkBitSpec(double duration, double timebase, boolean invert, Burst.Preferences burstPrefs) -
parse
protected List<IrStreamItem> parse(int beg, int length) throws org.harctoolbox.analyze.DecodeException - Specified by:
parsein classAbstractDecoder- Throws:
org.harctoolbox.analyze.DecodeException
-
startDurations
protected abstract int startDurations()
-