Lines Matching refs:m_curCameraInfo

634         m_curCameraInfo(NULL),  in ExynosCamera()
1039 m_curCameraInfo = new ExynosCameraInfoS5K4E5; in create()
1042 m_curCameraInfo = new ExynosCameraInfoS5K6A3; in create()
1045 m_curCameraInfo = new ExynosCameraInfoM5M0; in create()
1061 if (m_curCameraInfo) in create()
1062 delete m_curCameraInfo; in create()
1063 m_curCameraInfo = NULL; in create()
1104 if (m_curCameraInfo) in destroy()
1105 delete m_curCameraInfo; in destroy()
1106 m_curCameraInfo = NULL; in destroy()
1172 m_curCameraInfo->previewW, in startPreview()
1173 m_curCameraInfo->previewH, in startPreview()
1174 m_curCameraInfo->previewColorFormat, in startPreview()
1181 if (setPreviewFrameRate(m_curCameraInfo->fps) == false) in startPreview()
1183 __func__, m_curCameraInfo->fps); in startPreview()
1190 if (m_curCameraInfo->focusMode == FOCUS_MODE_CONTINUOUS_VIDEO in startPreview()
1191 || m_curCameraInfo->focusMode == FOCUS_MODE_CONTINUOUS_PICTURE) { in startPreview()
1235 if (m_curCameraInfo->flashMode == FLASH_MODE_TORCH) in stopPreview()
1390 m_curCameraInfo->videoW = w; in setVideoSize()
1391 m_curCameraInfo->videoH = h; in setVideoSize()
1395 m_curCameraInfo->videoW = m_defaultCameraInfo->videoW; in setVideoSize()
1396 m_curCameraInfo->videoH = m_defaultCameraInfo->videoH; in setVideoSize()
1403 *w = m_curCameraInfo->videoW; in getVideoSize()
1404 *h = m_curCameraInfo->videoH; in getVideoSize()
1410 m_curCameraInfo->videoColorFormat = colorFormat; in setVideoFormat()
1416 return m_curCameraInfo->videoColorFormat; in getVideoFormat()
1431 m_curCameraInfo->videoW, in startVideo()
1432 m_curCameraInfo->videoH, in startVideo()
1433 m_curCameraInfo->videoColorFormat, in startVideo()
1614 m_curCameraInfo->pictureW, in startPicture()
1615 m_curCameraInfo->pictureH, in startPicture()
1616 m_curCameraInfo->pictureColorFormat, in startPicture()
1816 if (m_curCameraInfo->thumbnailW != 0 && m_curCameraInfo->thumbnailH != 0) { in yuv2Jpeg()
1818 if (jpegEnc.setThumbnailSize(m_curCameraInfo->thumbnailW, m_curCameraInfo->thumbnailH)) { in yuv2Jpeg()
1819 …%s):jpegEnc.setThumbnailSize(%d, %d) fail", __func__, m_curCameraInfo->thumbnailW, m_curCameraInfo in yuv2Jpeg()
1825 …%s):jpegEnc.setThumbnailSize(%d, %d) fail", __func__, m_curCameraInfo->thumbnailW, m_curCameraInfo in yuv2Jpeg()
1877 switch (m_curCameraInfo->focusMode) { in autoFocus()
1908 ALOGE("ERR(%s):Unsupported value(%d)", __func__, m_curCameraInfo->focusMode); in autoFocus()
1930 switch (m_curCameraInfo->focusMode) { in cancelAutoFocus()
1955 ALOGE("ERR(%s):Unsupported value(%d)", __func__, m_curCameraInfo->focusMode); in cancelAutoFocus()
2118 return m_curCameraInfo->antiBanding; in getAntibanding()
2123 return m_curCameraInfo->autoExposureLock; in getAutoExposureLock()
2128 return m_curCameraInfo->autoWhiteBalanceLock; in getAutoWhiteBalanceLock()
2133 return m_curCameraInfo->effect; in getColorEffect()
2170 face[i].fullW = m_curCameraInfo->previewW; in getDetectedFacesAreas()
2171 face[i].fullH = m_curCameraInfo->previewH; in getDetectedFacesAreas()
2174 leftEye[i].fullW = m_curCameraInfo->previewW; in getDetectedFacesAreas()
2175 leftEye[i].fullH = m_curCameraInfo->previewH; in getDetectedFacesAreas()
2178 rightEye[i].fullW = m_curCameraInfo->previewW; in getDetectedFacesAreas()
2179 rightEye[i].fullH = m_curCameraInfo->previewH; in getDetectedFacesAreas()
2182 mouth[i].fullW = m_curCameraInfo->previewW; in getDetectedFacesAreas()
2183 mouth[i].fullH = m_curCameraInfo->previewH; in getDetectedFacesAreas()
2336 return m_curCameraInfo->exposure; in getExposureCompensation()
2352 return m_curCameraInfo->flashMode; in getFlashMode()
2376 return m_curCameraInfo->focusMode; in getFocusMode()
2397 *w = m_curCameraInfo->thumbnailW; in getJpegThumbnailSize()
2398 *h = m_curCameraInfo->thumbnailH; in getJpegThumbnailSize()
2440 return m_curCameraInfo->pictureColorFormat; in getPictureFormat()
2445 *w = m_curCameraInfo->pictureW; in getPictureSize()
2446 *h = m_curCameraInfo->pictureH; in getPictureSize()
2452 return m_curCameraInfo->previewColorFormat; in getPreviewFormat()
2464 return m_curCameraInfo->fps; in getPreviewFrameRate()
2469 *w = m_curCameraInfo->previewW; in getPreviewSize()
2470 *h = m_curCameraInfo->previewH; in getPreviewSize()
2476 return m_curCameraInfo->sceneMode; in getSceneMode()
2552 return m_curCameraInfo->videoStabilization; in getVideoStabilization()
2557 return m_curCameraInfo->whiteBalance; in getWhiteBalance()
2562 return m_curCameraInfo->zoom; in getZoom()
2638 if (m_curCameraInfo->antiBanding != value) { in setAntibanding()
2639 m_curCameraInfo->antiBanding = value; in setAntibanding()
2655 if (m_curCameraInfo->autoExposureLock == toggle) in setAutoExposureLock()
2658 m_curCameraInfo->autoExposureLock = toggle; in setAutoExposureLock()
2660 if (m_curCameraInfo->autoExposureLock == true && m_curCameraInfo->autoWhiteBalanceLock == true) in setAutoExposureLock()
2662 …else if (m_curCameraInfo->autoExposureLock == true && m_curCameraInfo->autoWhiteBalanceLock == fal… in setAutoExposureLock()
2664 …else if (m_curCameraInfo->autoExposureLock == false && m_curCameraInfo->autoWhiteBalanceLock == tr… in setAutoExposureLock()
2682 if (m_curCameraInfo->autoWhiteBalanceLock == toggle) in setAutoWhiteBalanceLock()
2685 m_curCameraInfo->autoWhiteBalanceLock = toggle; in setAutoWhiteBalanceLock()
2687 if (m_curCameraInfo->autoExposureLock == true && m_curCameraInfo->autoWhiteBalanceLock == true) in setAutoWhiteBalanceLock()
2689 …else if (m_curCameraInfo->autoExposureLock == true && m_curCameraInfo->autoWhiteBalanceLock == fal… in setAutoWhiteBalanceLock()
2691 …else if (m_curCameraInfo->autoExposureLock == false && m_curCameraInfo->autoWhiteBalanceLock == tr… in setAutoWhiteBalanceLock()
2754 if (m_curCameraInfo->effect != value) { in setColorEffect()
2755 m_curCameraInfo->effect = value; in setColorEffect()
2792 if (m_curCameraInfo->exposure != value) { in setExposureCompensation()
2793 m_curCameraInfo->exposure = value; in setExposureCompensation()
2841 if (m_curCameraInfo->flashMode != value) { in setFlashMode()
2842 m_curCameraInfo->flashMode = value; in setFlashMode()
2892 && rect2s[0].x2 == m_curCameraInfo->previewW in setFocusAreas()
2893 && rect2s[0].y2 == m_curCameraInfo->previewH) { in setFocusAreas()
2895 new_x = (m_curCameraInfo->previewW) / 2; in setFocusAreas()
2896 new_y = (m_curCameraInfo->previewH) / 2; in setFocusAreas()
2957 if (m_curCameraInfo->focusMode != value) { in setFocusMode()
2958 m_curCameraInfo->focusMode = value; in setFocusMode()
2975 m_curCameraInfo->gpsAltitude = 0; in setGpsAltitude()
2978 m_curCameraInfo->gpsAltitude = (long)(conveted_altitude * 100 / 1); in setGpsAltitude()
2989 m_curCameraInfo->gpsLatitude = 0; in setGpsLatitude()
2992 m_curCameraInfo->gpsLatitude = (long)(conveted_latitude * 10000 / 1); in setGpsLatitude()
3003 m_curCameraInfo->gpsLongitude = 0; in setGpsLongitude()
3006 m_curCameraInfo->gpsLongitude = (long)(conveted_longitude * 10000 / 1); in setGpsLongitude()
3030 m_curCameraInfo->gpsTimestamp = 0; in setGpsTimeStamp()
3032 m_curCameraInfo->gpsTimestamp = atol(gpsTimestamp); in setGpsTimeStamp()
3063 m_curCameraInfo->thumbnailW = w; in setJpegThumbnailSize()
3064 m_curCameraInfo->thumbnailH = h; in setJpegThumbnailSize()
3116 m_curCameraInfo->pictureColorFormat = colorFormat; in setPictureFormat()
3119 m_printFormat(m_curCameraInfo->pictureColorFormat, "PictureFormat"); in setPictureFormat()
3126 m_curCameraInfo->pictureW = w; in setPictureSize()
3127 m_curCameraInfo->pictureH = h; in setPictureSize()
3130 m_curCameraInfo->pictureW = m_defaultCameraInfo->pictureW; in setPictureSize()
3131 m_curCameraInfo->pictureH = m_defaultCameraInfo->pictureH; in setPictureSize()
3138 m_curCameraInfo->previewColorFormat = colorFormat; in setPreviewFormat()
3141 m_printFormat(m_curCameraInfo->previewColorFormat, "PreviewtFormat"); in setPreviewFormat()
3153 m_curCameraInfo->fps = fps; in setPreviewFrameRate()
3165 m_curCameraInfo->previewW = w; in setPreviewSize()
3166 m_curCameraInfo->previewH = h; in setPreviewSize()
3184 m_curCameraInfo->rotation = rotation; in setRotation()
3191 return m_curCameraInfo->rotation; in getRotation()
3249 if (m_curCameraInfo->sceneMode != value) { in setSceneMode()
3250 m_curCameraInfo->sceneMode = value; in setSceneMode()
3264 m_curCameraInfo->videoStabilization = toggle; in setVideoStabilization()
3267 if (m_curCameraInfo->applyVideoStabilization != toggle) { in setVideoStabilization()
3275 m_curCameraInfo->applyVideoStabilization = toggle; in setVideoStabilization()
3338 if (m_curCameraInfo->whiteBalance != value) { in setWhiteBalance()
3339 m_curCameraInfo->whiteBalance = value; in setWhiteBalance()
3365 if (m_curCameraInfo->zoom != value) { in setZoom()
3366 m_curCameraInfo->zoom = value; in setZoom()
3375 …if (m_setZoom(m_previewDev->fd, m_curCameraInfo->zoom, m_curCameraInfo->previewW, m_curCameraInfo-… in setZoom()
3376 ALOGE("ERR(%s):m_setZoom(%d) fail", __func__, m_curCameraInfo->zoom); in setZoom()
3724 switch (m_curCameraInfo->rotation) { in m_setExifChangedAttribute()
3763 int iso = m_curCameraInfo->iso; in m_setExifChangedAttribute()
3814 if (m_curCameraInfo->sceneMode == SCENE_MODE_BEACH || in m_setExifChangedAttribute()
3815 m_curCameraInfo->sceneMode == SCENE_MODE_SNOW) { in m_setExifChangedAttribute()
3823 switch (m_curCameraInfo->metering) { in m_setExifChangedAttribute()
3841 if ( m_curCameraInfo->flashMode == FLASH_MODE_OFF in m_setExifChangedAttribute()
3849 if (m_curCameraInfo->whiteBalance == WHITE_BALANCE_AUTO) in m_setExifChangedAttribute()
3855 switch (m_curCameraInfo->sceneMode) { in m_setExifChangedAttribute()
3871 if (m_curCameraInfo->gpsLatitude != 0 && m_curCameraInfo->gpsLongitude != 0) { in m_setExifChangedAttribute()
3872 if (m_curCameraInfo->gpsLatitude > 0) in m_setExifChangedAttribute()
3877 if (m_curCameraInfo->gpsLongitude > 0) in m_setExifChangedAttribute()
3882 if (m_curCameraInfo->gpsAltitude > 0) in m_setExifChangedAttribute()
3887 double latitude = fabs(m_curCameraInfo->gpsLatitude / 10000.0); in m_setExifChangedAttribute()
3888 double longitude = fabs(m_curCameraInfo->gpsLongitude / 10000.0); in m_setExifChangedAttribute()
3889 double altitude = fabs(m_curCameraInfo->gpsAltitude / 100.0); in m_setExifChangedAttribute()
3911 gmtime_r(&m_curCameraInfo->gpsTimestamp, &tm_data); in m_setExifChangedAttribute()
3927 exifInfo->widthThumb = m_curCameraInfo->thumbnailW; in m_setExifChangedAttribute()
3928 exifInfo->heightThumb = m_curCameraInfo->thumbnailH; in m_setExifChangedAttribute()
3995 if (m_curCameraInfo->angle != angle) { in setAngle()
4000 m_curCameraInfo->angle = 0; in setAngle()
4005 m_curCameraInfo->angle = 90; in setAngle()
4010 m_curCameraInfo->angle = 180; in setAngle()
4015 m_curCameraInfo->angle = 270; in setAngle()
4036 return m_curCameraInfo->angle; in getAngle()
4073 if (m_curCameraInfo->iso != iso) { in setISO()
4074 m_curCameraInfo->iso = iso; in setISO()
4095 return m_curCameraInfo->iso; in getISO()
4158 if (m_curCameraInfo->contrast != value) { in setContrast()
4159 m_curCameraInfo->contrast = value; in setContrast()
4180 return m_curCameraInfo->contrast; in getContrast()
4191 if (m_curCameraInfo->saturation != saturation) { in setSaturation()
4192 m_curCameraInfo->saturation = saturation; in setSaturation()
4213 return m_curCameraInfo->saturation; in getSaturation()
4224 if (m_curCameraInfo->sharpness != sharpness) { in setSharpness()
4225 m_curCameraInfo->sharpness = sharpness; in setSharpness()
4246 return m_curCameraInfo->sharpness; in getSharpness()
4264 if (m_curCameraInfo->hue != hue) { in setHue()
4265 m_curCameraInfo->hue = hue; in setHue()
4279 return m_curCameraInfo->hue; in getHue()
4298 if (m_curCameraInfo->wdr != toggle) { in setWDR()
4299 m_curCameraInfo->wdr = toggle; in setWDR()
4320 return m_curCameraInfo->wdr; in getWDR()
4330 if (m_curCameraInfo->antiShake != toggle) { in setAntiShake()
4331 m_curCameraInfo->antiShake = toggle; in setAntiShake()
4345 return m_curCameraInfo->antiShake; in getAntiShake()
4395 if (m_curCameraInfo->metering != value) { in setMeteringMode()
4396 m_curCameraInfo->metering = value; in setMeteringMode()
4417 return m_curCameraInfo->metering; in getMeteringMode()
4422 m_curCameraInfo->objectTracking = toggle; in setObjectTracking()
4428 return m_curCameraInfo->objectTracking; in getObjectTracking()
4433 if (m_curCameraInfo->objectTrackingStart != toggle) { in setObjectTrackingStart()
4434 m_curCameraInfo->objectTrackingStart = toggle; in setObjectTrackingStart()
4459 if (m_curCameraInfo->previewW == 640) in setObjectPosition()
4477 if (m_curCameraInfo->touchAfStart != toggle) { in setTouchAFStart()
4478 m_curCameraInfo->touchAfStart = toggle; in setTouchAFStart()
4492 if (m_curCameraInfo->smartAuto != toggle) { in setSmartAuto()
4493 m_curCameraInfo->smartAuto = toggle; in setSmartAuto()
4510 return m_curCameraInfo->smartAuto; in getSmartAuto()
4517 if (m_curCameraInfo->smartAuto == true) { in getSmartAutoStatus()
4533 if (m_curCameraInfo->beautyShot != toggle) { in setBeautyShot()
4534 m_curCameraInfo->beautyShot = toggle; in setBeautyShot()
4550 return m_curCameraInfo->beautyShot; in getBeautyShot()
4601 if (m_curCameraInfo->brightness != brightness) { in setBrightness()
4602 m_curCameraInfo->brightness = brightness; in setBrightness()
4623 return m_curCameraInfo->brightness; in getBrightness()
4628 if (m_curCameraInfo->gamma != toggle) { in setGamma()
4629 m_curCameraInfo->gamma = toggle; in setGamma()
4646 return m_curCameraInfo->gamma; in getGamma()
4652 if (m_curCameraInfo->odc != toggle) { in setODC()
4653 m_curCameraInfo->odc = toggle; in setODC()
4669 return m_curCameraInfo->odc; in getODC()
4674 if (m_curCameraInfo->slowAE != toggle) { in setSlowAE()
4675 m_curCameraInfo->slowAE = toggle; in setSlowAE()
4692 return m_curCameraInfo->slowAE; in getSlowAE()
4702 if (m_curCameraInfo->shotMode != shotMode) { in setShotMode()
4703 m_curCameraInfo->shotMode = shotMode; in setShotMode()
4718 return m_curCameraInfo->shotMode; in getShotMode()
4724 if (m_curCameraInfo->tdnr != toggle) { in set3DNR()
4725 m_curCameraInfo->tdnr = toggle; in set3DNR()
4741 return m_curCameraInfo->tdnr; in get3DNR()