Home
last modified time | relevance | path

Searched refs:dstPtr (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DCryptoPlugin.cpp38 void* dstPtr, AString* errorDetailMsg) { in decrypt() argument
58 memcpy(reinterpret_cast<uint8_t*>(dstPtr) + offset, in decrypt()
67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples, in decrypt()
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp387 uint8_t* dstPtr = (uint8_t*)dst + buf->stride * mCropTop * 3 + mCropLeft * 3; in render() local
390 memcpy(dstPtr, srcPtr, mCropWidth * 3); in render()
392 dstPtr += buf->stride * 3; in render()
395 uint8_t *srcPtr, *dstPtr; in render() local
399 dstPtr = (uint8_t*)dst + buf->stride * 4 * (y + mCropTop) + mCropLeft * 4; in render()
403 *dstPtr++ = *srcPtr++; in render()
405 *dstPtr++ = a; // alpha last (ARGB to RGBA) in render()
410 uint8_t* dstPtr = (uint8_t*)dst + buf->stride * mCropTop * 4 + mCropLeft * 4; in render() local
413 memcpy(dstPtr, srcPtr, mCropWidth * 4); in render()
415 dstPtr += buf->stride * 4; in render()
/frameworks/base/media/jni/
Dandroid_media_MediaDescrambler.cpp59 void *dstPtr,
208 void *dstPtr, in descramble() argument
251 memcpy((void*)((uint8_t*)dstPtr + dstOffset), mMem->unsecurePointer(), in descramble()
399 void *srcPtr = NULL, *dstPtr = NULL; in android_media_MediaDescrambler_native_descramble() local
406 dstPtr = srcPtr; in android_media_MediaDescrambler_native_descramble()
409 env, dstBuf, dstOffset, dstLimit, totalLength, &dstPtr, &dstArray); in android_media_MediaDescrambler_native_descramble()
431 srcPtr, srcOffset, dstPtr, dstOffset, in android_media_MediaDescrambler_native_descramble()
439 env->ReleaseByteArrayElements(dstArray, (jbyte *)dstPtr, 0); in android_media_MediaDescrambler_native_descramble()
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeyCasPlugin.cpp404 const void *srcPtr, void *dstPtr, AString * /* errorDetailMsg */) { in decrypt() argument
427 uint8_t *dst = (uint8_t*)dstPtr; in decrypt()
450 return dst - (uint8_t *)dstPtr; in decrypt()
499 void *dstPtr, in descramble() argument
507 srcPtr, dstPtr, srcOffset, dstOffset); in descramble()
520 dstPtr == NULL ? NULL : ((uint8_t*)dstPtr + dstOffset), in descramble()
DClearKeySessionLibrary.h45 void *dstPtr,
DClearKeyCasPlugin.h136 void *dstPtr,
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DCryptoPlugin.h49 void* dstPtr, android::AString* errorDetailMsg);
/frameworks/native/headers/media_plugin/media/cas/
DDescramblerAPI.h94 void *dstPtr,
/frameworks/native/headers/media_plugin/media/hardware/
DCryptoAPI.h110 void *dstPtr,
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DSession.h58 uint8_t* dstPtr, const std::vector<SubSample> subSamples,
/frameworks/av/drm/mediacas/plugins/mock/
DMockCasPlugin.cpp253 void *dstPtr, in descramble() argument
260 srcPtr, dstPtr, srcOffset, dstOffset); in descramble()
DMockCasPlugin.h126 void *dstPtr,
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dpvdec_api.cpp1682 uint8 *dstPtr, *orgPtr, *dstPtr2, *orgPtr2; in PVDecSetReference() local
1690 dstPtr = prevVop->yChan; in PVDecSetReference()
1692 oscl_memcpy(dstPtr, orgPtr, size); in PVDecSetReference()
1693 dstPtr = prevVop->uChan; in PVDecSetReference()
1697 oscl_memcpy(dstPtr, orgPtr, (size >> 2)); in PVDecSetReference()
1722 uint8 *dstPtr, *orgPtr, *dstPtr2, *orgPtr2; in PVDecSetEnhReference() local
1733 dstPtr = prevEnhcVop->yChan; in PVDecSetEnhReference()
1735 oscl_memcpy(dstPtr, orgPtr, size); in PVDecSetEnhReference()
1736 dstPtr = prevEnhcVop->uChan; in PVDecSetEnhReference()
1740 oscl_memcpy(dstPtr, orgPtr, (size >> 2)); in PVDecSetEnhReference()
/frameworks/base/tests/JankBench/app/src/main/jni/
DBench.cpp326 float * dstPtr = &mGFlop.dstBuffer[x]; in GflopKernelC() local
327 dstPtr[0] = sum; in GflopKernelC()
/frameworks/av/media/libstagefright/rtsp/
DAMPEG4AudioAssembler.cpp245 uint8_t *dstPtr = (*asc)->data(); in parseAudioSpecificConfig() local
247 *dstPtr++ = bs.getBits(8); in parseAudioSpecificConfig()
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.h168 void *dstPtr, AString *errorDetailMsg);
DMockDrmCryptoPlugin.cpp799 void *dstPtr, AString * /* errorDetailMsg */) in decrypt() argument
809 dstPtr); in decrypt()
/frameworks/rs/driver/
DrsdAllocation.cpp1047 uint8_t *dstPtr = GetOffsetPtr(dstAlloc, dstXoff, dstYoff + i, 0, dstLod, dstFace); in rsdAllocationData2D_alloc_script() local
1049 memcpy(dstPtr, srcPtr, w * elementSize); in rsdAllocationData2D_alloc_script()
1065 uint8_t *dstPtr = GetOffsetPtr(dstAlloc, dstXoff, dstYoff + i, dstZoff + j, in rsdAllocationData3D_alloc_script() local
1069 memcpy(dstPtr, srcPtr, w * elementSize); in rsdAllocationData3D_alloc_script()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1134 uint8_t *dstPtr = NULL; in read() local
1160 memcpy(&dstPtr[dstOffset], "\x00\x00\x00\x01", 4); in read()
1163 memcpy(&dstPtr[dstOffset + 4], in read()
1208 dstPtr = (uint8_t *)buffer->data(); in read()