encode_accessors.h 931 Bytes
Newer Older
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
1 2 3
#ifndef ENCODE_ACCESSORS_H
#define ENCODE_ACCESSORS_H

4 5 6 7 8 9
#include <config.h>

#if HAVE_STDINT_H
# include <stdint.h>
#endif

Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
10 11
#include "libaec.h"

Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
12 13 14 15 16 17 18
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
19

Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
20 21 22 23 24 25 26
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
27 28

#endif /* ENCODE_ACCESSORS_H */