Home | History | Annotate | Download | only in libmedia

Lines Matching full:profile

326     MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile;
327 profile->mCameraId = cameraId;
331 profile->mFileFormat = static_cast<output_format>(fileFormat);
332 profile->mQuality = static_cast<camcorder_quality>(quality);
333 profile->mDuration = atoi(atts[5]);
334 return profile;
389 !strcmp("profile", atts[2]) &&
397 MediaProfiles::ExportVideoProfile *profile =
401 return profile;
516 // Check high and low from either camcorder profile or timelapse profile
517 // but not both. Default, check camcorder profile
521 // Check timelapse profile instead.
525 // Must be camcorder profile.
555 // New high or low quality profile is found.
573 CamcorderProfile *profile =
580 profile->mQuality = CAMCORDER_QUALITY_LOW;
583 profile->mQuality = CAMCORDER_QUALITY_HIGH;
586 profile->mQuality = CAMCORDER_QUALITY_TIME_LAPSE_LOW;
589 profile->mQuality = CAMCORDER_QUALITY_TIME_LAPSE_HIGH;
595 int index = getCamcorderProfileIndex(cameraId, profile->mQuality);
597 ALOGV("Profile quality %d for camera %d already exists",
598 profile->mQuality, cameraId);
603 // Insert the new profile
604 ALOGV("Add a profile: quality %d=>%d for camera %d",
606 profile->mQuality, cameraId);
608 mCamcorderProfiles.add(profile);
671 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile;
672 profile->mCameraId = 0;
673 profile->mFileFormat = OUTPUT_FORMAT_THREE_GPP;
674 profile->mQuality = quality;
675 profile->mDuration = 60;
676 profile->mVideoCodec = videoCodec;
677 profile->mAudioCodec = audioCodec;
678 return profile;
688 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile;
689 profile->mCameraId = 0;
690 profile->mFileFormat = OUTPUT_FORMAT_THREE_GPP;
691 profile->mQuality = quality;
692 profile->mDuration = 60;
693 profile->mVideoCodec = videoCodec;
694 profile->mAudioCodec = audioCodec;
695 return profile;
723 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile;
724 profile->mCameraId = 0;
725 profile->mFileFormat = OUTPUT_FORMAT_THREE_GPP;
726 profile->mQuality = quality;
727 profile->mDuration = 30;
728 profile->mVideoCodec = videoCodec;
729 profile->mAudioCodec = audioCodec;
730 return profile;
740 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile;
741 profile->mCameraId = 0;
742 profile->mFileFormat = OUTPUT_FORMAT_THREE_GPP;
743 profile->mQuality = quality;
744 profile->mDuration = 60;
745 profile->mVideoCodec = videoCodec;
746 profile->mAudioCodec = audioCodec;
747 return profile;
1001 if (!strcmp("videoeditor.export.profile", name))
1108 ALOGE("The given camcorder profile camera %d quality %d is not found",
1125 ALOGE("The given camcorder profile param id %d name %s is not found", cameraId, name);