Lines Matching refs:quality
388 const int quality = findTagForName(sCamcorderQualityNameMap, nProfileMappings, atts[1]); in createCamcorderProfile() local
389 CHECK(quality != -1); in createCamcorderProfile()
401 profile->mQuality = static_cast<camcorder_quality>(quality); in createCamcorderProfile()
422 int quality = atoi(atts[1]); in addImageEncodingQualityLevel() local
423 ALOGV("%s: cameraId=%d, quality=%d", __func__, cameraId, quality); in addImageEncodingQualityLevel()
432 levels->mLevels.add(quality); in addImageEncodingQualityLevel()
488 static bool isCamcorderProfile(camcorder_quality quality) { in isCamcorderProfile() argument
489 return quality >= CAMCORDER_QUALITY_LIST_START && in isCamcorderProfile()
490 quality <= CAMCORDER_QUALITY_LIST_END; in isCamcorderProfile()
493 static bool isTimelapseProfile(camcorder_quality quality) { in isTimelapseProfile() argument
494 return quality >= CAMCORDER_QUALITY_TIME_LAPSE_LIST_START && in isTimelapseProfile()
495 quality <= CAMCORDER_QUALITY_TIME_LAPSE_LIST_END; in isTimelapseProfile()
498 static bool isHighSpeedProfile(camcorder_quality quality) { in isHighSpeedProfile() argument
499 return quality >= CAMCORDER_QUALITY_HIGH_SPEED_LIST_START && in isHighSpeedProfile()
500 quality <= CAMCORDER_QUALITY_HIGH_SPEED_LIST_END; in isHighSpeedProfile()
541 camcorder_quality quality = mCamcorderProfiles[i]->mQuality; in checkAndAddRequiredProfilesIfNecessary() local
553 if (isTimelapseProfile(quality)) { in checkAndAddRequiredProfilesIfNecessary()
557 } else if (isHighSpeedProfile(quality)) { in checkAndAddRequiredProfilesIfNecessary()
562 CHECK(isCamcorderProfile(quality)); in checkAndAddRequiredProfilesIfNecessary()
706 MediaProfiles::createDefaultCamcorderTimeLapseQcifProfile(camcorder_quality quality) in createDefaultCamcorderTimeLapseQcifProfile() argument
715 profile->mQuality = quality; in createDefaultCamcorderTimeLapseQcifProfile()
723 MediaProfiles::createDefaultCamcorderTimeLapse480pProfile(camcorder_quality quality) in createDefaultCamcorderTimeLapse480pProfile() argument
732 profile->mQuality = quality; in createDefaultCamcorderTimeLapse480pProfile()
760 MediaProfiles::createDefaultCamcorderQcifProfile(camcorder_quality quality) in createDefaultCamcorderQcifProfile() argument
771 profile->mQuality = quality; in createDefaultCamcorderQcifProfile()
779 MediaProfiles::createDefaultCamcorderCifProfile(camcorder_quality quality) in createDefaultCamcorderCifProfile() argument
788 profile->mQuality = quality; in createDefaultCamcorderCifProfile()
1062 int MediaProfiles::getCamcorderProfileIndex(int cameraId, camcorder_quality quality) const in getCamcorderProfileIndex()
1067 mCamcorderProfiles[i]->mQuality == quality) { in getCamcorderProfileIndex()
1077 camcorder_quality quality) const in getCamcorderProfileParamByName()
1080 name, cameraId, quality); in getCamcorderProfileParamByName()
1082 int index = getCamcorderProfileIndex(cameraId, quality); in getCamcorderProfileParamByName()
1085 cameraId, quality); in getCamcorderProfileParamByName()
1105 bool MediaProfiles::hasCamcorderProfile(int cameraId, camcorder_quality quality) const in hasCamcorderProfile()
1107 return (getCamcorderProfileIndex(cameraId, quality) != -1); in hasCamcorderProfile()