TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bitstream.h"
Go to the source code of this file.
Macros | |
#define | DEFAULT_BUFSIZE (128) |
Functions | |
BitStream * | BitStream_new (void) |
static int | BitStream_expand (BitStream *bstream) |
static void | BitStream_writeNum (unsigned char *dest, size_t bits, unsigned int num) |
static void | BitStream_writeBytes (unsigned char *dest, size_t size, unsigned char *data) |
int | BitStream_append (BitStream *bstream, BitStream *arg) |
int | BitStream_appendNum (BitStream *bstream, size_t bits, unsigned int num) |
int | BitStream_appendBytes (BitStream *bstream, size_t size, unsigned char *data) |
unsigned char * | BitStream_toByte (BitStream *bstream) |
void | BitStream_free (BitStream *bstream) |
#define DEFAULT_BUFSIZE (128) |
Definition at line 29 of file bitstream.c.
Referenced by BitStream_new().
Definition at line 128 of file bitstream.c.
References BitStream_expand(), BitStream::data, BitStream::datasize, and BitStream::length.
Definition at line 166 of file bitstream.c.
References BitStream_expand(), BitStream_writeBytes(), BitStream::data, BitStream::datasize, and BitStream::length.
Referenced by QRinput_encodeMode8(), and QRinput_encodeModeFNC1Second().
Definition at line 150 of file bitstream.c.
References BitStream_expand(), BitStream_writeNum(), BitStream::data, BitStream::datasize, and BitStream::length.
Referenced by QRinput_appendPaddingBit(), QRinput_appendPaddingBitMQR(), QRinput_encodeMode8(), QRinput_encodeModeAn(), QRinput_encodeModeECI(), QRinput_encodeModeFNC1Second(), QRinput_encodeModeKanji(), QRinput_encodeModeNum(), and QRinput_encodeModeStructure().
Definition at line 73 of file bitstream.c.
References BitStream::data, and BitStream::datasize.
Referenced by BitStream_append(), BitStream_appendBytes(), and BitStream_appendNum().
void BitStream_free | ( | BitStream * | bstream | ) |
Definition at line 223 of file bitstream.c.
References BitStream::data, and free().
Referenced by QRinput_getByteStream(), QRinput_List_freeEntry(), and QRinput_splitQRinputToStruct().
BitStream* BitStream_new | ( | void | ) |
Definition at line 31 of file bitstream.c.
References BitStream::data, BitStream::datasize, DEFAULT_BUFSIZE, free(), BitStream::length, and malloc().
Referenced by QRinput_getByteStream(), and QRinput_splitQRinputToStruct().
unsigned char* BitStream_toByte | ( | BitStream * | bstream | ) |
Definition at line 182 of file bitstream.c.
References BitStream_size, BitStream::data, and malloc().
Referenced by QRinput_getByteStream().
|
static |
Definition at line 107 of file bitstream.c.
Referenced by BitStream_appendBytes().
|
static |
Definition at line 88 of file bitstream.c.
Referenced by BitStream_appendNum().