MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / mad_bit_init

Function mad_bit_init

modules/data/mp3/libmad/bit.c:88–94  ·  view source on GitHub ↗

* NAME: bit->init() * DESCRIPTION: initialize bit pointer struct */

Source from the content-addressed store, hash-verified

86 * DESCRIPTION: initialize bit pointer struct
87 */
88void mad_bit_init(struct mad_bitptr *bitptr, unsigned char const *byte)
89{
90 stack(__FUNCTION__, __FILE__, __LINE__);
91 bitptr->byte = byte;
92 bitptr->cache = 0;
93 bitptr->left = CHAR_BIT;
94}
95
96/*
97 * NAME: bit->length()

Callers 6

mad_header_decodeFunction · 0.85
mad_frame_decodeFunction · 0.85
mad_stream_initFunction · 0.85
mad_stream_bufferFunction · 0.85
mad_stream_syncFunction · 0.85
mad_layer_IIIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected