Lines Matching refs:ancData

200 static AAC_DECODER_ERROR CAacDecoder_AncDataReset(CAncData *ancData)  in CAacDecoder_AncDataReset()  argument
205 ancData->offset[i] = 0; in CAacDecoder_AncDataReset()
207 ancData->nrElements = 0; in CAacDecoder_AncDataReset()
221 AAC_DECODER_ERROR CAacDecoder_AncDataInit(CAncData *ancData, unsigned char *buffer, int size) in CAacDecoder_AncDataInit() argument
224 ancData->buffer = buffer; in CAacDecoder_AncDataInit()
225 ancData->bufferSize = size; in CAacDecoder_AncDataInit()
227 CAacDecoder_AncDataReset(ancData); in CAacDecoder_AncDataInit()
245 AAC_DECODER_ERROR CAacDecoder_AncDataGet(CAncData *ancData, int index, unsigned char **ptr, int *si… in CAacDecoder_AncDataGet() argument
252 if (index >= 0 && index < 8 && index < ancData->nrElements) in CAacDecoder_AncDataGet()
254 *ptr = &ancData->buffer[ancData->offset[index]]; in CAacDecoder_AncDataGet()
255 *size = ancData->offset[index+1] - ancData->offset[index]; in CAacDecoder_AncDataGet()
273 CAncData *ancData, in CAacDecoder_AncDataParse() argument
280 if (ancData->buffer != NULL) in CAacDecoder_AncDataParse()
284 int offset = ancData->offset[ancData->nrElements]; in CAacDecoder_AncDataParse()
286 if ((offset + ancBytes) > ancData->bufferSize) in CAacDecoder_AncDataParse()
290 else if (ancData->nrElements >= 8-1) in CAacDecoder_AncDataParse()
299 ancData->buffer[i+offset] = FDKreadBits(hBs, 8); in CAacDecoder_AncDataParse()
303 ancData->nrElements++; in CAacDecoder_AncDataParse()
304 ancData->offset[ancData->nrElements] = ancBytes + ancData->offset[ancData->nrElements-1]; in CAacDecoder_AncDataParse()
333 CAncData *ancData; in CDataStreamElement_Read() local
340 ancData = &self->ancData; in CDataStreamElement_Read()
363 error = CAacDecoder_AncDataParse(ancData, bs, count); in CDataStreamElement_Read()
605 CAacDecoder_AncDataParse(&self->ancData, hBs, dataElementLength); in CAacDecoder_ExtPayloadParse()
742 CAacDecoder_AncDataInit(&self->ancData, NULL, 0); in CAacDecoder_Open()
1146 CAacDecoder_AncDataReset(&self->ancData); in CAacDecoder_DecodeFrame()