Home
last modified time | relevance | path

Searched refs:src_ptr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/mca/filterfw/jni/
Djni_native_frame.cpp180 Pixel* src_ptr; in Java_android_filterfw_core_NativeFrame_setNativeBitmap() local
181 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&src_ptr)); in Java_android_filterfw_core_NativeFrame_setNativeBitmap()
189 const Pixel pixel = *(src_ptr++); in Java_android_filterfw_core_NativeFrame_setNativeBitmap()
196 const Pixel pixel = *(src_ptr++); in Java_android_filterfw_core_NativeFrame_setNativeBitmap()
204 memcpy(dst_ptr, src_ptr, frame->Size()); in Java_android_filterfw_core_NativeFrame_setNativeBitmap()
233 const uint8_t* src_ptr = frame->Data(); in Java_android_filterfw_core_NativeFrame_getNativeBitmap() local
234 const uint8_t* end_ptr = src_ptr + frame->Size(); in Java_android_filterfw_core_NativeFrame_getNativeBitmap()
237 while (src_ptr < end_ptr) { in Java_android_filterfw_core_NativeFrame_getNativeBitmap()
238 const uint8_t value = *(src_ptr++); in Java_android_filterfw_core_NativeFrame_getNativeBitmap()
246 while (src_ptr < end_ptr) { in Java_android_filterfw_core_NativeFrame_getNativeBitmap()
[all …]
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp277 const uint8_t *src_ptr = (const uint8_t *)src.mBits in convertCbYCrY() local
282 signed y1 = (signed)src_ptr[2 * x + 1] - 16; in convertCbYCrY()
283 signed y2 = (signed)src_ptr[2 * x + 3] - 16; in convertCbYCrY()
284 signed u = (signed)src_ptr[2 * x] - 128; in convertCbYCrY()
285 signed v = (signed)src_ptr[2 * x + 2] - 128; in convertCbYCrY()
319 src_ptr += src.mWidth * 2; in convertCbYCrY()