Searched refs:dst_ptr (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_native_frame.cpp | 184 uint8_t* dst_ptr = reinterpret_cast<uint8_t*>(frame->MutableData()); in Java_android_filterfw_core_NativeFrame_setNativeBitmap() local 185 const uint8_t* end_ptr = dst_ptr + frame->Size(); in Java_android_filterfw_core_NativeFrame_setNativeBitmap() 188 while (dst_ptr < end_ptr) { in Java_android_filterfw_core_NativeFrame_setNativeBitmap() 190 *(dst_ptr++) = (pixel.rgba[0] + pixel.rgba[1] + pixel.rgba[2]) / 3; in Java_android_filterfw_core_NativeFrame_setNativeBitmap() 195 while (dst_ptr < end_ptr) { in Java_android_filterfw_core_NativeFrame_setNativeBitmap() 197 *(dst_ptr++) = pixel.rgba[0]; in Java_android_filterfw_core_NativeFrame_setNativeBitmap() 198 *(dst_ptr++) = pixel.rgba[1]; in Java_android_filterfw_core_NativeFrame_setNativeBitmap() 199 *(dst_ptr++) = pixel.rgba[2]; in Java_android_filterfw_core_NativeFrame_setNativeBitmap() 204 memcpy(dst_ptr, src_ptr, frame->Size()); in Java_android_filterfw_core_NativeFrame_setNativeBitmap() 224 Pixel* dst_ptr; in Java_android_filterfw_core_NativeFrame_getNativeBitmap() local [all …]
|
/frameworks/av/media/libstagefright/colorconversion/ |
D | ColorConverter.cpp | 274 uint16_t *dst_ptr = (uint16_t *)dst.mBits in convertCbYCrY() local 313 *(uint32_t *)(&dst_ptr[x]) = (rgb2 << 16) | rgb1; in convertCbYCrY() 315 dst_ptr[x] = rgb1; in convertCbYCrY() 320 dst_ptr += dst.mWidth; in convertCbYCrY() 335 uint8_t *dst_ptr = (uint8_t *)dst.mBits in convertYUV420PlanarUseLibYUV() local 353 (uint8 *)dst_ptr, dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420PlanarUseLibYUV() 361 (uint8 *)dst_ptr, dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420PlanarUseLibYUV() 369 (uint8 *)dst_ptr, dst.mStride, src.cropWidth(), src.cropHeight()); in convertYUV420PlanarUseLibYUV() 382 uint8_t *dst_ptr = (uint8_t *)dst.mBits in convertYUV420SemiPlanarUseLibYUV() local 394 libyuv::NV12ToRGB565(src_y, src.mStride, src_u, src.mStride, (uint8 *)dst_ptr, in convertYUV420SemiPlanarUseLibYUV() [all …]
|