• Home
  • Raw
  • Download

Lines Matching refs:num

2136 int ExynosCamera::getDetectedFacesAreas(int num,  in getDetectedFacesAreas()  argument
2154 if (m_defaultCameraInfo->maxNumDetectedFaces < num) in getDetectedFacesAreas()
2155 num = m_defaultCameraInfo->maxNumDetectedFaces; in getDetectedFacesAreas()
2160 ExynosRect2 *face2 = new ExynosRect2[num]; in getDetectedFacesAreas()
2161 ExynosRect2 *leftEye2 = new ExynosRect2[num]; in getDetectedFacesAreas()
2162 ExynosRect2 *rightEye2 = new ExynosRect2[num]; in getDetectedFacesAreas()
2163 ExynosRect2 *mouth2 = new ExynosRect2[num]; in getDetectedFacesAreas()
2165 num = getDetectedFacesAreas(num, id, score, face2, leftEye2, rightEye2, mouth2); in getDetectedFacesAreas()
2167 for (int i = 0; i < num; i++) { in getDetectedFacesAreas()
2191 return num; in getDetectedFacesAreas()
2194 int ExynosCamera::getDetectedFacesAreas(int num, in getDetectedFacesAreas() argument
2214 if (m_defaultCameraInfo->maxNumDetectedFaces < num) in getDetectedFacesAreas()
2215 num = m_defaultCameraInfo->maxNumDetectedFaces; in getDetectedFacesAreas()
2217 …d int numOfFDEntity = 1 + ((V4L2_CID_IS_FD_GET_NEXT - V4L2_CID_IS_FD_GET_FACE_FRAME_NUMBER) * num); in getDetectedFacesAreas()
2230 for (i = 0; i < num; i++) { in getDetectedFacesAreas()
2277 num = -1; in getDetectedFacesAreas()
2282 num = cur_ctrl->value; in getDetectedFacesAreas()
2285 for (i = 0; i < num; i++) { in getDetectedFacesAreas()
2331 return num; in getDetectedFacesAreas()
2355 bool ExynosCamera::getFocalLength(int *num, int *den) in getFocalLength() argument
2357 *num = m_defaultCameraInfo->focalLengthNum; in getFocalLength()
2358 *num = m_defaultCameraInfo->focalLengthDen; in getFocalLength()
2854 bool ExynosCamera::setFocusAreas(int num, ExynosRect* rects, int *weights) in setFocusAreas() argument
2863 ExynosRect2 *rect2s = new ExynosRect2[num]; in setFocusAreas()
2864 for (int i = 0; i < num; i++) in setFocusAreas()
2867 ret = setFocusAreas(num, rect2s, weights); in setFocusAreas()
2874 bool ExynosCamera::setFocusAreas(int num, ExynosRect2* rect2s, int *weights) in setFocusAreas() argument
2884 if (m_defaultCameraInfo->maxNumFocusAreas < num) in setFocusAreas()
2885 num = m_defaultCameraInfo->maxNumFocusAreas; in setFocusAreas()
2888 for (int i = 0; i < num; i++) { in setFocusAreas()
2889 if ( num == 1 in setFocusAreas()
3068 bool ExynosCamera::setMeteringAreas(int num, ExynosRect *rects, int *weights) in setMeteringAreas() argument
3075 if (m_defaultCameraInfo->maxNumMeteringAreas < num) in setMeteringAreas()
3076 num = m_defaultCameraInfo->maxNumMeteringAreas; in setMeteringAreas()
3079 for (int i = 0; i < num; i++) { in setMeteringAreas()
3093 bool ExynosCamera::setMeteringAreas(int num, ExynosRect2 *rect2s, int *weights) in setMeteringAreas() argument
3102 ExynosRect *rects = new ExynosRect[num]; in setMeteringAreas()
3103 for (int i = 0; i < num; i++) in setMeteringAreas()
3680 mExifInfo.fnumber.num = EXIF_DEF_FNUMBER_NUM; in m_setExifFixedAttribute()
3687 uint32_t av = APEX_FNUM_TO_APERTURE((double)mExifInfo.fnumber.num/mExifInfo.fnumber.den); in m_setExifFixedAttribute()
3688 mExifInfo.aperture.num = av*EXIF_DEF_APEX_DEN; in m_setExifFixedAttribute()
3691 mExifInfo.max_aperture.num = mExifInfo.aperture.num; in m_setExifFixedAttribute()
3694 mExifInfo.focal_length.num = m_defaultCameraInfo->focalLengthNum; in m_setExifFixedAttribute()
3709 mExifInfo.x_resolution.num = EXIF_DEF_RESOLUTION_NUM; in m_setExifFixedAttribute()
3711 mExifInfo.y_resolution.num = EXIF_DEF_RESOLUTION_NUM; in m_setExifFixedAttribute()
3758 exifInfo->exposure_time.num = 1; in m_setExifChangedAttribute()
3799 av = APEX_FNUM_TO_APERTURE((double)exifInfo->fnumber.num / exifInfo->fnumber.den); in m_setExifChangedAttribute()
3800 … tv = APEX_EXPOSURE_TO_SHUTTER((double)exifInfo->exposure_time.num / exifInfo->exposure_time.den); in m_setExifChangedAttribute()
3808 exifInfo->shutter_speed.num = tv * EXIF_DEF_APEX_DEN; in m_setExifChangedAttribute()
3811 exifInfo->brightness.num = bv*EXIF_DEF_APEX_DEN; in m_setExifChangedAttribute()
3816 exifInfo->exposure_bias.num = EXIF_DEF_APEX_DEN; in m_setExifChangedAttribute()
3819 exifInfo->exposure_bias.num = 0; in m_setExifChangedAttribute()
3891 exifInfo->gps_latitude[0].num = (uint32_t)latitude; in m_setExifChangedAttribute()
3893 exifInfo->gps_latitude[1].num = (uint32_t)((latitude - exifInfo->gps_latitude[0].num) * 60); in m_setExifChangedAttribute()
3895 … exifInfo->gps_latitude[2].num = (uint32_t)((((latitude - exifInfo->gps_latitude[0].num) * 60) in m_setExifChangedAttribute()
3896 - exifInfo->gps_latitude[1].num) * 60); in m_setExifChangedAttribute()
3899 exifInfo->gps_longitude[0].num = (uint32_t)longitude; in m_setExifChangedAttribute()
3901 … exifInfo->gps_longitude[1].num = (uint32_t)((longitude - exifInfo->gps_longitude[0].num) * 60); in m_setExifChangedAttribute()
3903 … exifInfo->gps_longitude[2].num = (uint32_t)((((longitude - exifInfo->gps_longitude[0].num) * 60) in m_setExifChangedAttribute()
3904 - exifInfo->gps_longitude[1].num) * 60); in m_setExifChangedAttribute()
3907 exifInfo->gps_altitude.num = (uint32_t)altitude; in m_setExifChangedAttribute()
3912 exifInfo->gps_timestamp[0].num = tm_data.tm_hour; in m_setExifChangedAttribute()
3914 exifInfo->gps_timestamp[1].num = tm_data.tm_min; in m_setExifChangedAttribute()
3916 exifInfo->gps_timestamp[2].num = tm_data.tm_sec; in m_setExifChangedAttribute()