Home
last modified time | relevance | path

Searched refs:mCameraId (Results 1 – 17 of 17) sorted by relevance

/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3HWI.cpp226 : mCameraId(cameraId), in QCamera3HardwareInterface()
408 mCameraHandle = camera_open(mCameraId); in openCamera()
524 i < gCamCapability[mCameraId]->supported_raw_dim_cnt; i++){ in validateStreamDimensions()
525 if (gCamCapability[mCameraId]->raw_dim[i].width in validateStreamDimensions()
527 && gCamCapability[mCameraId]->raw_dim[i].height in validateStreamDimensions()
535 i < gCamCapability[mCameraId]->picture_sizes_tbl_cnt;i++){ in validateStreamDimensions()
537 gCamCapability[mCameraId] in validateStreamDimensions()
540 gCamCapability[mCameraId] in validateStreamDimensions()
554 gCamCapability[mCameraId]->active_array_size.width in validateStreamDimensions()
556 gCamCapability[mCameraId]->active_array_size.height) { in validateStreamDimensions()
[all …]
DQCamera3HWI.h205 uint8_t mCameraId; variable
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.cpp244 : mCameraId(cameraId), in QCamera3HardwareInterface()
495 rc = QCameraFlash::getInstance().reserveFlashForCamera(mCameraId); in openCamera()
499 mCameraId); in openCamera()
503 mCameraHandle = camera_open(mCameraId); in openCamera()
554 if (QCameraFlash::getInstance().releaseFlashFromCamera(mCameraId) != 0) { in closeCamera()
557 mCameraId); in closeCamera()
647 i < gCamCapability[mCameraId]->supported_raw_dim_cnt; i++){ in validateStreamDimensions()
648 if (gCamCapability[mCameraId]->raw_dim[i].width in validateStreamDimensions()
650 && gCamCapability[mCameraId]->raw_dim[i].height in validateStreamDimensions()
659 makeTable(gCamCapability[mCameraId]->picture_sizes_tbl, in validateStreamDimensions()
[all …]
DQCamera3HWI.h242 uint8_t mCameraId; variable
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3HWI.cpp154 : mCameraId(cameraId), in QCamera3HardwareInterface()
317 mCameraHandle = camera_open(mCameraId); in openCamera()
512 &gCamCapability[mCameraId]->padding_info, this); in configureStreams()
563 &gCamCapability[mCameraId]->padding_info, this, newStream, in configureStreams()
568 &gCamCapability[mCameraId]->padding_info, this, newStream); in configureStreams()
581 &gCamCapability[mCameraId]->padding_info, this, newStream); in configureStreams()
1288 if (gCamCapability[mCameraId]->position == CAM_POSITION_FRONT && in translateCbMetadataToResultMetadata()
1438 int map_height = gCamCapability[mCameraId]->lens_shading_map_size.height; in translateCbMetadataToResultMetadata()
1439 int map_width = gCamCapability[mCameraId]->lens_shading_map_size.width; in translateCbMetadataToResultMetadata()
1745 for (int i = 0; i < gCamCapability[mCameraId]->picture_sizes_tbl_cnt; i++) { in calcMaxJpegSize()
[all …]
DQCamera3HWI.h173 uint8_t mCameraId; variable
/device/moto/shamu/camera/QCamera2/HAL/
DQCamera2HWI.cpp1028 : mCameraId(cameraId), in QCamera2HardwareInterface()
1135 __func__,mCameraId); in openCamera()
1171 mCameraHandle = camera_open(mCameraId); in openCamera()
1176 if (NULL == gCamCaps[mCameraId]) in openCamera()
1177 initCapabilities(mCameraId,mCameraHandle); in openCamera()
1184 for(i = 0; i < gCamCaps[mCameraId]->picture_sizes_tbl_cnt - 1; i++) in openCamera()
1186 l_curr_width = gCamCaps[mCameraId]->picture_sizes_tbl[i].width; in openCamera()
1187 l_curr_height = gCamCaps[mCameraId]->picture_sizes_tbl[i].height; in openCamera()
1207 if (gCamCaps[mCameraId]->padding_info.width_padding < padding_info.width_padding) { in openCamera()
1208 gCamCaps[mCameraId]->padding_info.width_padding = padding_info.width_padding; in openCamera()
[all …]
DQCamera2HWI.h503 uint8_t mCameraId; variable
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCamera2HWI.cpp921 : mCameraId(cameraId), in QCamera2HardwareInterface()
1026 mCameraHandle = camera_open(mCameraId); in openCamera()
1045 if (gCamCapability[mCameraId]->padding_info.width_padding < padding_info.width_padding) { in openCamera()
1046 gCamCapability[mCameraId]->padding_info.width_padding = padding_info.width_padding; in openCamera()
1048 if (gCamCapability[mCameraId]->padding_info.height_padding < padding_info.height_padding) { in openCamera()
1049 gCamCapability[mCameraId]->padding_info.height_padding = padding_info.height_padding; in openCamera()
1051 if (gCamCapability[mCameraId]->padding_info.plane_padding < padding_info.plane_padding) { in openCamera()
1052 gCamCapability[mCameraId]->padding_info.plane_padding = padding_info.plane_padding; in openCamera()
1055 mParameters.init(gCamCapability[mCameraId], mCameraHandle); in openCamera()
2708 &gCamCapability[mCameraId]->padding_info, in addStreamToChannel()
[all …]
DQCamera2HWI.h388 uint8_t mCameraId; variable
/device/asus/flo/camera/QCamera2/HAL/
DQCamera2HWI.cpp921 : mCameraId(cameraId), in QCamera2HardwareInterface()
1026 mCameraHandle = camera_open(mCameraId); in openCamera()
1045 if (gCamCapability[mCameraId]->padding_info.width_padding < padding_info.width_padding) { in openCamera()
1046 gCamCapability[mCameraId]->padding_info.width_padding = padding_info.width_padding; in openCamera()
1048 if (gCamCapability[mCameraId]->padding_info.height_padding < padding_info.height_padding) { in openCamera()
1049 gCamCapability[mCameraId]->padding_info.height_padding = padding_info.height_padding; in openCamera()
1051 if (gCamCapability[mCameraId]->padding_info.plane_padding < padding_info.plane_padding) { in openCamera()
1052 gCamCapability[mCameraId]->padding_info.plane_padding = padding_info.plane_padding; in openCamera()
1055 mParameters.init(gCamCapability[mCameraId], mCameraHandle); in openCamera()
2708 &gCamCapability[mCameraId]->padding_info, in addStreamToChannel()
[all …]
DQCamera2HWI.h388 uint8_t mCameraId; variable
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraHWI.cpp264 : mCameraId(cameraId) in QCameraHardwareInterface()
275 mCameraHandle=camera_open(mCameraId, &mMemHooks); in QCameraHardwareInterface()
278 ALOGE("startCamera: cam_ops_open failed: id = %d", mCameraId); in QCameraHardwareInterface()
DQCameraStream_Preview.cpp439 ret = cam_config_prepare_buf(mCameraId, &mDisplayBuf); in start()
503 ret = cam_config_unprepare_buf(mCameraId, MM_CAMERA_CH_PREVIEW); in stop()
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraHWI.h850 int mCameraId;
/device/moto/shamu/camera/QCamera/HAL/core/inc/
DQCameraHWI.h748 int mCameraId; variable
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI.cpp1041 : mCameraId(cameraId), in QCameraHardwareInterface()
1134 mCameraHandle=camera_open(mCameraId, &mem_hooks); in QCameraHardwareInterface()
1137 ALOGE("startCamera: cam_ops_open failed: id = %d", mCameraId); in QCameraHardwareInterface()