/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_conceal.c | 265 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/compile/mclinker/include/mcld/ADT/ |
D | SizeTraits.h | 69 inline uint16_t bswap16(uint16_t pData) in bswap16() argument 71 return ((pData >> 8) & 0xFF) | ((pData & 0xFF) << 8); in bswap16() 76 inline uint32_t bswap32(uint32_t pData) in bswap32() argument 78 return (((pData & 0xFF000000) >> 24) | in bswap32() 79 ((pData & 0x00FF0000) >> 8) | in bswap32() 80 ((pData & 0x0000FF00) << 8) | in bswap32() 81 ((pData & 0x000000FF) << 24)); in bswap32() 87 inline uint64_t bswap64(uint64_t pData) in bswap64() argument 89 return (((pData & 0xFF00000000000000ULL) >> 56) | in bswap64() 90 ((pData & 0x00FF000000000000ULL) >> 40) | in bswap64() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Control.c | 120 (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 …]
|
D | LVDBE_Process.c | 107 (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()
|
D | LVDBE_Init.c | 216 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()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | omxVCM4P10_TransformDequantLumaDCFromPair.c | 65 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 …]
|
D | omxVCM4P10_TransformDequantChromaDCFromPair.c | 62 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/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
D | FwdLockFile.c | 177 } *pData = malloc(sizeof *pData); in FwdLockFile_DeriveKeys() local 178 if (pData == NULL) { in FwdLockFile_DeriveKeys() 182 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE); in FwdLockFile_DeriveKeys() 184 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, &pData->sessionRoundKeys) != 0) { in FwdLockFile_DeriveKeys() 188 memset(pData->value, 0, KEY_SIZE); in FwdLockFile_DeriveKeys() 189 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockFile_DeriveKeys() 190 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, in FwdLockFile_DeriveKeys() 195 ++pData->value[0]; in FwdLockFile_DeriveKeys() 196 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockFile_DeriveKeys() 198 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL); in FwdLockFile_DeriveKeys() [all …]
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | params.rsh | 22 static void debugParam(SgShaderParam *p, SgShaderParamData *pData) { 24 printName(pData->paramName); 26 rsDebug("type ", pData->type); 27 rsDebug("data timestamp ", pData->timestamp); 31 if (rsIsObject(pData->transform)) { 32 pTransform = (const SgTransform *)rsGetElementAt(pData->transform, 0); 41 if (rsIsObject(pData->light)) { 42 pLight = (const SgLight *)rsGetElementAt(pData->light, 0); 70 static bool processParam(SgShaderParam *p, SgShaderParamData *pData, 74 bool isDataOnly = (pData->type > SHADER_PARAM_DATA_ONLY); [all …]
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
D | FwdLockGlue.c | 113 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/wilhelm/tests/examples/ |
D | slesTestSawtoothBufferQueue.cpp | 75 SLint16* pData; // Current adress of local audio data storage member 92 if(pCntxt->pData < (pCntxt->pDataBase + pCntxt->size)) in BufferQueueCallback() 95 res = (*queueItf)->Enqueue(queueItf, (void*) pCntxt->pData, in BufferQueueCallback() 99 pCntxt->pData += AUDIO_DATA_BUFFER_SIZE; in BufferQueueCallback() 194 cntxt.pData = cntxt.pDataBase; in TestPlaySawtoothBufferQueue() 229 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue() 232 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; in TestPlaySawtoothBufferQueue() 234 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue() 237 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; in TestPlaySawtoothBufferQueue() 239 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue() [all …]
|
D | slesTestRecBuffQueue.cpp | 85 SLint8* pData; // Current address of local audio data storage member 123 pCntxt->pData += BUFFER_SIZE_IN_BYTES; in RecBufferQueueCallback() 125 if (pCntxt->pData >= pCntxt->pDataBase + (NB_BUFFERS_IN_QUEUE * BUFFER_SIZE_IN_BYTES)) { in RecBufferQueueCallback() 126 pCntxt->pData = pCntxt->pDataBase; in RecBufferQueueCallback() 278 cntxt.pData = cntxt.pDataBase; in TestRecToBuffQueue() 287 result = (*recBuffQueueItf)->Enqueue(recBuffQueueItf, cntxt.pData, BUFFER_SIZE_IN_BYTES); in TestRecToBuffQueue() 289 cntxt.pData += BUFFER_SIZE_IN_BYTES; in TestRecToBuffQueue() 292 cntxt.pData = cntxt.pDataBase; in TestRecToBuffQueue()
|
D | slesTestDecodeToBuffQueue.cpp | 115 SLint8* pData; // Current address of local audio data storage member 195 pCntxt->pData += BUFFER_SIZE_IN_BYTES; in DecPlayCallback() 197 if (pCntxt->pData >= pCntxt->pDataBase + (NB_BUFFERS_IN_QUEUE * BUFFER_SIZE_IN_BYTES)) { in DecPlayCallback() 198 pCntxt->pData = pCntxt->pDataBase; in DecPlayCallback() 213 pCntxt->pData, decQueueState.count, decQueueState.index); in DecPlayCallback() 405 cntxt.pData = cntxt.pDataBase; in TestDecToBuffQueue() 414 result = (*decBuffQueueItf)->Enqueue(decBuffQueueItf, cntxt.pData, BUFFER_SIZE_IN_BYTES); in TestDecToBuffQueue() 416 cntxt.pData += BUFFER_SIZE_IN_BYTES; in TestDecToBuffQueue() 419 cntxt.pData = cntxt.pDataBase; in TestDecToBuffQueue()
|
D | slesTestDecodeAac.cpp | 199 SLint8* pData; // Current address of local audio data storage member 327 if (outputFp != NULL && fwrite(pCntxt->pData, 1, BUFFER_SIZE_IN_BYTES, outputFp) in DecPlayCallback() 334 res = (*queueItf)->Enqueue(queueItf, pCntxt->pData, BUFFER_SIZE_IN_BYTES); in DecPlayCallback() 338 pCntxt->pData += BUFFER_SIZE_IN_BYTES; in DecPlayCallback() 339 if (pCntxt->pData >= pCntxt->pDataBase + (NB_BUFFERS_IN_PCM_QUEUE * BUFFER_SIZE_IN_BYTES)) { in DecPlayCallback() 340 pCntxt->pData = pCntxt->pDataBase; in DecPlayCallback() 615 sinkCntxt.pData = sinkCntxt.pDataBase; in TestDecToBuffQueue() 623 res = (*decBuffQueueItf)->Enqueue(decBuffQueueItf, sinkCntxt.pData, BUFFER_SIZE_IN_BYTES); in TestDecToBuffQueue() 625 sinkCntxt.pData += BUFFER_SIZE_IN_BYTES; in TestDecToBuffQueue() 626 if (sinkCntxt.pData >= sinkCntxt.pDataBase + in TestDecToBuffQueue() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
D | LVCS_StereoEnhancer.c | 60 …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()
|
D | LVCS_Equaliser.c | 64 …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()
|
D | LVCS_ReverbGenerator.c | 69 …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/av/libvideoeditor/vss/stagefrightshells/src/ |
D | VideoEditorBuffer.c | 134 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/ |
D | VideoEditorOsal.cpp | 263 void *pData = M4OSA_NULL; in videoEditOsal_alloc() local 269 … pData = (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()
|
/frameworks/base/media/libdrm/mobile1/src/parser/ |
D | parser_dcf.c | 50 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/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.c | 248 } *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/wilhelm/src/itf/ |
D | IAndroidBufferQueue.c | 296 void *pData, in IAndroidBufferQueue_Enqueue() argument 302 SL_LOGD("IAndroidBufferQueue_Enqueue pData=%p dataLength=%d", pData, dataLength); in IAndroidBufferQueue_Enqueue() 304 if ((dataLength > 0) && (NULL == pData)) { in IAndroidBufferQueue_Enqueue() 328 if ((dataLength > 0) && (*(SLuint8 *)pData != MPEG2_TS_PACKET_SYNC)) { in IAndroidBufferQueue_Enqueue() 344 pData, dataLength); in IAndroidBufferQueue_Enqueue() 374 oldRear->mDataBuffer = pData; in IAndroidBufferQueue_Enqueue()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
D | omxVCM4P10_TransformDequantLumaDCFromPair_s.s | 44 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/ex/variablespeed/jni/ |
D | variablespeed.cc | 66 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/av/libvideoeditor/osal/src/ |
D | LVOSA_FileReader_optim.c | 191 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()
|