/frameworks/base/media/jni/mediaeditor/ |
VideoBrowserMain.c | 38 * M4OSA_Context pContext, M4OSA_UInt32 x, 41 * @param pContext (IN) : Video Browser context 51 M4OSA_Context pContext, 56 VideoBrowserContext* pC = (VideoBrowserContext*)pContext; 60 pContext, x, y, dx, dy); 63 CHECK_PTR(videoBrowserSetWindow, pContext, err, M4ERR_PARAMETER); 138 VideoBrowserContext* pContext = M4OSA_NULL; 157 pContext = (VideoBrowserContext*)M4OSA_32bitAlignedMalloc( 161 CHECK_PTR(videoBrowserCreate, pContext,err, M4ERR_ALLOC); 162 memset((void *)pContext, 0,sizeof(VideoBrowserContext)) [all...] |
VideoEditorMain.cpp | 111 M4MCS_Context pContext, 134 ManualEditContext* pContext, 256 M4OSA_ERR videoEditor_generateAudio(JNIEnv* pEnv,ManualEditContext* pContext, 389 ManualEditContext *pContext = (ManualEditContext *)cookie; 402 pContext->pVM->AttachCurrentThread(&pEnv, NULL); 419 pContext->mIsUpdateOverlay = true; 424 if (pContext->mOverlayFileName != NULL) { 425 free(pContext->mOverlayFileName); 426 pContext->mOverlayFileName = NULL; 430 strlen((const char*)pContext->pEditSettings->Effects[overlayEffectIndex].xVSS.pFramingFilePath) [all...] |
VideoEditorThumbnailMain.h | 30 * @param pContext (OUT) Thumbnail Context. 43 * @param pContext (IN) Thumbnail Context. 50 M4OSA_ERR ThumbnailGetPixels32(const M4OSA_Context pContext, 58 * @param pContext (IN) Thumbnail Context. 65 M4OSA_ERR ThumbnailGetPixels16(const M4OSA_Context pContext, 73 * @param pContext (IN) Thumbnail Context. 76 void ThumbnailClose(const M4OSA_Context pContext);
|
VideoEditorThumbnailMain.cpp | 68 * @param pContext (IN) Thumbnail Context. 74 M4OSA_ERR ThumbnailGetPixels(const M4OSA_Context pContext, 162 ThumbnailContext *pContext = M4OSA_NULL; 168 pContext = (ThumbnailContext*)M4OSA_32bitAlignedMalloc(sizeof(ThumbnailContext), VIDEOBROWSER, 170 M4OSA_TRACE3_1("context value is = %d",pContext); 171 CHECK_PTR(ThumbnailOpen, pContext, err, M4ERR_ALLOC); 173 memset((void *)pContext, 0,sizeof(ThumbnailContext)); 180 &pContext->m_pVideoBrowser, pString) ; 182 pContext->m_bRender = bRender; 193 err = videoBrowserCreate(&pContext->m_pVideoBrowser, (M4OSA_Char*)pString [all...] |
/frameworks/base/media/libeffects/visualizer/ |
EffectVisualizer.cpp | 70 void Visualizer_reset(VisualizerContext *pContext) 72 pContext->mCaptureIdx = 0; 73 pContext->mCurrentBuf = 0; 74 pContext->mLastBuf = 1; 75 pContext->mStallCount = 0; 76 memset(pContext->mCaptureBuf[0], 0x80, VISUALIZER_CAPTURE_SIZE_MAX); 77 memset(pContext->mCaptureBuf[1], 0x80, VISUALIZER_CAPTURE_SIZE_MAX); 86 // pContext: effect engine context 94 int Visualizer_configure(VisualizerContext *pContext, effect_config_t *pConfig) 106 memcpy(&pContext->mConfig, pConfig, sizeof(effect_config_t)) [all...] |
/frameworks/media/libvideoeditor/vss/mcs/inc/ |
M4MCS_InternalFunctions.h | 36 * M4OSA_ERR M4MCS_intApplyVPP( M4VPP_Context pContext, 41 * @param pContext (IN) VPP context, which actually is the MCS 52 M4OSA_ERR M4MCS_intApplyVPP(M4VPP_Context pContext, M4VIFI_ImagePlane* pPlaneIn, 57 * M4OSA_ERR M4MCS_SubscribeMediaAndCodec(M4MCS_Context pContext); 61 * @param pContext: (IN) Execution context. 63 * @return M4ERR_PARAMETER pContext is NULL 66 M4OSA_ERR M4MCS_subscribeMediaAndCodec(M4MCS_Context pContext); 71 * @param pContext (IN/OUT) MCS context. 76 M4OSA_ERR M4MCS_clearInterfaceTables(M4MCS_Context pContext); 80 * M4OSA_ERR M4MCS_registerWriter(M4MCS_Context pContext, [all...] |
/hardware/ti/omap4xxx/security/tf_daemon/ |
lib_manifest2.c | 39 #define LOG_ERROR(pContext, msg, ...) log_error("%s - line %d: " msg, pContext->pManifestName, pContext->nLine, __VA_ARGS__) 50 #define LOG_ERROR(pContext...) 57 LIB_MANIFEST2_CONTEXT* pContext) 59 pContext->nOffset = 0; 60 pContext->nLine = 1; 61 pContext->nSectionStartOffset = 0; 132 LIB_MANIFEST2_CONTEXT* pContext, 139 uint8_t* pCurrent = pContext->pManifestContent + pContext->nOffset [all...] |
/frameworks/media/libvideoeditor/vss/common/inc/ |
M4_BitStreamParser.h | 34 * @param pContext : A pointer to the context internally used by the package - ALLOCATED BY THE 40 void M4_BitStreamParser_Init(void** pContext, void* pBitStream, M4OSA_Int32 size); 45 * @param pContext (IN/OUT) M4_BitStreamParser context. 48 void M4_BitStreamParser_CleanUp(void* pContext); 54 * @param pContext (IN/OUT) M4_BitStreamParser context. 59 M4OSA_UInt32 M4_BitStreamParser_ShowBits(void* pContext, M4OSA_Int32 length); 64 * @param pContext (IN/OUT) M4_BitStreamParser context. 68 void M4_BitStreamParser_FlushBits(void* pContext, M4OSA_Int32 length); 75 * @param pContext : A pointer to the context internally used by the package 80 M4OSA_UInt32 M4_BitStreamParser_GetBits(void* pContext,M4OSA_Int32 bitPos, M4OSA_Int32 length) [all...] |
M4VPP_API.h | 70 * @param pContext: (IN) Execution context of the VPP. 75 typedef M4OSA_ERR (M4VPP_apply_fct) (M4VPP_Context pContext, M4VIFI_ImagePlane* pPlaneIn, 82 * M4OSA_ERR M4VPP_initVideoPreprocessing(M4VPP_Context* pContext) 85 * @param pContext: (OUT) Execution context allocated by the function. 88 * @return M4ERR_PARAMETER: pContext is NULL (debug only). 91 M4OSA_ERR M4VPP_initVideoPreprocessing(M4VPP_Context* pContext); 95 * M4OSA_ERR M4VPP_applyVideoPreprocessing(M4VPP_Context pContext, M4VIFI_ImagePlane* pPlaneIn, 99 * @param pContext: (IN) Execution context. 103 * @return M4ERR_PARAMETER: pContext or pPlaneIn or pPlaneOut is NULL (debug only). 108 M4OSA_ERR M4VPP_applyVideoPreprocessing(M4VPP_Context pContext, M4VIFI_ImagePlane* pPlaneIn [all...] |
M4AIR_API.h | 110 * M4OSA_ERR M4AIR_create(M4OSA_Context* pContext,M4AIR_InputFormatType inputFormat); 112 * @param pContext: (IN/OUT) Address of the context to create 115 * @return M4ERR_PARAMETER: pContext is M4OSA_NULL (debug only). Invalid formatType 119 M4OSA_ERR M4AIR_create(M4OSA_Context* pContext,M4AIR_InputFormatType inputFormat); 124 * M4OSA_ERR M4AIR_cleanUp(M4OSA_Context pContext) 126 * @param pContext: (IN) Context identifying the instance to destroy 128 * @return M4ERR_PARAMETER: pContext is M4OSA_NULL (debug only). 132 M4OSA_ERR M4AIR_cleanUp(M4OSA_Context pContext); 137 * M4OSA_ERR M4AIR_configure(M4OSA_Context pContext, M4AIR_Params* pParams) 143 * @param pContext: (IN) Context identifying the instanc [all...] |
/frameworks/base/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | 132 int LvmBundle_init (EffectContext *pContext); 133 int LvmEffect_enable (EffectContext *pContext); 134 int LvmEffect_disable (EffectContext *pContext); 135 void LvmEffect_free (EffectContext *pContext); 136 int Effect_configure (EffectContext *pContext, effect_config_t *pConfig); 137 int BassBoost_setParameter (EffectContext *pContext, void *pParam, void *pValue); 138 int BassBoost_getParameter (EffectContext *pContext, 142 int Virtualizer_setParameter (EffectContext *pContext, void *pParam, void *pValue); 143 int Virtualizer_getParameter (EffectContext *pContext, 147 int Equalizer_setParameter (EffectContext *pContext, void *pParam, void *pValue) [all...] |
/hardware/ti/omap4xxx/domx/test/sample_proxy/ |
test_sample_proxy.c | 418 SampleCompTestCtxt *pContext; 425 pContext = (SampleCompTestCtxt *) pAppData; 435 pContext->eState = (OMX_STATETYPE) nData2; 436 TIMM_OSAL_SemaphoreRelease(pContext->hStateSetEvent); 443 TIMM_OSAL_SemaphoreRelease(pContext-> 494 SampleCompTestCtxt *pContext; 501 pContext = (SampleCompTestCtxt *) pAppData; 502 pContext->nBufDoneCalls++; 504 BUFFER_LIST_SET_ENTRY(pContext->pInBufferList, pBuffer); 519 SampleCompTestCtxt *pContext; [all...] |
/frameworks/base/media/libeffects/lvm/wrapper/Reverb/ |
EffectReverb.cpp | 176 int Reverb_init (ReverbContext *pContext); 177 void Reverb_free (ReverbContext *pContext); 178 int Reverb_configure (ReverbContext *pContext, effect_config_t *pConfig); 179 int Reverb_setParameter (ReverbContext *pContext, void *pParam, void *pValue); 180 int Reverb_getParameter (ReverbContext *pContext, 184 int Reverb_LoadPreset (ReverbContext *pContext); 241 ReverbContext *pContext = new ReverbContext; 243 pContext->itfe = &gReverbInterface; 244 pContext->hInstance = NULL; 246 pContext->auxiliary = false [all...] |
/frameworks/base/media/libeffects/testlibs/ |
EffectEqualizer.cpp | 116 int Equalizer_init(EqualizerContext *pContext); 117 int Equalizer_configure(EqualizerContext *pContext, effect_config_t *pConfig); 160 EqualizerContext *pContext = new EqualizerContext; 162 pContext->itfe = &gEqualizerInterface; 163 pContext->pEqualizer = NULL; 164 pContext->state = EQUALIZER_STATE_UNINITIALIZED; 166 ret = Equalizer_init(pContext); 169 delete pContext; 173 *pHandle = (effect_handle_t)pContext; 174 pContext->state = EQUALIZER_STATE_INITIALIZED [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_LlcpMac.h | 109 typedef void (*phFriNfc_LlcpMac_Chk_CB_t) (void *pContext, 112 typedef void (*phFriNfc_LlcpMac_LinkStatus_CB_t) (void *pContext, 117 typedef void (*phFriNfc_LlcpMac_Send_CB_t) (void *pContext, 121 typedef void (*phFriNfc_LlcpMac_Reveive_CB_t) (void *pContext, 130 void *pContext); 139 void *pContext); 144 void *pContext); 206 void *pContext); 214 void *pContext); 235 void *pContext); [all...] |
phFriNfc_LlcpMac.c | 36 void *pContext) 43 LlcpMac->LinkStatus_Context = pContext; 66 void *pContext) 101 status = LlcpMac->LlcpMacInterface.chk(LlcpMac,ChkLlcpMac_Cb,pContext); 150 void *pContext) 154 if(NULL== LlcpMac->LlcpMacInterface.send || NULL==psData || NULL==LlcpMacSend_Cb || NULL==pContext) 160 status = LlcpMac->LlcpMacInterface.send(LlcpMac,psData,LlcpMacSend_Cb,pContext); 168 void *pContext) 172 if(LlcpMac->LlcpMacInterface.receive == NULL || NULL==psData || NULL==ReceiveLlcpMac_Cb || NULL==pContext) 178 status = LlcpMac->LlcpMacInterface.receive(LlcpMac,psData,ReceiveLlcpMac_Cb,pContext); [all...] |
phLibNfc_llcp.c | 40 void phLibNfc_Llcp_CheckLlcp_Cb(void *pContext,NFCSTATUS status); 43 void phLibNfc_Llcp_Link_Cb(void *pContext,phLibNfc_Llcp_eLinkStatus_t status); 111 void* pContext 154 result = phLibNfc_Mgt_SetP2P_ConfigParams(&sNfcIPCfg, pConfigRspCb, pContext); 189 void* pContext 230 gpphLibContext->CBInfo.pClientLlcpLinkCntx = pContext; 237 gpphLibContext->CBInfo.pClientLlcpCheckRespCntx = pContext; 271 void phLibNfc_Llcp_Link_Cb(void *pContext, phLibNfc_Llcp_eLinkStatus_t status) 273 phLibNfc_LibContext_t *pLibNfc_Ctxt = (phLibNfc_LibContext_t *)pContext; 301 void phLibNfc_Llcp_CheckLlcp_Cb(void *pContext, NFCSTATUS status [all...] |
/frameworks/media/libvideoeditor/osal/src/ |
M4OSA_FileWriter.c | 38 * @param pContext: (OUT) Context of the core file writer 52 M4OSA_ERR M4OSA_fileWriteOpen(M4OSA_Context* pContext, M4OSA_Void* pUrl, 56 pContext, pUrl, fileModeAccess); 58 return M4OSA_fileCommonOpen(M4OSA_FILE_WRITER, pContext, pUrl, 71 * @param pContext: (IN/OUT) Context of the core file reader 80 M4OSA_ERR M4OSA_fileWriteData(M4OSA_Context pContext, M4OSA_MemAddr8 data, 83 M4OSA_FileContext* pFileContext = pContext; 90 M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, 91 "M4OSA_fileWriteData: pContext is M4OSA_NULL"); 132 err = M4OSA_fileCommonSeek(pContext, M4OSA_kFileSeekBeginning [all...] |
M4OSA_FileReader.c | 57 M4OSA_ERR M4OSA_fileReadOpen(M4OSA_Context* pContext, M4OSA_Void* pFileDescriptor, 61 pContext, pFileDescriptor, fileModeAccess); 63 return M4OSA_fileCommonOpen(M4OSA_FILE_READER, pContext, 86 M4OSA_ERR M4OSA_fileReadData(M4OSA_Context pContext, M4OSA_MemAddr8 data, 89 M4OSA_FileContext* pFileContext = pContext; 96 M4OSA_DEBUG_IF2(M4OSA_NULL == pContext, M4ERR_PARAMETER, 97 "M4OSA_fileReadData: pContext is M4OSA_NULL"); 143 err = M4OSA_fileCommonSeek(pContext, M4OSA_kFileSeekBeginning, 218 M4OSA_ERR M4OSA_fileReadSeek(M4OSA_Context pContext, M4OSA_FileSeekAccessMode seekMode, 221 M4OSA_FileContext* pFileContext = (M4OSA_FileContext*)pContext; [all...] |
/frameworks/media/libvideoeditor/vss/3gpwriter/src/ |
M4MP4W_Interface.c | 69 * M4OSA_ERR M4WRITER_3GP_openWrite(M4WRITER_Context* pContext, void* pWhat, 73 * @param pContext: (OUT) Execution context of the 3GP writer, allocated by this function. 83 * @return M4ERR_PARAMETER: pContext or pFilePtrFct is M4OSA_NULL (debug only) 87 M4OSA_ERR M4WRITER_3GP_openWrite( M4WRITER_Context* pContext, 100 M4OSA_DEBUG_IF2((M4OSA_NULL == pContext),M4ERR_PARAMETER, 101 "M4WRITER_3GP_openWrite: pContext is M4OSA_NULL"); 107 *pContext=M4OSA_NULL; 127 *pContext = (M4WRITER_Context *)apContext; 149 * M4OSA_ERR M4WRITER_3GP_startWriting(M4WRITER_Context pContext) 153 * @param pContext: (IN) Execution context of the 3GP writer [all...] |
/external/icu4c/common/ |
cmemory.c | 29 static const void *pContext; 43 return (*pAlloc)(pContext, s); 58 (*pFree)(pContext, buffer); 66 return (*pRealloc)(pContext, buffer, size); 77 (*pFree)(pContext, buffer); 98 pContext = context; 106 pContext = NULL;
|
/frameworks/media/libvideoeditor/vss/inc/ |
M4PTO3GPP_API.h | 102 * @param pContext (IN) The integrator own context 165 * M4OSA_ERR M4PTO3GPP_Init(M4PTO3GPP_Context* pContext); 168 * @param pContext (OUT) Pointer on the M4PTO3GPP context to allocate 172 * @return M4ERR_PARAMETER: pContext is M4OSA_NULL 176 M4OSA_ERR M4PTO3GPP_Init(M4PTO3GPP_Context* pContext, M4OSA_FileReadPointer* pFileReadPtrFct, 181 * M4OSA_ERR M4PTO3GPP_Open(M4PTO3GPP_Context pContext, M4PTO3GPP_Params* pParams); 184 * @param pContext (IN) M4PTO3GPP context 207 M4OSA_ERR M4PTO3GPP_Open(M4PTO3GPP_Context pContext, M4PTO3GPP_Params* pParams); 211 * M4OSA_ERR M4PTO3GPP_Step(M4PTO3GPP_Context pContext); 214 * @param pContext (IN) M4PTO3GPP contex [all...] |
/frameworks/media/libvideoeditor/vss/mcs/src/ |
M4MCS_MediaAndCodecSubscription.c | 132 * M4OSA_ERR M4MCS_SubscribeMediaAndCodec(M4MCS_Context pContext); 136 * @param pContext: (IN) Execution context. 138 * @return M4ERR_PARAMETER pContext is NULL 141 M4OSA_ERR M4MCS_subscribeMediaAndCodec(M4MCS_Context pContext) 163 M4ERR_CHECK_NULL_RETURN_VALUE(M4ERR_PARAMETER, pContext); 181 err = M4MCS_registerReader( pContext, readerMediaType, 199 err = M4MCS_registerReader( pContext, readerMediaType, 218 err = M4MCS_registerReader( pContext, readerMediaType, 241 err = M4MCS_registerVideoDecoder( pContext, videoDecoderType, 258 err = M4MCS_registerVideoDecoder( pContext, videoDecoderType [all...] |
M4MCS_Codecs.c | 44 * @param pContext (IN/OUT) MCS context. 49 M4OSA_ERR M4MCS_clearInterfaceTables(M4MCS_Context pContext) 51 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext; 126 * @param pContext: (IN) Execution context. 128 * @return M4ERR_PARAMETER pContext,pWtrGlobalInterface or 133 M4OSA_ERR M4MCS_registerWriter(M4MCS_Context pContext, M4WRITER_OutputFileType MediaType, 137 M4MCS_InternalContext* pC = (M4MCS_InternalContext*)pContext; 148 M4OSA_TRACE3_3("MCS: M4MCS_registerWriter called with pContext=0x%x,\ 179 * @param pContext: (IN) Execution context. 181 * @return M4ERR_PARAMETER pContext or pEncGlobalInterface is M4OSA_NULL (debug only) [all...] |
/frameworks/media/libvideoeditor/vss/src/ |
M4VSS3GPP_MediaAndCodecSubscription.c | 134 * @param pContext: (IN) Execution context. 136 * @return M4ERR_PARAMETER pContext is NULL 139 M4OSA_ERR M4VSS3GPP_subscribeMediaAndCodec(M4VSS3GPP_MediaAndCodecCtxt *pContext) 161 M4ERR_CHECK_NULL_RETURN_VALUE(M4ERR_PARAMETER, pContext); 178 err = M4VSS3GPP_registerReader( pContext, readerMediaType, pReaderGlobalInterface, 194 err = M4VSS3GPP_registerReader( pContext, readerMediaType, pReaderGlobalInterface, 210 err = M4VSS3GPP_registerReader( pContext, readerMediaType, pReaderGlobalInterface, 226 err = M4VSS3GPP_registerReader( pContext, readerMediaType, pReaderGlobalInterface, 246 err = M4VSS3GPP_registerVideoDecoder( pContext, videoDecoderType, pVideoDecoderInterface); 258 err = M4VSS3GPP_registerVideoDecoder( pContext, videoDecoderType, pVideoDecoderInterface) [all...] |