/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Blend.cpp | 259 memset(imgMos->Y.ptr[0], 255, (imgMos->Y.width * imgMos->Y.height)); in runBlend() 261 memset(imgMos->V.ptr[0], 128, (imgMos->V.width * imgMos->V.height) << 1); in runBlend() 293 imageMosaicYVU = imgMos->Y.ptr[0]; in runBlend() 343 ImageTypeShort yptr = m_pFrameYPyr->ptr[h]; in FillFramePyramid() 344 ImageTypeShort uptr = m_pFrameUPyr->ptr[h]; in FillFramePyramid() 345 ImageTypeShort vptr = m_pFrameVPyr->ptr[h]; in FillFramePyramid() 463 if (imgMos.Y.ptr[y][x] != imgMos.Y.ptr[y][x+1] && in DoMergeAndBlend() 464 imgMos.Y.ptr[y][x] != 255 && in DoMergeAndBlend() 465 imgMos.Y.ptr[y][x+1] != 255) in DoMergeAndBlend() 468 unsigned char idx1 = imgMos.Y.ptr[y][x]; in DoMergeAndBlend() [all …]
|
D | Pyramid.cpp | 46 curr->ptr = y + border; in allocatePyramidPacked() 76 img->ptr = y + border; in allocateImage() 123 base = pyr->ptr[-h] - off; in BorderSpread() 136 base = pyr->ptr[top - pyr->border] - pyr->border; in BorderSpread() 141 base = pyr->ptr[pyr->height + pyr->border - bot] - pyr->border; in BorderSpread() 158 scr->ptr[j2][i] = (short) in BorderExpandOdd() 159 ((6 * in->ptr[j][i] + (in->ptr[j-1][i] + in->ptr[j+1][i]) + 4) >> 3); in BorderExpandOdd() 160 scr->ptr[j2+1][i] = (short)((in->ptr[j][i] + in->ptr[j+1][i] + 1) >> 1); in BorderExpandOdd() 170 out->ptr[j][i2] = (short) (out->ptr[j][i2] + in BorderExpandOdd() 171 (mode * ((6 * scr->ptr[j][i] + in BorderExpandOdd() [all …]
|
D | ImageUtils.cpp | 386 yuv->Y.ptr = y; in allocateImage() 387 yuv->V.ptr = &y[height]; in allocateImage() 388 yuv->U.ptr = &y[height + heightUV]; in allocateImage() 401 img->Y.ptr[i] = position; in mapYUVInfoToImage() 403 img->V.ptr[i] = position; in mapYUVInfoToImage() 405 img->U.ptr[i] = position; in mapYUVInfoToImage()
|
D | Pyramid.h | 34 ImageTypeShort *ptr; // Pointer containing the image
|
D | Interp.h | 51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; in ciCalc()
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Blend.cpp | 259 memset(imgMos->Y.ptr[0], 255, (imgMos->Y.width * imgMos->Y.height)); in runBlend() 261 memset(imgMos->V.ptr[0], 128, (imgMos->V.width * imgMos->V.height) << 1); in runBlend() 293 imageMosaicYVU = imgMos->Y.ptr[0]; in runBlend() 343 ImageTypeShort yptr = m_pFrameYPyr->ptr[h]; in FillFramePyramid() 344 ImageTypeShort uptr = m_pFrameUPyr->ptr[h]; in FillFramePyramid() 345 ImageTypeShort vptr = m_pFrameVPyr->ptr[h]; in FillFramePyramid() 463 if (imgMos.Y.ptr[y][x] != imgMos.Y.ptr[y][x+1] && in DoMergeAndBlend() 464 imgMos.Y.ptr[y][x] != 255 && in DoMergeAndBlend() 465 imgMos.Y.ptr[y][x+1] != 255) in DoMergeAndBlend() 468 unsigned char idx1 = imgMos.Y.ptr[y][x]; in DoMergeAndBlend() [all …]
|
D | Pyramid.cpp | 46 curr->ptr = y + border; in allocatePyramidPacked() 76 img->ptr = y + border; in allocateImage() 123 base = pyr->ptr[-h] - off; in BorderSpread() 136 base = pyr->ptr[top - pyr->border] - pyr->border; in BorderSpread() 141 base = pyr->ptr[pyr->height + pyr->border - bot] - pyr->border; in BorderSpread() 159 int t1 = in->ptr[j][i]; in BorderExpandOdd() 160 int t2 = in->ptr[j+1][i]; in BorderExpandOdd() 161 scr->ptr[j2][i] = (short) in BorderExpandOdd() 162 ((6 * t1 + (in->ptr[j-1][i] + t2) + 4) >> 3); in BorderExpandOdd() 163 scr->ptr[j2+1][i] = (short)((t1 + t2 + 1) >> 1); in BorderExpandOdd() [all …]
|
D | ImageUtils.cpp | 386 yuv->Y.ptr = y; in allocateImage() 387 yuv->V.ptr = &y[height]; in allocateImage() 388 yuv->U.ptr = &y[height + heightUV]; in allocateImage() 401 img->Y.ptr[i] = position; in mapYUVInfoToImage() 403 img->V.ptr[i] = position; in mapYUVInfoToImage() 405 img->U.ptr[i] = position; in mapYUVInfoToImage()
|
D | Pyramid.h | 34 ImageTypeShort *ptr; // Pointer containing the image
|
D | Interp.h | 51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; in ciCalc()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
D | ndldic.c | 55 #define GET_UINT16(ptr) ((((NJ_UINT16)(*(ptr))) << 8) | (*((ptr) + 1) & 0x00ff)) argument 265 NJ_UINT8 *ptr; in get_que_type_and_next() local 273 ptr = POS_TO_ADDRESS(handle, que_id); in get_que_type_and_next() 275 que->type = GET_TYPE_FROM_DATA(ptr); in get_que_type_and_next() 276 que->next_flag = GET_FFLG_FROM_DATA(ptr); in get_que_type_and_next() 294 NJ_UINT8 *ptr; in get_que_yomiLen_and_hyoukiLen() local 302 ptr = POS_TO_ADDRESS(handle, que_id); in get_que_yomiLen_and_hyoukiLen() 304 que->type = GET_TYPE_FROM_DATA(ptr); in get_que_yomiLen_and_hyoukiLen() 305 que->yomi_byte = GET_YSIZE_FROM_DATA(ptr); in get_que_yomiLen_and_hyoukiLen() 307 que->hyouki_byte = GET_KSIZE_FROM_DATA(ptr); in get_que_yomiLen_and_hyoukiLen() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
D | BluetoothScanner.java | 205 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in startListening() 206 if (mClients.get(ptr).listener == listener) { in startListening() 256 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in stopListening() 257 ClientRecord client = mClients.get(ptr); in stopListening() 259 mClients.remove(ptr); in stopListening() 326 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in removeDevice() 327 ClientRecord client = mClients.get(ptr); in removeDevice() 490 for (int ptr = mClients.size() - 1; ptr > -1; ptr--) { in sendDeviceAdded() 491 ClientRecord client = mClients.get(ptr); in sendDeviceAdded() 508 for (int ptr = client.devices.size() - 1; ptr > -1; ptr--) { in sendDeviceChanged() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | ColorChipView.java | 117 int ptr = 0; in onDraw() local 118 lines [ptr++] = 0; in onDraw() 119 lines [ptr++] = top; in onDraw() 120 lines [ptr++] = right; in onDraw() 121 lines [ptr++] = top; in onDraw() 122 lines [ptr++] = 0; in onDraw() 123 lines [ptr++] = bottom - halfBorderWidth; in onDraw() 124 lines [ptr++] = right; in onDraw() 125 lines [ptr++] = bottom - halfBorderWidth; in onDraw() 126 lines [ptr++] = left; in onDraw() [all …]
|
/packages/apps/Gallery2/jni/filters/ |
D | edge.c | 38 char * ptr = destination; in JNIFUNCF() local 62 tmp += *(ptr + (loc - row_stride + 4 + l)); in JNIFUNCF() 63 tmp += *(ptr + (loc + 4 + l)) * 2.0f; in JNIFUNCF() 64 tmp += *(ptr + (loc + row_stride + 4 + l)); in JNIFUNCF() 65 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF() 66 tmp -= *(ptr + (loc - 4 + l)) * 2.0f; in JNIFUNCF() 67 tmp -= *(ptr + (loc + row_stride - 4 + l)); in JNIFUNCF() 76 tmp -= *(ptr + (loc - row_stride - 4 + l)); in JNIFUNCF() 77 tmp -= *(ptr + (loc - row_stride + l)) * 2.0f; in JNIFUNCF() 78 tmp -= *(ptr + (loc - row_stride + 4 + l)); in JNIFUNCF() [all …]
|
/packages/apps/Terminal/jni/ |
D | com_android_terminal_Terminal.cpp | 557 static jint com_android_terminal_Terminal_nativeDestroy(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeDestroy() argument 558 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeDestroy() 563 static jint com_android_terminal_Terminal_nativeRun(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeRun() argument 564 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeRun() 569 jclass clazz, jlong ptr, jint rows, jint cols, jint scrollRows) { in com_android_terminal_Terminal_nativeResize() argument 570 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeResize() 594 jclass clazz, jlong ptr, jint row, jint col, jobject run) { in com_android_terminal_Terminal_nativeGetCellRun() argument 595 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeGetCellRun() 655 static jint com_android_terminal_Terminal_nativeGetRows(JNIEnv* env, jclass clazz, jlong ptr) { in com_android_terminal_Terminal_nativeGetRows() argument 656 Terminal* term = reinterpret_cast<Terminal*>(ptr); in com_android_terminal_Terminal_nativeGetRows() [all …]
|
/packages/apps/Terminal/src/com/android/terminal/ |
D | Terminal.java | 194 private static native int nativeDestroy(long ptr); in nativeDestroy() argument 196 private static native int nativeRun(long ptr); in nativeRun() argument 197 private static native int nativeResize(long ptr, int rows, int cols, int scrollRows); in nativeResize() argument 198 private static native int nativeGetCellRun(long ptr, int row, int col, CellRun run); in nativeGetCellRun() argument 199 private static native int nativeGetRows(long ptr); in nativeGetRows() argument 200 private static native int nativeGetCols(long ptr); in nativeGetCols() argument 201 private static native int nativeGetScrollRows(long ptr); in nativeGetScrollRows() argument 203 private static native boolean nativeDispatchKey(long ptr, int modifiers, int key); in nativeDispatchKey() argument 204 private static native boolean nativeDispatchCharacter(long ptr, int modifiers, int character); in nativeDispatchCharacter() argument
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | byte_array_view.h | 34 ReadOnlyByteArrayView(const uint8_t *const ptr, const size_t size) in ReadOnlyByteArrayView() argument 35 : mPtr(ptr), mSize(size) {} in ReadOnlyByteArrayView() 66 ReadWriteByteArrayView(uint8_t *const ptr, const size_t size) in ReadWriteByteArrayView() argument 67 : mPtr(ptr), mSize(size) {} in ReadWriteByteArrayView()
|
D | int_array_view.h | 55 IntArrayView(const int *const ptr, const size_t size) in IntArrayView() argument 56 : mPtr(ptr), mSize(size) {} in IntArrayView() 67 AK_FORCE_INLINE static IntArrayView singleElementView(const int *const ptr) { in singleElementView() argument 68 return IntArrayView(ptr, 1); in singleElementView()
|
/packages/apps/LegacyCamera/jni/ |
D | mosaic_renderer_jni.cpp | 204 unsigned char* ptr = gPreviewImage[mID]; in ClearPreviewImage() local 209 ptr[i++] = 0; in ClearPreviewImage() 210 ptr[i++] = 0; in ClearPreviewImage() 211 ptr[i++] = 0; in ClearPreviewImage() 212 ptr[i++] = 255; in ClearPreviewImage()
|
/packages/apps/Camera/jni/ |
D | mosaic_renderer_jni.cpp | 227 unsigned char* ptr = gPreviewImage[mID]; in ClearPreviewImage() local 232 ptr[i++] = 0; in ClearPreviewImage() 233 ptr[i++] = 0; in ClearPreviewImage() 234 ptr[i++] = 0; in ClearPreviewImage() 235 ptr[i++] = 255; in ClearPreviewImage()
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpegstream.cpp | 157 jlong ptr = env->GetLongField(thiz, fidNumber); in getWPtr() local 162 JpegWriter* w_ptr = reinterpret_cast<JpegWriter*>(ptr); in getWPtr() 178 jlong ptr = env->GetLongField(thiz, fidNumber); in getRPtr() local 183 JpegReader* r_ptr = reinterpret_cast<JpegReader*>(ptr); in getRPtr()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 173 for (int ptr = deviceIds.length - 1; ptr > -1; ptr--) { in hasValidInputDevice() 174 InputDevice device = inMan.getInputDevice(deviceIds[ptr]); in hasValidInputDevice()
|
/packages/apps/Nfc/nxp/jni/ |
D | com_android_nfc_NativeP2pDevice.cpp | 77 phNfc_sData_t **ptr = (phNfc_sData_t **)pCallbackData->pContext; in nfc_jni_receive_callback() local 82 *ptr = data; in nfc_jni_receive_callback() 86 *ptr = NULL; in nfc_jni_receive_callback()
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
D | db_feature_matching.h | 59 db_PointInfo_f *ptr; 86 db_PointInfo_u *ptr;
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_feature_matching.h | 59 db_PointInfo_f *ptr; 86 db_PointInfo_u *ptr;
|