Lines Matching refs:hInput
162 HANDLE_TRANSPORTDEC hInput; in C_ALLOC_MEM() local
164 hInput = GetRam_TransportDecoder(0); in C_ALLOC_MEM()
165 if ( hInput == NULL ) { in C_ALLOC_MEM()
170 hInput->transportFmt = transportFmt; in C_ALLOC_MEM()
179 hInput->parser.adts.decoderCanDoMpeg4 = 1; in C_ALLOC_MEM()
181 hInput->parser.adts.decoderCanDoMpeg4 = 0; in C_ALLOC_MEM()
182 adtsRead_CrcInit(&hInput->parser.adts); in C_ALLOC_MEM()
183 hInput->parser.adts.BufferFullnesStartFlag = 1; in C_ALLOC_MEM()
184 hInput->numberOfRawDataBlocks = 0; in C_ALLOC_MEM()
188 drmRead_CrcInit(&hInput->parser.drm); in C_ALLOC_MEM()
198 FreeRam_TransportDecoder(&hInput); in C_ALLOC_MEM()
199 hInput = NULL; in C_ALLOC_MEM()
203 if (hInput != NULL) { in C_ALLOC_MEM()
206 hInput->bsBuffer = NULL; in C_ALLOC_MEM()
208 hInput->bsBuffer = GetRam_TransportDecoderBuffer(0); in C_ALLOC_MEM()
209 if (hInput->bsBuffer == NULL) { in C_ALLOC_MEM()
210 transportDec_Close( &hInput ); in C_ALLOC_MEM()
213 … FDKinitBitStream(&hInput->bitStream[0], hInput->bsBuffer, TRANSPORTDEC_INBUF_SIZE, 0, BS_READER); in C_ALLOC_MEM()
216 hInput->burstPeriod = 0; in C_ALLOC_MEM()
219 return hInput; in C_ALLOC_MEM()