Lines Matching refs:quality
644 const int quality = findTagForName(sCamcorderQualityNameMap, nProfileMappings, atts[1]); in createCamcorderProfile() local
645 if (quality == -1) { in createCamcorderProfile()
663 profile->mQuality = static_cast<camcorder_quality>(quality); in createCamcorderProfile()
685 int quality = atoi(atts[1]); in addImageEncodingQualityLevel() local
686 ALOGV("%s: cameraId=%d, quality=%d", __func__, cameraId, quality); in addImageEncodingQualityLevel()
695 levels->mLevels.add(quality); in addImageEncodingQualityLevel()
777 static bool isCamcorderProfile(camcorder_quality quality) { in isCamcorderProfile() argument
778 return quality >= CAMCORDER_QUALITY_LIST_START && in isCamcorderProfile()
779 quality <= CAMCORDER_QUALITY_LIST_END; in isCamcorderProfile()
782 static bool isTimelapseProfile(camcorder_quality quality) { in isTimelapseProfile() argument
783 return quality >= CAMCORDER_QUALITY_TIME_LAPSE_LIST_START && in isTimelapseProfile()
784 quality <= CAMCORDER_QUALITY_TIME_LAPSE_LIST_END; in isTimelapseProfile()
787 static bool isHighSpeedProfile(camcorder_quality quality) { in isHighSpeedProfile() argument
788 return quality >= CAMCORDER_QUALITY_HIGH_SPEED_LIST_START && in isHighSpeedProfile()
789 quality <= CAMCORDER_QUALITY_HIGH_SPEED_LIST_END; in isHighSpeedProfile()
842 camcorder_quality quality = mCamcorderProfiles[i]->mQuality; in checkAndAddRequiredProfilesIfNecessary() local
854 if (isTimelapseProfile(quality)) { in checkAndAddRequiredProfilesIfNecessary()
858 } else if (isHighSpeedProfile(quality)) { in checkAndAddRequiredProfilesIfNecessary()
863 CHECK(isCamcorderProfile(quality)); in checkAndAddRequiredProfilesIfNecessary()
1007 MediaProfiles::createDefaultCamcorderTimeLapseQcifProfile(camcorder_quality quality) in createDefaultCamcorderTimeLapseQcifProfile() argument
1012 profile->mQuality = quality; in createDefaultCamcorderTimeLapseQcifProfile()
1025 MediaProfiles::createDefaultCamcorderTimeLapse480pProfile(camcorder_quality quality) in createDefaultCamcorderTimeLapse480pProfile() argument
1030 profile->mQuality = quality; in createDefaultCamcorderTimeLapse480pProfile()
1062 MediaProfiles::createDefaultCamcorderQcifProfile(camcorder_quality quality) in createDefaultCamcorderQcifProfile() argument
1067 profile->mQuality = quality; in createDefaultCamcorderQcifProfile()
1079 MediaProfiles::createDefaultCamcorderCifProfile(camcorder_quality quality) in createDefaultCamcorderCifProfile() argument
1084 profile->mQuality = quality; in createDefaultCamcorderCifProfile()
1362 int MediaProfiles::getCamcorderProfileIndex(int cameraId, camcorder_quality quality) const in getCamcorderProfileIndex()
1367 mCamcorderProfiles[i]->mQuality == quality) { in getCamcorderProfileIndex()
1376 int cameraId, camcorder_quality quality) const { in getCamcorderProfile()
1377 int index = getCamcorderProfileIndex(cameraId, quality); in getCamcorderProfile()
1380 cameraId, quality); in getCamcorderProfile()
1407 camcorder_quality quality) const in getCamcorderProfileParamByName()
1410 name, cameraId, quality); in getCamcorderProfileParamByName()
1412 int index = getCamcorderProfileIndex(cameraId, quality); in getCamcorderProfileParamByName()
1415 cameraId, quality); in getCamcorderProfileParamByName()
1435 bool MediaProfiles::hasCamcorderProfile(int cameraId, camcorder_quality quality) const in hasCamcorderProfile()
1437 return (getCamcorderProfileIndex(cameraId, quality) != -1); in hasCamcorderProfile()