Lines Matching refs:pTnsData
105 void CTns_Reset(CTnsData *pTnsData) in CTns_Reset() argument
108 FDKmemclear(pTnsData->Filter, TNS_MAX_WINDOWS*TNS_MAXIMUM_FILTERS*sizeof(CFilter)); in CTns_Reset()
109 FDKmemclear(pTnsData->NumberOfFilters, TNS_MAX_WINDOWS*sizeof(UCHAR)); in CTns_Reset()
110 pTnsData->DataPresent = 0; in CTns_Reset()
111 pTnsData->Active = 0; in CTns_Reset()
115 … CTnsData *pTnsData) /*!< pointer to aac decoder channel info */ in CTns_ReadDataPresentFlag() argument
117 pTnsData->DataPresent = (UCHAR) FDKreadBits(bs,1); in CTns_ReadDataPresentFlag()
129 CTnsData *pTnsData, in CTns_Read() argument
140 if (!pTnsData->DataPresent) { in CTns_Read()
146 pTnsData->NumberOfFilters[window] = n_filt = (UCHAR) FDKreadBits(bs, isLongFlag ? 2 : 1); in CTns_Read()
148 if (pTnsData->NumberOfFilters[window] > TNS_MAXIMUM_FILTERS){ in CTns_Read()
149 pTnsData->NumberOfFilters[window] = n_filt = TNS_MAXIMUM_FILTERS; in CTns_Read()
163 CFilter *filter = &pTnsData->Filter[window][index]; in CTns_Read()
210 pTnsData->Active = 1; in CTns_Read()
334 CTnsData *RESTRICT pTnsData, /*!< pointer to aac decoder info */ in CTns_Apply() argument
344 if (pTnsData->Active) in CTns_Apply()
352 for (index=0; index < pTnsData->NumberOfFilters[window]; index++) in CTns_Apply()
354 CFilter *RESTRICT filter = &pTnsData->Filter[window][index]; in CTns_Apply()