Home | History | Annotate | Download | only in libcamera

Lines Matching refs:m_curCameraInfo

634         m_curCameraInfo(NULL),
1039 m_curCameraInfo = new ExynosCameraInfoS5K4E5;
1042 m_curCameraInfo = new ExynosCameraInfoS5K6A3;
1045 m_curCameraInfo = new ExynosCameraInfoM5M0;
1061 if (m_curCameraInfo)
1062 delete m_curCameraInfo;
1063 m_curCameraInfo = NULL;
1104 if (m_curCameraInfo)
1105 delete m_curCameraInfo;
1106 m_curCameraInfo = NULL;
1172 m_curCameraInfo->previewW,
1173 m_curCameraInfo->previewH,
1174 m_curCameraInfo->previewColorFormat,
1181 if (setPreviewFrameRate(m_curCameraInfo->fps) == false)
1183 __func__, m_curCameraInfo->fps);
1190 if (m_curCameraInfo->focusMode == FOCUS_MODE_CONTINUOUS_VIDEO
1191 || m_curCameraInfo->focusMode == FOCUS_MODE_CONTINUOUS_PICTURE) {
1235 if (m_curCameraInfo->flashMode == FLASH_MODE_TORCH)
1390 m_curCameraInfo->videoW = w;
1391 m_curCameraInfo->videoH = h;
1395 m_curCameraInfo->videoW = m_defaultCameraInfo->videoW;
1396 m_curCameraInfo->videoH = m_defaultCameraInfo->videoH;
1403 *w = m_curCameraInfo->videoW;
1404 *h = m_curCameraInfo->videoH;
1410 m_curCameraInfo->videoColorFormat = colorFormat;
1416 return m_curCameraInfo->videoColorFormat;
1431 m_curCameraInfo->videoW,
1432 m_curCameraInfo->videoH,
1433 m_curCameraInfo->videoColorFormat,
1614 m_curCameraInfo->pictureW,
1615 m_curCameraInfo->pictureH,
1616 m_curCameraInfo->pictureColorFormat,
1816 if (m_curCameraInfo->thumbnailW != 0 && m_curCameraInfo->thumbnailH != 0) {
1818 if (jpegEnc.setThumbnailSize(m_curCameraInfo->thumbnailW, m_curCameraInfo->thumbnailH)) {
1819 ALOGE("ERR(%s):jpegEnc.setThumbnailSize(%d, %d) fail", __func__, m_curCameraInfo->thumbnailW, m_curCameraInfo->thumbnailH);
1825 ALOGE("ERR(%s):jpegEnc.setThumbnailSize(%d, %d) fail", __func__, m_curCameraInfo->thumbnailW, m_curCameraInfo->thumbnailH);
1877 switch (m_curCameraInfo->focusMode) {
1908 ALOGE("ERR(%s):Unsupported value(%d)", __func__, m_curCameraInfo->focusMode);
1930 switch (m_curCameraInfo->focusMode) {
1955 ALOGE("ERR(%s):Unsupported value(%d)", __func__, m_curCameraInfo->focusMode);
2118 return m_curCameraInfo->antiBanding;
2123 return m_curCameraInfo->autoExposureLock;
2128 return m_curCameraInfo->autoWhiteBalanceLock;
2133 return m_curCameraInfo->effect;
2170 face[i].fullW = m_curCameraInfo->previewW;
2171 face[i].fullH = m_curCameraInfo->previewH;
2174 leftEye[i].fullW = m_curCameraInfo->previewW;
2175 leftEye[i].fullH = m_curCameraInfo->previewH;
2178 rightEye[i].fullW = m_curCameraInfo->previewW;
2179 rightEye[i].fullH = m_curCameraInfo->previewH;
2182 mouth[i].fullW = m_curCameraInfo->previewW;
2183 mouth[i].fullH = m_curCameraInfo->previewH;
2336 return m_curCameraInfo->exposure;
2352 return m_curCameraInfo->flashMode;
2376 return m_curCameraInfo->focusMode;
2397 *w = m_curCameraInfo->thumbnailW;
2398 *h = m_curCameraInfo->thumbnailH;
2440 return m_curCameraInfo->pictureColorFormat;
2445 *w = m_curCameraInfo->pictureW;
2446 *h = m_curCameraInfo->pictureH;
2452 return m_curCameraInfo->previewColorFormat;
2464 return m_curCameraInfo->fps;
2469 *w = m_curCameraInfo->previewW;
2470 *h = m_curCameraInfo->previewH;
2476 return m_curCameraInfo->sceneMode;
2552 return m_curCameraInfo->videoStabilization;
2557 return m_curCameraInfo->whiteBalance;
2562 return m_curCameraInfo->zoom;
2638 if (m_curCameraInfo->antiBanding != value) {
2639 m_curCameraInfo->antiBanding = value;
2655 if (m_curCameraInfo->autoExposureLock == toggle)
2658 m_curCameraInfo->autoExposureLock = toggle;
2660 if (m_curCameraInfo->autoExposureLock == true && m_curCameraInfo->autoWhiteBalanceLock == true)
2662 else if (m_curCameraInfo->autoExposureLock == true && m_curCameraInfo->autoWhiteBalanceLock == false)
2664 else if (m_curCameraInfo->autoExposureLock == false && m_curCameraInfo->autoWhiteBalanceLock == true)
2666 else // if (m_curCameraInfo->autoExposureLock == false && m_curCameraInfo->autoWhiteBalanceLock == false)
2682 if (m_curCameraInfo->autoWhiteBalanceLock == toggle)
2685 m_curCameraInfo->autoWhiteBalanceLock = toggle;
2687 if (m_curCameraInfo->autoExposureLock == true && m_curCameraInfo->autoWhiteBalanceLock == true)
2689 else if (m_curCameraInfo->autoExposureLock == true && m_curCameraInfo->autoWhiteBalanceLock == false)
2691 else if (m_curCameraInfo->autoExposureLock == false && m_curCameraInfo->autoWhiteBalanceLock == true)
2693 else // if (m_curCameraInfo->autoExposureLock == false && m_curCameraInfo->autoWhiteBalanceLock == false)
2754 if (m_curCameraInfo->effect != value) {
2755 m_curCameraInfo->effect = value;
2792 if (m_curCameraInfo->exposure != value) {
2793 m_curCameraInfo->exposure = value;
2841 if (m_curCameraInfo->flashMode != value) {
2842 m_curCameraInfo->flashMode = value;
2892 && rect2s[0].x2 == m_curCameraInfo->previewW
2893 && rect2s[0].y2 == m_curCameraInfo->previewH) {
2895 new_x = (m_curCameraInfo->previewW) / 2;
2896 new_y = (m_curCameraInfo->previewH) / 2;
2957 if (m_curCameraInfo->focusMode != value) {
2958 m_curCameraInfo->focusMode = value;
2975 m_curCameraInfo->gpsAltitude = 0;
2978 m_curCameraInfo->gpsAltitude = (long)(conveted_altitude * 100 / 1);
2989 m_curCameraInfo->gpsLatitude = 0;
2992 m_curCameraInfo->gpsLatitude = (long)(conveted_latitude * 10000 / 1);
3003 m_curCameraInfo->gpsLongitude = 0;
3006 m_curCameraInfo->gpsLongitude = (long)(conveted_longitude * 10000 / 1);
3030 m_curCameraInfo->gpsTimestamp = 0;
3032 m_curCameraInfo->gpsTimestamp = atol(gpsTimestamp);
3063 m_curCameraInfo->thumbnailW = w;
3064 m_curCameraInfo->thumbnailH = h;
3116 m_curCameraInfo->pictureColorFormat = colorFormat;
3119 m_printFormat(m_curCameraInfo->pictureColorFormat, "PictureFormat");
3126 m_curCameraInfo->pictureW = w;
3127 m_curCameraInfo->pictureH = h;
3130 m_curCameraInfo->pictureW = m_defaultCameraInfo->pictureW;
3131 m_curCameraInfo->pictureH = m_defaultCameraInfo->pictureH;
3138 m_curCameraInfo->previewColorFormat = colorFormat;
3141 m_printFormat(m_curCameraInfo->previewColorFormat, "PreviewtFormat");
3153 m_curCameraInfo->fps = fps;
3165 m_curCameraInfo->previewW = w;
3166 m_curCameraInfo->previewH = h;
3184 m_curCameraInfo->rotation = rotation;
3191 return m_curCameraInfo->rotation;
3249 if (m_curCameraInfo->sceneMode != value) {
3250 m_curCameraInfo->sceneMode = value;
3264 m_curCameraInfo->videoStabilization = toggle;
3267 if (m_curCameraInfo->applyVideoStabilization != toggle) {
3275 m_curCameraInfo->applyVideoStabilization = toggle;
3338 if (m_curCameraInfo->whiteBalance != value) {
3339 m_curCameraInfo->whiteBalance = value;
3365 if (m_curCameraInfo->zoom != value) {
3366 m_curCameraInfo->zoom = value;
3375 if (m_setZoom(m_previewDev->fd, m_curCameraInfo->zoom, m_curCameraInfo->previewW, m_curCameraInfo->previewH) == false) {
3376 ALOGE("ERR(%s):m_setZoom(%d) fail", __func__, m_curCameraInfo->zoom);
3496 if (m_setZoom(fd, m_curCameraInfo->zoom, w, h) == false)
3497 ALOGE("ERR(%s):m_setZoom(%d, %d) fail", __func__, mode, m_curCameraInfo->zoom);
3724 switch (m_curCameraInfo->rotation) {
3763 int iso = m_curCameraInfo->iso;
3814 if (m_curCameraInfo->sceneMode == SCENE_MODE_BEACH ||
3815 m_curCameraInfo->sceneMode == SCENE_MODE_SNOW) {
3823 switch (m_curCameraInfo->metering) {
3841 if ( m_curCameraInfo->flashMode == FLASH_MODE_OFF
3849 if (m_curCameraInfo->whiteBalance == WHITE_BALANCE_AUTO)
3855 switch (m_curCameraInfo->sceneMode) {
3871 if (m_curCameraInfo->gpsLatitude != 0 && m_curCameraInfo->gpsLongitude != 0) {
3872 if (m_curCameraInfo->gpsLatitude > 0)
3877 if (m_curCameraInfo->gpsLongitude > 0)
3882 if (m_curCameraInfo->gpsAltitude > 0)
3887 double latitude = fabs(m_curCameraInfo->gpsLatitude / 10000.0);
3888 double longitude = fabs(m_curCameraInfo->gpsLongitude / 10000.0);
3889 double altitude = fabs(m_curCameraInfo->gpsAltitude / 100.0);
3911 gmtime_r(&m_curCameraInfo->gpsTimestamp, &tm_data);
3927 exifInfo->widthThumb = m_curCameraInfo->thumbnailW;
3928 exifInfo->heightThumb = m_curCameraInfo->thumbnailH;
3995 if (m_curCameraInfo->angle != angle) {
4000 m_curCameraInfo->angle = 0;
4005 m_curCameraInfo->angle = 90;
4010 m_curCameraInfo->angle = 180;
4015 m_curCameraInfo->angle = 270;
4036 return m_curCameraInfo->angle;
4073 if (m_curCameraInfo->iso != iso) {
4074 m_curCameraInfo->iso = iso;
4095 return m_curCameraInfo->iso;
4158 if (m_curCameraInfo->contrast != value) {
4159 m_curCameraInfo->contrast = value;
4180 return m_curCameraInfo->contrast;
4191 if (m_curCameraInfo->saturation != saturation) {
4192 m_curCameraInfo->saturation = saturation;
4213 return m_curCameraInfo->saturation;
4224 if (m_curCameraInfo->sharpness != sharpness) {
4225 m_curCameraInfo->sharpness = sharpness;
4246 return m_curCameraInfo->sharpness;
4264 if (m_curCameraInfo->hue != hue) {
4265 m_curCameraInfo->hue = hue;
4279 return m_curCameraInfo->hue;
4298 if (m_curCameraInfo->wdr != toggle) {
4299 m_curCameraInfo->wdr = toggle;
4320 return m_curCameraInfo->wdr;
4330 if (m_curCameraInfo->antiShake != toggle) {
4331 m_curCameraInfo->antiShake = toggle;
4345 return m_curCameraInfo->antiShake;
4395 if (m_curCameraInfo->metering != value) {
4396 m_curCameraInfo->metering = value;
4417 return m_curCameraInfo->metering;
4422 m_curCameraInfo->objectTracking = toggle;
4428 return m_curCameraInfo->objectTracking;
4433 if (m_curCameraInfo->objectTrackingStart != toggle) {
4434 m_curCameraInfo->objectTrackingStart = toggle;
4459 if (m_curCameraInfo->previewW == 640)
4477 if (m_curCameraInfo->touchAfStart != toggle) {
4478 m_curCameraInfo->touchAfStart = toggle;
4492 if (m_curCameraInfo->smartAuto != toggle) {
4493 m_curCameraInfo->smartAuto = toggle;
4510 return m_curCameraInfo->smartAuto;
4517 if (m_curCameraInfo->smartAuto == true) {
4533 if (m_curCameraInfo->beautyShot != toggle) {
4534 m_curCameraInfo->beautyShot = toggle;
4550 return m_curCameraInfo->beautyShot;
4601 if (m_curCameraInfo->brightness != brightness) {
4602 m_curCameraInfo->brightness = brightness;
4623 return m_curCameraInfo->brightness;
4628 if (m_curCameraInfo->gamma != toggle) {
4629 m_curCameraInfo->gamma = toggle;
4646 return m_curCameraInfo->gamma;
4652 if (m_curCameraInfo->odc != toggle) {
4653 m_curCameraInfo->odc = toggle;
4669 return m_curCameraInfo->odc;
4674 if (m_curCameraInfo->slowAE != toggle) {
4675 m_curCameraInfo->slowAE = toggle;
4692 return m_curCameraInfo->slowAE;
4702 if (m_curCameraInfo->shotMode != shotMode) {
4703 m_curCameraInfo->shotMode = shotMode;
4718 return m_curCameraInfo->shotMode;
4724 if (m_curCameraInfo->tdnr != toggle) {
4725 m_curCameraInfo->tdnr = toggle;
4741 return m_curCameraInfo->tdnr;