![]() |
CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
|
结构体 | |
| struct | GetBitContext |
| struct | VLC |
| struct | RL_VLC_ELEM |
宏定义 | |
| #define | __STATIC_INLINE static inline |
| #define | letoh32(x) (x) |
| #define | betoh32(x) swap32(x) |
| #define | IBSS_ATTR |
| #define | ICONST_ATTR |
| #define | ICODE_ATTR |
| #define | ICODE_ATTR_FLAC ICODE_ATTR |
| #define | IBSS_ATTR_FLAC_DECODED0 IBSS_ATTR |
| #define | ALT_BITSTREAM_READER_BE |
| #define | NEG_SSR32(a, s) (((int32_t)(a))>>(32-(s))) |
| #define | NEG_USR32(a, s) (((uint32_t)(a))>>(32-(s))) |
| #define | VLC_TYPE int16_t |
| #define | MIN_CACHE_BITS 25 |
| #define | OPEN_READER(name, gb) |
| #define | CLOSE_READER(name, gb) (gb)->index= name##_index;\ |
| #define | UPDATE_CACHE(name, gb) name##_cache= unaligned32_be( ((const uint8_t *)(gb)->buffer)+(name##_index>>3) ) << (name##_index&0x07);\ |
| #define | SKIP_CACHE(name, gb, num) name##_cache <<= (num); |
| #define | SKIP_COUNTER(name, gb, num) name##_index += (num);\ |
| #define | SKIP_BITS(name, gb, num) |
| #define | LAST_SKIP_BITS(name, gb, num) SKIP_COUNTER(name, gb, num) |
| #define | LAST_SKIP_CACHE(name, gb, num) ; |
| #define | SHOW_UBITS(name, gb, num) NEG_USR32(name##_cache, num) |
| #define | SHOW_SBITS(name, gb, num) NEG_SSR32(name##_cache, num) |
| #define | GET_CACHE(name, gb) ((uint32_t)name##_cache) |
类型定义 | |
| typedef struct GetBitContext | GetBitContext |
| typedef struct VLC | VLC |
| typedef struct RL_VLC_ELEM | RL_VLC_ELEM |
函数 | |
| static unsigned short | swap16 (unsigned short value) |
| static unsigned long | swap32 (unsigned long value) |
| static uint32_t | unaligned32 (const void *v) |
| static int | unaligned32_be (const void *v) |
| static int | unaligned32_le (const void *v) |
| static int | get_bits_count (GetBitContext *s) |
| static int | get_sbits (GetBitContext *s, int n) |
| static unsigned int | get_bits (GetBitContext *s, int n) |
| static unsigned int | show_bits (GetBitContext *s, int n) |
| static void | skip_bits (GetBitContext *s, int n) |
| static unsigned int | get_bits1 (GetBitContext *s) |
| static unsigned int | show_bits1 (GetBitContext *s) |
| static void | skip_bits1 (GetBitContext *s) |
| static void | init_get_bits (GetBitContext *s, const uint8_t *buffer, int bit_size) |
| void | align_get_bits (GetBitContext *s) |
| struct GetBitContext |
| #define __STATIC_INLINE static inline |
| #define ALT_BITSTREAM_READER_BE |
| #define betoh32 | ( | x | ) | swap32(x) |
| #define CLOSE_READER | ( | name, | |
| gb | |||
| ) | (gb)->index= name##_index;\ |
| #define GET_CACHE | ( | name, | |
| gb | |||
| ) | ((uint32_t)name##_cache) |
| #define IBSS_ATTR |
| #define IBSS_ATTR_FLAC_DECODED0 IBSS_ATTR |
| #define ICODE_ATTR |
| #define ICODE_ATTR_FLAC ICODE_ATTR |
| #define ICONST_ATTR |
| #define LAST_SKIP_BITS | ( | name, | |
| gb, | |||
| num | |||
| ) | SKIP_COUNTER(name, gb, num) |
| #define LAST_SKIP_CACHE | ( | name, | |
| gb, | |||
| num | |||
| ) | ; |
| #define letoh32 | ( | x | ) | (x) |
| #define MIN_CACHE_BITS 25 |
| #define NEG_SSR32 | ( | a, | |
| s | |||
| ) | (((int32_t)(a))>>(32-(s))) |
| #define NEG_USR32 | ( | a, | |
| s | |||
| ) | (((uint32_t)(a))>>(32-(s))) |
| #define OPEN_READER | ( | name, | |
| gb | |||
| ) |
| #define SHOW_SBITS | ( | name, | |
| gb, | |||
| num | |||
| ) | NEG_SSR32(name##_cache, num) |
| #define SHOW_UBITS | ( | name, | |
| gb, | |||
| num | |||
| ) | NEG_USR32(name##_cache, num) |
| #define SKIP_BITS | ( | name, | |
| gb, | |||
| num | |||
| ) |
| #define SKIP_CACHE | ( | name, | |
| gb, | |||
| num | |||
| ) | name##_cache <<= (num); |
| #define SKIP_COUNTER | ( | name, | |
| gb, | |||
| num | |||
| ) | name##_index += (num);\ |
| #define UPDATE_CACHE | ( | name, | |
| gb | |||
| ) | name##_cache= unaligned32_be( ((const uint8_t *)(gb)->buffer)+(name##_index>>3) ) << (name##_index&0x07);\ |
| #define VLC_TYPE int16_t |
| typedef struct GetBitContext GetBitContext |
| typedef struct RL_VLC_ELEM RL_VLC_ELEM |
| void align_get_bits | ( | GetBitContext * | s | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
1.8.14