Lines Matching refs:quality
319 const int quality = findTagForName(sCamcorderQualityNameMap, nProfileMappings, atts[1]); in createCamcorderProfile() local
320 CHECK(quality != -1); in createCamcorderProfile()
332 profile->mQuality = static_cast<camcorder_quality>(quality); in createCamcorderProfile()
353 int quality = atoi(atts[1]); in addImageEncodingQualityLevel() local
354 ALOGV("%s: cameraId=%d, quality=%d", __func__, cameraId, quality); in addImageEncodingQualityLevel()
363 levels->mLevels.add(quality); in addImageEncodingQualityLevel()
459 static bool isCamcorderProfile(camcorder_quality quality) { in isCamcorderProfile() argument
460 return quality >= CAMCORDER_QUALITY_LIST_START && in isCamcorderProfile()
461 quality <= CAMCORDER_QUALITY_LIST_END; in isCamcorderProfile()
464 static bool isTimelapseProfile(camcorder_quality quality) { in isTimelapseProfile() argument
465 return quality >= CAMCORDER_QUALITY_TIME_LAPSE_LIST_START && in isTimelapseProfile()
466 quality <= CAMCORDER_QUALITY_TIME_LAPSE_LIST_END; in isTimelapseProfile()
507 camcorder_quality quality = mCamcorderProfiles[i]->mQuality; in checkAndAddRequiredProfilesIfNecessary() local
520 if (isTimelapseProfile(quality)) { in checkAndAddRequiredProfilesIfNecessary()
526 CHECK(isCamcorderProfile(quality)); in checkAndAddRequiredProfilesIfNecessary()
665 MediaProfiles::createDefaultCamcorderTimeLapseQcifProfile(camcorder_quality quality) in createDefaultCamcorderTimeLapseQcifProfile() argument
674 profile->mQuality = quality; in createDefaultCamcorderTimeLapseQcifProfile()
682 MediaProfiles::createDefaultCamcorderTimeLapse480pProfile(camcorder_quality quality) in createDefaultCamcorderTimeLapse480pProfile() argument
691 profile->mQuality = quality; in createDefaultCamcorderTimeLapse480pProfile()
715 MediaProfiles::createDefaultCamcorderQcifProfile(camcorder_quality quality) in createDefaultCamcorderQcifProfile() argument
726 profile->mQuality = quality; in createDefaultCamcorderQcifProfile()
734 MediaProfiles::createDefaultCamcorderCifProfile(camcorder_quality quality) in createDefaultCamcorderCifProfile() argument
743 profile->mQuality = quality; in createDefaultCamcorderCifProfile()
1086 int MediaProfiles::getCamcorderProfileIndex(int cameraId, camcorder_quality quality) const in getCamcorderProfileIndex()
1091 mCamcorderProfiles[i]->mQuality == quality) { in getCamcorderProfileIndex()
1101 camcorder_quality quality) const in getCamcorderProfileParamByName()
1104 name, cameraId, quality); in getCamcorderProfileParamByName()
1106 int index = getCamcorderProfileIndex(cameraId, quality); in getCamcorderProfileParamByName()
1109 cameraId, quality); in getCamcorderProfileParamByName()
1129 bool MediaProfiles::hasCamcorderProfile(int cameraId, camcorder_quality quality) const in hasCamcorderProfile()
1131 return (getCamcorderProfileIndex(cameraId, quality) != -1); in hasCamcorderProfile()