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.deinit();
931 if (rc != 0) {
941 int32_t rc = NO_ERROR;
954 rc = init(&attr, NULL);
955 if (rc < 0) {
957 return rc;
967 rc = QCamera3Channel::addStream(streamType, streamFormat, streamDim,
970 return rc;
979 int32_t rc = NO_ERROR;
986 rc = start();
994 if(rc != NO_ERROR) {
996 return rc;
1024 rc = mMemory->markFrameNumber(index, frameNumber);
1036 return rc;
1084 int rc = 0;
1089 rc = QCamera3PicChannel::initialize();
1090 if (rc < 0) {
1092 return rc;
1114 return rc;
1169 int rc = 0;
1199 rc = mYuvMemory->allocate(1, len, true);
1200 if (rc < 0) {
1621 int32_t rc = NO_ERROR;
1628 rc = getExifDateTime(dateTime, count);
1629 if(rc == NO_ERROR) {
1643 rc = getExifFocalLength(&focalLength, mJpegSettings->lens_focal_length);
1644 if (rc == NO_ERROR) {
1660 rc = getExifExpTimeInfo(&sensorExpTime, (int64_t)mJpegSettings->sensor_exposure_time);
1661 if (rc == NO_ERROR){
1672 rc = getExifGpsProcessingMethod(gpsProcessingMethod, count, mJpegSettings->gps_processing_method);
1673 if(rc == NO_ERROR) {
1686 rc = getExifLatitude(latitude, latRef, *(mJpegSettings->gps_coordinates[0]));
1687 if(rc == NO_ERROR) {
1704 rc = getExifLongitude(longitude, lonRef, *(mJpegSettings->gps_coordinates[1]));
1705 if(rc == NO_ERROR) {
1723 rc = getExifAltitude(&altitude, &altRef, *(mJpegSettings->gps_coordinates[2]));
1724 if(rc == NO_ERROR) {
1742 rc = getExifGpsDateTimeStamp(gpsDateStamp, 20, gpsTimeStamp, *(mJpegSettings->gps_timestamp));
1743 if(rc == NO_ERROR) {
1759 rc = getExifExposureValue(&exposure_val, mJpegSettings->exposure_compensation,
1761 if(rc == NO_ERROR) {
1836 int32_t rc = NO_ERROR;
1843 rc = init(&attr, NULL);
1844 if (rc < 0) {
1847 return rc;
1950 int rc = 0;
1959 rc = mMemory->allocate(2, len, true);
1960 if (rc < 0) {
2036 int32_t rc = 0;
2059 rc = pStream->setParameter(param);
2060 if (rc != NO_ERROR) {
2066 return rc;
2089 int32_t rc = 0;
2101 rc = mStreams[i]->mapBuf(CAM_MAPPING_BUF_TYPE_OFFLINE_INPUT_BUF,
2105 if (rc == NO_ERROR) {
2113 rc = mStreams[i]->setParameter(param);
2114 if (rc == NO_ERROR) {
2121 return rc;
2142 int32_t rc = 0;
2187 rc = pStream->init(streamType, streamFormat, streamDim, &reprocess_config,
2191 if (rc == 0) {
2199 if (rc == NO_ERROR) {
2206 return rc;