Home
last modified time | relevance | path

Searched refs:max_fps (Results 1 – 22 of 22) sorted by relevance

/device/moto/shamu/camera/QCamera2/HAL/
DQCameraParameters.cpp985 int max_fps = int(fps.max_fps); in createFpsString() local
990 if (max_fps > fps.max_fps) { in createFpsString()
991 max_fps--; in createFpsString()
993 if (min_fps <= max_fps) { in createFpsString()
998 for (int i = min_fps+1; i <= max_fps; i++) { in createFpsString()
1025 int min_fps, max_fps; in createFpsRangeString() local
1029 max_fps = int(fps[0].max_fps * 1000); in createFpsRangeString()
1030 max_range = max_fps - min_fps; in createFpsRangeString()
1032 snprintf(buffer, sizeof(buffer), "(%d,%d)", min_fps, max_fps); in createFpsRangeString()
1037 max_fps = int(fps[i].max_fps * 1000); in createFpsRangeString()
[all …]
DQCamera2HWI.cpp5367 adjustedRange.max_fps = maxFPS / 1000.0f; in calcThermalLevel()
5376 adjustedRange.max_fps = maxFPS / 1000.0f; in calcThermalLevel()
5378 adjustedRange.max_fps -= 0.1f * adjustedRange.max_fps; in calcThermalLevel()
5386 if ( adjustedRange.max_fps < 1 ) { in calcThermalLevel()
5387 adjustedRange.max_fps = 1; in calcThermalLevel()
5401 adjustedRange.max_fps = maxFPS / 1000.0f; in calcThermalLevel()
5403 adjustedRange.max_fps -= 0.2f * adjustedRange.max_fps; in calcThermalLevel()
5411 if ( adjustedRange.max_fps < 1 ) { in calcThermalLevel()
5412 adjustedRange.max_fps = 1; in calcThermalLevel()
5428 adjustedRange.max_fps = minFPS/1000.0f; in calcThermalLevel()
[all …]
DQCameraParameters.h690 int32_t setPreviewFpsRange(int min_fps,int max_fps,
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraParameters.cpp1179 int max_fps = int(fps.max_fps); in createFpsString() local
1184 if (max_fps > fps.max_fps) { in createFpsString()
1185 max_fps--; in createFpsString()
1187 if (min_fps <= max_fps) { in createFpsString()
1192 for (int i = min_fps+1; i <= max_fps; i++) { in createFpsString()
1218 int min_fps, max_fps; in createFpsRangeString() local
1222 max_fps = int(fps[0].max_fps * 1000); in createFpsRangeString()
1223 max_range = max_fps - min_fps; in createFpsRangeString()
1225 snprintf(buffer, sizeof(buffer), "(%d,%d)", min_fps, max_fps); in createFpsRangeString()
1230 max_fps = int(fps[i].max_fps * 1000); in createFpsRangeString()
[all …]
DQCamera2HWI.cpp6661 adjustedRange.max_fps = maxFPS / 1000.0f; in calcThermalLevel()
6670 adjustedRange.max_fps = maxFPS / 1000.0f; in calcThermalLevel()
6672 adjustedRange.max_fps -= 0.1f * adjustedRange.max_fps; in calcThermalLevel()
6680 if ( adjustedRange.max_fps < 1 ) { in calcThermalLevel()
6681 adjustedRange.max_fps = 1; in calcThermalLevel()
6695 adjustedRange.max_fps = maxFPS / 1000.0f; in calcThermalLevel()
6697 adjustedRange.max_fps -= 0.2f * adjustedRange.max_fps; in calcThermalLevel()
6705 if ( adjustedRange.max_fps < 1 ) { in calcThermalLevel()
6706 adjustedRange.max_fps = 1; in calcThermalLevel()
6722 adjustedRange.max_fps = minFPS/1000.0f; in calcThermalLevel()
[all …]
DQCameraParameters.h859 int32_t setPreviewFpsRange(int min_fps,int max_fps,
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraParameters.cpp1179 int max_fps = int(fps.max_fps); in createFpsString() local
1184 if (max_fps > fps.max_fps) { in createFpsString()
1185 max_fps--; in createFpsString()
1187 if (min_fps <= max_fps) { in createFpsString()
1192 for (int i = min_fps+1; i <= max_fps; i++) { in createFpsString()
1218 int min_fps, max_fps; in createFpsRangeString() local
1222 max_fps = int(fps[0].max_fps * 1000); in createFpsRangeString()
1223 max_range = max_fps - min_fps; in createFpsRangeString()
1225 snprintf(buffer, sizeof(buffer), "(%d,%d)", min_fps, max_fps); in createFpsRangeString()
1230 max_fps = int(fps[i].max_fps * 1000); in createFpsRangeString()
[all …]
DQCamera2HWI.cpp6661 adjustedRange.max_fps = maxFPS / 1000.0f; in calcThermalLevel()
6670 adjustedRange.max_fps = maxFPS / 1000.0f; in calcThermalLevel()
6672 adjustedRange.max_fps -= 0.1f * adjustedRange.max_fps; in calcThermalLevel()
6680 if ( adjustedRange.max_fps < 1 ) { in calcThermalLevel()
6681 adjustedRange.max_fps = 1; in calcThermalLevel()
6695 adjustedRange.max_fps = maxFPS / 1000.0f; in calcThermalLevel()
6697 adjustedRange.max_fps -= 0.2f * adjustedRange.max_fps; in calcThermalLevel()
6705 if ( adjustedRange.max_fps < 1 ) { in calcThermalLevel()
6706 adjustedRange.max_fps = 1; in calcThermalLevel()
6722 adjustedRange.max_fps = minFPS/1000.0f; in calcThermalLevel()
[all …]
DQCameraParameters.h859 int32_t setPreviewFpsRange(int min_fps,int max_fps,
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3HWI.cpp4225 fps_range[1] = (int32_t)float_range->max_fps; in translateFromHalMetadata()
6900 fpsRangesTable[j+1] = (int32_t)fpsTable[i].max_fps; in makeFPSTable()
7167 float max_fps = 0.0; in getCamInfo() local
7170 if (max_fps < gCamCapability[cameraId]->fps_ranges_tbl[i].max_fps) in getCamInfo()
7171 max_fps = gCamCapability[cameraId]->fps_ranges_tbl[i].max_fps; in getCamInfo()
7175 gCamCapability[cameraId]->active_array_size.height * max_fps / in getCamInfo()
7466 float range = gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps - in translateCapabilityToMetadata()
7475 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps; in translateCapabilityToMetadata()
7480 gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps) { in translateCapabilityToMetadata()
7484 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps; in translateCapabilityToMetadata()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3HWI.cpp4222 fps_range[1] = (int32_t)float_range->max_fps; in translateFromHalMetadata()
6897 fpsRangesTable[j+1] = (int32_t)fpsTable[i].max_fps; in makeFPSTable()
7164 float max_fps = 0.0; in getCamInfo() local
7167 if (max_fps < gCamCapability[cameraId]->fps_ranges_tbl[i].max_fps) in getCamInfo()
7168 max_fps = gCamCapability[cameraId]->fps_ranges_tbl[i].max_fps; in getCamInfo()
7172 gCamCapability[cameraId]->active_array_size.height * max_fps / in getCamInfo()
7463 float range = gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps - in translateCapabilityToMetadata()
7472 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps; in translateCapabilityToMetadata()
7477 gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps) { in translateCapabilityToMetadata()
7481 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps; in translateCapabilityToMetadata()
[all …]
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.cpp2945 fps_range[1] = (int32_t)float_range->max_fps; in translateFromHalMetadata()
5225 fpsRangesTable[j+1] = (int32_t)fpsTable[i].max_fps; in makeFPSTable()
5604 float max_fps = 0.0; in getCamInfo() local
5607 if (max_fps < gCamCapability[cameraId]->fps_ranges_tbl[i].max_fps) in getCamInfo()
5608 max_fps = gCamCapability[cameraId]->fps_ranges_tbl[i].max_fps; in getCamInfo()
5612 gCamCapability[cameraId]->active_array_size.height * max_fps / in getCamInfo()
5882 float range = gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps - in translateCapabilityToMetadata()
5891 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps; in translateCapabilityToMetadata()
5896 gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps) { in translateCapabilityToMetadata()
5900 (int32_t)gCamCapability[mCameraId]->fps_ranges_tbl[i].max_fps; in translateCapabilityToMetadata()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c1636 if ( max_range < (cap.fps_ranges_tbl[i].max_fps - cap.fps_ranges_tbl[i].min_fps) ) { in enableAFR()
1649 cap.fps_ranges_tbl[j].max_fps, in enableAFR()
Dmm_qcamera_app.c1531 range.max_fps); in setFPSRange()
2434 fpsRange->min_fps, fpsRange->max_fps); in mm_app_set_preview_fps_range()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c1636 if ( max_range < (cap.fps_ranges_tbl[i].max_fps - cap.fps_ranges_tbl[i].min_fps) ) { in enableAFR()
1649 cap.fps_ranges_tbl[j].max_fps, in enableAFR()
Dmm_qcamera_app.c1684 range.max_fps); in setFPSRange()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c1636 if ( max_range < (cap.fps_ranges_tbl[i].max_fps - cap.fps_ranges_tbl[i].min_fps) ) { in enableAFR()
1649 cap.fps_ranges_tbl[j].max_fps, in enableAFR()
Dmm_qcamera_app.c1531 range.max_fps); in setFPSRange()
2434 fpsRange->min_fps, fpsRange->max_fps); in mm_app_set_preview_fps_range()
/device/moto/shamu/camera/QCamera2/stack/common/
Dcam_types.h399 float max_fps; member
/device/huawei/angler/camera/QCamera2/stack/common/
Dcam_types.h477 float max_fps; member
/device/lge/bullhead/camera/QCamera2/stack/common/
Dcam_types.h477 float max_fps; member
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp794 mSensorFpsRange.max_fps); in initDefaultParameters()
800 int maxFps = (int)(mSensorFpsRange.max_fps * 1000); in initDefaultParameters()