Home
last modified time | relevance | path

Searched refs:pFramingInfo (Results 1 – 3 of 3) sorted by relevance

/external/aac/libSACenc/src/
Dsacenc_framewindowing.cpp317 const INT timeSlots, FRAMINGINFO *const pFramingInfo, in fdk_sacenc_frameWindow_GetWindow() argument
322 if ((hFrameWindow == NULL) || (tr_pos == NULL) || (pFramingInfo == NULL) || in fdk_sacenc_frameWindow_GetWindow()
500 pFramingInfo->numParamSets = pFrameWinList->n; in fdk_sacenc_frameWindow_GetWindow()
501 pFramingInfo->bsFramingType = 1; /* variable framing */ in fdk_sacenc_frameWindow_GetWindow()
502 for (ps = 0; ps < pFramingInfo->numParamSets; ps++) { in fdk_sacenc_frameWindow_GetWindow()
503 pFramingInfo->bsParamSlots[ps] = pFrameWinList->dat[ps].slot; in fdk_sacenc_frameWindow_GetWindow()
508 if ((pFramingInfo->numParamSets == 1) && in fdk_sacenc_frameWindow_GetWindow()
509 (pFramingInfo->bsParamSlots[0] == timeSlots - 1)) { in fdk_sacenc_frameWindow_GetWindow()
510 pFramingInfo->bsFramingType = 0; in fdk_sacenc_frameWindow_GetWindow()
Dsacenc_bitstream.cpp621 const FRAMINGINFO *const pFramingInfo, in writeFramingInfo() argument
625 if ((hBitstream == NULL) || (pFramingInfo == NULL)) { in writeFramingInfo()
628 FDKwriteBits(hBitstream, pFramingInfo->bsFramingType, 1); in writeFramingInfo()
629 FDKwriteBits(hBitstream, pFramingInfo->numParamSets - 1, 1); in writeFramingInfo()
631 if (pFramingInfo->bsFramingType) { in writeFramingInfo()
633 int numParamSets = pFramingInfo->numParamSets; in writeFramingInfo()
640 FDKwriteBits(hBitstream, pFramingInfo->bsParamSlots[ps], in writeFramingInfo()
Dsacenc_framewindowing.h171 const INT timeSlots, FRAMINGINFO *const pFramingInfo,