Searched defs:dst_ptr (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_frame.cpp183 uint8_t* dst_ptr = reinterpret_cast<uint8_t*>(frame->MutableData()); local
184 const uint8_t* end_ptr = dst_ptr + frame->Size();
187 while (dst_ptr < end_ptr) {
189 *(dst_ptr++) = (pixel.rgba[0] + pixel.rgba[1] + pixel.rgba[2]) / 3;
194 while (dst_ptr < end_ptr) {
196 *(dst_ptr++) = pixel.rgba[0];
197 *(dst_ptr++) = pixel.rgba[1];
198 *(dst_ptr++) = pixel.rgba[2];
203 memcpy(dst_ptr, src_ptr, frame->Size());
223 Pixel* dst_ptr; local
[all...]
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp147 uint16_t *dst_ptr = (uint16_t *)dst.mBits local
186 *(uint32_t *)(&dst_ptr[x]) = (rgb2 << 16) | rgb1;
188 dst_ptr[x] = rgb1;
193 dst_ptr += dst.mWidth;
209 uint16_t *dst_ptr = (uint16_t *)dst.mBits local
274 *(uint32_t *)(&dst_ptr[x]) = (rgb2 << 16) | rgb1;
276 dst_ptr[x] = rgb1;
287 dst_ptr += dst.mWidth;
303 uint16_t *dst_ptr = (uint16_t *)dst.mBits local
347 *(uint32_t *)(&dst_ptr[
377 uint16_t *dst_ptr = (uint16_t *)dst.mBits local
449 uint16_t *dst_ptr = (uint16_t *)dst.mBits local
[all...]

Completed in 56 milliseconds