Home
last modified time | relevance | path

Searched refs:THUMBNAIL_SIZES_MAP (Results 1 – 6 of 6) sorted by relevance

/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraParameters.cpp285 const cam_dimension_t QCameraParameters::THUMBNAIL_SIZES_MAP[] = { member in qcamera::QCameraParameters
1274 int sizes_cnt = sizeof(THUMBNAIL_SIZES_MAP) / sizeof(cam_dimension_t); in setJpegThumbnailSize()
1293 if (THUMBNAIL_SIZES_MAP[i].height == 0) { in setJpegThumbnailSize()
1298 (double)THUMBNAIL_SIZES_MAP[i].width / THUMBNAIL_SIZES_MAP[i].height; in setJpegThumbnailSize()
1302 if (THUMBNAIL_SIZES_MAP[i].width > optimalWidth) { in setJpegThumbnailSize()
1303 optimalWidth = THUMBNAIL_SIZES_MAP[i].width; in setJpegThumbnailSize()
1304 optimalHeight = THUMBNAIL_SIZES_MAP[i].height; in setJpegThumbnailSize()
2902 THUMBNAIL_SIZES_MAP, in initDefaultParameters()
2903 sizeof(THUMBNAIL_SIZES_MAP)/sizeof(cam_dimension_t)); in initDefaultParameters()
2906 set(KEY_JPEG_THUMBNAIL_WIDTH, THUMBNAIL_SIZES_MAP[0].width); in initDefaultParameters()
[all …]
DQCameraParameters.h545 static const cam_dimension_t THUMBNAIL_SIZES_MAP[]; variable
/device/asus/flo/camera/QCamera2/HAL/
DQCameraParameters.cpp285 const cam_dimension_t QCameraParameters::THUMBNAIL_SIZES_MAP[] = { member in qcamera::QCameraParameters
1274 int sizes_cnt = sizeof(THUMBNAIL_SIZES_MAP) / sizeof(cam_dimension_t); in setJpegThumbnailSize()
1293 if (THUMBNAIL_SIZES_MAP[i].height == 0) { in setJpegThumbnailSize()
1298 (double)THUMBNAIL_SIZES_MAP[i].width / THUMBNAIL_SIZES_MAP[i].height; in setJpegThumbnailSize()
1302 if (THUMBNAIL_SIZES_MAP[i].width > optimalWidth) { in setJpegThumbnailSize()
1303 optimalWidth = THUMBNAIL_SIZES_MAP[i].width; in setJpegThumbnailSize()
1304 optimalHeight = THUMBNAIL_SIZES_MAP[i].height; in setJpegThumbnailSize()
2902 THUMBNAIL_SIZES_MAP, in initDefaultParameters()
2903 sizeof(THUMBNAIL_SIZES_MAP)/sizeof(cam_dimension_t)); in initDefaultParameters()
2906 set(KEY_JPEG_THUMBNAIL_WIDTH, THUMBNAIL_SIZES_MAP[0].width); in initDefaultParameters()
[all …]
DQCameraParameters.h546 static const cam_dimension_t THUMBNAIL_SIZES_MAP[]; variable
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraParameters.cpp335 const cam_dimension_t QCameraParameters::THUMBNAIL_SIZES_MAP[] = { member in qcamera::QCameraParameters
1445 int sizes_cnt = sizeof(THUMBNAIL_SIZES_MAP) / sizeof(cam_dimension_t); in setJpegThumbnailSize()
1475 if (THUMBNAIL_SIZES_MAP[i].height == 0) { in setJpegThumbnailSize()
1480 (double)THUMBNAIL_SIZES_MAP[i].width / THUMBNAIL_SIZES_MAP[i].height; in setJpegThumbnailSize()
1484 if (THUMBNAIL_SIZES_MAP[i].width > optimalWidth) { in setJpegThumbnailSize()
1485 optimalWidth = THUMBNAIL_SIZES_MAP[i].width; in setJpegThumbnailSize()
1486 optimalHeight = THUMBNAIL_SIZES_MAP[i].height; in setJpegThumbnailSize()
1494 if (width == THUMBNAIL_SIZES_MAP[i].width && in setJpegThumbnailSize()
1495 height == THUMBNAIL_SIZES_MAP[i].height) { in setJpegThumbnailSize()
4024 THUMBNAIL_SIZES_MAP, in initDefaultParameters()
[all …]
DQCameraParameters.h771 static const cam_dimension_t THUMBNAIL_SIZES_MAP[]; variable