ArithmeticCoding  0.0.0a
Arithmetic coding in C
Classes | Typedefs | Functions
C:/Users/clackn/Desktop/src/arithcode/src/stream.h File Reference
#include <stdint.h>
#include <stdlib.h>

Go to the source code of this file.

Classes

struct  _stream_t

Typedefs

typedef struct _stream_t stream_t

Functions

void attach (stream_t *s, void *d, size_t n)
void detach (stream_t *s, void **d, size_t *n)
void push_u1 (stream_t *s, uint8_t v)
void push_u4 (stream_t *s, uint8_t v)
void push_u8 (stream_t *s, uint8_t v)
void push_u16 (stream_t *s, uint16_t v)
void push_u32 (stream_t *s, uint32_t v)
void push_u64 (stream_t *s, uint64_t v)
void push_i8 (stream_t *s, int8_t v)
void push_i16 (stream_t *s, int16_t v)
void push_i32 (stream_t *s, int32_t v)
void push_i64 (stream_t *s, int64_t v)
uint8_t pop_u1 (stream_t *s)
uint8_t pop_u4 (stream_t *s)
uint8_t pop_u8 (stream_t *s)
uint16_t pop_u16 (stream_t *s)
uint32_t pop_u32 (stream_t *s)
uint64_t pop_u64 (stream_t *s)
int8_t pop_i8 (stream_t *s)
int16_t pop_i16 (stream_t *s)
int32_t pop_i32 (stream_t *s)
int64_t pop_i64 (stream_t *s)
void carry_u1 (stream_t *s)
void carry_u4 (stream_t *s)
void carry_u8 (stream_t *s)
void carry_u16 (stream_t *s)
void carry_u32 (stream_t *s)
void carry_u64 (stream_t *s)

Typedef Documentation

typedef struct _stream_t stream_t

Function Documentation

void attach ( stream_t s,
void *  d,
size_t  n 
)

Definition at line 38 of file stream.c.

void carry_u1 ( stream_t s)

Definition at line 178 of file stream.c.

void carry_u16 ( stream_t s)
void carry_u32 ( stream_t s)
void carry_u4 ( stream_t s)

Definition at line 192 of file stream.c.

void carry_u64 ( stream_t s)
void carry_u8 ( stream_t s)
void detach ( stream_t s,
void **  d,
size_t *  n 
)

Definition at line 46 of file stream.c.

int16_t pop_i16 ( stream_t s)
int32_t pop_i32 ( stream_t s)
int64_t pop_i64 ( stream_t s)
int8_t pop_i8 ( stream_t s)
uint8_t pop_u1 ( stream_t s)

Definition at line 131 of file stream.c.

uint16_t pop_u16 ( stream_t s)
uint32_t pop_u32 ( stream_t s)
uint8_t pop_u4 ( stream_t s)

Definition at line 145 of file stream.c.

uint64_t pop_u64 ( stream_t s)
uint8_t pop_u8 ( stream_t s)
void push_i16 ( stream_t s,
int16_t  v 
)
void push_i32 ( stream_t s,
int32_t  v 
)
void push_i64 ( stream_t s,
int64_t  v 
)
void push_i8 ( stream_t s,
int8_t  v 
)
void push_u1 ( stream_t s,
uint8_t  v 
)

Definition at line 77 of file stream.c.

void push_u16 ( stream_t s,
uint16_t  v 
)
void push_u32 ( stream_t s,
uint32_t  v 
)
void push_u4 ( stream_t s,
uint8_t  v 
)

Definition at line 95 of file stream.c.

void push_u64 ( stream_t s,
uint64_t  v 
)
void push_u8 ( stream_t s,
uint8_t  v 
)
 All Classes Files Functions Variables Typedefs Defines