/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_Mutex.c | 36 M4OSA_UInt32 coreID; /* mutex context identifiant */ 46 * @note This function creates and allocates a unique context. It's the 47 * OSAL real time responsibility for managing its context. It must 48 * be freed by the M4OSA_mutexClose function. The context parameter 54 * @return M4ERR_CONTEXT_FAILED: the context creation failed 70 M4OSA_MUTEX, (M4OSA_Char*)"M4OSA_mutexOpen: mutex context"); 120 * @param context:(IN/OUT) Context of the mutex 126 * @return M4ERR_BAD_CONTEXT: provided context is not a valid one 129 M4OSA_ERR M4OSA_mutexLock(M4OSA_Context context, M4OSA_UInt32 timeout) argument 131 M4OSA_MutexContext* pMutexContext = (M4OSA_MutexContext*)context; 216 M4OSA_mutexUnlock(M4OSA_Context context) argument 258 M4OSA_mutexClose(M4OSA_Context context) argument [all...] |
H A D | M4OSA_Semaphore.c | 42 M4OSA_UInt32 coreID; /* semaphore context identifiant */ 53 * @note This function creates and allocates a unique context. It's the 54 * OSAL real time responsibility for managing its context. It must 55 * be freed by the M4OSA_semaphoreClose function. The context 58 * @param context:(OUT) Context of the created semaphore 61 * @return M4ERR_PARAMETER: provided context is NULL 63 * @return M4ERR_CONTEXT_FAILED: the context creation failed 66 M4OSA_ERR M4OSA_semaphoreOpen(M4OSA_Context* context, argument 72 "%d", context, initial_count); 74 M4OSA_DEBUG_IF2(context 129 M4OSA_semaphoreWait(M4OSA_Context context, M4OSA_Int32 timeout) argument 210 M4OSA_semaphorePost(M4OSA_Context context) argument 245 M4OSA_semaphoreClose(M4OSA_Context context) argument [all...] |
H A D | M4OSA_Thread.c | 41 void* M4OSA_threadSyncForEverDo(void *context) argument 43 M4OSA_ThreadContext* threadContext = (M4OSA_ThreadContext*)context; 50 M4OSA_TRACE2_1("M4OSA_threadSyncForEverDo\t\tLPVOID 0x%x", context); 104 * identified by its "context". The thread function is provided by 106 * context. It's the OSAL real time responsibility for managing its 107 * context. It must be freed by the M4OSA_threadSyncClose function. 108 * The context parameter will be sent back to any OSAL core thread 113 * @param context:(OUT) Context of the created thread 118 * @return M4ERR_CONTEXT_FAILED: the context creation failed 121 M4OSA_ERR M4OSA_threadSyncOpen(M4OSA_Context* context, argument 206 M4OSA_threadSyncStart(M4OSA_Context context, M4OSA_Void* param) argument 338 M4OSA_threadSyncStop(M4OSA_Context context) argument 393 M4OSA_threadSyncClose(M4OSA_Context context) argument 467 M4OSA_threadSyncGetState(M4OSA_Context context, M4OSA_ThreadState* state) argument 517 M4OSA_SetThreadSyncPriority(M4OSA_Context context, M4OSA_DataOption optionValue) argument 544 M4OSA_SetThreadSyncName(M4OSA_Context context, M4OSA_DataOption optionValue) argument 585 M4OSA_SetThreadSyncStackSize(M4OSA_Context context, M4OSA_DataOption optionValue) argument 620 M4OSA_threadSyncSetOption(M4OSA_Context context, M4OSA_ThreadOptionID optionID, M4OSA_DataOption optionValue) argument 724 M4OSA_threadSyncGetOption(M4OSA_Context context, M4OSA_ThreadOptionID optionID, M4OSA_DataOption* optionValue) argument [all...] |
/frameworks/av/libvideoeditor/vss/3gpwriter/src/ |
H A D | M4MP4W_Utils.c | 36 M4OSA_Context context) 39 M4OSA_ERR err = fileFunction->writeData(context, (M4OSA_MemAddr8)&c, 1); 45 M4OSA_Context context) 49 err = M4MP4W_putByte((M4OSA_UChar)(val >> 8), fileFunction, context); 51 err = M4MP4W_putByte((M4OSA_UChar)val, fileFunction, context); 57 M4OSA_Context context) 61 err = M4MP4W_putByte((M4OSA_UChar)(val >> 16), fileFunction, context); 63 err = M4MP4W_putByte((M4OSA_UChar)(val >> 8), fileFunction, context); 65 err = M4MP4W_putByte((M4OSA_UChar)val, fileFunction, context); 71 M4OSA_Context context) 35 M4MP4W_putByte(M4OSA_UChar c, M4OSA_FileWriterPointer* fileFunction, M4OSA_Context context) argument 44 M4MP4W_putBE16(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction, M4OSA_Context context) argument 56 M4MP4W_putBE24(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction, M4OSA_Context context) argument 70 M4MP4W_putBE32(M4OSA_UInt32 val, M4OSA_FileWriterPointer* fileFunction, M4OSA_Context context) argument 86 M4MP4W_putBlock(const M4OSA_UChar* Block, M4OSA_UInt32 size, M4OSA_FileWriterPointer* fileFunction, M4OSA_Context context) argument 132 M4MP4W_freeContext(M4OSA_Context context) argument [all...] |
H A D | M4MP4W_Writer.c | 559 /* The context reuse mode was suppressed*/ 563 M4MP4_WRITER, (M4OSA_Char *)"MP4 writer context"); 627 M4OSA_ERR M4MP4W_addStream(M4OSA_Context context, argument 633 M4MP4W_Mp4FileData *mMp4FileDataPtr = (M4MP4W_Mp4FileData *)context; 635 ERR_CHECK(M4OSA_NULL != context, M4ERR_PARAMETER); 1204 M4OSA_ERR M4MP4W_startWriting( M4OSA_Context context ) 1210 M4MP4W_Mp4FileData *mMp4FileDataPtr = (M4MP4W_Mp4FileData *)context; 1211 ERR_CHECK(context != M4OSA_NULL, M4ERR_PARAMETER); 1398 M4OSA_ERR M4MP4W_newAudioChunk( M4OSA_Context context, argument 1404 M4MP4W_Mp4FileData *mMp4FileDataPtr = (M4MP4W_Mp4FileData *)context; 1637 M4MP4W_newVideoChunk( M4OSA_Context context, M4OSA_UInt32 *leftSpaceInChunk ) argument 1878 M4MP4W_startAU( M4OSA_Context context, M4SYS_StreamID streamID, M4SYS_AccessUnit *auPtr ) argument 2085 M4MP4W_processAU( M4OSA_Context context, M4SYS_StreamID streamID, M4SYS_AccessUnit *auPtr ) argument 4619 M4MP4W_getOption( M4OSA_Context context, M4OSA_OptionID option, M4OSA_DataOption *valuePtr ) argument 4822 M4MP4W_setOption( M4OSA_Context context, M4OSA_OptionID option, M4OSA_DataOption value ) argument 5310 M4MP4W_getState( M4OSA_Context context, M4MP4W_State *state, M4SYS_StreamID streamID ) argument 5355 M4MP4W_getCurrentFileSize( M4OSA_Context context, M4OSA_UInt32 *pCurrentFileSize ) argument [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4AD_Null.c | 46 * @brief Internal null decoder context 65 * @note Allocates the context 84 "M4AD_NULL_create: invalid context pointer"); 92 M4OSA_TRACE1_0("Can not allocate null decoder context"); 106 * @note After this call the context is invalid 108 * @param context: (IN) Context of the decoder 111 * @return M4ERR_PARAMETER The context is invalid (in DEBUG only) 114 M4OSA_ERR M4AD_NULL_destroy(M4AD_Context context) argument 116 M4AD_NullContext* pC = (M4AD_NullContext*)context; 118 M4OSA_DEBUG_IF1((context 141 M4AD_NULL_step(M4AD_Context context, M4AD_Buffer *pInputBuffer, M4AD_Buffer *pDecodedPCMBuffer, M4OSA_Bool jumping) argument [all...] |
H A D | M4DECODER_Null.c | 46 * @brief Defines the internal context of a video decoder instance
47 * @note The context is allocated and freed by the video decoder
76 * @note Allocates the context
129 * @note After this call the context is invalid
131 * @param context: (IN) Context of the decoder
134 * @return M4ERR_PARAMETER The context is invalid
142 M4ERR_PARAMETER, "M4DECODER_NULL_destroy: invalid context pointer");
154 * @param context: (IN) Context of the decoder
160 * @return M4ERR_PARAMETER The context is invalid (in DEBUG only)
166 M4OSA_ERR M4DECODER_NULL_getOption(M4OSA_Context context,
argument 189 M4DECODER_NULL_setOption(M4OSA_Context context, M4OSA_OptionID optionId, M4OSA_DataOption pValue) argument 296 M4DECODER_NULL_decode(M4OSA_Context context, M4_MediaTime* pTime, M4OSA_Bool bJump, M4OSA_UInt32 tolerance) argument 323 M4DECODER_NULL_render(M4OSA_Context context, M4_MediaTime* pTime, M4VIFI_ImagePlane* pOutputPlane, M4OSA_Bool bForceRender) argument [all...] |
H A D | M4PCMR_CoreReader.c | 44 * - initializes PCM context, 48 * @param pContext: (OUT) Pointer on the PCM Reader context 66 M4PCMR_Context *context; local 76 /* Allocates the context */ 77 context = M4OSA_NULL; 78 context = (M4PCMR_Context *)M4OSA_32bitAlignedMalloc(sizeof(M4PCMR_Context), M4WAV_READER, 80 if (M4OSA_NULL == context) 84 *pContext = (M4OSA_Context)context; 86 /* Initialize the context */ 87 context 186 M4PCMR_getNextStream(M4OSA_Context context, M4SYS_StreamDescription* pStreamDesc) argument 295 M4PCMR_startReading(M4OSA_Context context, M4SYS_StreamID* pStreamIDs) argument 351 M4PCMR_nextAU(M4OSA_Context context, M4SYS_StreamID streamID, M4SYS_AccessUnit* pAU) argument 433 M4PCMR_freeAU(M4OSA_Context context, M4SYS_StreamID streamID, M4SYS_AccessUnit* pAU) argument 482 M4PCMR_seek(M4OSA_Context context, M4SYS_StreamID* pStreamID, M4OSA_Time time, M4SYS_SeekAccessMode seekAccessMode, M4OSA_Time* pObtainCTS) argument 558 M4PCMR_closeRead(M4OSA_Context context) argument 622 M4PCMR_getOption(M4OSA_Context context, M4PCMR_OptionID optionID, M4OSA_DataOption* pValue) argument 672 M4PCMR_setOption(M4OSA_Context context, M4PCMR_OptionID optionID, M4OSA_DataOption Value) argument [all...] |
H A D | M4READER_Amr.c | 39 * @brief This structure defines the internal context of a amr reader instance 40 * @note The context is allocated and de-allocated by the reader 45 M4OSA_Context m_pCoreContext; /**< core amr reader context */ 58 * @note allocates the context 59 * @param pContext: (OUT) pointer on a reader context 71 "M4READER_AMR_create: invalid context pointer"); 94 * @note after this call the context is invalid 96 * @param context: (IN) Context of the reader 102 M4OSA_ERR M4READER_AMR_destroy(M4OSA_Context context) argument 104 M4READER_AMR_Context* pC=(M4READER_AMR_Context*)context; 136 M4READER_AMR_open(M4OSA_Context context, M4OSA_Void* pFileDescriptor) argument 164 M4READER_AMR_close(M4OSA_Context context) argument 244 M4READER_AMR_getNextStream(M4OSA_Context context, M4READER_MediaFamily *pMediaFamily, M4_StreamHandler **pStreamHandlerParam) argument 345 M4READER_AMR_fillAuStruct(M4OSA_Context context, M4_StreamHandler *pStreamHandler, M4_AccessUnit *pAccessUnit) argument 407 M4READER_AMR_getOption(M4OSA_Context context, M4OSA_OptionID optionId, M4OSA_DataOption pValue) argument 474 M4READER_AMR_setOption(M4OSA_Context context, M4OSA_OptionID optionId, M4OSA_DataOption pValue) argument 517 M4READER_AMR_reset(M4OSA_Context context, M4_StreamHandler *pStreamHandler) argument 587 M4READER_AMR_jump(M4OSA_Context context, M4_StreamHandler *pStreamHandler, M4OSA_Int32* pTime) argument 661 M4READER_AMR_getNextAu(M4OSA_Context context, M4_StreamHandler *pStreamHandler, M4_AccessUnit *pAccessUnit) argument [all...] |
H A D | M4READER_Pcm.c | 36 * @brief This structure defines the internal context of a wav reader instance 37 * @note The context is allocated and de-allocated by the reader 42 M4OSA_Context m_coreContext; /**< core wav reader context */ 54 * @note allocates the context 55 * @param pContext: (OUT) Pointer to a wav reader context 66 "M4READER_PCM_create: invalid context pointer"); 88 * @note the context is un-allocated 89 * @param context: (IN) context of the network reader 94 M4OSA_ERR M4READER_PCM_destroy(M4OSA_Context context) argument 116 M4READER_PCM_open(M4OSA_Context context, M4OSA_Void* pFileDescriptor) argument 143 M4READER_PCM_close(M4OSA_Context context) argument 197 M4READER_PCM_setOption(M4OSA_Context context, M4OSA_OptionID optionId, void* pValue) argument 239 M4READER_PCM_getOption(M4OSA_Context context, M4OSA_OptionID optionId, void* pValue) argument 302 M4READER_PCM_getNextStream(M4OSA_Context context, M4READER_MediaFamily *pMediaFamily, M4_StreamHandler **pStreamHandler) argument 413 M4READER_PCM_fillAuStruct(M4OSA_Context context, M4_StreamHandler *pStreamHandler, M4_AccessUnit *pAccessUnit) argument 464 M4READER_PCM_reset(M4OSA_Context context, M4_StreamHandler *pStreamHandler) argument 528 M4READER_PCM_getNextAu(M4OSA_Context context, M4_StreamHandler *pStreamHandler, M4_AccessUnit *pAccessUnit) argument 601 M4READER_PCM_jump(M4OSA_Context context, M4_StreamHandler *pStreamHandler, M4OSA_Int32* pTime) argument [all...] |
H A D | VideoEditorResampler.cpp | 81 VideoEditorResampler *context = new VideoEditorResampler(); local 82 context->mResampler = AudioResampler::create( 84 if (context->mResampler == NULL) { 87 context->mResampler->setSampleRate(android::VideoEditorResampler::kFreq32000Hz); 88 context->mResampler->setVolume(0x1000, 0x1000); 89 context->nbChannels = inChannelCount; 90 context->outSamplingRate = sampleRate; 91 context->mInput = NULL; 92 context->mTmpInBuffer = NULL; 94 return ((M4OSA_Context )context); 100 VideoEditorResampler *context = local 115 VideoEditorResampler *context = local 122 VideoEditorResampler *context = local 149 VideoEditorResampler *context = local [all...] |
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditor3gpReader.cpp | 83 * @brief:This structure defines the context of the StageFright 3GP shell Reader 112 * @brief Internal BitStreamParser context 125 * @brief Allocates the context and initializes internal data. 126 * @param pContext (OUT) Pointer to the BitStreamParser context to create. 153 * @brief Clean up context 154 * @param pContext (IN/OUT) BitStreamParser context. 164 * @param pContext (IN/OUT) BitStreamParser context. 179 "VideoEditor3gpReader_BitStreamParserShowBits:invalid context pointer"); 206 * @param pContext (IN/OUT) BitStreamParser context. 240 "VideoEditor3gpReader_BitStreamParserGetBits: invalid context pointe 526 VideoEditor3gpReader_close(M4OSA_Context context) argument 633 VideoEditor3gpReader_getOption(M4OSA_Context context, M4OSA_OptionID optionId, M4OSA_DataOption pValue) argument 762 VideoEditor3gpReader_setOption(M4OSA_Context context, M4OSA_OptionID optionId, M4OSA_DataOption pValue) argument 813 VideoEditor3gpReader_fillAuStruct(M4OSA_Context context, M4_StreamHandler *pStreamHandler, M4_AccessUnit *pAccessUnit) argument 853 VideoEditor3gpReader_jump(M4OSA_Context context, M4_StreamHandler *pStreamHandler, M4OSA_Int32* pTime) argument 921 VideoEditor3gpReader_reset(M4OSA_Context context, M4_StreamHandler *pStreamHandler) argument 966 VideoEditor3gpReader_getNextAu(M4OSA_Context context, M4_StreamHandler *pStreamHandler, M4_AccessUnit *pAccessUnit) argument 1401 VideoEditor3gpReader_getNextStreamHandler(M4OSA_Context context, M4READER_MediaFamily *pMediaFamily, M4_StreamHandler **pStreamHandler) argument 1917 VideoEditor3gpReader_getPrevRapTime(M4OSA_Context context, M4_StreamHandler *pStreamHandler, M4OSA_Int32* pTime) argument [all...] |
H A D | VideoEditorMp3Reader.cpp | 57 * @brief This structure defines the context of the SF MP3 reader shell. 76 * @note allocates the context 78 * @param pContext: (OUT) pointer on a reader context 115 * @note after this call the context is invalid 116 * @param context: (IN) Context of the reader 143 * @param context: (IN) Context of the reader 148 * @return M4ERR_PARAMETER the context is NULL 149 * @return M4ERR_BAD_CONTEXT provided context is not a valid one 153 M4OSA_ERR VideoEditorMp3Reader_open(M4OSA_Context context, argument 156 (VideoEditorMp3Reader_Context*)context; 207 VideoEditorMp3Reader_close(M4OSA_Context context) argument 262 VideoEditorMp3Reader_getOption(M4OSA_Context context, M4OSA_OptionID optionId, M4OSA_DataOption pValue) argument 331 VideoEditorMp3Reader_setOption(M4OSA_Context context, M4OSA_OptionID optionId, M4OSA_DataOption pValue) argument 367 VideoEditorMp3Reader_jump(M4OSA_Context context, M4_StreamHandler *pStreamHandler, M4OSA_Int32* pTime) argument 427 VideoEditorMp3Reader_getNextStream(M4OSA_Context context, M4READER_MediaFamily *pMediaFamily, M4_StreamHandler **pStreamHandlerParam) argument 559 VideoEditorMp3Reader_fillAuStruct(M4OSA_Context context, M4_StreamHandler *pStreamHandler, M4_AccessUnit *pAccessUnit) argument 613 VideoEditorMp3Reader_reset(M4OSA_Context context, M4_StreamHandler *pStreamHandler) argument 661 VideoEditorMp3Reader_getNextAu(M4OSA_Context context, M4_StreamHandler *pStreamHandler, M4_AccessUnit *pAccessUnit) argument [all...] |
H A D | VideoEditorVideoDecoder.cpp | 273 /* Reset the bitstream context */ 1238 M4OSA_ERR VideoEditorVideoDecoder_getOption(M4OSA_Context context, argument 1242 (VideoEditorVideoDecoder_Context*) context; 1301 M4OSA_ERR VideoEditorVideoDecoder_setOption(M4OSA_Context context, argument 1305 (VideoEditorVideoDecoder_Context*) context; 1331 M4OSA_ERR VideoEditorVideoDecoder_decode(M4OSA_Context context, argument 1335 (VideoEditorVideoDecoder_Context*) context; 1569 M4OSA_ERR VideoEditorVideoDecoder_render(M4OSA_Context context, argument 1574 (VideoEditorVideoDecoder_Context*) context; 1585 VIDEOEDITOR_CHECK(M4OSA_NULL != context, M4ERR_PARAMETE [all...] |
/frameworks/av/media/libeffects/downmix/ |
H A D | EffectDownmix.h | 49 downmix_object_t context; member in struct:downmix_module_s
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectReverb.h | 296 reverb_object_t context; member in struct:reverb_module_s 365 * Pointer to reverb context
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 249 EGLContext context; local 256 context = eglCreateContext(display, config, NULL, NULL); 260 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE) 264 mContext = context;
|
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityService.java | 556 public IAccessibilityServiceClientWrapper(Context context, Looper looper, argument 559 mCaller = new HandlerCaller(context, looper, this);
|
H A D | AccessibilityServiceInfo.java | 132 * semantics in the context of the screen content. For example, a three by three 135 * In this context the actual layout mangers used to achieve the grid configuration 267 * @param context Context for accessing resources. 273 public AccessibilityServiceInfo(ResolveInfo resolveInfo, Context context) argument 282 PackageManager packageManager = context.getPackageManager(); 337 throw new XmlPullParserException( "Unable to create context for: "
|
/frameworks/base/core/java/android/accounts/ |
H A D | AbstractAccountAuthenticator.java | 113 public AbstractAccountAuthenticator(Context context) { argument 114 mContext = context;
|
H A D | AccountAuthenticatorCache.java | 47 public AccountAuthenticatorCache(Context context) { argument 48 super(context, AccountManager.ACTION_AUTHENTICATOR_INTENT,
|
H A D | AccountManager.java | 121 * the current foreground {@link Activity} context. 243 public AccountManager(Context context, IAccountManager service) { argument 244 mContext = context; 252 public AccountManager(Context context, IAccountManager service, Handler handler) { argument 253 mContext = context; 284 * @param context The {@link Context} to use when necessary 287 public static AccountManager get(Context context) { argument 288 if (context == null) throw new IllegalArgumentException("context is null"); 289 return (AccountManager) context [all...] |
H A D | AccountManagerService.java | 85 * AccountManager accountManager = AccountManager.get(context); 181 UserAccounts(Context context, int userId) { argument 184 openHelper = new DatabaseHelper(context, userId); 211 public AccountManagerService(Context context) { argument 212 this(context, context.getPackageManager(), new AccountAuthenticatorCache(context)); 215 public AccountManagerService(Context context, PackageManager packageManager, argument 217 mContext = context; 243 public void onReceive(Context context, Inten 1953 DatabaseHelper(Context context, int userId) argument [all...] |
H A D | ChooseAccountActivity.java | 159 public AccountArrayAdapter(Context context, int textViewResourceId, AccountInfo[] infos) { argument 160 super(context, textViewResourceId, infos); 162 mLayoutInflater = (LayoutInflater) context.getSystemService(
|
H A D | ChooseAccountTypeActivity.java | 175 public AccountArrayAdapter(Context context, int textViewResourceId, argument 177 super(context, textViewResourceId, infos); 179 mLayoutInflater = (LayoutInflater) context.getSystemService(
|