2 * @file encode_accessors.h
4 * @author Mathis Rosenhauer, Deutsches Klimarechenzentrum
5 * @author Moritz Hanke, Deutsches Klimarechenzentrum
6 * @author Joerg Behrens, Deutsches Klimarechenzentrum
7 * @author Luis Kornblueh, Max-Planck-Institut fuer Meteorologie
12 * Mathis Rosenhauer, Luis Kornblueh
16 * Deutsches Klimarechenzentrum GmbH Max-Planck-Institut fuer Meteorologie
17 * Bundesstr. 45a Bundesstr. 53
18 * 20146 Hamburg 20146 Hamburg
21 * All rights reserved.
23 * Redistribution and use in source and binary forms, with or without
24 * modification, are permitted provided that the following conditions
27 * 1. Redistributions of source code must retain the above copyright
28 * notice, this list of conditions and the following disclaimer.
29 * 2. Redistributions in binary form must reproduce the above
30 * copyright notice, this list of conditions and the following
31 * disclaimer in the documentation and/or other materials provided
32 * with the distribution.
34 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
35 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
36 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
37 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
38 * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
39 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
40 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
41 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
42 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
43 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
44 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
45 * OF THE POSSIBILITY OF SUCH DAMAGE.
47 * @section DESCRIPTION
49 * Read various data types from input stream
53 #ifndef ENCODE_ACCESSORS_H
54 #define ENCODE_ACCESSORS_H
64 uint32_t aec_get_8(struct aec_stream *strm);
65 uint32_t aec_get_lsb_16(struct aec_stream *strm);
66 uint32_t aec_get_msb_16(struct aec_stream *strm);
67 uint32_t aec_get_lsb_32(struct aec_stream *strm);
68 uint32_t aec_get_msb_24(struct aec_stream *strm);
69 uint32_t aec_get_lsb_24(struct aec_stream *strm);
70 uint32_t aec_get_msb_32(struct aec_stream *strm);
72 void aec_get_rsi_8(struct aec_stream *strm);
73 void aec_get_rsi_lsb_16(struct aec_stream *strm);
74 void aec_get_rsi_msb_16(struct aec_stream *strm);
75 void aec_get_rsi_lsb_24(struct aec_stream *strm);
76 void aec_get_rsi_msb_24(struct aec_stream *strm);
77 void aec_get_rsi_lsb_32(struct aec_stream *strm);
78 void aec_get_rsi_msb_32(struct aec_stream *strm);
80 #endif /* ENCODE_ACCESSORS_H */