Lines Matching refs:quality
326 const int quality = findTagForName(sCamcorderQualityNameMap, nProfileMappings, atts[1]); in createCamcorderProfile() local
327 CHECK(quality != -1); in createCamcorderProfile()
339 profile->mQuality = static_cast<camcorder_quality>(quality); in createCamcorderProfile()
360 int quality = atoi(atts[1]); in addImageEncodingQualityLevel() local
361 ALOGV("%s: cameraId=%d, quality=%d", __func__, cameraId, quality); in addImageEncodingQualityLevel()
370 levels->mLevels.add(quality); in addImageEncodingQualityLevel()
426 static bool isCamcorderProfile(camcorder_quality quality) { in isCamcorderProfile() argument
427 return quality >= CAMCORDER_QUALITY_LIST_START && in isCamcorderProfile()
428 quality <= CAMCORDER_QUALITY_LIST_END; in isCamcorderProfile()
431 static bool isTimelapseProfile(camcorder_quality quality) { in isTimelapseProfile() argument
432 return quality >= CAMCORDER_QUALITY_TIME_LAPSE_LIST_START && in isTimelapseProfile()
433 quality <= CAMCORDER_QUALITY_TIME_LAPSE_LIST_END; in isTimelapseProfile()
436 static bool isHighSpeedProfile(camcorder_quality quality) { in isHighSpeedProfile() argument
437 return quality >= CAMCORDER_QUALITY_HIGH_SPEED_LIST_START && in isHighSpeedProfile()
438 quality <= CAMCORDER_QUALITY_HIGH_SPEED_LIST_END; in isHighSpeedProfile()
479 camcorder_quality quality = mCamcorderProfiles[i]->mQuality; in checkAndAddRequiredProfilesIfNecessary() local
491 if (isTimelapseProfile(quality)) { in checkAndAddRequiredProfilesIfNecessary()
495 } else if (isHighSpeedProfile(quality)) { in checkAndAddRequiredProfilesIfNecessary()
500 CHECK(isCamcorderProfile(quality)); in checkAndAddRequiredProfilesIfNecessary()
639 MediaProfiles::createDefaultCamcorderTimeLapseQcifProfile(camcorder_quality quality) in createDefaultCamcorderTimeLapseQcifProfile() argument
648 profile->mQuality = quality; in createDefaultCamcorderTimeLapseQcifProfile()
656 MediaProfiles::createDefaultCamcorderTimeLapse480pProfile(camcorder_quality quality) in createDefaultCamcorderTimeLapse480pProfile() argument
665 profile->mQuality = quality; in createDefaultCamcorderTimeLapse480pProfile()
693 MediaProfiles::createDefaultCamcorderQcifProfile(camcorder_quality quality) in createDefaultCamcorderQcifProfile() argument
704 profile->mQuality = quality; in createDefaultCamcorderQcifProfile()
712 MediaProfiles::createDefaultCamcorderCifProfile(camcorder_quality quality) in createDefaultCamcorderCifProfile() argument
721 profile->mQuality = quality; in createDefaultCamcorderCifProfile()
989 int MediaProfiles::getCamcorderProfileIndex(int cameraId, camcorder_quality quality) const in getCamcorderProfileIndex()
994 mCamcorderProfiles[i]->mQuality == quality) { in getCamcorderProfileIndex()
1004 camcorder_quality quality) const in getCamcorderProfileParamByName()
1007 name, cameraId, quality); in getCamcorderProfileParamByName()
1009 int index = getCamcorderProfileIndex(cameraId, quality); in getCamcorderProfileParamByName()
1012 cameraId, quality); in getCamcorderProfileParamByName()
1032 bool MediaProfiles::hasCamcorderProfile(int cameraId, camcorder_quality quality) const in hasCamcorderProfile()
1034 return (getCamcorderProfileIndex(cameraId, quality) != -1); in hasCamcorderProfile()