Searched refs:inBufferLen (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libstagefright/flac/dec/ |
D | FLACDecoder.cpp | 272 status_t FLACDecoder::parseMetadata(const uint8_t *inBuffer, size_t inBufferLen) { in parseMetadata() argument 273 ALOGV("parseMetadata: input size(%zu)", inBufferLen); in parseMetadata() 281 status_t err = addDataToBuffer(inBuffer, inBufferLen); in parseMetadata() 337 status_t FLACDecoder::decodeOneFrame(const uint8_t *inBuffer, size_t inBufferLen, in decodeOneFrame() argument 339 ALOGV("decodeOneFrame: input size(%zu)", inBufferLen); in decodeOneFrame() 345 if (inBufferLen != 0) { in decodeOneFrame() 346 status_t err = addDataToBuffer(inBuffer, inBufferLen); in decodeOneFrame() 418 status_t FLACDecoder::addDataToBuffer(const uint8_t *inBuffer, size_t inBufferLen) { in addDataToBuffer() argument 420 if (inBufferLen > SIZE_MAX - (mBufferDataSize - mBufferPos)) { in addDataToBuffer() 425 if (inBufferLen > mBufferLen - mBufferDataSize) { in addDataToBuffer() [all …]
|
D | FLACDecoder.h | 42 status_t parseMetadata(const uint8_t *inBuffer, size_t inBufferLen); 43 status_t decodeOneFrame(const uint8_t *inBuffer, size_t inBufferLen, 69 status_t addDataToBuffer(const uint8_t *inBuffer, size_t inBufferLen);
|