#include <stream.h>
Data Fields | |
unsigned char const * | buffer |
input bitstream buffer | |
unsigned char const * | bufend |
end of buffer | |
unsigned long | skiplen |
bytes to skip before next frame | |
int | sync |
stream sync found | |
unsigned long | freerate |
free bitrate (fixed) | |
unsigned char const * | this_frame |
start of current frame | |
unsigned char const * | next_frame |
start of next frame | |
struct mad_bitptr | ptr |
current processing bit pointer | |
struct mad_bitptr | anc_ptr |
ancillary bits pointer | |
unsigned int | anc_bitlen |
number of ancillary bits | |
unsigned char(* | main_data )[MAD_BUFFER_MDLEN] |
Layer III main_data(). | |
unsigned int | md_len |
bytes in main_data | |
int | options |
decoding options (see below) | |
enum mad_error | error |
error code (see above) |
Definition at line 65 of file stream.h.
unsigned char const* mad_stream::buffer |
input bitstream buffer
Definition at line 66 of file stream.h.
Referenced by mad_stream_buffer(), and mad_stream_init().
unsigned char const* mad_stream::bufend |
end of buffer
Definition at line 67 of file stream.h.
Referenced by mad_header_decode(), mad_stream_buffer(), mad_stream_init(), and mad_stream_sync().
unsigned long mad_stream::skiplen |
bytes to skip before next frame
Definition at line 68 of file stream.h.
Referenced by mad_header_decode(), mad_stream_init(), and mad_stream_skip().
int mad_stream::sync |
stream sync found
Definition at line 70 of file stream.h.
Referenced by mad_header_decode(), mad_stream_buffer(), and mad_stream_init().
unsigned long mad_stream::freerate |
free bitrate (fixed)
Definition at line 71 of file stream.h.
Referenced by free_bitrate(), mad_header_decode(), and mad_stream_init().
unsigned char const* mad_stream::this_frame |
start of current frame
Definition at line 73 of file stream.h.
Referenced by error(), free_bitrate(), mad_frame_decode(), mad_header_decode(), mad_stream_buffer(), and mad_stream_init().
unsigned char const* mad_stream::next_frame |
start of next frame
Definition at line 74 of file stream.h.
Referenced by mad_frame_decode(), mad_header_decode(), mad_layer_III(), mad_stream_buffer(), and mad_stream_init().
struct mad_bitptr mad_stream::ptr [read] |
current processing bit pointer
Definition at line 75 of file stream.h.
Referenced by decode_header(), free_bitrate(), mad_frame_decode(), mad_header_decode(), mad_layer_I(), mad_layer_II(), mad_layer_III(), mad_stream_buffer(), mad_stream_finish(), mad_stream_init(), and mad_stream_sync().
struct mad_bitptr mad_stream::anc_ptr [read] |
ancillary bits pointer
Definition at line 77 of file stream.h.
Referenced by mad_frame_decode(), mad_layer_III(), mad_stream_finish(), and mad_stream_init().
unsigned int mad_stream::anc_bitlen |
number of ancillary bits
Definition at line 78 of file stream.h.
Referenced by mad_frame_decode(), mad_layer_III(), and mad_stream_init().
unsigned char(* mad_stream::main_data)[MAD_BUFFER_MDLEN] |
Layer III main_data().
Definition at line 80 of file stream.h.
Referenced by mad_layer_III(), mad_stream_finish(), and mad_stream_init().
unsigned int mad_stream::md_len |
bytes in main_data
Definition at line 82 of file stream.h.
Referenced by mad_layer_III(), and mad_stream_init().
decoding options (see below)
Definition at line 84 of file stream.h.
Referenced by mad_frame_decode(), and mad_stream_init().
error code (see above)
Definition at line 85 of file stream.h.
Referenced by decode_header(), error(), error_default(), free_bitrate(), mad_frame_decode(), mad_header_decode(), mad_layer_I(), mad_layer_II(), mad_layer_III(), mad_stream_errorstr(), mad_stream_init(), and run_sync().