/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 | 112 M4MCS_Context pContext, 135 ManualEditContext* pContext, 257 M4OSA_ERR videoEditor_generateAudio(JNIEnv* pEnv,ManualEditContext* pContext, 393 ManualEditContext *pContext = (ManualEditContext *)cookie; 406 pContext->pVM->AttachCurrentThread(&pEnv, NULL); 423 pContext->mIsUpdateOverlay = true; 428 if (pContext->mOverlayFileName != NULL) { 429 free(pContext->mOverlayFileName); 430 pContext->mOverlayFileName = NULL; 434 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/av/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/av/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/av/media/libeffects/visualizer/ |
EffectVisualizer.cpp | 74 void Visualizer_reset(VisualizerContext *pContext) 76 pContext->mCaptureIdx = 0; 77 pContext->mLastCaptureIdx = 0; 78 pContext->mBufferUpdateTime.tv_sec = 0; 79 pContext->mLatency = 0; 80 memset(pContext->mCaptureBuf, 0x80, CAPTURE_BUF_SIZE); 89 // pContext: effect engine context 97 int Visualizer_setConfig(VisualizerContext *pContext, effect_config_t *pConfig) 109 pContext->mConfig = *pConfig; 111 Visualizer_reset(pContext); [all...] |
/frameworks/av/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_setConfig (EffectContext *pContext, effect_config_t *pConfig); 137 void Effect_getConfig (EffectContext *pContext, effect_config_t *pConfig); 138 int BassBoost_setParameter (EffectContext *pContext, void *pParam, void *pValue); 139 int BassBoost_getParameter (EffectContext *pContext, 143 int Virtualizer_setParameter (EffectContext *pContext, void *pParam, void *pValue); 144 int Virtualizer_getParameter (EffectContext *pContext, [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/av/media/libeffects/lvm/wrapper/Reverb/ |
EffectReverb.cpp | 177 int Reverb_init (ReverbContext *pContext); 178 void Reverb_free (ReverbContext *pContext); 179 int Reverb_setConfig (ReverbContext *pContext, effect_config_t *pConfig); 180 void Reverb_getConfig (ReverbContext *pContext, effect_config_t *pConfig); 181 int Reverb_setParameter (ReverbContext *pContext, void *pParam, void *pValue); 182 int Reverb_getParameter (ReverbContext *pContext, 186 int Reverb_LoadPreset (ReverbContext *pContext); 219 ReverbContext *pContext = new ReverbContext; 221 pContext->itfe = &gReverbInterface; 222 pContext->hInstance = NULL [all...] |
/frameworks/compile/libbcc/lib/Core/ |
Source.cpp | 39 static inline llvm::Module *helper_load_bitcode(llvm::LLVMContext &pContext, 42 llvm::Module *module = llvm::getLazyBitcodeModule(pInput, pContext, &error); 61 Source *Source::CreateFromBuffer(BCCContext &pContext, 74 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, 81 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); 89 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { 100 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext, 107 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); 115 Source *Source::CreateFromFd(BCCContext &pContext, int pFd) { 128 llvm::Module *module = helper_load_bitcode(pContext.mImpl->mLLVMContext [all...] |
/frameworks/av/media/libeffects/testlibs/ |
EffectEqualizer.cpp | 116 int Equalizer_init(EqualizerContext *pContext); 117 int Equalizer_setConfig(EqualizerContext *pContext, effect_config_t *pConfig); 143 EqualizerContext *pContext = new EqualizerContext; 145 pContext->itfe = &gEqualizerInterface; 146 pContext->pEqualizer = NULL; 147 pContext->state = EQUALIZER_STATE_UNINITIALIZED; 149 ret = Equalizer_init(pContext); 152 delete pContext; 156 *pHandle = (effect_handle_t)pContext; 157 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...] |
/frameworks/av/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/av/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...] |
/frameworks/av/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/av/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/compile/libbcc/include/bcc/ |
Source.h | 39 Source(BCCContext &pContext, llvm::Module &pModule, bool pNoDelete = false); 42 static Source *CreateFromBuffer(BCCContext &pContext, 47 static Source *CreateFromFile(BCCContext &pContext, 50 static Source *CreateFromFd(BCCContext &pContext, int pFd); 54 static Source *CreateFromModule(BCCContext &pContext, 58 static Source *CreateEmpty(BCCContext &pContext, const std::string &pName);
|
/frameworks/av/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...] |