/hardware/qcom/camera/QCamera2/stack/common/ |
H A D | cam_semaphore.h | 68 int rc = 0; local 71 rc = pthread_cond_wait(&(s->cond), &(s->mutex)); 74 return rc;
|
/hardware/bsp/intel/peripheral/sensors/mraa/ |
H A D | AcquisitionThread.cpp | 30 int rc = 0; local 64 rc = write(acquisitionThread->getWritePipeFd(), &data, sizeof(sensors_event_t)); 65 if (rc != sizeof(sensors_event_t)) { 92 int rc; local 102 rc = pthread_condattr_init(&pthreadCondAttr); 103 if (rc != 0) { 107 rc = pthread_condattr_setclock(&pthreadCondAttr, CLOCK_MONOTONIC); 108 if (rc != 0) { 112 rc = pthread_cond_init(&pthreadCond, &pthreadCondAttr); 113 if (rc ! 165 int rc; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
H A D | vp9_scan.c | 302 int rc = scan[n]; local 303 if (rc == idx) 320 int rc = scan[n]; local 322 i = rc / l; 323 j = rc % l;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_svc_layercontext.h | 23 RATE_CONTROL rc; member in struct:__anon1183 70 // Initialize second pass rc for spatial svc.
|
H A D | vp9_svc_layercontext.c | 32 RATE_CONTROL *const lrc = &lc->rc; 67 const RATE_CONTROL *const rc = &cpi->rc; local 80 RATE_CONTROL *const lrc = &lc->rc; 104 lrc->max_frame_bandwidth = rc->max_frame_bandwidth; 106 lrc->worst_quality = rc->worst_quality; 107 lrc->best_quality = rc->best_quality; 121 RATE_CONTROL *const lrc = &lc->rc; 125 lrc->max_frame_bandwidth = cpi->rc.max_frame_bandwidth; 143 RATE_CONTROL *const lrc = &lc->rc; [all...] |
/hardware/libhardware/include/hardware/ |
H A D | keymaster0.h | 136 int rc = module->methods->open(module, KEYSTORE_KEYMASTER, local 139 return rc;
|
/hardware/qcom/camera/QCamera2/HAL/ |
H A D | QCameraThermalAdapter.cpp | 68 int rc = NO_ERROR; local 76 rc = UNKNOWN_ERROR; 84 rc = UNKNOWN_ERROR; 92 rc = UNKNOWN_ERROR; 103 rc = UNKNOWN_ERROR; 110 rc = UNKNOWN_ERROR; 115 return rc; 126 return rc; 158 int rc = 0; local 164 rc [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/ |
H A D | mm_jpegdec_interface.c | 58 int32_t rc = -1; local 63 return rc; 71 return rc; 73 rc = mm_jpegdec_start_decode_job(g_jpegdec_obj, job, job_id); 75 return rc; 96 int32_t rc = -1; local 100 return rc; 108 return rc; 111 rc = mm_jpegdec_create_session(g_jpegdec_obj, client_hdl, p_params, p_session_id); 113 return rc; 130 int32_t rc = -1; local 164 int32_t rc = -1; local 198 int32_t rc = -1; local 244 int32_t rc = 0; local [all...] |
H A D | mm_jpeg_exif.c | 68 int32_t rc = 0; local 86 rc = -1; 101 rc = -1; 114 rc = -1; 129 rc = -1; 144 rc = -1; 158 rc = -1; 170 rc = -1; 185 rc = -1; 199 return rc; 302 int rc = 0; local 407 int rc = 0; local 540 int rc = 0; local [all...] |
H A D | mm_jpeg_interface.c | 109 int32_t rc = -1; local 114 return rc; 122 return rc; 124 rc = mm_jpeg_start_job(g_jpeg_obj, job, job_id); 126 return rc; 147 int32_t rc = -1; local 151 return rc; 159 return rc; 162 rc = mm_jpeg_create_session(g_jpeg_obj, client_hdl, p_params, p_session_id); 164 return rc; 181 int32_t rc = -1; local 215 int32_t rc = -1; local 249 int32_t rc = -1; local 293 int32_t rc = -1; local 329 int32_t rc = 0; local [all...] |
/hardware/qcom/camera/QCamera2/util/ |
H A D | QCameraCmdThread.cpp | 204 int32_t rc = NO_ERROR; local 207 return rc; 210 rc = sendCmd(CAMERA_CMD_TYPE_EXIT, 0, 1); 211 if (NO_ERROR != rc) { 212 LOGE("Error during exit, rc = %d", rc); 213 return rc; 221 return rc;
|
H A D | QCameraBufferMaps.cpp | 232 uint32_t rc = NO_ERROR; local 241 rc = bufferMaps.getCamBufMapList(pBufMapList); 243 return rc;
|
H A D | QCameraPerf.cpp | 103 const char *rc; local 139 if ((rc = dlerror()) != NULL) { 145 if ((rc = dlerror()) != NULL) {
|
H A D | QCameraQueue.cpp | 146 bool rc; local 161 rc = true; 164 rc = false; 167 return rc; 183 bool rc; local 204 rc = true; 207 rc = false; 210 return rc;
|
H A D | QCameraDisplay.cpp | 132 int rc = NO_ERROR; local 135 rc = pthread_create(&mVsyncThreadCameraHandle, NULL, vsyncThreadCamera, (void *)this); 136 if (rc == NO_ERROR) {
|
/hardware/bsp/intel/peripheral/wifi/bcm43340/ |
H A D | bcm43340_hal.cpp | 64 int rc, socketfd; local 73 rc = ioctl(socketfd, SIOCGIFFLAGS, &req); 74 if (rc < 0) { 80 rc = ioctl(socketfd, SIOCSIFFLAGS, &req); 81 if (rc < 0) { 87 rc = ioctl(socketfd, SIOCSIFFLAGS, &req); 88 if (rc < 0) {
|
/hardware/qcom/audio/msm8909/hal/audio_extn/ |
H A D | a2dp.c | 60 int rc=0; local 72 rc = hw_get_module_by_class(AUDIO_HARDWARE_MODULE_ID, (const char*)"a2dp", 74 if (rc != 0) { 76 return rc; 79 rc = audio_hw_device_open(mod, &a2dp.a2dp_device); 80 if (rc != 0) { 82 return rc; 86 rc = a2dp.a2dp_device->open_output_stream(a2dp.a2dp_device, 0,AUDIO_DEVICE_OUT_BLUETOOTH_A2DP, 89 if( rc != 0 ) { 90 ALOGE("Failed to open output stream for a2dp: status %d", rc); [all...] |
H A D | dev_arbi.c | 67 int rc = -EINVAL; local 71 return rc; 96 return rc; 101 int rc = load_dev_arbi_lib(); local 102 if (!rc) 103 rc = init_fp(); 105 return rc; 110 int rc = -EINVAL; local 113 rc = deinit_fp(); 124 return rc; 149 int rc = -EINVAL; local 160 int rc = -EINVAL; local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
H A D | mm_camera_sock.c | 54 int rc; local 78 rc = connect(socket_fd, &sock_addr.addr, sizeof(sock_addr.addr_un)); 79 if (0 != rc) {
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
H A D | mm_qcamera_unit_test.c | 43 int rc = MM_CAMERA_OK; local 50 rc = mm_app_open(cam_app, i, &test_obj); 51 if (rc != MM_CAMERA_OK) { 53 i, rc); 57 rc = mm_app_close(&test_obj); 58 if (rc != MM_CAMERA_OK) { 60 i, rc); 64 if (rc == MM_CAMERA_OK) { 69 LOGD("END, rc = %d\n", rc); 75 int rc = MM_CAMERA_OK; local 123 int rc = MM_CAMERA_OK; local 171 int rc = MM_CAMERA_OK; local 219 int rc = MM_CAMERA_OK; local 294 int rc = MM_CAMERA_OK; local 393 int rc = MM_CAMERA_OK; local 446 int rc = MM_CAMERA_OK; local 499 int rc = MM_CAMERA_OK; local 552 int rc = MM_CAMERA_OK, rc2 = MM_CAMERA_OK; local 603 int rc = MM_CAMERA_OK, rc2 = MM_CAMERA_OK; local 672 int rc = MM_CAMERA_OK; local [all...] |
H A D | mm_qcamera_video.c | 63 int rc = MM_CAMERA_OK; local 93 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 94 if (MM_CAMERA_OK != rc) { 95 LOGE("config preview stream err=%d\n", rc); 133 int rc = MM_CAMERA_OK; local 159 rc = mm_app_start_channel(test_obj, p_ch); 160 if (MM_CAMERA_OK != rc) { 161 LOGE("start preview failed rc=%d\n", rc); 165 return rc; 173 int rc = MM_CAMERA_OK; local 202 int rc = MM_CAMERA_OK; local 217 int rc = MM_CAMERA_OK; local 232 int rc = MM_CAMERA_OK; local 247 int rc = MM_CAMERA_OK; local [all...] |
H A D | mm_qcamera_rdi.c | 97 int rc = MM_CAMERA_OK; local 137 rc = setmetainfoCommand(test_obj, &abc); 138 if (rc != MM_CAMERA_OK) { 176 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 177 if (MM_CAMERA_OK != rc) { 178 LOGE("config rdi stream err=%d\n", rc); 198 int rc = MM_CAMERA_OK; local 233 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 234 if (MM_CAMERA_OK != rc) { 235 LOGE("config rdi stream err=%d\n", rc); 276 int rc = MM_CAMERA_OK; local 313 int rc = MM_CAMERA_OK; local 334 int rc = MM_CAMERA_OK; local [all...] |
H A D | mm_qcamera_reprocess.c | 44 int rc = 0; local 75 rc = createEncodingSession(pme, m_stream, m_frame); 76 if (0 != rc) { 84 rc = encodeData(pme, bufs, m_stream); 115 int rc = MM_CAMERA_OK; local 161 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 162 if (MM_CAMERA_OK != rc) { 163 LOGE("config preview stream err=%d\n", rc); 230 int rc = MM_CAMERA_OK; local 238 if (MM_CAMERA_OK != rc) { 255 int rc = MM_CAMERA_OK; local 281 int rc = MM_CAMERA_OK; local [all...] |
/hardware/qcom/power/ |
H A D | power.c | 65 int rc; local 78 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 81 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 84 if (rc < 0) { 91 int rc; local 104 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 107 rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(struct sockaddr_un)); 110 if (rc < 0) { 148 int rc; local 160 rc [all...] |
/hardware/libhardware/modules/radio/ |
H A D | radio_hal_tool.c | 169 int rc; local 170 rc = hw_get_module_by_class(RADIO_HARDWARE_MODULE_ID, RADIO_HARDWARE_MODULE_ID_FM, &hw_module); 171 if (rc != 0) { 172 printf("Cannot open the hw module. Does the HAL exist? %d\n", rc); 177 rc = radio_hw_device_open(hw_module, &dev); 178 if (rc != 0) { 179 printf("Cannot open the device. Check that HAL implementation. %d\n", rc);
|