OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
bitstream.c File Reference
#include "coder.h"
#include "assembly.h"

Go to the source code of this file.

Functions

void SetBitstreamPointer (BitStreamInfo *bsi, int nBytes, unsigned char *buf)
 
unsigned int GetBits (BitStreamInfo *bsi, int nBits)
 
int CalcBitsUsed (BitStreamInfo *bsi, unsigned char *startBuf, int startOffset)
 
int CheckPadBit (MP3DecInfo *mp3DecInfo)
 
int UnpackFrameHeader (MP3DecInfo *mp3DecInfo, unsigned char *buf)
 
int UnpackSideInfo (MP3DecInfo *mp3DecInfo, unsigned char *buf)
 

Function Documentation

◆ CalcBitsUsed()

int CalcBitsUsed ( BitStreamInfo * bsi,
unsigned char * startBuf,
int startOffset )

Definition at line 165 of file bitstream.c.

◆ CheckPadBit()

int CheckPadBit ( MP3DecInfo * mp3DecInfo)

Definition at line 188 of file bitstream.c.

◆ GetBits()

unsigned int GetBits ( BitStreamInfo * bsi,
int nBits )

Definition at line 129 of file bitstream.c.

◆ SetBitstreamPointer()

void SetBitstreamPointer ( BitStreamInfo * bsi,
int nBytes,
unsigned char * buf )

Definition at line 60 of file bitstream.c.

◆ UnpackFrameHeader()

int UnpackFrameHeader ( MP3DecInfo * mp3DecInfo,
unsigned char * buf )

Definition at line 218 of file bitstream.c.

◆ UnpackSideInfo()

int UnpackSideInfo ( MP3DecInfo * mp3DecInfo,
unsigned char * buf )

Definition at line 302 of file bitstream.c.