Go to the documentation of this file.
84static inline int bsdecUsable(uint8_t
error) {
103void bsdecProfileReset(
void);
struct BsdecResult bsdecFrame(const void *
in, uint32_t inBytes, uint16_t *
out, uint32_t outHalfwords);
struct BsdecResult bsdecFrame(const void *in, uint32_t inBytes, uint16_t *out, uint32_t outHalfwords)
Decode one BS frame into MDEC run-level halfwords.
Definition bsdec.c:181
uint32_t bsdecRlHalfwords(const void *in, uint32_t inBytes)
How many run-level halfwords a frame decodes to.
Definition bsdec.c:175
BsdecError
Definition bsdec.h:64
@ BSDEC_NOT_BS
Definition bsdec.h:68
@ BSDEC_OUTPUT_TOO_SMALL
Definition bsdec.h:70
@ BSDEC_OK
Definition bsdec.h:65
@ BSDEC_OVERLONG
Definition bsdec.h:73
@ BSDEC_SHORT
Definition bsdec.h:67
@ BSDEC_TRUNCATED
Definition bsdec.h:72
@ BSDEC_BAD_VERSION
Definition bsdec.h:69
uint8_t error
Definition cdlreadn.c:858
uint32_t out
Definition cpu.c:62
char in[50]
Definition memcpy.c:79
uint32_t dcScanIters
Definition bsdec.h:98
uint32_t tDc
Definition bsdec.h:92
uint32_t blocks
Definition bsdec.h:94
uint32_t tAc
Definition bsdec.h:93
uint32_t refillBytes
Definition bsdec.h:97
uint32_t refillCalls
Definition bsdec.h:96
uint32_t acSymbols
Definition bsdec.h:95
uint8_t version
Definition bsdec.h:113
uint32_t mdecCommand
Definition bsdec.h:107
uint16_t qScale
Definition bsdec.h:112
uint32_t blocks
Definition bsdec.h:109
uint32_t halfwords
Definition bsdec.h:108
uint8_t error
Definition bsdec.h:114