Searched defs:rc (Results 1 - 25 of 153) sorted by relevance

1234567

/hardware/qcom/camera/QCamera2/stack/common/
H A Dcam_semaphore.h68 int rc = 0; local
71 rc = pthread_cond_wait(&(s->cond), &(s->mutex));
74 return rc;
/hardware/bsp/intel/peripheral/sensors/mraa/
H A DAcquisitionThread.cpp30 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 Dvp9_scan.c302 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 Dvp9_svc_layercontext.h23 RATE_CONTROL rc; member in struct:__anon1183
70 // Initialize second pass rc for spatial svc.
H A Dvp9_svc_layercontext.c32 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 Dkeymaster0.h136 int rc = module->methods->open(module, KEYSTORE_KEYMASTER, local
139 return rc;
/hardware/qcom/camera/QCamera2/HAL/
H A DQCameraThermalAdapter.cpp68 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 Dmm_jpegdec_interface.c58 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 Dmm_jpeg_exif.c68 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 Dmm_jpeg_interface.c109 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 DQCameraCmdThread.cpp204 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 DQCameraBufferMaps.cpp232 uint32_t rc = NO_ERROR; local
241 rc = bufferMaps.getCamBufMapList(pBufMapList);
243 return rc;
H A DQCameraPerf.cpp103 const char *rc; local
139 if ((rc = dlerror()) != NULL) {
145 if ((rc = dlerror()) != NULL) {
H A DQCameraQueue.cpp146 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 DQCameraDisplay.cpp132 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 Dbcm43340_hal.cpp64 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 Da2dp.c60 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 Ddev_arbi.c67 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 Dmm_camera_sock.c54 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 Dmm_qcamera_unit_test.c43 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 Dmm_qcamera_video.c63 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 Dmm_qcamera_rdi.c97 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 Dmm_qcamera_reprocess.c44 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 Dpower.c65 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 Dradio_hal_tool.c169 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);

Completed in 406 milliseconds

1234567