/frameworks/compile/mclinker/include/mcld/ADT/ |
D | SizeTraits.h | 115 inline uint16_t bswap16(uint16_t pData) { in bswap16() argument 116 return ((pData >> 8) & 0xFF) | ((pData & 0xFF) << 8); in bswap16() 121 inline uint32_t bswap32(uint32_t pData) { in bswap32() argument 122 return (((pData & 0xFF000000) >> 24) | ((pData & 0x00FF0000) >> 8) | in bswap32() 123 ((pData & 0x0000FF00) << 8) | ((pData & 0x000000FF) << 24)); in bswap32() 128 inline uint64_t bswap64(uint64_t pData) { in bswap64() argument 129 return (((pData & 0xFF00000000000000ULL) >> 56) | in bswap64() 130 ((pData & 0x00FF000000000000ULL) >> 40) | in bswap64() 131 ((pData & 0x0000FF0000000000ULL) >> 24) | in bswap64() 132 ((pData & 0x000000FF00000000ULL) >> 8) | in bswap64() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
D | LVDBE_Control.cpp | 144 pInstance->pData->AGCInstance.AGC_Attack = in LVDBE_SetAGC() 146 pInstance->pData->AGCInstance.AGC_Decay = in LVDBE_SetAGC() 153 pInstance->pData->AGCInstance.AGC_MaxGain = in LVDBE_SetAGC() 156 pInstance->pData->AGCInstance.AGC_MaxGain = in LVDBE_SetAGC() 159 pInstance->pData->AGCInstance.AGC_Target = AGC_TARGETLEVEL; in LVDBE_SetAGC() 215 pInstance->pData->AGCInstance.Target = (LVDBE_VolumeTable[dBOffset]); in LVDBE_SetVolume() 216 pInstance->pData->AGCInstance.Target = pInstance->pData->AGCInstance.Target / dBShifts_fac; in LVDBE_SetVolume() 217 pInstance->pData->AGCInstance.VolumeTC = in LVDBE_SetVolume() 224 LVC_Mixer_SetTarget(&pInstance->pData->BypassVolume.MixerStream[0], in LVDBE_SetVolume() 227 LVC_Mixer_SetTarget(&pInstance->pData->BypassVolume.MixerStream[0], in LVDBE_SetVolume() [all …]
|
D | LVDBE_Init.cpp | 87 pInstance->pData = (LVDBE_Data_FLOAT_t*)calloc(1, sizeof(*(pInstance->pData))); in LVDBE_Init() 88 if (pInstance->pData == NULL) { in LVDBE_Init() 109 pInstance->pData->AGCInstance.AGC_Gain = pInstance->pData->AGCInstance.AGC_MaxGain; in LVDBE_Init() 114 pMixer_Instance = &pInstance->pData->BypassVolume; in LVDBE_Init() 123 pInstance->pData->AGCInstance.Volume = pInstance->pData->AGCInstance.Target; in LVDBE_Init() 138 pBypassMixer_Instance = &pInstance->pData->BypassMixer; in LVDBE_Init() 182 if (pInstance->pData != LVM_NULL) { in LVDBE_DeInit() 183 free(pInstance->pData); in LVDBE_DeInit() 184 pInstance->pData = LVM_NULL; in LVDBE_DeInit()
|
D | LVDBE_Process.cpp | 116 (LVC_Mixer_GetCurrent(&pInstance->pData->BypassMixer.MixerStream[0]) != in LVDBE_Process() 117 LVC_Mixer_GetTarget(&pInstance->pData->BypassMixer.MixerStream[0]))) { in LVDBE_Process() 144 AGC_MIX_VOL_Mc1Mon_D32_WRA(&pInstance->pData->AGCInstance, /* Instance pointer */ in LVDBE_Process() 157 (LVC_Mixer_GetCurrent(&pInstance->pData->BypassMixer.MixerStream[1]) != in LVDBE_Process() 158 LVC_Mixer_GetTarget(&pInstance->pData->BypassMixer.MixerStream[1]))) { in LVDBE_Process() 163 LVC_MixSoft_Mc_D16C31_SAT(&pInstance->pData->BypassVolume, pInData, pScratchVol, in LVDBE_Process() 173 LVC_MixSoft_2Mc_D16C31_SAT(&pInstance->pData->BypassMixer, pScratch, pScratchVol, pOutData, in LVDBE_Process()
|
/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/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
D | FwdLockFile.c | 180 struct FwdLockFile_DeriveKeys_Data *pData = malloc(kSize); in FwdLockFile_DeriveKeys() local 181 if (pData == NULL) { in FwdLockFile_DeriveKeys() 185 pSession->encryptedSessionKeyLength, pData->key, KEY_SIZE); in FwdLockFile_DeriveKeys() 187 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, &pData->sessionRoundKeys) != 0) { in FwdLockFile_DeriveKeys() 191 memset(pData->value, 0, KEY_SIZE); in FwdLockFile_DeriveKeys() 192 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockFile_DeriveKeys() 193 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, in FwdLockFile_DeriveKeys() 198 ++pData->value[0]; in FwdLockFile_DeriveKeys() 199 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockFile_DeriveKeys() 201 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL); in FwdLockFile_DeriveKeys() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_Utils.cpp | 169 uint8_t *pData = NULL; in getLockedImageInfo() local 200 pData = in getLockedImageInfo() 247 pData = in getLockedImageInfo() 290 pData = in getLockedImageInfo() 317 pData = in getLockedImageInfo() 343 pData = (idx == 0) ? buffer->data : (idx == 1) ? cb : cr; in getLockedImageInfo() 351 pData = buffer->data; in getLockedImageInfo() 361 pData = buffer->data; in getLockedImageInfo() 379 pData = buffer->data; in getLockedImageInfo() 388 pData = buffer->data; in getLockedImageInfo() [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() 191 cntxt.pData = cntxt.pDataBase; in TestPlaySawtoothBufferQueue() 226 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue() 229 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; in TestPlaySawtoothBufferQueue() 231 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue() 234 cntxt.pData += AUDIO_DATA_BUFFER_SIZE; in TestPlaySawtoothBufferQueue() 236 res = (*bufferQueueItf)->Enqueue(bufferQueueItf, cntxt.pData, in TestPlaySawtoothBufferQueue() [all …]
|
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 | slesTestRecBuffQueue.cpp | 87 SLint8* pData; // Current address of local audio data storage member 145 pCntxt->pData += BUFFER_SIZE_IN_BYTES; in RecBufferQueueCallback() 147 if (pCntxt->pData >= pCntxt->pDataBase + (NB_BUFFERS_IN_QUEUE * BUFFER_SIZE_IN_BYTES)) { in RecBufferQueueCallback() 148 pCntxt->pData = pCntxt->pDataBase; in RecBufferQueueCallback() 443 cntxt.pData = cntxt.pDataBase; in TestRecToBuffQueue() 452 result = (*recBuffQueueItf)->Enqueue(recBuffQueueItf, cntxt.pData, BUFFER_SIZE_IN_BYTES); in TestRecToBuffQueue() 454 cntxt.pData += BUFFER_SIZE_IN_BYTES; in TestRecToBuffQueue() 457 cntxt.pData = cntxt.pDataBase; in TestRecToBuffQueue()
|
D | slesTestDecodeAac.cpp | 197 SLint8* pData; // Current address of local audio data storage member 326 if (outputFp != NULL && fwrite(pCntxt->pData, 1, BUFFER_SIZE_IN_BYTES, outputFp) in DecPlayCallback() 333 res = (*queueItf)->Enqueue(queueItf, pCntxt->pData, BUFFER_SIZE_IN_BYTES); in DecPlayCallback() 337 pCntxt->pData += BUFFER_SIZE_IN_BYTES; in DecPlayCallback() 338 if (pCntxt->pData >= pCntxt->pDataBase + (NB_BUFFERS_IN_PCM_QUEUE * BUFFER_SIZE_IN_BYTES)) { in DecPlayCallback() 339 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/ndk/ |
D | NdkImage.cpp | 454 uint8_t* pData = nullptr; in getPlaneData() local 460 pData = (planeIdx == 0) ? mLockedBuffer->data in getPlaneData() 485 pData = (planeIdx == 0) ? mLockedBuffer->data in getPlaneData() 503 pData = (planeIdx == 0) ? mLockedBuffer->data in getPlaneData() 524 pData = (planeIdx == 0) ? mLockedBuffer->data : in getPlaneData() 545 pData = (planeIdx == 0) ? mLockedBuffer->data : (planeIdx == 1) ? cb : cr; in getPlaneData() 551 pData = mLockedBuffer->data; in getPlaneData() 557 pData = mLockedBuffer->data; in getPlaneData() 569 pData = mLockedBuffer->data; in getPlaneData() 575 pData = mLockedBuffer->data; in getPlaneData() [all …]
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64RelocationHelpers.h | 74 static inline uint32_t helper_get_upper32(Relocator::DWord pData) { in helper_get_upper32() argument 76 return pData >> 32; in helper_get_upper32() 77 return pData & 0xFFFFFFFF; in helper_get_upper32() 80 static inline void helper_put_upper32(uint32_t pData, Relocator::DWord& pDes) { in helper_put_upper32() argument 81 *(reinterpret_cast<uint32_t*>(&pDes)) = pData; in helper_put_upper32()
|
D | AArch64CA53Erratum843419Stub2.cpp | 38 const uint32_t* pData, in AArch64CA53Erratum843419Stub2() argument 43 : AArch64CA53ErratumStub(pData, pSize, pName, pBegin, pEnd) { in AArch64CA53Erratum843419Stub2()
|
D | AArch64CA53Erratum835769Stub.cpp | 35 const uint32_t* pData, in AArch64CA53Erratum835769Stub() argument 40 : AArch64CA53ErratumStub(pData, pSize, pName, pBegin, pEnd) { in AArch64CA53Erratum835769Stub()
|
D | AArch64CA53Erratum843419Stub.cpp | 37 const uint32_t* pData, in AArch64CA53Erratum843419Stub() argument 42 : AArch64CA53ErratumStub(pData, pSize, pName, pBegin, pEnd) { in AArch64CA53Erratum843419Stub()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | GCFactoryListTraits.h | 38 static void destroySentinel(DataType* pData) {} in destroySentinel() argument 42 DataType* ensureHead(DataType* pData) const { return createSentinel(); } in ensureHead() argument
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.c | 251 struct FwdLockConv_DeriveKeys_Data *pData = malloc(kSize); in FwdLockConv_DeriveKeys() local 252 if (pData == NULL) { in FwdLockConv_DeriveKeys() 256 &pData->sessionRoundKeys) != 0) { in FwdLockConv_DeriveKeys() 260 memset(pData->value, 0, KEY_SIZE); in FwdLockConv_DeriveKeys() 261 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockConv_DeriveKeys() 262 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, in FwdLockConv_DeriveKeys() 267 ++pData->value[0]; in FwdLockConv_DeriveKeys() 268 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockConv_DeriveKeys() 270 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL); in FwdLockConv_DeriveKeys() 274 memset(pData, 0, kSize); // Zero out key data. in FwdLockConv_DeriveKeys() [all …]
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsLA25Stub.cpp | 41 const uint32_t* pData, in MipsLA25Stub() argument 45 : m_Target(pTarget), m_Name("pic"), m_pData(pData), m_Size(pSize) { in MipsLA25Stub()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | EhFrameReader.h | 67 llvm::StringRef pData) const; 92 llvm::StringRef pData) const;
|
/frameworks/wilhelm/src/itf/ |
D | IAndroidBufferQueue.cpp | 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/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonAbsoluteStub.cpp | 48 HexagonAbsoluteStub::HexagonAbsoluteStub(const uint32_t* pData, in HexagonAbsoluteStub() argument 52 : Stub(), m_Name("AbsVeneer"), m_pData(pData), m_Size(pSize) { in HexagonAbsoluteStub()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMToTHMStub.cpp | 51 ARMToTHMStub::ARMToTHMStub(const uint32_t* pData, in ARMToTHMStub() argument 55 : m_pData(pData), m_Name("A2T_veneer"), m_Size(pSize) { in ARMToTHMStub()
|
D | ARMToARMStub.cpp | 49 ARMToARMStub::ARMToARMStub(const uint32_t* pData, in ARMToARMStub() argument 53 : m_pData(pData), m_Name("A2A_veneer"), m_Size(pSize) { in ARMToARMStub()
|
/frameworks/av/media/module/codecs/common/include/ |
D | voAudio.h | 150 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);
|