GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Cryptkeeper/libtinyfseq: A tiny library for decoding FSEQ (.fseq) v2.0+ sequence files

BranchesTags
Open more actions menu

Latest commit

 

History

22 Commits
22 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
fuzz
fuzz
 
 
test
test
 
 
.clang-format
.clang-format
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
tinyfseq.h
tinyfseq.h
 
 

Repository files navigation

libtinyfseq

A single-file library (~150 LOC) for decoding FSEQ (.fseq) v2.0+ sequence files developed and popularized by the fpp and xLights programs. Additional documentation for the file format is available at Cryptkeeper/fseq-file-format.

Installation

  • Download and copy tinyfseq.h into your project locally, or to your toolchain's include paths
  • #include "tinyfseq.h" as expected (you may need to modify the path).
  • Define TINYFSEQ_IMPLEMENTATION in a single C/C++ source code file (more info on using single-file libraries)

A short example of including libtinyfseq and printing the library version is available in the form of a [test/build.c](unit test).

Compatibility

  • libtinyfseq uses stdint.h for fixed-size int types
  • libtinyfseq only supports FSEQ versions v2.x versions, with the schema initially released in 2018. Older v1.x files can be upgraded using the xLights program.

Usage

libtinyfseq provides decoding functions for the following components of a FSEQ file. See tinyfseq.h for comments describing their specific usage.

Function Schema Type
TFHeader_read https://github.com/Cryptkeeper/fseq-file-format#header TFHeader
TFVarHeader_read https://github.com/Cryptkeeper/fseq-file-format#variable TFVarHeader
TFChannelRange_read https://github.com/Cryptkeeper/fseq-file-format#sparse-range TFChannelRange
TFCompressionBlock_read https://github.com/Cryptkeeper/fseq-file-format#compression-block TFCompressionBlock

All decoding functions return a TFError value, with TF_OK indicating success. If an error occurs, the value will be non-zero. An error string can be retrieved via TFError_string (and should not be freed by the caller).

License

See LICENSE.txt

About

A tiny library for decoding FSEQ (.fseq) v2.0+ sequence files

Topics

falconfppxlights

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.