Home
last modified time | relevance | path

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

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dexposure.cpp35 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()
Dbrightness.cpp36 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()
Dcontrast.cpp36 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()
Dsobeloperator.cpp72 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/
DFontUtil.h47 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/
DCryptoPlugin.cpp36 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()
DCryptoPlugin.h44 Mode mode, const void* srcPtr,
/frameworks/av/include/media/
DICrypto.h49 const void *srcPtr,
/frameworks/av/media/libmediaplayerservice/
DCrypto.cpp241 const void *srcPtr, in decrypt() argument
256 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr, in decrypt()
DCrypto.h53 const void *srcPtr,
/frameworks/native/include/media/hardware/
DCryptoAPI.h86 const void *srcPtr,
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp610 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/
DICrypto.cpp99 const void *srcPtr, in decrypt()
128 data.write(srcPtr, totalSize); in decrypt()
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.h161 Mode mode, const void *srcPtr,
DMockDrmCryptoPlugin.cpp705 Mode mode, const void *srcPtr, const SubSample *subSamples, in decrypt() argument
713 (int)mode, srcPtr, in decrypt()
/frameworks/rs/cpu_ref/
DrsCpuScript.cpp1157 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/
DrsdAllocation.cpp1013 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/
Dandroid_renderscript_RenderScript.cpp925 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/
Dandroid_renderscript_RenderScript.cpp1336 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()