projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'refs/heads/t/autoplay-fix'
[paraslash.git]
/
wma.h
diff --git
a/wma.h
b/wma.h
index 33e34a3515b482c9f682e6c7472dbc7ec711e190..15b9c5d492560f2c6532935460cc7ca4f38ca571 100644
(file)
--- a/
wma.h
+++ b/
wma.h
@@
-20,12
+20,18
@@
struct asf_header_info {
uint32_t bit_rate;
/** Further decoding information (ignored). */
uint32_t flags1;
uint32_t bit_rate;
/** Further decoding information (ignored). */
uint32_t flags1;
- /**
Whether to use exp_vlc, bit reservoir, variable block len
. */
+ /**
Encodes exp_vlc, bit reservoir, vbl, number of block sizes
. */
uint16_t flags2;
uint16_t flags2;
+ /** Whether exponents are coded with VLC codes. */
+ bool use_exp_vlc;
+ /** If false, a frame is equal to a superframe. */
+ bool use_bit_reservoir;
+ /** Whether blocks are of variable or of constant size. */
+ bool use_variable_block_len;
};
/* wma_common.c */
};
/* wma_common.c */
-int wma_log2(unsigned int v);
+
__a_const
int wma_log2(unsigned int v);
const char *search_pattern(const char *pattern, int pattern_len,
const char *buf, int buf_size);
int read_asf_header(const char *buf, int loaded, struct asf_header_info *ahi);
const char *search_pattern(const char *pattern, int pattern_len,
const char *buf, int buf_size);
int read_asf_header(const char *buf, int loaded, struct asf_header_info *ahi);