Searched refs:frameLength (Results 1 – 8 of 8) sorted by relevance
/hardware/qcom/msm8996/kernel-headers/linux/ |
D | msm_audio_alac.h | 25 uint32_t frameLength; member
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
D | msm_audio_alac.h | 10 uint32_t frameLength; member
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
D | OMX_G711Dec_Utils.c | 1504 OMX_U32 frameLength = 0; in G711DECHandleDataBuf_FromApp() local 1533 frameLength = pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nBufferSize; in G711DECHandleDataBuf_FromApp() 1535 if ( pBufHeader->nFilledLen >= frameLength ) { in G711DECHandleDataBuf_FromApp() 1540 pComponentPrivate->nHoldLength = pBufHeader->nFilledLen - frameLength; in G711DECHandleDataBuf_FromApp() 1593 frameLength = (pComponentPrivate->pPortDef[G711DEC_INPUT_PORT]->nBufferSize); in G711DECHandleDataBuf_FromApp() 1595 if ( pComponentPrivate->nHoldLength >= frameLength ) { in G711DECHandleDataBuf_FromApp() 1597 memcpy(pBufHeader->pBuffer,pComponentPrivate->pHoldBuffer,frameLength); in G711DECHandleDataBuf_FromApp() 1600 pComponentPrivate->nHoldLength = pComponentPrivate->nHoldLength - frameLength; in G711DECHandleDataBuf_FromApp() 1603 pExtraData = pComponentPrivate->pHoldBuffer + frameLength; in G711DECHandleDataBuf_FromApp() 1604 if (frameLength >= pComponentPrivate->nHoldLength) in G711DECHandleDataBuf_FromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/ |
D | OMX_WbAmrEnc_Utils.c | 1698 OMX_U32 frameLength, remainingBytes; in WBAMRENC_HandleDataBufFromApp() local 1719 frameLength = WBAMRENC_INPUT_FRAME_SIZE; in WBAMRENC_HandleDataBufFromApp() 1720 nFrames = (OMX_U8)(pBufHeader->nFilledLen / frameLength); in WBAMRENC_HandleDataBufFromApp() 1724 pComponentPrivate->nHoldLength = pBufHeader->nFilledLen - frameLength * nFrames; in WBAMRENC_HandleDataBufFromApp() 1735 pExtraData = pBufHeader->pBuffer + frameLength * nFrames; in WBAMRENC_HandleDataBufFromApp() 1836 frameLength = WBAMRENC_INPUT_BUFFER_SIZE; in WBAMRENC_HandleDataBufFromApp() 1837 nFrames = (OMX_U8)(pBufHeader->nFilledLen / frameLength); in WBAMRENC_HandleDataBufFromApp() 1838 pComponentPrivate->nHoldLength = pBufHeader->nFilledLen - frameLength * nFrames; in WBAMRENC_HandleDataBufFromApp() 1880 frameLength = WBAMRENC_INPUT_FRAME_SIZE; in WBAMRENC_HandleDataBufFromApp() 1963 frameLength * nFrames, in WBAMRENC_HandleDataBufFromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/ |
D | OMX_G729Enc_Utils.c | 1881 OMX_U32 inputBufferSize =0, frameLength =0; in G729ENC_LCMLCallback() local 1997 frameLength = G729ENC_INPUT_FRAME_SIZE; in G729ENC_LCMLCallback() 1998 if (pComponentPrivate->nHoldLength >= frameLength) in G729ENC_LCMLCallback() 2001 … memcpy(pLcmlHdr->buffer->pBuffer, pComponentPrivate->pHoldBuffer, frameLength); in G729ENC_LCMLCallback() 2005 if (pComponentPrivate->nHoldLength - frameLength < frameLength) { in G729ENC_LCMLCallback() 2007 pComponentPrivate->pHoldBuffer + frameLength, in G729ENC_LCMLCallback() 2008 pComponentPrivate->nHoldLength - frameLength); in G729ENC_LCMLCallback() 2012 pComponentPrivate->pHoldBuffer + frameLength, in G729ENC_LCMLCallback() 2013 pComponentPrivate->nHoldLength - frameLength); in G729ENC_LCMLCallback() 2017 … pComponentPrivate->nHoldLength = pComponentPrivate->nHoldLength - frameLength; in G729ENC_LCMLCallback() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/ |
D | OMX_AmrEnc_Utils.c | 1577 OMX_U32 frameLength, remainingBytes; in NBAMRENC_HandleDataBufFromApp() local 1595 frameLength = NBAMRENC_INPUT_FRAME_SIZE; in NBAMRENC_HandleDataBufFromApp() 1596 nFrames = (OMX_U8)(pBufHeader->nFilledLen / frameLength); in NBAMRENC_HandleDataBufFromApp() 1598 … pComponentPrivate->nHoldLength = pBufHeader->nFilledLen - frameLength*nFrames; in NBAMRENC_HandleDataBufFromApp() 1605 … pExtraData = pBufHeader->pBuffer + frameLength*nFrames; in NBAMRENC_HandleDataBufFromApp() 1684 frameLength = NBAMRENC_INPUT_FRAME_SIZE; in NBAMRENC_HandleDataBufFromApp() 1685 nFrames = (OMX_U8)(pBufHeader->nFilledLen / frameLength); in NBAMRENC_HandleDataBufFromApp() 1686 … pComponentPrivate->nHoldLength = pBufHeader->nFilledLen - frameLength*nFrames; in NBAMRENC_HandleDataBufFromApp() 1732 frameLength = NBAMRENC_INPUT_FRAME_SIZE; in NBAMRENC_HandleDataBufFromApp() 2125 OMX_U16 i,index,frameLength, length; in NBAMRENC_LCMLCallback() local [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/ |
D | OMX_AmrDec_Utils.c | 1713 OMX_U32 frameLength; in NBAMRDECHandleDataBuf_FromApp() local 1774 frameLength=INPUT_NBAMRDEC_BUFFER_SIZE_MIME; in NBAMRDECHandleDataBuf_FromApp() 1865 frameLength=INPUT_NBAMRDEC_BUFFER_SIZE_MIME; in NBAMRDECHandleDataBuf_FromApp() 1866 … nFrames=pBufHeader->nAllocLen / frameLength; /*to get the corresponding header in the LCML */ in NBAMRDECHandleDataBuf_FromApp() 1871 frameLength=INPUT_NBAMRDEC_BUFFER_SIZE_IF2; in NBAMRDECHandleDataBuf_FromApp() 1912 frameLength = STD_NBAMRDEC_BUF_SIZE; /*/ non Mime mode*/ in NBAMRDECHandleDataBuf_FromApp() 1913 nFrames = (OMX_U8)(pBufHeader->nFilledLen / frameLength); in NBAMRDECHandleDataBuf_FromApp() 1919 pComponentPrivate->nHoldLength = pBufHeader->nFilledLen - frameLength*nFrames; in NBAMRDECHandleDataBuf_FromApp() 1987 frameLength = pComponentPrivate->amrMimeBytes[index]; in NBAMRDECHandleDataBuf_FromApp() 1993 frameLength = pComponentPrivate->amrIF2Bytes[index]; in NBAMRDECHandleDataBuf_FromApp() [all …]
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/ |
D | OMX_WbAmrDec_Utils.c | 1728 OMX_U32 frameLength; in WBAMR_DEC_HandleDataBuf_FromApp() local 1900 frameLength = INPUT_WBAMRDEC_BUFFER_SIZE; /*/ non Mime mode*/ in WBAMR_DEC_HandleDataBuf_FromApp() 1901 nFrames = (OMX_U8)(pBufHeader->nFilledLen / frameLength); in WBAMR_DEC_HandleDataBuf_FromApp() 1907 pComponentPrivate->nHoldLength = pBufHeader->nFilledLen - frameLength*nFrames; in WBAMR_DEC_HandleDataBuf_FromApp() 1975 frameLength = pComponentPrivate->wbamrMimeBytes[index]; in WBAMR_DEC_HandleDataBuf_FromApp() 1981 frameLength = pComponentPrivate->wbamrIf2Bytes[index]; in WBAMR_DEC_HandleDataBuf_FromApp() 1985 frameLength = INPUT_WBAMRDEC_BUFFER_SIZE; in WBAMR_DEC_HandleDataBuf_FromApp() 1987 nFrames = (OMX_U8)(pComponentPrivate->nHoldLength / frameLength); in WBAMR_DEC_HandleDataBuf_FromApp() 1991 if ((nFrames*frameLength) > pBufHeader->nAllocLen) in WBAMR_DEC_HandleDataBuf_FromApp() 1996 memcpy(pBufHeader->pBuffer,pComponentPrivate->pHoldBuffer,nFrames*frameLength); in WBAMR_DEC_HandleDataBuf_FromApp() [all …]
|