Home
last modified time | relevance | path

Searched refs:wd (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish/camera/
DEmulatedCameraHotplugThread.cpp178 int cameraId = getCameraId(event->wd); in threadLoop()
182 __FUNCTION__, event->wd); in threadLoop()
265 int EmulatedCameraHotplugThread::getCameraId(int wd) const { in getCameraId()
267 if (mSubscribers[i].WatchID == wd) { in getCameraId()
288 int wd = inotify_add_watch(mInotifyFd, in addWatch() local
292 if (wd == -1) { in addWatch()
302 __FUNCTION__, cameraId, wd); in addWatch()
304 SubscriberInfo si = { cameraId, wd }; in addWatch()
DEmulatedCameraHotplugThread.h57 int getCameraId(int wd) const;
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQualcommUsbCamera.cpp119 static int convert_YUYV_to_420_NV12(char *in_buf, char *out_buf, int wd, int ht);
718 static int convert_YUYV_to_420_NV12(char *in_buf, char *out_buf, int wd, int ht) in convert_YUYV_to_420_NV12() argument
726 for(col = 0; col < wd * 2; col += 2) in convert_YUYV_to_420_NV12()
728 out_buf[row * wd + col / 2] = in_buf[row * wd * 2 + col]; in convert_YUYV_to_420_NV12()
733 for(col = 1; col < wd * 2; col += 4) in convert_YUYV_to_420_NV12()
735 out_buf[uv_row * wd + col / 2]= in_buf[row * wd * 2 + col + 2]; in convert_YUYV_to_420_NV12()
736 out_buf[uv_row * wd + col / 2 + 1] = in_buf[row * wd * 2 + col]; in convert_YUYV_to_420_NV12()