/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/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() 237 pMixer_Instance = &pInstance->pData->BypassVolume; in LVDBE_Init() 246 pInstance->pData->AGCInstance.Volume = pInstance->pData->AGCInstance.Target; in LVDBE_Init() 262 pBypassMixer_Instance = &pInstance->pData->BypassMixer; in LVDBE_Init()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
D | omxVCM4P10_TransformDequantLumaDCFromPair.c | 80 static void InvTransformDC4x4(OMX_S16* pData) in InvTransformDC4x4() argument 87 int c0 = pData[i+0]; in InvTransformDC4x4() 88 int c1 = pData[i+1]; in InvTransformDC4x4() 89 int c2 = pData[i+2]; in InvTransformDC4x4() 90 int c3 = pData[i+3]; in InvTransformDC4x4() 91 pData[i+0] = (OMX_S16)(c0+c1+c2+c3); in InvTransformDC4x4() 92 pData[i+1] = (OMX_S16)(c0+c1-c2-c3); in InvTransformDC4x4() 93 pData[i+2] = (OMX_S16)(c0-c1-c2+c3); in InvTransformDC4x4() 94 pData[i+3] = (OMX_S16)(c0-c1+c2-c3); in InvTransformDC4x4() 100 int c0 = pData[i+0]; in InvTransformDC4x4() [all …]
|
D | omxVCM4P10_TransformDequantChromaDCFromPair.c | 77 static void InvTransformDC2x2(OMX_S16* pData) in InvTransformDC2x2() argument 79 int c00 = pData[0]; in InvTransformDC2x2() 80 int c01 = pData[1]; in InvTransformDC2x2() 81 int c10 = pData[2]; in InvTransformDC2x2() 82 int c11 = pData[3]; in InvTransformDC2x2() 89 pData[0] = (OMX_S16)(d00 + d10); in InvTransformDC2x2() 90 pData[1] = (OMX_S16)(d01 + d11); in InvTransformDC2x2() 91 pData[2] = (OMX_S16)(d00 - d10); in InvTransformDC2x2() 92 pData[3] = (OMX_S16)(d01 - d11); in InvTransformDC2x2()
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | SizeTraits.h | 123 inline uint16_t bswap16(uint16_t pData) in bswap16() argument 125 return ((pData >> 8) & 0xFF) | ((pData & 0xFF) << 8); in bswap16() 130 inline uint32_t bswap32(uint32_t pData) in bswap32() argument 132 return (((pData & 0xFF000000) >> 24) | in bswap32() 133 ((pData & 0x00FF0000) >> 8) | in bswap32() 134 ((pData & 0x0000FF00) << 8) | in bswap32() 135 ((pData & 0x000000FF) << 24)); in bswap32() 141 inline uint64_t bswap64(uint64_t pData) in bswap64() argument 143 return (((pData & 0xFF00000000000000ULL) >> 56) | in bswap64() 144 ((pData & 0x00FF000000000000ULL) >> 40) | in bswap64() [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/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/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 | 88 SLint8* pData; // Current address of local audio data storage member 126 pCntxt->pData += BUFFER_SIZE_IN_BYTES; in RecBufferQueueCallback() 128 if (pCntxt->pData >= pCntxt->pDataBase + (NB_BUFFERS_IN_QUEUE * BUFFER_SIZE_IN_BYTES)) { in RecBufferQueueCallback() 129 pCntxt->pData = pCntxt->pDataBase; in RecBufferQueueCallback() 281 cntxt.pData = cntxt.pDataBase; in TestRecToBuffQueue() 290 result = (*recBuffQueueItf)->Enqueue(recBuffQueueItf, cntxt.pData, BUFFER_SIZE_IN_BYTES); in TestRecToBuffQueue() 292 cntxt.pData += BUFFER_SIZE_IN_BYTES; in TestRecToBuffQueue() 295 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/compile/libbcc/include/bcc/Support/ |
D | Sha1Util.h | 44 const uint8_t *pData, size_t pSize); 48 const char *pData, size_t pSize) { in GetSHA1DigestFromBuffer() argument 50 reinterpret_cast<const uint8_t*>(pData), in GetSHA1DigestFromBuffer()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64RelocationHelpers.h | 84 static inline uint32_t helper_get_upper32(Relocator::DWord pData) in helper_get_upper32() argument 87 return pData >> 32; in helper_get_upper32() 88 return pData & 0xFFFFFFFF; in helper_get_upper32() 91 static inline void helper_put_upper32(uint32_t pData, Relocator::DWord& pDes) in helper_put_upper32() argument 93 *(reinterpret_cast<uint32_t*>(&pDes)) = pData; in helper_put_upper32()
|
/frameworks/compile/libbcc/lib/Support/ |
D | Sha1Util.cpp | 65 const uint8_t *pData, size_t pSize) { in GetSHA1DigestFromBuffer() argument 71 reinterpret_cast<const unsigned char *>(pData), in GetSHA1DigestFromBuffer()
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | aacenc.c | 315 VO_U32 VO_API voAACEncSetParam(VO_HANDLE hCodec, VO_S32 uParamID, VO_PTR pData) in voAACEncSetParam() argument 331 if(pData == NULL) in voAACEncSetParam() 333 pAAC_param = (AACENC_PARAM*)pData; in voAACEncSetParam() 397 if(pData == NULL) in voAACEncSetParam() 399 pWAV_Format = (VO_AUDIO_FORMAT*)pData; in voAACEncSetParam() 476 VO_U32 VO_API voAACEncGetParam(VO_HANDLE hCodec, VO_S32 uParamID, VO_PTR pData) in voAACEncGetParam() argument 480 UNUSED(pData); in voAACEncGetParam()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.c | 250 struct FwdLockConv_DeriveKeys_Data *pData = malloc(kSize); in FwdLockConv_DeriveKeys() local 251 if (pData == NULL) { in FwdLockConv_DeriveKeys() 255 &pData->sessionRoundKeys) != 0) { in FwdLockConv_DeriveKeys() 259 memset(pData->value, 0, KEY_SIZE); in FwdLockConv_DeriveKeys() 260 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockConv_DeriveKeys() 261 if (AES_set_encrypt_key(pData->key, KEY_SIZE_IN_BITS, in FwdLockConv_DeriveKeys() 266 ++pData->value[0]; in FwdLockConv_DeriveKeys() 267 AES_encrypt(pData->value, pData->key, &pData->sessionRoundKeys); in FwdLockConv_DeriveKeys() 269 HMAC_Init_ex(&pSession->signingContext, pData->key, KEY_SIZE, EVP_sha1(), NULL); in FwdLockConv_DeriveKeys() 273 memset(pData, 0, kSize); // Zero out key data. in FwdLockConv_DeriveKeys() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 350 uint8_t *pData = NULL; in Image_getLockedBufferInfo() local 360 pData = in Image_getLockedBufferInfo() 382 pData = in Image_getLockedBufferInfo() 402 pData = in Image_getLockedBufferInfo() 414 pData = buffer->data; in Image_getLockedBufferInfo() 422 pData = buffer->data; in Image_getLockedBufferInfo() 430 pData = buffer->data; in Image_getLockedBufferInfo() 437 pData = buffer->data; in Image_getLockedBufferInfo() 450 pData = buffer->data; in Image_getLockedBufferInfo() 458 pData = buffer->data; in Image_getLockedBufferInfo() [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/compile/mclinker/lib/Target/Mips/ |
D | MipsLA25Stub.cpp | 49 const uint32_t* pData, in MipsLA25Stub() argument 55 m_pData(pData), in MipsLA25Stub()
|