encode_accessors.h 885 Bytes
Newer Older
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
1 2 3 4 5 6
#ifndef ENCODE_ACCESSORS_H
#define ENCODE_ACCESSORS_H

#include <inttypes.h>
#include "libaec.h"

Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
7 8 9 10 11 12 13
uint32_t get_8(struct aec_stream *strm);
uint32_t get_lsb_16(struct aec_stream *strm);
uint32_t get_msb_16(struct aec_stream *strm);
uint32_t get_lsb_32(struct aec_stream *strm);
uint32_t get_msb_24(struct aec_stream *strm);
uint32_t get_lsb_24(struct aec_stream *strm);
uint32_t get_msb_32(struct aec_stream *strm);
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
14

Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
15 16 17 18 19 20 21
extern void (*get_block_funcs_8[4])(struct aec_stream *);
extern void (*get_block_funcs_lsb_16[4])(struct aec_stream *);
extern void (*get_block_funcs_msb_16[4])(struct aec_stream *);
extern void (*get_block_funcs_lsb_24[4])(struct aec_stream *);
extern void (*get_block_funcs_msb_24[4])(struct aec_stream *);
extern void (*get_block_funcs_lsb_32[4])(struct aec_stream *);
extern void (*get_block_funcs_msb_32[4])(struct aec_stream *);
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
22 23

#endif /* ENCODE_ACCESSORS_H */