/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 | 315 uint8_t* srcPtr = (uint8_t*)data; in render() local 319 memcpy(dstPtr, srcPtr, mCropWidth * 3); in render() 320 srcPtr += mWidth * 3; in render() 327 uint8_t *srcPtr, *dstPtr; in render() local 330 srcPtr = (uint8_t*)data + mWidth * 4 * y; in render() 333 uint8_t a = *srcPtr++; in render() 335 *dstPtr++ = *srcPtr++; in render() 344 uint8_t* srcPtr = (uint8_t*)data; in render() local 348 memcpy(dstPtr, srcPtr, mCropWidth * 4); in render() 349 srcPtr += mWidth * 4; in render()
|
/frameworks/base/libs/hwui/font/ |
D | FontUtil.h | 50 static inline glyph_t nextGlyph(const uint16_t** srcPtr) { in nextGlyph() argument 51 const uint16_t* src = *srcPtr; in nextGlyph() 53 *srcPtr = src; in nextGlyph()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
D | CryptoPlugin.cpp | 36 Mode mode, 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 void* srcPtr,
|
/frameworks/support/v8/renderscript/jni/ |
D | android_renderscript_RenderScript.cpp | 41 void *srcPtr = nullptr; \ 55 srcPtr = ptr; \ 62 copyWithPadding(ptr, srcPtr, mSize, count); \ 66 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 69 ptr = srcPtr; \ 80 srcPtr = ptr; \ 87 copyWithPadding(ptr, srcPtr, mSize, count); \ 91 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 94 ptr = srcPtr; \ 106 srcPtr = ptr; \ [all …]
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 55 void *srcPtr = nullptr; \ 69 srcPtr = ptr; \ 76 copyWithPadding(ptr, srcPtr, mSize, count); \ 80 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 83 ptr = srcPtr; \ 94 srcPtr = ptr; \ 101 copyWithPadding(ptr, srcPtr, mSize, count); \ 105 copyWithUnPadding(srcPtr, ptr, mSize, count); \ 108 ptr = srcPtr; \ 120 srcPtr = ptr; \ [all …]
|
/frameworks/av/media/libmediaplayerservice/ |
D | Crypto.cpp | 256 const void *srcPtr = static_cast<uint8_t *>(sharedBuffer->pointer()) + offset; in decrypt() local 259 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr, in decrypt()
|
/frameworks/native/include/media/hardware/ |
D | CryptoAPI.h | 99 const void *srcPtr,
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 601 const uint8_t *srcPtr = in read() local 616 case 1: NALsize = srcPtr[srcOffset]; break; in read() 617 case 2: NALsize = U16_AT(srcPtr + srcOffset); break; in read() 618 case 3: NALsize = U24_AT(srcPtr + srcOffset); break; in read() 619 case 4: NALsize = U32_AT(srcPtr + srcOffset); break; in read() 637 &srcPtr[srcOffset + mNALSizeLen], in read()
|
/frameworks/base/libs/hwui/ |
D | SkiaCanvasProxy.cpp | 102 void SkiaCanvasProxy::onDrawBitmapRect(const SkBitmap& bitmap, const SkRect* srcPtr, in onDrawBitmapRect() argument 104 SkRect src = (srcPtr) ? *srcPtr : SkRect::MakeWH(bitmap.width(), bitmap.height()); in onDrawBitmapRect()
|
/frameworks/rs/cpp/ |
D | Allocation.cpp | 193 static void copyWithPadding(void* ptr, const void* srcPtr, int mSize, int count) { in copyWithPadding() argument 197 const uint8_t *src = static_cast<const uint8_t *>(srcPtr); in copyWithPadding() 205 static void copyWithUnPadding(void* ptr, const void* srcPtr, int mSize, int count) { in copyWithUnPadding() argument 209 const uint8_t *src = static_cast<const uint8_t *>(srcPtr); in copyWithUnPadding()
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.h | 164 Mode mode, const void *srcPtr,
|
D | MockDrmCryptoPlugin.cpp | 801 Mode mode, const void *srcPtr, const SubSample *subSamples, in decrypt() argument 809 (int)mode, srcPtr, in decrypt()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScript.cpp | 803 int32_t *srcPtr = reinterpret_cast<int32_t *>(mScriptExec->getFieldAddress(slot)); in getGlobalVar() local 804 if (!srcPtr) { in getGlobalVar() 808 memcpy(data, srcPtr, dataLength); in getGlobalVar()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 1061 uint8_t *srcPtr = GetOffsetPtr(srcAlloc, srcXoff, srcYoff + i, 0, srcLod, srcFace); in rsdAllocationData2D_alloc_script() local 1062 memcpy(dstPtr, srcPtr, w * elementSize); in rsdAllocationData2D_alloc_script() 1080 uint8_t *srcPtr = GetOffsetPtr(srcAlloc, srcXoff, srcYoff + i, srcZoff + j, in rsdAllocationData3D_alloc_script() local 1082 memcpy(dstPtr, srcPtr, w * elementSize); in rsdAllocationData3D_alloc_script()
|