/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | exposure.cpp | 35 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator() local 40 tempLuminance = (0.2126f * *(srcPtr + 4 * i) + in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator() 41 0.7152f * *(srcPtr + 4 * i + 1) + in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator() 42 0.0722f * *(srcPtr + 4 * i + 2)); in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator() 57 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator() local 62 tempLuminance = (0.2126f * *(srcPtr + 4 * i) + in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator() 63 0.7152f * *(srcPtr + 4 * i + 1) + in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator() 64 0.0722f * *(srcPtr + 4 * i + 2)); in Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator()
|
D | brightness.cpp | 36 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator() local 38 pixelTotals[0] += *(srcPtr + 4 * i); in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator() 39 pixelTotals[1] += *(srcPtr + 4 * i + 1); in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator() 40 pixelTotals[2] += *(srcPtr + 4 * i + 2); in Java_androidx_media_filterfw_samples_simplecamera_AvgBrightnessFilter_brightnessOperator()
|
D | contrast.cpp | 36 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator() local 39 lumArray[i] = (0.2126f * *(srcPtr + 4 * i) + 0.7152f * in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator() 40 *(srcPtr + 4 * i + 1) + 0.0722f * *(srcPtr + 4 * i + 2)) / 255; in Java_androidx_media_filterfw_samples_simplecamera_ContrastRatioFilter_contrastOperator()
|
D | sobeloperator.cpp | 72 unsigned char* srcPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer)); in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator() local 82 computeGradient(srcPtr, width, height, gxPtr, gyPtr); in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
D | CryptoPlugin.cpp | 36 Mode mode, const Pattern &/* pattern */, const void* srcPtr, in decrypt() argument 59 reinterpret_cast<const uint8_t*>(srcPtr) + offset, in decrypt() 67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples, in decrypt()
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 386 uint8_t* srcPtr = (uint8_t*)data + mWidth * mCropTop * 3 + mCropLeft * 3; in render() local 390 memcpy(dstPtr, srcPtr, mCropWidth * 3); in render() 391 srcPtr += mWidth * 3; in render() 395 uint8_t *srcPtr, *dstPtr; in render() local 398 srcPtr = (uint8_t*)data + mWidth * 4 * (y + mCropTop) + mCropLeft * 4; in render() 401 uint8_t a = *srcPtr++; in render() 403 *dstPtr++ = *srcPtr++; in render() 409 uint8_t* srcPtr = (uint8_t*)data + mWidth * mCropTop * 4 + mCropLeft * 4; in render() local 413 memcpy(dstPtr, srcPtr, mCropWidth * 4); in render() 414 srcPtr += mWidth * 4; in render()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDescrambler.cpp | 57 const void *srcPtr, 206 const void *srcPtr, in descramble() argument 224 (const void*)((const uint8_t*)srcPtr + srcOffset), totalLength); in descramble() 398 void *srcPtr = NULL, *dstPtr = NULL; in android_media_MediaDescrambler_native_descramble() local 401 env, srcBuf, srcOffset, srcLimit, totalLength, &srcPtr, &srcArray); in android_media_MediaDescrambler_native_descramble() 405 dstPtr = srcPtr; in android_media_MediaDescrambler_native_descramble() 430 srcPtr, srcOffset, dstPtr, dstOffset, in android_media_MediaDescrambler_native_descramble() 435 env->ReleaseByteArrayElements(srcArray, (jbyte *)srcPtr, 0); in android_media_MediaDescrambler_native_descramble()
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 45 void *srcPtr = nullptr; \ 59 srcPtr = ptr; \ 66 copyWithPadding(ptr, srcPtr, mSize, count); \ 70 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 73 ptr = srcPtr; \ 84 srcPtr = ptr; \ 91 copyWithPadding(ptr, srcPtr, mSize, count); \ 95 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 98 ptr = srcPtr; \ 110 srcPtr = ptr; \ [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | CryptoPlugin.cpp | 129 uint8_t* srcPtr = static_cast<uint8_t *>(base + source.offset + offset); in decrypt_1_2() local 182 reinterpret_cast<const uint8_t*>(srcPtr) + offset, in decrypt_1_2() 192 Status_V1_2 res = mSession->decrypt(keyId.data(), iv.data(), srcPtr, in decrypt_1_2()
|
D | Session.cpp | 72 const KeyId keyId, const Iv iv, const uint8_t* srcPtr, in decrypt() argument 92 itr->second /*key*/, iv, srcPtr, destPtr, subSamples, in decrypt()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 56 void *srcPtr = nullptr; \ 74 srcPtr = ptr; \ 81 copyWithPadding(ptr, srcPtr, mSize, count); \ 85 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 88 ptr = srcPtr; \ 103 srcPtr = ptr; \ 110 copyWithPadding(ptr, srcPtr, mSize, count); \ 114 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 117 ptr = srcPtr; \ 133 srcPtr = ptr; \ [all …]
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ClearKeyCasPlugin.cpp | 404 const void *srcPtr, void *dstPtr, AString * /* errorDetailMsg */) { in decrypt() argument 426 uint8_t *src = (uint8_t*)srcPtr; in decrypt() 497 const void *srcPtr, in descramble() argument 507 srcPtr, dstPtr, srcOffset, dstOffset); in descramble() 519 (uint8_t*)srcPtr + srcOffset, in descramble()
|
D | ClearKeySessionLibrary.h | 44 const void *srcPtr,
|
D | ClearKeyCasPlugin.h | 134 const void *srcPtr,
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | Bench.cpp | 318 const float * srcPtr = &mGFlop.srcBuffer[x - halfKX]; in GflopKernelC() local 321 sum += srcPtr[0] * krnPtr[0]; in GflopKernelC() 323 srcPtr++; in GflopKernelC()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | CryptoPlugin.h | 47 Mode mode, const Pattern &pattern, const void* srcPtr,
|
/frameworks/native/headers/media_plugin/media/cas/ |
D | DescramblerAPI.h | 92 const void *srcPtr,
|
/frameworks/native/headers/media_plugin/media/hardware/ |
D | CryptoAPI.h | 108 const void *srcPtr,
|
/frameworks/av/drm/mediacas/plugins/mock/ |
D | MockCasPlugin.cpp | 251 const void *srcPtr, in descramble() argument 260 srcPtr, dstPtr, srcOffset, dstOffset); in descramble()
|
D | MockCasPlugin.h | 124 const void *srcPtr,
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | Session.h | 57 const KeyId keyId, const Iv iv, const uint8_t* srcPtr,
|
/frameworks/rs/cpp/ |
D | Allocation.cpp | 192 static void copyWithPadding(void* ptr, const void* srcPtr, int mSize, int count) { in copyWithPadding() argument 196 const uint8_t *src = static_cast<const uint8_t *>(srcPtr); in copyWithPadding() 204 static void copyWithUnPadding(void* ptr, const void* srcPtr, int mSize, int count) { in copyWithUnPadding() argument 208 const uint8_t *src = static_cast<const uint8_t *>(srcPtr); in copyWithUnPadding()
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.h | 166 const Pattern &pattern, const void *srcPtr,
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScript.cpp | 872 int32_t *srcPtr = reinterpret_cast<int32_t *>(mScriptExec->getFieldAddress(slot)); in getGlobalVar() local 873 if (!srcPtr) { in getGlobalVar() 877 memcpy(data, srcPtr, dataLength); in getGlobalVar()
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 1118 const uint8_t *srcPtr = in read() local 1133 case 1: NALsize = srcPtr[srcOffset]; break; in read() 1134 case 2: NALsize = U16_AT(srcPtr + srcOffset); break; in read() 1135 case 3: NALsize = U24_AT(srcPtr + srcOffset); break; in read() 1136 case 4: NALsize = U32_AT(srcPtr + srcOffset); break; in read() 1155 &srcPtr[srcOffset + mNALSizeLen], in read()
|