/hardware/qcom/camera/QCamera2/stack/common/ |
D | cam_semaphore.h | 48 static inline void cam_sem_init(cam_semaphore_t *s, int n) in cam_sem_init() argument 50 pthread_mutex_init(&(s->mutex), NULL); in cam_sem_init() 51 pthread_cond_init(&(s->cond), NULL); in cam_sem_init() 52 s->val = n; in cam_sem_init() 55 static inline void cam_sem_post(cam_semaphore_t *s) in cam_sem_post() argument 57 pthread_mutex_lock(&(s->mutex)); in cam_sem_post() 58 s->val++; in cam_sem_post() 59 pthread_cond_signal(&(s->cond)); in cam_sem_post() 60 pthread_mutex_unlock(&(s->mutex)); in cam_sem_post() 63 static inline int cam_sem_wait(cam_semaphore_t *s) in cam_sem_wait() argument [all …]
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | mdpWrapper.h | 83 void dump(const char* const s, const msmfb_overlay_data& ov); 84 void dump(const char* const s, const msmfb_data& ov); 85 void dump(const char* const s, const mdp_overlay& ov); 86 void dump(const char* const s, const msmfb_overlay_3d& ov); 87 void dump(const char* const s, const uint32_t u[], uint32_t cnt); 88 void dump(const char* const s, const msmfb_img& ov); 89 void dump(const char* const s, const mdp_rect& ov); 92 void dump(const char* const s, const msm_rotator_img_info& rot); 93 void dump(const char* const s, const msm_rotator_data_info& rot); 96 void dump(const char* const s, const fb_fix_screeninfo& finfo); [all …]
|
/hardware/qcom/display/msm8x26/liboverlay/ |
D | mdpWrapper.h | 83 void dump(const char* const s, const msmfb_overlay_data& ov); 84 void dump(const char* const s, const msmfb_data& ov); 85 void dump(const char* const s, const mdp_overlay& ov); 86 void dump(const char* const s, const msmfb_overlay_3d& ov); 87 void dump(const char* const s, const uint32_t u[], uint32_t cnt); 88 void dump(const char* const s, const msmfb_img& ov); 89 void dump(const char* const s, const mdp_rect& ov); 92 void dump(const char* const s, const msm_rotator_img_info& rot); 93 void dump(const char* const s, const msm_rotator_data_info& rot); 96 void dump(const char* const s, const fb_fix_screeninfo& finfo); [all …]
|
/hardware/qcom/display/msm8974/liboverlay/ |
D | mdpWrapper.h | 100 void dump(const char* const s, const msmfb_overlay_data& ov); 101 void dump(const char* const s, const msmfb_data& ov); 102 void dump(const char* const s, const mdp_overlay& ov); 103 void dump(const char* const s, const msmfb_overlay_3d& ov); 104 void dump(const char* const s, const uint32_t u[], uint32_t cnt); 105 void dump(const char* const s, const msmfb_img& ov); 106 void dump(const char* const s, const mdp_rect& ov); 109 void dump(const char* const s, const msm_rotator_img_info& rot); 110 void dump(const char* const s, const msm_rotator_data_info& rot); 113 void dump(const char* const s, const fb_fix_screeninfo& finfo); [all …]
|
/hardware/libhardware/modules/camera/ |
D | Stream.cpp | 34 Stream::Stream(int id, camera3_stream_t *s) in Stream() argument 37 mStream(s), in Stream() 38 mType(s->stream_type), in Stream() 39 mWidth(s->width), in Stream() 40 mHeight(s->height), in Stream() 41 mFormat(s->format), in Stream() 103 bool Stream::isValidReuseStream(int id, camera3_stream_t *s) in isValidReuseStream() argument 110 if (s != mStream) { in isValidReuseStream() 112 __func__, mId, s, mStream); in isValidReuseStream() 115 if (s->stream_type != mType) { in isValidReuseStream() [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
D | ethernet.h | 159 #define eacopy(s, d) \ argument 161 ((uint16 *)(d))[0] = ((const uint16 *)(s))[0]; \ 162 ((uint16 *)(d))[1] = ((const uint16 *)(s))[1]; \ 163 ((uint16 *)(d))[2] = ((const uint16 *)(s))[2]; \ 166 #define ether_copy(s, d) eacopy(s, d) argument 169 #define ether_rcopy(s, d) \ argument 171 ((uint16 *)(d))[2] = ((uint16 *)(s))[2]; \ 172 ((uint16 *)(d))[1] = ((uint16 *)(s))[1]; \ 173 ((uint16 *)(d))[0] = ((uint16 *)(s))[0]; \ 200 #define ETHER_MOVE_HDR(d, s) \ argument [all …]
|
/hardware/samsung_slsi/exynos5/libswconverter/ |
D | Android.mk | 9 csc_tiled_to_linear_y_neon.s \ 10 csc_tiled_to_linear_uv_neon.s \ 11 csc_tiled_to_linear_uv_deinterleave_neon.s \ 12 csc_interleave_memcpy_neon.s \ 13 csc_ARGB8888_to_YUV420SP_NEON.s
|
/hardware/libhardware_legacy/uevent/ |
D | uevent.c | 46 int s; in uevent_init() local 53 s = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT); in uevent_init() 54 if(s < 0) in uevent_init() 57 setsockopt(s, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz)); in uevent_init() 59 if(bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) { in uevent_init() 60 close(s); in uevent_init() 64 fd = s; in uevent_init()
|
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
D | AKFS_VNorm.c | 29 const AKFVEC* s, /*!< Sensitivity */ in AKFS_VbNorm() argument 46 if ((s->u.x <= AKFS_EPSILON) || in AKFS_VbNorm() 47 (s->u.y <= AKFS_EPSILON) || in AKFS_VbNorm() 48 (s->u.z <= AKFS_EPSILON) || in AKFS_VbNorm() 58 vvec[i].u.x = ((vdata[i].u.x - o->u.x) / (s->u.x) * (AKFLOAT)tgt); in AKFS_VbNorm() 59 vvec[i].u.y = ((vdata[i].u.y - o->u.y) / (s->u.y) * (AKFLOAT)tgt); in AKFS_VbNorm() 60 vvec[i].u.z = ((vdata[i].u.z - o->u.z) / (s->u.z) * (AKFLOAT)tgt); in AKFS_VbNorm()
|
/hardware/invensense/60xx/libsensors/ |
D | MPLSensor.cpp | 593 void MPLSensor::gyroHandler(sensors_event_t* s, uint32_t* pending_mask, in gyroHandler() argument 598 res = inv_get_float_array(INV_GYROS, s->gyro.v); in gyroHandler() 599 s->gyro.v[0] = s->gyro.v[0] * M_PI / 180.0; in gyroHandler() 600 s->gyro.v[1] = s->gyro.v[1] * M_PI / 180.0; in gyroHandler() 601 s->gyro.v[2] = s->gyro.v[2] * M_PI / 180.0; in gyroHandler() 606 void MPLSensor::accelHandler(sensors_event_t* s, uint32_t* pending_mask, in accelHandler() argument 611 res = inv_get_float_array(INV_ACCELS, s->acceleration.v); in accelHandler() 613 s->acceleration.v[0] = s->acceleration.v[0] * 9.81; in accelHandler() 614 s->acceleration.v[1] = s->acceleration.v[1] * 9.81; in accelHandler() 615 s->acceleration.v[2] = s->acceleration.v[2] * 9.81; in accelHandler() [all …]
|
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSensor.cpp | 2364 int MPLSensor::gyroHandler(sensors_event_t* s) in gyroHandler() argument 2368 update = inv_get_sensor_type_gyroscope(s->gyro.v, &s->gyro.status, in gyroHandler() 2369 &s->timestamp); in gyroHandler() 2371 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update); in gyroHandler() 2375 int MPLSensor::rawGyroHandler(sensors_event_t* s) in rawGyroHandler() argument 2379 update = inv_get_sensor_type_gyroscope_raw(s->uncalibrated_gyro.uncalib, in rawGyroHandler() 2380 &s->gyro.status, &s->timestamp); in rawGyroHandler() 2382 memcpy(s->uncalibrated_gyro.bias, mGyroBias, sizeof(mGyroBias)); in rawGyroHandler() 2384 s->uncalibrated_gyro.bias[0], s->uncalibrated_gyro.bias[1], in rawGyroHandler() 2385 s->uncalibrated_gyro.bias[2], s->timestamp, update); in rawGyroHandler() [all …]
|
D | InputEventReader.cpp | 82 size_t s = mHead - mBufferEnd; in fill() local 83 memcpy(mBuffer, mBufferEnd, s * sizeof(input_event)); in fill() 84 mHead = mBuffer + s; in fill()
|
/hardware/invensense/60xx/libsensors_iio/ |
D | MPLSensor.cpp | 1199 int MPLSensor::gyroHandler(sensors_event_t* s) in gyroHandler() argument 1204 update = inv_get_sensor_type_gyroscope(s->gyro.v, &status, &s->timestamp); in gyroHandler() 1206 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update); in gyroHandler() 1210 int MPLSensor::rawGyroHandler(sensors_event_t* s) in rawGyroHandler() argument 1215 update = inv_get_sensor_type_gyroscope_raw(s->gyro.v, &status, &s->timestamp); in rawGyroHandler() 1217 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update); in rawGyroHandler() 1221 int MPLSensor::accelHandler(sensors_event_t* s) in accelHandler() argument 1227 s->acceleration.v, &status, &s->timestamp); in accelHandler() 1229 s->acceleration.v[0], s->acceleration.v[1], s->acceleration.v[2], in accelHandler() 1230 s->timestamp, update); in accelHandler() [all …]
|
D | InputEventReader.cpp | 80 size_t s = mHead - mBufferEnd; in fill() local 81 memcpy(mBuffer, mBufferEnd, s * sizeof(input_event)); in fill() 82 mHead = mBuffer + s; in fill()
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/include/exynos/ |
D | Exynos_OMX_Macros.h | 47 (_struct_)->nVersion.s.nVersionMajor = VERSIONMAJOR_NUMBER; \ 48 (_struct_)->nVersion.s.nVersionMinor = VERSIONMINOR_NUMBER; \ 49 (_struct_)->nVersion.s.nRevision = REVISION_NUMBER; \ 50 (_struct_)->nVersion.s.nStep = STEP_NUMBER; \
|
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/ |
D | OMX_DebugMem.h | 35 #define calloc(n,s) OMX_DebugMem_calloc(n,s,__FILE__,__FUNCTION__,__LINE__) argument 36 #define realloc(x,s) OMX_DebugMem_realloc(x,s,__FILE__,__FUNCTION__,__LINE__) argument
|
/hardware/ti/omap4xxx/domx/omx_core/inc/ |
D | OMX_DebugMem.h | 59 #define calloc(n,s) OMX_DebugMem_calloc(n,s,__FILE__,__FUNCTION__,__LINE__) argument 60 #define realloc(x,s) OMX_DebugMem_realloc(x,s,__FILE__,__FUNCTION__,__LINE__) argument
|
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/ |
D | omx_proxy_videodec.c | 221 tParamStruct.nVersion.s.nVersionMajor = OMX_VER_MAJOR; in OMX_ProxyViddecInit() 222 tParamStruct.nVersion.s.nVersionMinor = OMX_VER_MINOR; in OMX_ProxyViddecInit() 223 tParamStruct.nVersion.s.nRevision = 0x0; in OMX_ProxyViddecInit() 224 tParamStruct.nVersion.s.nStep = 0x0; in OMX_ProxyViddecInit() 557 sPortDef.nVersion.s.nVersionMajor = OMX_VER_MAJOR; in RPC_UTIL_SetStrideAndPadding() 558 sPortDef.nVersion.s.nVersionMinor = OMX_VER_MINOR; in RPC_UTIL_SetStrideAndPadding() 559 sPortDef.nVersion.s.nRevision = 0x0; in RPC_UTIL_SetStrideAndPadding() 560 sPortDef.nVersion.s.nStep = 0x0; in RPC_UTIL_SetStrideAndPadding() 577 tParamStruct.nVersion.s.nVersionMajor = OMX_VER_MAJOR; in RPC_UTIL_SetStrideAndPadding() 578 tParamStruct.nVersion.s.nVersionMinor = OMX_VER_MINOR; in RPC_UTIL_SetStrideAndPadding() [all …]
|
/hardware/ril/reference-ril/ |
D | atchannel.c | 94 static int writeCtrlZ (const char *s); 95 static int writeline (const char *s); 492 static int writeline (const char *s) in writeline() argument 495 size_t len = strlen(s); in writeline() 502 RLOGD("AT> %s\n", s); in writeline() 504 AT_DUMP( ">> ", s, strlen(s) ); in writeline() 509 written = write (s_fd, s + cur, len - cur); in writeline() 531 static int writeCtrlZ (const char *s) in writeCtrlZ() argument 534 size_t len = strlen(s); in writeCtrlZ() 541 RLOGD("AT> %s^Z\n", s); in writeCtrlZ() [all …]
|
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/ |
D | VPPTest.h | 106 (_s_)->nVersion.s.nVersionMajor = 1; \ 107 (_s_)->nVersion.s.nVersionMinor = 0; \ 108 (_s_)->nVersion.s.nRevision = 0; \ 109 (_s_)->nVersion.s.nStep = 0; \
|
/hardware/akm/AK8975_FS/libsensors/ |
D | InputEventReader.cpp | 64 size_t s = mHead - mBufferEnd; in fill() local 65 memcpy(mBuffer, mBufferEnd, s * sizeof(input_event)); in fill() 66 mHead = mBuffer + s; in fill()
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
D | PERF.awk | 160 s = xx ? (x * x / xx) : 0; 161 result = 1/x " fps (s=" s ") (from " N " data points)"; 168 s = xx ? (x * x / xx) : 1; 169 result = 1/x " fps (s=" s ") (from " N " data points)";
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | dhdu_linux.c | 90 syserr(const char *s) in syserr() argument 93 perror(s); in syserr() 121 int s; in __dhd_driver_io() local 128 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) in __dhd_driver_io() 131 ret = ioctl(s, SIOCDEVPRIVATE, ifr); in __dhd_driver_io() 136 close(s); in __dhd_driver_io() 193 int s; in dhd_get_dev_type() local 199 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) < 0) in dhd_get_dev_type() 209 if ((ret = ioctl(s, SIOCETHTOOL, &ifr)) < 0) { in dhd_get_dev_type() 219 close(s); in dhd_get_dev_type()
|
/hardware/samsung_slsi/exynos5/libv4l2/ |
D | exynos_subdev.c | 74 struct stat s; in exynos_subdev_open_devname() local 88 if ((lstat(filename, &s) == 0) && S_ISCHR(s.st_mode) && in exynos_subdev_open_devname() 89 ((int)((unsigned short)(s.st_rdev) >> 8) == 81)) { in exynos_subdev_open_devname() 90 minor = (int)((unsigned short)(s.st_rdev & 0x3f)); in exynos_subdev_open_devname()
|
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_h264_enc/src/ |
D | omx_proxy_h264enc.c | 446 tParamSetNPA.nVersion.s.nVersionMajor = OMX_VER_MAJOR; in LOCAL_PROXY_H264E_SetParameter() 447 tParamSetNPA.nVersion.s.nVersionMinor = OMX_VER_MINOR; in LOCAL_PROXY_H264E_SetParameter() 448 tParamSetNPA.nVersion.s.nRevision = 0x0; in LOCAL_PROXY_H264E_SetParameter() 449 tParamSetNPA.nVersion.s.nStep = 0x0; in LOCAL_PROXY_H264E_SetParameter() 459 sPortDef.nVersion.s.nVersionMajor = OMX_VER_MAJOR; in LOCAL_PROXY_H264E_SetParameter() 460 sPortDef.nVersion.s.nVersionMinor = OMX_VER_MINOR; in LOCAL_PROXY_H264E_SetParameter() 461 sPortDef.nVersion.s.nRevision = 0x0; in LOCAL_PROXY_H264E_SetParameter() 462 sPortDef.nVersion.s.nStep = 0x0; in LOCAL_PROXY_H264E_SetParameter() 575 tParamStruct.nVersion.s.nVersionMajor = OMX_VER_MAJOR; in LOCAL_PROXY_H264E_EmptyThisBuffer() 576 tParamStruct.nVersion.s.nVersionMinor = OMX_VER_MINOR; in LOCAL_PROXY_H264E_EmptyThisBuffer() [all …]
|