Lines Matching refs:rc
194 int32_t rc = NO_ERROR;
216 rc = pStream->init(streamType, streamFormat, streamDim, NULL, minStreamBufNum,
218 if (rc == 0) {
224 return rc;
240 int32_t rc = NO_ERROR;
251 rc = m_camOps->start_channel(m_camHandle, m_handle);
253 if (rc != NO_ERROR) {
263 return rc;
279 int32_t rc = NO_ERROR;
282 return rc;
285 rc = m_camOps->stop_channel(m_camHandle, m_handle);
294 return rc;
311 int32_t rc = NO_ERROR;
317 rc = mStreams[j]->bufDone(recvd_frame->bufs[i]->buf_idx);
324 return rc;
527 int32_t rc = NO_ERROR;
532 if(rc != NO_ERROR) {
534 return rc;
551 rc = mStreams[0]->bufDone(index);
552 if(rc != NO_ERROR) {
554 return rc;
557 rc = mMemory->markFrameNumber(index, frameNumber);
558 return rc;
577 int rc = 0;
583 rc = init(NULL, NULL);
584 if (rc < 0) {
586 return rc;
626 rc = QCamera3Channel::addStream(streamType, streamFormat, streamDim,
628 return rc;
734 int32_t rc;
742 rc = init(NULL, NULL);
743 if (rc < 0) {
745 return rc;
750 rc = QCamera3Channel::addStream(CAM_STREAM_TYPE_METADATA, CAM_FORMAT_MAX,
752 if (rc < 0) {
755 return rc;
789 int rc;
800 rc = mMemory->allocate(MIN_STREAMING_BUFFER_NUM, len, true);
801 if (rc < 0) {
922 int32_t rc = m_postprocessor.init(jpegEvtHandle, this);
923 if (rc != 0) {
930 int32_t rc = m_postprocessor.stop();
931 if (rc != NO_ERROR) {
934 rc = m_postprocessor.deinit();
935 if (rc != 0) {
945 int32_t rc = NO_ERROR;
958 rc = init(&attr, NULL);
959 if (rc < 0) {
961 return rc;
971 rc = QCamera3Channel::addStream(streamType, streamFormat, streamDim,
974 return rc;
983 int32_t rc = NO_ERROR;
990 rc = start();
998 if(rc != NO_ERROR) {
1000 return rc;
1028 rc = mMemory->markFrameNumber(index, frameNumber);
1040 return rc;
1088 int rc = 0;
1093 rc = QCamera3PicChannel::initialize();
1094 if (rc < 0) {
1096 return rc;
1118 return rc;
1173 int rc = 0;
1203 rc = mYuvMemory->allocate(1, len, true);
1204 if (rc < 0) {
1625 int32_t rc = NO_ERROR;
1632 rc = getExifDateTime(dateTime, count);
1633 if(rc == NO_ERROR) {
1647 rc = getExifFocalLength(&focalLength, mJpegSettings->lens_focal_length);
1648 if (rc == NO_ERROR) {
1668 rc = getExifExpTimeInfo(&sensorExpTime, (int64_t)mJpegSettings->sensor_exposure_time);
1685 rc = getExifGpsProcessingMethod(gpsProcessingMethod, count, mJpegSettings->gps_processing_method);
1686 if(rc == NO_ERROR) {
1699 rc = getExifLatitude(latitude, latRef, *(mJpegSettings->gps_coordinates[0]));
1700 if(rc == NO_ERROR) {
1717 rc = getExifLongitude(longitude, lonRef, *(mJpegSettings->gps_coordinates[1]));
1718 if(rc == NO_ERROR) {
1736 rc = getExifAltitude(&altitude, &altRef, *(mJpegSettings->gps_coordinates[2]));
1737 if(rc == NO_ERROR) {
1755 rc = getExifGpsDateTimeStamp(gpsDateStamp, 20, gpsTimeStamp, *(mJpegSettings->gps_timestamp));
1756 if(rc == NO_ERROR) {
1772 rc = getExifExposureValue(&exposure_val, mJpegSettings->exposure_compensation,
1774 if(rc == NO_ERROR) {
1898 int32_t rc = NO_ERROR;
1905 rc = init(&attr, NULL);
1906 if (rc < 0) {
1909 return rc;
2012 int rc = 0;
2021 rc = mMemory->allocate(2, len, true);
2022 if (rc < 0) {
2098 int32_t rc = 0;
2121 rc = pStream->setParameter(param);
2122 if (rc != NO_ERROR) {
2128 return rc;
2151 int32_t rc = 0;
2163 rc = mStreams[i]->mapBuf(CAM_MAPPING_BUF_TYPE_OFFLINE_INPUT_BUF,
2167 if (rc == NO_ERROR) {
2175 rc = mStreams[i]->setParameter(param);
2176 if (rc == NO_ERROR) {
2183 return rc;
2204 int32_t rc = 0;
2249 rc = pStream->init(streamType, streamFormat, streamDim, &reprocess_config,
2253 if (rc == 0) {
2261 if (rc == NO_ERROR) {
2268 return rc;