Home | History | Annotate | Download | only in camera

Lines Matching refs:rc

107     int rc = MM_CAMERA_OK;
116 rc = cam_config_get_parm(cameraId, MM_CAMERA_PARM_DIMENSION, &dim);
117 if (MM_CAMERA_OK != rc) {
124 rc = cam_ops_ch_acquire(cameraId, MM_CAMERA_CH_PREVIEW);
125 ALOGV("%s:ch_acquire MM_CAMERA_CH_PREVIEW, rc=%d\n",__func__, rc);
127 if(MM_CAMERA_OK != rc) {
128 ALOGE("%s: preview channel acquir error =%d\n", __func__, rc);
143 rc = cam_config_set_parm(cameraId, MM_CAMERA_PARM_CH_IMAGE_FMT, &fmt);
144 ALOGV("%s: preview MM_CAMERA_PARM_CH_IMAGE_FMT rc = %d\n", __func__, rc);
145 if(MM_CAMERA_OK != rc) {
156 rc = cam_ops_ch_acquire(cameraId, MM_CAMERA_CH_VIDEO);
157 ALOGV("%s:ch_acquire MM_CAMERA_CH_VIDEO, rc=%d\n",__func__, rc);
159 if(MM_CAMERA_OK != rc) {
160 ALOGE("%s: video channel acquir error =%d\n", __func__, rc);
175 rc = cam_config_set_parm(cameraId, MM_CAMERA_PARM_CH_IMAGE_FMT, &fmt);
177 ALOGV("%s: video MM_CAMERA_PARM_CH_IMAGE_FMT rc = %d\n", __func__, rc);
178 if(MM_CAMERA_OK != rc) {
179 ALOGE("%s:set video channel format err=%d\n", __func__, rc);
188 int rc = MM_CAMERA_OK;
195 rc = cam_ops_ch_acquire(cameraId, MM_CAMERA_CH_PREVIEW);
196 ALOGV("%s:ch_acquire MM_CAMERA_CH_PREVIEW, rc=%d\n",__func__, rc);
197 if(MM_CAMERA_OK != rc) {
198 ALOGE("%s: preview channel acquir error =%d\n", __func__, rc);
207 ALOGV("Buf notify MM_CAMERA_CH_PREVIEW, rc=%d\n",rc);*/
209 rc = cam_ops_ch_acquire(cameraId, MM_CAMERA_CH_VIDEO);
210 ALOGV("%s:ch_acquire MM_CAMERA_CH_VIDEO, rc=%d\n",__func__, rc);
211 if(MM_CAMERA_OK != rc) {
212 ALOGE("%s: preview channel acquir error =%d\n", __func__, rc);
221 ALOGV("Buf notify MM_CAMERA_CH_VIDEO, rc=%d\n",rc);*/
224 ret = (MM_CAMERA_OK==rc)? NO_ERROR : BAD_VALUE;
233 int rc = MM_CAMERA_OK;
260 int rc = MM_CAMERA_OK;
269 rc = cam_config_get_parm(mCameraId, MM_CAMERA_PARM_DIMENSION, &dim);
270 if (MM_CAMERA_OK != rc) {
307 rc = cam_config_set_parm(mCameraId, MM_CAMERA_PARM_CH_IMAGE_FMT, &fmt);
308 ALOGV("%s: Stream MM_CAMERA_PARM_CH_IMAGE_FMT rc = %d\n", __func__, rc);
309 if(MM_CAMERA_OK != rc) {