Lines Matching refs:profile

395     MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile;  in createCamcorderProfile()  local
396 profile->mCameraId = cameraId; in createCamcorderProfile()
400 profile->mFileFormat = static_cast<output_format>(fileFormat); in createCamcorderProfile()
401 profile->mQuality = static_cast<camcorder_quality>(quality); in createCamcorderProfile()
402 profile->mDuration = atoi(atts[5]); in createCamcorderProfile()
403 return profile; in createCamcorderProfile()
609 std::unique_ptr<CamcorderProfile> profile = in checkAndAddRequiredProfilesIfNecessary() local
616 profile->mQuality = CAMCORDER_QUALITY_LOW; in checkAndAddRequiredProfilesIfNecessary()
619 profile->mQuality = CAMCORDER_QUALITY_HIGH; in checkAndAddRequiredProfilesIfNecessary()
622 profile->mQuality = CAMCORDER_QUALITY_TIME_LAPSE_LOW; in checkAndAddRequiredProfilesIfNecessary()
625 profile->mQuality = CAMCORDER_QUALITY_TIME_LAPSE_HIGH; in checkAndAddRequiredProfilesIfNecessary()
631 int index = getCamcorderProfileIndex(cameraId, profile->mQuality); in checkAndAddRequiredProfilesIfNecessary()
634 profile->mQuality, cameraId); in checkAndAddRequiredProfilesIfNecessary()
642 profile->mQuality, cameraId); in checkAndAddRequiredProfilesIfNecessary()
644 mCamcorderProfiles.add(profile.release()); in checkAndAddRequiredProfilesIfNecessary()
712 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; in createDefaultCamcorderTimeLapseQcifProfile() local
713 profile->mCameraId = 0; in createDefaultCamcorderTimeLapseQcifProfile()
714 profile->mFileFormat = OUTPUT_FORMAT_THREE_GPP; in createDefaultCamcorderTimeLapseQcifProfile()
715 profile->mQuality = quality; in createDefaultCamcorderTimeLapseQcifProfile()
716 profile->mDuration = 60; in createDefaultCamcorderTimeLapseQcifProfile()
717 profile->mVideoCodec = videoCodec; in createDefaultCamcorderTimeLapseQcifProfile()
718 profile->mAudioCodec = audioCodec; in createDefaultCamcorderTimeLapseQcifProfile()
719 return profile; in createDefaultCamcorderTimeLapseQcifProfile()
729 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; in createDefaultCamcorderTimeLapse480pProfile() local
730 profile->mCameraId = 0; in createDefaultCamcorderTimeLapse480pProfile()
731 profile->mFileFormat = OUTPUT_FORMAT_THREE_GPP; in createDefaultCamcorderTimeLapse480pProfile()
732 profile->mQuality = quality; in createDefaultCamcorderTimeLapse480pProfile()
733 profile->mDuration = 60; in createDefaultCamcorderTimeLapse480pProfile()
734 profile->mVideoCodec = videoCodec; in createDefaultCamcorderTimeLapse480pProfile()
735 profile->mAudioCodec = audioCodec; in createDefaultCamcorderTimeLapse480pProfile()
736 return profile; in createDefaultCamcorderTimeLapse480pProfile()
768 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; in createDefaultCamcorderQcifProfile() local
769 profile->mCameraId = 0; in createDefaultCamcorderQcifProfile()
770 profile->mFileFormat = OUTPUT_FORMAT_THREE_GPP; in createDefaultCamcorderQcifProfile()
771 profile->mQuality = quality; in createDefaultCamcorderQcifProfile()
772 profile->mDuration = 30; in createDefaultCamcorderQcifProfile()
773 profile->mVideoCodec = videoCodec; in createDefaultCamcorderQcifProfile()
774 profile->mAudioCodec = audioCodec; in createDefaultCamcorderQcifProfile()
775 return profile; in createDefaultCamcorderQcifProfile()
785 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; in createDefaultCamcorderCifProfile() local
786 profile->mCameraId = 0; in createDefaultCamcorderCifProfile()
787 profile->mFileFormat = OUTPUT_FORMAT_THREE_GPP; in createDefaultCamcorderCifProfile()
788 profile->mQuality = quality; in createDefaultCamcorderCifProfile()
789 profile->mDuration = 60; in createDefaultCamcorderCifProfile()
790 profile->mVideoCodec = videoCodec; in createDefaultCamcorderCifProfile()
791 profile->mAudioCodec = audioCodec; in createDefaultCamcorderCifProfile()
792 return profile; in createDefaultCamcorderCifProfile()