aboutsummaryrefslogtreecommitdiffstats
path: root/libFDK/include/FDK_bitbuffer.h
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2018-09-06 16:26:15 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-09-06 16:26:15 -0700
commitf5b4032cb3734d802f93bad017955e7b552413b6 (patch)
treef02c1ae6c07492a2d87e3cc1f6a51317a55790bc /libFDK/include/FDK_bitbuffer.h
parenta083f27afba1da9e8fcdbd1792df435393e37fe8 (diff)
parent42f714f2ab2bc90ee320ef5f071a078179a59405 (diff)
downloadfdk-aac-f5b4032cb3734d802f93bad017955e7b552413b6.tar.gz
fdk-aac-f5b4032cb3734d802f93bad017955e7b552413b6.tar.bz2
fdk-aac-f5b4032cb3734d802f93bad017955e7b552413b6.zip
Merge "Prevent bit buffer counter overflow." into pi-dev
am: 42f714f2ab Change-Id: Iafb53ad6b61de977951f4a913250bcdc21e0af8d
Diffstat (limited to 'libFDK/include/FDK_bitbuffer.h')
-rw-r--r--libFDK/include/FDK_bitbuffer.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libFDK/include/FDK_bitbuffer.h b/libFDK/include/FDK_bitbuffer.h
index ed0b2f6..19a24b3 100644
--- a/libFDK/include/FDK_bitbuffer.h
+++ b/libFDK/include/FDK_bitbuffer.h
@@ -113,7 +113,6 @@ typedef struct {
UINT ValidBits;
UINT ReadOffset;
UINT WriteOffset;
- UINT BitCnt;
UINT BitNdx;
UCHAR *Buffer;
@@ -159,15 +158,10 @@ void FDK_pushBack(HANDLE_FDK_BITBUF hBitBuffer, const UINT numberOfBits,
void FDK_pushForward(HANDLE_FDK_BITBUF hBitBuffer, const UINT numberOfBits,
UCHAR config);
-void FDK_byteAlign(HANDLE_FDK_BITBUF hBitBuffer, UCHAR config);
-
UINT FDK_getValidBits(HANDLE_FDK_BITBUF hBitBuffer);
INT FDK_getFreeBits(HANDLE_FDK_BITBUF hBitBuffer);
-void FDK_setBitCnt(HANDLE_FDK_BITBUF hBitBuffer, const UINT value);
-INT FDK_getBitCnt(HANDLE_FDK_BITBUF hBitBuffer);
-
void FDK_Feed(HANDLE_FDK_BITBUF hBitBuffer, const UCHAR inputBuffer[],
const UINT bufferSize, UINT *bytesValid);