/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/base/libs/hwui/font/ |
D | FontUtil.h | 47 static glyph_t nextGlyph(const uint16_t** srcPtr) { in nextGlyph() argument 48 const uint16_t* src = *srcPtr; in nextGlyph() 50 *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 | 44 Mode mode, const void* srcPtr,
|
/frameworks/av/include/media/ |
D | ICrypto.h | 49 const void *srcPtr,
|
/frameworks/av/media/libmediaplayerservice/ |
D | Crypto.cpp | 241 const void *srcPtr, in decrypt() argument 256 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr, in decrypt()
|
D | Crypto.h | 53 const void *srcPtr,
|
/frameworks/native/include/media/hardware/ |
D | CryptoAPI.h | 86 const void *srcPtr,
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 610 const uint8_t *srcPtr = in read() local 625 case 1: NALsize = srcPtr[srcOffset]; break; in read() 626 case 2: NALsize = U16_AT(srcPtr + srcOffset); break; in read() 627 case 3: NALsize = U24_AT(srcPtr + srcOffset); break; in read() 628 case 4: NALsize = U32_AT(srcPtr + srcOffset); break; in read() 641 &srcPtr[srcOffset + mNALSizeLen], in read()
|
/frameworks/av/media/libmedia/ |
D | ICrypto.cpp | 99 const void *srcPtr, in decrypt() 128 data.write(srcPtr, totalSize); in decrypt()
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.h | 161 Mode mode, const void *srcPtr,
|
D | MockDrmCryptoPlugin.cpp | 705 Mode mode, const void *srcPtr, const SubSample *subSamples, in decrypt() argument 713 (int)mode, srcPtr, in decrypt()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuScript.cpp | 1157 int32_t *srcPtr = reinterpret_cast<int32_t *>( in getGlobalVar() local 1160 int32_t *srcPtr = reinterpret_cast<int32_t *>(mFieldAddress[slot]); in getGlobalVar() 1162 if (!srcPtr) { in getGlobalVar() 1166 memcpy(data, srcPtr, dataLength); in getGlobalVar()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 1013 uint8_t *srcPtr = GetOffsetPtr(srcAlloc, srcXoff, srcYoff + i, 0, srcLod, srcFace); in rsdAllocationData2D_alloc_script() local 1014 memcpy(dstPtr, srcPtr, w * elementSize); in rsdAllocationData2D_alloc_script() 1032 uint8_t *srcPtr = GetOffsetPtr(srcAlloc, srcXoff, srcYoff + i, srcZoff + j, in rsdAllocationData3D_alloc_script() local 1034 memcpy(dstPtr, srcPtr, w * elementSize); in rsdAllocationData3D_alloc_script()
|
/frameworks/support/v8/renderscript/jni/ |
D | android_renderscript_RenderScript.cpp | 925 jint *srcPtr = _env->GetIntArrayElements(_src, NULL); in nScriptGroupCreate() local 935 (RsScriptKernelID *)srcPtr, srcLen, in nScriptGroupCreate() 941 _env->ReleaseIntArrayElements(_src, srcPtr, 0); in nScriptGroupCreate()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 1336 RsScriptKernelID* srcPtr = (RsScriptKernelID*) malloc(sizeof(RsScriptKernelID) * srcLen); in nScriptGroupCreate() local 1338 srcPtr[i] = (RsScriptKernelID)jSrcPtr[i]; in nScriptGroupCreate() 1364 (RsScriptKernelID *)srcPtr, srcLen * sizeof(RsScriptKernelID), in nScriptGroupCreate() 1370 free(srcPtr); in nScriptGroupCreate()
|