fplayer
C99 Falcon Sequence (fseq) file player for Light-O-Rama hardware (like xLights)
|
FSEQ compression block loading API. More...
Go to the source code of this file.
Functions | |
int | ComBlock_read (struct FC *fc, const struct tf_header_t *seq, int index, struct fd_list_s *list) |
Reads the given compression block (by index) from the given file controller and decompresses it (if supported). | |
int | ComBlock_count (struct FC *fc, const struct tf_header_t *seq) |
Determines the number of compression blocks available within the given sequence file. The FSEQ file header already contains a field, compressionBlockCount , that specifies the number of compression blocks, but other encoding programs are known to write additional zero-sized compression blocks to align write operations. This results in a discrepancy between the header field and the actual number of playable blocks in the sequence file. | |
FSEQ compression block loading API.
int ComBlock_count | ( | struct FC * | fc, |
const struct tf_header_t * | seq ) |
Determines the number of compression blocks available within the given sequence file. The FSEQ file header already contains a field, compressionBlockCount
, that specifies the number of compression blocks, but other encoding programs are known to write additional zero-sized compression blocks to align write operations. This results in a discrepancy between the header field and the actual number of playable blocks in the sequence file.
fc | target file controller instance |
seq | sequence file for file layout information |
int ComBlock_read | ( | struct FC * | fc, |
const struct tf_header_t * | seq, | ||
int | index, | ||
struct fd_list_s * | list ) |
Reads the given compression block (by index) from the given file controller and decompresses it (if supported).
fc | target file controller instance |
seq | sequence file for file layout information |
index | index of the compression block to read |
list | pointer to the list for storing the decompressed frame data |