Home
last modified time | relevance | path

Searched refs:pData (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_conceal.c265 u8 *pData; in ConcealMb() local
341 pData = mbPos - width*16; in ConcealMb()
342 a[0] = *pData++; a[0] += *pData++; a[0] += *pData++; a[0] += *pData++; in ConcealMb()
343 a[1] = *pData++; a[1] += *pData++; a[1] += *pData++; a[1] += *pData++; in ConcealMb()
344 a[2] = *pData++; a[2] += *pData++; a[2] += *pData++; a[2] += *pData++; in ConcealMb()
345 a[3] = *pData++; a[3] += *pData++; a[3] += *pData++; a[3] += *pData++; in ConcealMb()
354 pData = mbPos + 16*width*16; in ConcealMb()
355 b[0] = *pData++; b[0] += *pData++; b[0] += *pData++; b[0] += *pData++; in ConcealMb()
356 b[1] = *pData++; b[1] += *pData++; b[1] += *pData++; b[1] += *pData++; in ConcealMb()
357 b[2] = *pData++; b[2] += *pData++; b[2] += *pData++; b[2] += *pData++; in ConcealMb()
[all …]
/frameworks/base/media/libeffects/lvm/lib/Bass/src/
DLVDBE_Control.c120 (void *)&pInstance->pData->HPFTaps, /* Destination Cast to void: \ in LVDBE_SetFilters()
122 sizeof(pInstance->pData->HPFTaps)/sizeof(LVM_INT16)); /* Number of words */ in LVDBE_SetFilters()
124 &pInstance->pData->HPFTaps, in LVDBE_SetFilters()
132 (void *)&pInstance->pData->BPFTaps, /* Destination Cast to void:\ in LVDBE_SetFilters()
134 sizeof(pInstance->pData->BPFTaps)/sizeof(LVM_INT16)); /* Number of words */ in LVDBE_SetFilters()
136 &pInstance->pData->BPFTaps, in LVDBE_SetFilters()
163 …pInstance->pData->AGCInstance.AGC_Attack = LVDBE_AGC_ATTACK_Table[(LVM_UINT16)pParams->SampleRate]… in LVDBE_SetAGC()
164 …pInstance->pData->AGCInstance.AGC_Decay = LVDBE_AGC_DECAY_Table[(LVM_UINT16)pParams->SampleRate];… in LVDBE_SetAGC()
172 …pInstance->pData->AGCInstance.AGC_MaxGain = LVDBE_AGC_HPFGAIN_Table[(LVM_UINT16)pParams->EffectL… in LVDBE_SetAGC()
176 …pInstance->pData->AGCInstance.AGC_MaxGain = LVDBE_AGC_GAIN_Table[(LVM_UINT16)pParams->EffectLeve… in LVDBE_SetAGC()
[all …]
DLVDBE_Process.c107 (LVC_Mixer_GetCurrent(&pInstance->pData->BypassMixer.MixerStream[0]) in LVDBE_Process()
108 !=LVC_Mixer_GetTarget(&pInstance->pData->BypassMixer.MixerStream[0]))) in LVDBE_Process()
153 AGC_MIX_VOL_2St1Mon_D32_WRA(&pInstance->pData->AGCInstance, /* Instance pointer */ in LVDBE_Process()
172 (LVC_Mixer_GetCurrent(&pInstance->pData->BypassMixer.MixerStream[1]) in LVDBE_Process()
173 !=LVC_Mixer_GetTarget(&pInstance->pData->BypassMixer.MixerStream[1]))) in LVDBE_Process()
180 LVC_MixSoft_1St_D16C31_SAT(&pInstance->pData->BypassVolume, in LVDBE_Process()
190 LVC_MixSoft_2St_D16C31_SAT(&pInstance->pData->BypassMixer, in LVDBE_Process()
DLVDBE_Init.c216 pInstance->pData = pMemoryTable->Region[LVDBE_MEMREGION_PERSISTENT_DATA].pBaseAddress; in LVDBE_Init()
232 pInstance->pData->AGCInstance.AGC_Gain = pInstance->pData->AGCInstance.AGC_MaxGain; in LVDBE_Init()
242 pInstance->pData->AGCInstance.Volume = pInstance->pData->AGCInstance.Target; in LVDBE_Init()
245 pMixer_Instance = &pInstance->pData->BypassVolume; in LVDBE_Init()
259 pBypassMixer_Instance = &pInstance->pData->BypassMixer; in LVDBE_Init()
DLVDBE_Private.h111 LVDBE_Data_t *pData; /* Instance data */ member
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
DomxVCM4P10_TransformDequantLumaDCFromPair.c65 static void InvTransformDC4x4(OMX_S16* pData) in InvTransformDC4x4() argument
72 int c0 = pData[i+0]; in InvTransformDC4x4()
73 int c1 = pData[i+1]; in InvTransformDC4x4()
74 int c2 = pData[i+2]; in InvTransformDC4x4()
75 int c3 = pData[i+3]; in InvTransformDC4x4()
76 pData[i+0] = (OMX_S16)(c0+c1+c2+c3); in InvTransformDC4x4()
77 pData[i+1] = (OMX_S16)(c0+c1-c2-c3); in InvTransformDC4x4()
78 pData[i+2] = (OMX_S16)(c0-c1-c2+c3); in InvTransformDC4x4()
79 pData[i+3] = (OMX_S16)(c0-c1+c2-c3); in InvTransformDC4x4()
85 int c0 = pData[i+0]; in InvTransformDC4x4()
[all …]
DomxVCM4P10_TransformDequantChromaDCFromPair.c62 static void InvTransformDC2x2(OMX_S16* pData) in InvTransformDC2x2() argument
64 int c00 = pData[0]; in InvTransformDC2x2()
65 int c01 = pData[1]; in InvTransformDC2x2()
66 int c10 = pData[2]; in InvTransformDC2x2()
67 int c11 = pData[3]; in InvTransformDC2x2()
74 pData[0] = (OMX_S16)(d00 + d10); in InvTransformDC2x2()
75 pData[1] = (OMX_S16)(d01 + d11); in InvTransformDC2x2()
76 pData[2] = (OMX_S16)(d00 - d10); in InvTransformDC2x2()
77 pData[3] = (OMX_S16)(d01 - d11); in InvTransformDC2x2()
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
DFwdLockFile.c175 } *pData = malloc(sizeof *pData); in FwdLockFile_DeriveKeys() local
176 if (pData == NULL) { in FwdLockFile_DeriveKeys()
180 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE); in FwdLockFile_DeriveKeys()
182 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, &pData->sessionRoundKeys) != 0) { in FwdLockFile_DeriveKeys()
186 memset(pData->value, 0, KEY_SIZE); in FwdLockFile_DeriveKeys()
187 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockFile_DeriveKeys()
188 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, in FwdLockFile_DeriveKeys()
193 ++pData->value[0]; in FwdLockFile_DeriveKeys()
194 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockFile_DeriveKeys()
196 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL); in FwdLockFile_DeriveKeys()
[all …]
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/common/
DFwdLockGlue.c113 static int FwdLockGlue_ValidatePadding(const unsigned char *pData, size_t decryptedKeyLength) { in FwdLockGlue_ValidatePadding() argument
116 pData += decryptedKeyLength; in FwdLockGlue_ValidatePadding()
118 if ((size_t)*pData != padding) { in FwdLockGlue_ValidatePadding()
121 ++pData; in FwdLockGlue_ValidatePadding()
178 unsigned char *pData = malloc(dataLength); in FwdLockGlue_DecryptKey() local
179 if (pData != NULL) { in FwdLockGlue_DecryptKey()
181 memcpy(pData, pEncryptedKey, dataLength); in FwdLockGlue_DecryptKey()
183 AES_cbc_encrypt(pData, pData, dataLength, &decryptionRoundKeys, initVector, in FwdLockGlue_DecryptKey()
185 memcpy(pDecryptedKey, pData, decryptedKeyLength); in FwdLockGlue_DecryptKey()
186 result = FwdLockGlue_ValidatePadding(pData, decryptedKeyLength); in FwdLockGlue_DecryptKey()
[all …]
/frameworks/base/media/libeffects/lvm/lib/StereoWidening/src/
DLVCS_StereoEnhancer.c60 …LVCS_Data_t *pData = (LVCS_Data_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_P… in LVCS_SEnhancerInit() local
85 (void *)&pData->SEBiquadTapsMid, /* Destination Cast to void:\ in LVCS_SEnhancerInit()
87 … (LVM_UINT16)(sizeof(pData->SEBiquadTapsMid)/sizeof(LVM_UINT16))); /* Number of words */ in LVCS_SEnhancerInit()
90 &pData->SEBiquadTapsMid, in LVCS_SEnhancerInit()
112 (void *)&pData->SEBiquadTapsSide, /* Destination Cast to void:\ in LVCS_SEnhancerInit()
114 … (LVM_UINT16)(sizeof(pData->SEBiquadTapsSide)/sizeof(LVM_UINT16))); /* Number of words */ in LVCS_SEnhancerInit()
122 &pData->SEBiquadTapsSide, in LVCS_SEnhancerInit()
129 &pData->SEBiquadTapsSide, in LVCS_SEnhancerInit()
DLVCS_Equaliser.c64 …LVCS_Data_t *pData = (LVCS_Data_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_PERSI… in LVCS_EqualiserInit() local
90 (void *)&pData->EqualiserBiquadTaps, /* Destination Cast to void:\ in LVCS_EqualiserInit()
92 … (LVM_UINT16)(sizeof(pData->EqualiserBiquadTaps)/sizeof(LVM_INT16))); /* Number of words */ in LVCS_EqualiserInit()
95 &pData->EqualiserBiquadTaps, in LVCS_EqualiserInit()
DLVCS_ReverbGenerator.c69 …LVCS_Data_t *pData = (LVCS_Data_t *)pInstance->MemoryTable.Region[LVCS_MEMREGION_P… in LVCS_ReverbGeneratorInit() local
108 …(void *)&pData->ReverbBiquadTaps, /* Destination Cast to void: no dere… in LVCS_ReverbGeneratorInit()
109 … (LVM_UINT16)(sizeof(pData->ReverbBiquadTaps)/sizeof(LVM_INT16))); /* Number of words */ in LVCS_ReverbGeneratorInit()
112 &pData->ReverbBiquadTaps, in LVCS_ReverbGeneratorInit()
/frameworks/media/libvideoeditor/vss/stagefrightshells/src/
DVideoEditorBuffer.c134 if(M4OSA_NULL != ppool->pNXPBuffer[j].pData) in VIDEOEDITOR_BUFFER_freePool()
136 free(ppool->pNXPBuffer[j].pData); in VIDEOEDITOR_BUFFER_freePool()
137 ppool->pNXPBuffer[j].pData = M4OSA_NULL; in VIDEOEDITOR_BUFFER_freePool()
212 pool->pNXPBuffer[index].pData = M4OSA_NULL; in VIDEOEDITOR_BUFFER_initPoolBuffers()
213 pool->pNXPBuffer[index].pData = (M4OSA_Void*)M4OSA_32bitAlignedMalloc( in VIDEOEDITOR_BUFFER_initPoolBuffers()
216 if(M4OSA_NULL == pool->pNXPBuffer[index].pData) in VIDEOEDITOR_BUFFER_initPoolBuffers()
220 if(M4OSA_NULL != pool->pNXPBuffer[j].pData) in VIDEOEDITOR_BUFFER_initPoolBuffers()
222 free(pool->pNXPBuffer[j].pData); in VIDEOEDITOR_BUFFER_initPoolBuffers()
223 pool->pNXPBuffer[j].pData = M4OSA_NULL; in VIDEOEDITOR_BUFFER_initPoolBuffers()
/frameworks/base/media/jni/mediaeditor/
DVideoEditorOsal.cpp263 void *pData = M4OSA_NULL; in videoEditOsal_alloc() local
269pData = (M4VSS3GPP_EditSettings*)M4OSA_32bitAlignedMalloc(size, 0, (M4OSA_Char*)pDescription); in videoEditOsal_alloc()
270 if (M4OSA_NULL != pData) in videoEditOsal_alloc()
273 memset((void *)pData, 0,size); in videoEditOsal_alloc()
294 return(pData); in videoEditOsal_alloc()
299 void* pData) in videoEditOsal_free() argument
302 if (M4OSA_NULL != pData) in videoEditOsal_free()
310 free(pData); in videoEditOsal_free()
DVideoEditorOsal.h43 void* pData);
/frameworks/base/media/libdrm/mobile1/src/parser/
Dparser_dcf.c50 uint8_t *pHeader, *pData; in drm_dcfParser() local
80 pData = tmpBuf; in drm_dcfParser()
84 while (pStart < pData) { in drm_dcfParser()
86 while ('\r' != *pEnd && pEnd < pData) in drm_dcfParser()
122 *ppEncryptedData = pData; in drm_dcfParser()
/frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c248 } *pData = malloc(sizeof *pData); in FwdLockConv_DeriveKeys() local
249 if (pData == NULL) { in FwdLockConv_DeriveKeys()
253 &pData->sessionRoundKeys) != 0) { in FwdLockConv_DeriveKeys()
257 memset(pData->value, 0, KEY_SIZE); in FwdLockConv_DeriveKeys()
258 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockConv_DeriveKeys()
259 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, in FwdLockConv_DeriveKeys()
264 ++pData->value[0]; in FwdLockConv_DeriveKeys()
265 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockConv_DeriveKeys()
267 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL); in FwdLockConv_DeriveKeys()
271 memset(pData, 0, sizeof pData); // Zero out key data. in FwdLockConv_DeriveKeys()
[all …]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
DomxVCM4P10_TransformDequantLumaDCFromPair_s.s44 pData RN 0 label
161 LDMIA pData,{in00,in02,in10,in12,in20,in22,in30,in32}
301 M_STR pData,pDataOnStack
390 M_LDR pData,pDataOnStack ;// Restore pData pointer from stack
404 STMIA pData,{out00,out02,out10,out12,out20,out22,out30,out32}
/frameworks/base/media/libstagefright/codecs/common/include/
DvoAudio.h150 VO_U32 (VO_API * SetParam) (VO_HANDLE hCodec, VO_S32 uParamID, VO_PTR pData);
159 VO_U32 (VO_API * GetParam) (VO_HANDLE hCodec, VO_S32 uParamID, VO_PTR pData);
/frameworks/ex/variablespeed/jni/
Dvariablespeed.cc66 int8_t* pData; member
272 OpenSL(decoderQueue, Enqueue, context->pData, kBufferSizeInBytes); in RegisterCallbackContextAndAddEnqueueBuffersToDecoder()
273 context->pData += kBufferSizeInBytes; in RegisterCallbackContextAndAddEnqueueBuffersToDecoder()
275 context->pData = context->pDataBase; in RegisterCallbackContextAndAddEnqueueBuffersToDecoder()
651 callbackContext.pData = pcmData; in PlayFromThisSource()
820 decodeBuffer_.AddData(pCntxt->pData, kBufferSizeInBytes); in DecodingBufferQueueCallback()
837 OpenSL(queueItf, Enqueue, pCntxt->pData, kBufferSizeInBytes); in DecodingBufferQueueCallback()
840 pCntxt->pData += kBufferSizeInBytes; in DecodingBufferQueueCallback()
841 if (pCntxt->pData >= pCntxt->pDataBase + in DecodingBufferQueueCallback()
843 pCntxt->pData = pCntxt->pDataBase; in DecodingBufferQueueCallback()
/frameworks/media/libvideoeditor/osal/src/
DLVOSA_FileReader_optim.c191 M4OSA_FilePosition size, M4OSA_MemAddr8 pData) in M4OSA_FileReader_BufferCopy() argument
210 memcpy((void *)pData, (void *)(apContext->buffer[i].data + offset), copysize); in M4OSA_FileReader_BufferCopy()
662 M4OSA_ERR M4OSA_fileReadData_optim(M4OSA_Context pContext,M4OSA_MemAddr8 pData, in M4OSA_fileReadData_optim() argument
674 pContext, pData, *pSize); in M4OSA_fileReadData_optim()
678 M4ERR_CHECK_NULL_RETURN_VALUE(M4ERR_PARAMETER, pData); in M4OSA_fileReadData_optim()
721 apContext->absolutePos, copiedSize, pData); in M4OSA_fileReadData_optim()
739 *pSize-copiedSize, pData+copiedSize); in M4OSA_fileReadData_optim()
775 *pSize-copiedSize, pData+copiedSize); in M4OSA_fileReadData_optim()
788 *pSize-copiedSize, pData+copiedSize); in M4OSA_fileReadData_optim()
/frameworks/media/libvideoeditor/vss/3gpwriter/src/
DM4MP4W_Interface.c844 M4WRITER_DataInterface *pData; in M4WRITER_3GP_getInterfaces() local
879 pData = in M4WRITER_3GP_getInterfaces()
882 if (M4OSA_NULL == pData) in M4WRITER_3GP_getInterfaces()
903 pData->pStartAU = M4WRITER_3GP_startAU; in M4WRITER_3GP_getInterfaces()
904 pData->pProcessAU = M4WRITER_3GP_processAU; in M4WRITER_3GP_getInterfaces()
909 *SrcDataInterface = pData; in M4WRITER_3GP_getInterfaces()
/frameworks/base/media/libstagefright/codecs/aacenc/src/
Daacenc.c311 VO_U32 VO_API voAACEncSetParam(VO_HANDLE hCodec, VO_S32 uParamID, VO_PTR pData) in voAACEncSetParam() argument
327 if(pData == NULL) in voAACEncSetParam()
329 pAAC_param = (AACENC_PARAM*)pData; in voAACEncSetParam()
393 if(pData == NULL) in voAACEncSetParam()
395 pWAV_Format = (VO_AUDIO_FORMAT*)pData; in voAACEncSetParam()
472 VO_U32 VO_API voAACEncGetParam(VO_HANDLE hCodec, VO_S32 uParamID, VO_PTR pData) in voAACEncGetParam() argument
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
DomxVCM4P10_TransformDequantLumaDCFromPair_s.s49 pData RN 0 label
128 VLD4 {dIn0,dIn1,dIn2,dIn3},[pData]
207 VST1 {dOut0,dOut1,dOut2,dOut3}, [pData]
/frameworks/media/libvideoeditor/vss/stagefrightshells/inc/
DVideoEditorBuffer.h54 M4OSA_Void* pData; /**< Pointer to the data*/ member

12