/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/media/libstagefright/colorconversion/ |
D | SoftwareRenderer.cpp | 319 uint8_t* srcPtr = (uint8_t*)data + mWidth * mCropTop * 3 + mCropLeft * 3; in render() local 323 memcpy(dstPtr, srcPtr, mCropWidth * 3); in render() 324 srcPtr += mWidth * 3; in render() 328 uint8_t *srcPtr, *dstPtr; in render() local 331 srcPtr = (uint8_t*)data + mWidth * 4 * (y + mCropTop) + mCropLeft * 4; in render() 334 uint8_t a = *srcPtr++; in render() 336 *dstPtr++ = *srcPtr++; in render() 342 uint8_t* srcPtr = (uint8_t*)data + mWidth * mCropTop * 4 + mCropLeft * 4; in render() local 346 memcpy(dstPtr, srcPtr, mCropWidth * 4); in render() 347 srcPtr += mWidth * 4; in render()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
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()
|
D | CryptoPlugin.h | 47 Mode mode, const Pattern &pattern, const void* srcPtr,
|
/frameworks/base/media/jni/ |
D | android_media_MediaDescrambler.cpp | 166 const void *srcPtr, in descramble() argument 184 (const void*)((const uint8_t*)srcPtr + srcOffset), totalLength); in descramble() 352 void *srcPtr = NULL, *dstPtr = NULL; in android_media_MediaDescrambler_native_descramble() local 355 env, srcBuf, srcOffset, srcLimit, totalLength, &srcPtr, &srcArray); in android_media_MediaDescrambler_native_descramble() 359 dstPtr = srcPtr; in android_media_MediaDescrambler_native_descramble() 378 srcPtr, srcOffset, dstPtr, dstOffset, in android_media_MediaDescrambler_native_descramble() 383 env->ReleaseByteArrayElements(srcArray, (jbyte *)srcPtr, 0); in android_media_MediaDescrambler_native_descramble()
|
D | android_media_MediaDescrambler.h | 44 const void *srcPtr,
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 43 void *srcPtr = nullptr; \ 57 srcPtr = ptr; \ 64 copyWithPadding(ptr, srcPtr, mSize, count); \ 68 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 71 ptr = srcPtr; \ 82 srcPtr = ptr; \ 89 copyWithPadding(ptr, srcPtr, mSize, count); \ 93 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 96 ptr = srcPtr; \ 108 srcPtr = ptr; \ [all …]
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ClearKeyCasPlugin.cpp | 345 const void *srcPtr, void *dstPtr, AString * /* errorDetailMsg */) { in decrypt() argument 364 uint8_t *src = (uint8_t*)srcPtr; in decrypt() 435 const void *srcPtr, in descramble() argument 445 srcPtr, dstPtr, srcOffset, dstOffset); in descramble() 457 (uint8_t*)srcPtr + srcOffset, in descramble()
|
D | ClearKeySessionLibrary.h | 44 const void *srcPtr,
|
D | ClearKeyCasPlugin.h | 116 const void *srcPtr,
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 55 void *srcPtr = nullptr; \ 73 srcPtr = ptr; \ 80 copyWithPadding(ptr, srcPtr, mSize, count); \ 84 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 87 ptr = srcPtr; \ 102 srcPtr = ptr; \ 109 copyWithPadding(ptr, srcPtr, mSize, count); \ 113 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 116 ptr = srcPtr; \ 132 srcPtr = ptr; \ [all …]
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvasProxy.cpp | 136 void SkiaCanvasProxy::onDrawBitmapRect(const SkBitmap& skBitmap, const SkRect* srcPtr, in onDrawBitmapRect() argument 138 SkRect src = (srcPtr) ? *srcPtr : SkRect::MakeWH(skBitmap.width(), skBitmap.height()); in onDrawBitmapRect() 160 void SkiaCanvasProxy::onDrawImageRect(const SkImage* image, const SkRect* srcPtr, const SkRect& dst, in onDrawImageRect() argument 166 SkRect src = (srcPtr) ? *srcPtr : SkRect::MakeWH(image->width(), image->height()); in onDrawImageRect()
|
/frameworks/av/drm/mediacas/plugins/mock/ |
D | MockCasPlugin.cpp | 215 const void *srcPtr, in descramble() argument 224 srcPtr, dstPtr, srcOffset, dstOffset); in descramble()
|
D | MockCasPlugin.h | 109 const void *srcPtr,
|
/frameworks/native/headers/media_plugin/media/cas/ |
D | DescramblerAPI.h | 88 const void *srcPtr,
|
/frameworks/native/headers/media_plugin/media/hardware/ |
D | CryptoAPI.h | 108 const void *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/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 715 const uint8_t *srcPtr = in read() local 730 case 1: NALsize = srcPtr[srcOffset]; break; in read() 731 case 2: NALsize = U16_AT(srcPtr + srcOffset); break; in read() 732 case 3: NALsize = U24_AT(srcPtr + srcOffset); break; in read() 733 case 4: NALsize = U32_AT(srcPtr + srcOffset); break; in read() 752 &srcPtr[srcOffset + mNALSizeLen], in read()
|
/frameworks/rs/rsov/driver/ |
D | rsovAllocation.cpp | 509 uint8_t *srcPtr = in rsovAllocationData2D_alloc_script() local 511 memcpy(dstPtr, srcPtr, w * elementSize); in rsovAllocationData2D_alloc_script() 526 uint8_t *srcPtr = in rsovAllocationData3D_alloc_script() local 529 memcpy(dstPtr, srcPtr, w * elementSize); in rsovAllocationData3D_alloc_script()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScript.cpp | 871 int32_t *srcPtr = reinterpret_cast<int32_t *>(mScriptExec->getFieldAddress(slot)); in getGlobalVar() local 872 if (!srcPtr) { in getGlobalVar() 876 memcpy(data, srcPtr, dataLength); in getGlobalVar()
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.h | 166 const Pattern &pattern, const void *srcPtr,
|
D | MockDrmCryptoPlugin.cpp | 797 const Pattern &pattern, const void *srcPtr, in decrypt() argument 807 (int)mode, pattern.mEncryptBlocks, pattern.mSkipBlocks, srcPtr, in decrypt()
|