/frameworks/av/libvideoeditor/vss/src/ |
M4VSS3GPP_AudioMixing.c | 53 M4VSS3GPP_intAudioMixingOpen( M4VSS3GPP_InternalAudioMixingContext *pC, 56 M4VSS3GPP_InternalAudioMixingContext *pC ); 58 M4VSS3GPP_InternalAudioMixingContext *pC ); 60 M4VSS3GPP_InternalAudioMixingContext *pC ); 62 M4VSS3GPP_InternalAudioMixingContext *pC ); 64 M4VSS3GPP_InternalAudioMixingContext *pC ); 66 M4VSS3GPP_InternalAudioMixingContext *pC ); 68 M4VSS3GPP_InternalAudioMixingContext *pC ); 70 M4VSS3GPP_InternalAudioMixingContext *pC ); 72 M4VSS3GPP_InternalAudioMixingContext *pC ); [all...] |
M4VSS3GPP_EditAudio.c | 48 *pC ); 50 *pC, M4OSA_UInt8 uiClipNumber ); 52 *pC, M4OSA_UInt8 uiClip1orClip2, 56 *pC, M4OSA_Int16 *pPCMdata1, 65 * @param pC (IN/OUT) Internal edit context 68 M4OSA_ERR M4VSS3GPP_intEditJumpMP3( M4VSS3GPP_InternalEditContext *pC ) 71 M4VSS3GPP_ClipContext *pClip = pC->pC1; /**< shortcut */ 88 pC->State = M4VSS3GPP_kEditState_MP3; 105 * @param pC (IN/OUT) Internal edit context 108 M4OSA_ERR M4VSS3GPP_intEditStepMP3( M4VSS3GPP_InternalEditContext *pC ) [all...] |
M4PTO3GPP_API.c | 83 static M4OSA_ERR M4PTO3GPP_Ready4Processing(M4PTO3GPP_InternalContext* pC); 159 M4PTO3GPP_InternalContext *pC; 171 pC = (M4PTO3GPP_InternalContext*)M4OSA_32bitAlignedMalloc(sizeof(M4PTO3GPP_InternalContext), M4PTO3GPP, 173 *pContext = pC; 174 if (M4OSA_NULL == pC) 184 pC->m_State = M4PTO3GPP_kState_CREATED; 185 pC->m_VideoState = M4PTO3GPP_kStreamState_NOSTREAM; 186 pC->m_AudioState = M4PTO3GPP_kStreamState_NOSTREAM; 190 pC->m_pReaderAudioAU = M4OSA_NULL; 191 pC->m_pReaderAudioStream = M4OSA_NULL [all...] |
M4VSS3GPP_Codecs.c | 40 M4OSA_ERR M4VSS3GPP_clearInterfaceTables( M4VSS3GPP_MediaAndCodecCtxt *pC ) 44 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, 48 pC->pWriterGlobalFcts = M4OSA_NULL; 49 pC->pWriterDataFcts = M4OSA_NULL; 50 pC->pVideoEncoderGlobalFcts = M4OSA_NULL; 51 pC->pAudioEncoderGlobalFcts = M4OSA_NULL; 52 pC->pCurrentAudioEncoderUserData = M4OSA_NULL; 53 pC->pCurrentAudioDecoderUserData = M4OSA_NULL; 55 pC->pCurrentVideoEncoderExternalAPI = M4OSA_NULL; 56 pC->pCurrentVideoEncoderUserData = M4OSA_NULL [all...] |
M4AIR_API.c | 122 M4AIR_InternalContext* pC = M4OSA_NULL ; 130 pC = (M4AIR_InternalContext*)M4OSA_32bitAlignedMalloc(sizeof(M4AIR_InternalContext), 132 M4ERR_CHECK_NULL_RETURN_VALUE(M4ERR_ALLOC, pC) ; 152 pC->m_inputFormat = inputFormat; 153 pC->m_state = M4AIR_kCreated; 156 *pContext = pC ; 162 if(M4OSA_NULL != pC) 164 free(pC) ; 186 M4AIR_InternalContext* pC = (M4AIR_InternalContext*)pContext ; 191 if((M4AIR_kCreated != pC->m_state)&&(M4AIR_kConfigured != pC->m_state) [all...] |
M4VSS3GPP_Edit.c | 61 M4VSS3GPP_InternalEditContext *pC ); 63 M4VSS3GPP_intCreateMP3OutputFile( M4VSS3GPP_InternalEditContext *pC, 66 M4VSS3GPP_InternalEditContext *pC ); 68 M4VSS3GPP_intComputeOutputVideoAndAudioDsi( M4VSS3GPP_InternalEditContext *pC, 71 M4VSS3GPP_InternalEditContext *pC ); 117 M4VSS3GPP_InternalEditContext *pC; 137 pC = (M4VSS3GPP_InternalEditContext 140 *pContext = pC; 142 memset((void *)pC, 0,sizeof(M4VSS3GPP_InternalEditContext)); 144 if( M4OSA_NULL == pC ) [all...] |
M4PTO3GPP_VideoPreProcessing.c | 77 M4PTO3GPP_InternalContext *pC = (M4PTO3GPP_InternalContext*)(pContext); 81 if (M4OSA_FALSE == pC->m_bLastInternalCallBack) 83 err = pC->m_Params.pPictureCallbackFct(pC->m_Params.pPictureCallbackCtxt, pPlaneOut, 97 if (M4OSA_TRUE == pC->m_IsLastPicture) 104 pC->m_bLastInternalCallBack = M4OSA_TRUE; /* Toggle flag for the final call of the CB*/ 105 pC->m_IsLastPicture = M4OSA_TRUE; /* To stop the encoder */ 106 pC->pSavedPlane = pPlaneOut; /* Save the last YUV plane ptr */ 107 pC->uiSavedDuration = (M4OSA_UInt32)mtDuration; /* Save the last duration */ 114 /**< Only necessary for pC->m_mtNextCts below...* [all...] |
M4READER_Amr.c | 104 M4READER_AMR_Context* pC=(M4READER_AMR_Context*)context; 107 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, 112 if (M4OSA_NULL == pC) 119 free(pC); 138 M4READER_AMR_Context* pC = (M4READER_AMR_Context*)context; 142 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, 147 err = M4AMRR_openRead( &pC->m_pCoreContext, pFileDescriptor, pC->m_pOsaFileReaderFcts); 166 M4READER_AMR_Context* pC = (M4READER_AMR_Context*)context; 171 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER [all...] |
M4VSS3GPP_EditVideo.c | 65 M4VSS3GPP_InternalEditContext *pC ); 67 M4VSS3GPP_intCheckVideoEffects( M4VSS3GPP_InternalEditContext *pC, 70 M4VSS3GPP_InternalEditContext *pC, M4VIFI_ImagePlane *pPlaneIn, 74 M4VSS3GPP_intVideoTransition( M4VSS3GPP_InternalEditContext *pC, 78 M4VSS3GPP_intUpdateTimeInfo( M4VSS3GPP_InternalEditContext *pC, 93 M4VSS3GPP_InternalEditContext *pC, 99 M4VSS3GPP_InternalEditContext *pC, 102 M4VSS3GPP_InternalEditContext *pC, 117 M4VSS3GPP_InternalEditContext *pC, 125 * @param pC (IN/OUT) Internal edit contex [all...] |
M4READER_Pcm.c | 96 M4READER_PCM_Context* pC = (M4READER_PCM_Context*)context; 99 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, 102 free(pC); 118 M4READER_PCM_Context* pC = (M4READER_PCM_Context*)context; 122 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, 127 err = M4PCMR_openRead(&(pC->m_coreContext), (M4OSA_Char*)pFileDescriptor, 128 pC->m_pOsaFileReaderFcts); 145 M4READER_PCM_Context* pC = (M4READER_PCM_Context*)context; 149 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, 153 if (M4OSA_NULL != pC->m_pAudioStream [all...] |
M4AD_Null.c | 81 M4AD_NullContext* pC; 88 pC = (M4AD_NullContext*)M4OSA_32bitAlignedMalloc(sizeof(M4AD_NullContext), 90 if (pC == (M4AD_NullContext*)0) 96 *pContext = pC; 98 pC->m_pAudioStreamhandler = pStreamHandler; 116 M4AD_NullContext* pC = (M4AD_NullContext*)context; 120 free(pC); 144 M4AD_NullContext* pC = (M4AD_NullContext*)context; 158 if (pC->m_pAudioStreamhandler->m_byteSampleSize == 1)
|
M4xVSS_internal.c | 501 M4xVSS_PictureCallbackCtxt* pC = (M4xVSS_PictureCallbackCtxt*) (pPictureCtxt); 530 if(M4OSA_TRUE == pC->m_pPto3GPPparams->isPanZoom && pC->m_NbImage == 0) 532 pC->m_pPto3GPPparams->isPanZoom = M4OSA_FALSE; 536 if(pC->m_mediaRendering == M4xVSS_kResizing && M4OSA_FALSE == pC->m_pPto3GPPparams->isPanZoom) 542 pC->m_pPto3GPPparams->width,pC->m_pPto3GPPparams->height); 543 err = M4xVSS_internalConvertAndResizeARGB8888toYUV420(pC->m_FileIn, 544 pC->m_pFileReadPtr, pImagePlanes,pC->m_pPto3GPPparams->width [all...] |
/frameworks/av/libvideoeditor/vss/mcs/src/ |
M4MCS_API.c | 87 static M4OSA_ERR M4MCS_intStepSet( M4MCS_InternalContext *pC ); 89 M4MCS_InternalContext *pC ); 91 M4MCS_InternalContext *pC ); 93 M4MCS_InternalContext *pC ); 94 static M4OSA_ERR M4MCS_intPrepareWriter( M4MCS_InternalContext *pC ); 96 M4MCS_InternalContext *pC ); 98 M4MCS_InternalContext *pC, 101 M4MCS_InternalContext *pC ); 103 M4MCS_InternalContext *pC ); 104 static M4OSA_ERR M4MCS_intAudioNullEncoding( M4MCS_InternalContext *pC ); [all...] |
M4MCS_Codecs.c | 51 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext; 54 M4OSA_DEBUG_IF1((M4OSA_NULL == pC), M4ERR_PARAMETER, "invalid context pointer"); 57 pC->pWriterGlobalFcts = M4OSA_NULL; 58 pC->pWriterDataFcts = M4OSA_NULL; 59 pC->pVideoEncoderGlobalFcts = M4OSA_NULL; 60 pC->pAudioEncoderGlobalFcts = M4OSA_NULL; 62 pC->pCurrentVideoEncoderExternalAPI = M4OSA_NULL; 63 pC->pCurrentVideoEncoderUserData = M4OSA_NULL; 67 pC->WriterInterface[i].pGlobalFcts = M4OSA_NULL; 68 pC->WriterInterface[i].pDataFcts = M4OSA_NULL [all...] |
M4MCS_AudioEffects.c | 58 M4OSA_ERR M4MCS_intCheckAudioEffects(M4MCS_InternalContext* pC) 60 M4OSA_Int8 *pActiveEffectNumber = &(pC->pActiveEffectNumber); 64 if(pC->ReaderAudioAU.m_CTS > pC->uiBeginCutTime 65 && pC->ReaderAudioAU.m_CTS < pC->uiEndCutTime) 70 (M4OSA_UInt32)(pC->ReaderAudioAU.m_CTS - pC->uiBeginCutTime + 0.5); 72 for(uiEffectIndex=0; uiEffectIndex<pC->nbEffects; uiEffectIndex++) 75 (M4OSA_UInt32)(pC->pEffects[uiEffectIndex].uiStartTime)) & [all...] |
M4MCS_VideoPreProcessing.c | 79 M4MCS_InternalContext *pC = (M4MCS_InternalContext*)(pContext); 81 M4_MediaTime mtCts = pC->dViDecCurrentCts; 91 if(pC->MediaRendering == M4MCS_kBlackBorders) 100 else if ((M4OSA_NULL == pC->ReaderVideoAU.m_dataAddress) || 101 (M4OSA_NULL == pC->pViDecCtxt)) 118 if(pC->isRenderDup == M4OSA_FALSE) 122 if (M4OSA_NULL != pC->pPreResizeFrame) 129 err = pC->m_pVideoDecoder->m_pFctRender(pC->pViDecCtxt, &mtCts, 130 pC->pPreResizeFrame, M4OSA_TRUE) [all...] |
/frameworks/base/media/jni/mediaeditor/ |
VideoBrowserMain.c | 56 VideoBrowserContext* pC = (VideoBrowserContext*)pContext; 65 CHECK_STATE(videoBrowserSetWindow, VideoBrowser_kVBOpened, pC); 67 pC->m_outputPlane[0].u_topleft = 0; 69 pC->m_outputPlane[0].u_height = dy; 70 pC->m_outputPlane[0].u_width = dx; 71 pC->m_x = x; 72 pC->m_y = y; 74 if (pC->m_frameColorType == VideoBrowser_kGB565) { 75 pC->m_outputPlane[0].u_stride = pC->m_outputPlane[0].u_width << 1 [all...] |
VideoEditorThumbnailMain.cpp | 102 ThumbnailContext* pC = NULL; 107 pC = (ThumbnailContext*)pCallbackUserData ; 108 CHECK_PTR(VBcallback, pC->m_pVideoBrowser, err, M4ERR_PARAMETER); 113 if (pC->m_dst32 != NULL) 115 M4OSA_Int32* dst = pC->m_dst32; 123 for (i = pPlane->u_width; i < pC->m_width; i++) 128 dst += pC->m_width; 131 else if (pC->m_dst16 != NULL) 133 M4OSA_Int16* dst = pC->m_dst16; 138 for (i = pPlane->u_width; i < pC->m_width; i++ [all...] |
VideoBrowserInternal.h | 53 #define CHECK_STATE(fct, state, pC) \ 55 if (state != pC->m_state) \ 57 M4OSA_TRACE1_1("" #fct " called in bad state %d", pC->m_state) ; \
|
/frameworks/av/libvideoeditor/vss/inc/ |
M4VSS3GPP_InternalFunctions.h | 52 * @param pC (IN/OUT) Internal edit context 55 M4OSA_ERR M4VSS3GPP_intEditStepVideo(M4VSS3GPP_InternalEditContext *pC); 61 * @param pC (IN/OUT) Internal edit context 64 M4OSA_ERR M4VSS3GPP_intEditStepAudio(M4VSS3GPP_InternalEditContext *pC); 70 * @param pC (IN/OUT) Internal edit context 73 M4OSA_ERR M4VSS3GPP_intEditStepMP3(M4VSS3GPP_InternalEditContext *pC); 79 * @param pC (IN/OUT) Internal edit context 82 M4OSA_ERR M4VSS3GPP_intOpenClip(M4VSS3GPP_InternalEditContext *pC, M4VSS3GPP_ClipContext **hClip, 92 M4OSA_ERR M4VSS3GPP_intDestroyVideoEncoder(M4VSS3GPP_InternalEditContext *pC); 101 M4OSA_ERR M4VSS3GPP_intCreateVideoEncoder(M4VSS3GPP_InternalEditContext *pC); [all...] |
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
VideoEditor3gpReader.cpp | 386 VideoEditor3gpReader_Context* pC = NULL; 393 SAFE_MALLOC(pC, VideoEditor3gpReader_Context, 1, "VideoEditor3gpReader"); 395 memset(pC, sizeof(VideoEditor3gpReader_Context), 0); 397 pC->mAudioStreamHandler = M4OSA_NULL; 398 pC->mAudioAu.dataAddress = M4OSA_NULL; 399 pC->mVideoStreamHandler = M4OSA_NULL; 400 pC->mVideoAu.dataAddress = M4OSA_NULL; 402 pC->mAudioSeeking = M4OSA_FALSE; 403 pC->mAudioSeekTime = 0; 405 pC->mVideoSeeking = M4OSA_FALSE [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
vdbe.c | 549 int pc=0; /* The program counter */ local 592 if( p->pc==0 && (p->db->flags & SQLITE_VdbeListing)!=0 ){ 602 for(pc=p->pc; rc==SQLITE_OK; pc++){ 603 assert( pc>=0 && pc<p->nOp ); 606 origPc = pc; 609 pOp = &aOp[pc]; 615 if( pc==0 ) [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
VideoEditorTools.cpp | [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
tns.c | 137 PSY_CONFIGURATION_LONG *pC, /*!< psy config struct */ 154 tC->tnsMaxSfb = tnsMaxBandsLongMainLow[pC->sampRateIdx]; 159 tC->tnsStopBand = min(pC->sfbCnt, tC->tnsMaxSfb); 160 tC->tnsStopLine = pC->sfbOffset[tC->tnsStopBand]; 163 pC->sfbCnt, (const Word16*)pC->sfbOffset); 167 pC->sfbCnt, 168 (const Word16*)pC->sfbOffset); 172 pC->sfbCnt, 173 (const Word16*)pC->sfbOffset) [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_primitives.java | 44 byte pC = s.get_charTest(); 45 if (pC != -8) {
|