Home
last modified time | relevance | path

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

/frameworks/base/media/mca/filterfw/jni/
Djni_native_frame.cpp184 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/
DColorConverter.cpp789 uint16_t *dst_ptr = (uint16_t *)dst.mBits in convertCbYCrY() local
828 *(uint32_t *)(&dst_ptr[x]) = (rgb2 << 16) | rgb1; in convertCbYCrY()
830 dst_ptr[x] = rgb1; in convertCbYCrY()
835 dst_ptr += dst.mWidth; in convertCbYCrY()
882 uint8_t *dst_ptr = (uint8_t *)dst.mBits in convertYUV420PlanarUseLibYUV() local
900 dst_ptr, in convertYUV420PlanarUseLibYUV()
917 (uint8_t*)dst_ptr, in convertYUV420PlanarUseLibYUV()
933 (uint8_t*)dst_ptr, in convertYUV420PlanarUseLibYUV()
960 uint8_t *dst_ptr = (uint8_t *)dst.mBits in convertYUV420SemiPlanarUseLibYUV() local
984 (uint8_t*)dst_ptr, in convertYUV420SemiPlanarUseLibYUV()
[all …]