Lines Matching refs:profiles
179 MediaProfiles::createVideoCodec(const char **atts, MediaProfiles *profiles) in createVideoCodec() argument
197 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createVideoCodec()
198 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mVideoCodec = videoCodec; in createVideoCodec()
203 MediaProfiles::createAudioCodec(const char **atts, MediaProfiles *profiles) in createAudioCodec() argument
219 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createAudioCodec()
220 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mAudioCodec = audioCodec; in createAudioCodec()
419 MediaProfiles::createVideoEditorCap(const char **atts, MediaProfiles *profiles) in createVideoEditorCap() argument
432 profiles->mVideoEditorCap = pVideoEditorCap; in createVideoEditorCap()
440 MediaProfiles *profiles = (MediaProfiles *) userData; in startElementHandler() local
442 createVideoCodec(atts, profiles); in startElementHandler()
444 createAudioCodec(atts, profiles); in startElementHandler()
447 profiles->mVideoEncoders.add(createVideoEncoderCap(atts)); in startElementHandler()
450 profiles->mAudioEncoders.add(createAudioEncoderCap(atts)); in startElementHandler()
453 profiles->mVideoDecoders.add(createVideoDecoderCap(atts)); in startElementHandler()
456 profiles->mAudioDecoders.add(createAudioDecoderCap(atts)); in startElementHandler()
458 profiles->mEncoderOutputFileFormats.add(createEncoderOutputFileFormat(atts)); in startElementHandler()
460 profiles->mCurrentCameraId = getCameraId(atts); in startElementHandler()
461 profiles->addStartTimeOffset(profiles->mCurrentCameraId, atts); in startElementHandler()
463 profiles->mCamcorderProfiles.add( in startElementHandler()
464 createCamcorderProfile(profiles->mCurrentCameraId, atts, profiles->mCameraIds)); in startElementHandler()
466 profiles->addImageEncodingQualityLevel(profiles->mCurrentCameraId, atts); in startElementHandler()
468 createVideoEditorCap(atts, profiles); in startElementHandler()
470 profiles->mVideoEditorExportProfiles.add(createExportVideoProfile(atts)); in startElementHandler()
681 MediaProfiles::createDefaultVideoEncoders(MediaProfiles *profiles) in createDefaultVideoEncoders() argument
683 profiles->mVideoEncoders.add(createDefaultH263VideoEncoderCap()); in createDefaultVideoEncoders()
684 profiles->mVideoEncoders.add(createDefaultM4vVideoEncoderCap()); in createDefaultVideoEncoders()
790 MediaProfiles::createDefaultCamcorderProfiles(MediaProfiles *profiles) in createDefaultCamcorderProfiles() argument
795 profiles->mCamcorderProfiles.add(lowProfile); in createDefaultCamcorderProfiles()
796 profiles->mCamcorderProfiles.add(lowSpecificProfile); in createDefaultCamcorderProfiles()
801 profiles->mCamcorderProfiles.add(highProfile); in createDefaultCamcorderProfiles()
802 profiles->mCamcorderProfiles.add(highSpecificProfile); in createDefaultCamcorderProfiles()
807 profiles->mCamcorderProfiles.add(lowTimeLapseProfile); in createDefaultCamcorderProfiles()
808 profiles->mCamcorderProfiles.add(lowSpecificTimeLapseProfile); in createDefaultCamcorderProfiles()
813 profiles->mCamcorderProfiles.add(highTimeLapseProfile); in createDefaultCamcorderProfiles()
814 profiles->mCamcorderProfiles.add(highSpecificTimeLapseProfile); in createDefaultCamcorderProfiles()
819 profiles->mCameraIds.push(0); in createDefaultCamcorderProfiles()
823 MediaProfiles::createDefaultAudioEncoders(MediaProfiles *profiles) in createDefaultAudioEncoders() argument
825 profiles->mAudioEncoders.add(createDefaultAmrNBEncoderCap()); in createDefaultAudioEncoders()
829 MediaProfiles::createDefaultVideoDecoders(MediaProfiles *profiles) in createDefaultVideoDecoders() argument
834 profiles->mVideoDecoders.add(cap); in createDefaultVideoDecoders()
838 MediaProfiles::createDefaultAudioDecoders(MediaProfiles *profiles) in createDefaultAudioDecoders() argument
843 profiles->mAudioDecoders.add(cap); in createDefaultAudioDecoders()
847 MediaProfiles::createDefaultEncoderOutputFileFormats(MediaProfiles *profiles) in createDefaultEncoderOutputFileFormats() argument
849 profiles->mEncoderOutputFileFormats.add(OUTPUT_FORMAT_THREE_GPP); in createDefaultEncoderOutputFileFormats()
850 profiles->mEncoderOutputFileFormats.add(OUTPUT_FORMAT_MPEG_4); in createDefaultEncoderOutputFileFormats()
861 MediaProfiles::createDefaultImageEncodingQualityLevels(MediaProfiles *profiles) in createDefaultImageEncodingQualityLevels() argument
868 profiles->mImageEncodingQualityLevels.add(levels); in createDefaultImageEncodingQualityLevels()
872 MediaProfiles::createDefaultVideoEditorCap(MediaProfiles *profiles) in createDefaultVideoEditorCap() argument
874 profiles->mVideoEditorCap = in createDefaultVideoEditorCap()
883 MediaProfiles::createDefaultExportVideoProfiles(MediaProfiles *profiles) in createDefaultExportVideoProfiles() argument
886 profiles->mVideoEditorExportProfiles.add( in createDefaultExportVideoProfiles()
889 profiles->mVideoEditorExportProfiles.add( in createDefaultExportVideoProfiles()
892 profiles->mVideoEditorExportProfiles.add( in createDefaultExportVideoProfiles()
900 MediaProfiles *profiles = new MediaProfiles; in createDefaultInstance() local
901 createDefaultCamcorderProfiles(profiles); in createDefaultInstance()
902 createDefaultVideoEncoders(profiles); in createDefaultInstance()
903 createDefaultAudioEncoders(profiles); in createDefaultInstance()
904 createDefaultVideoDecoders(profiles); in createDefaultInstance()
905 createDefaultAudioDecoders(profiles); in createDefaultInstance()
906 createDefaultEncoderOutputFileFormats(profiles); in createDefaultInstance()
907 createDefaultImageEncodingQualityLevels(profiles); in createDefaultInstance()
908 createDefaultVideoEditorCap(profiles); in createDefaultInstance()
909 createDefaultExportVideoProfiles(profiles); in createDefaultInstance()
910 return profiles; in createDefaultInstance()
922 MediaProfiles *profiles = new MediaProfiles(); in createInstanceFromXmlFile() local
923 ::XML_SetUserData(parser, profiles); in createInstanceFromXmlFile()
942 delete profiles; in createInstanceFromXmlFile()
943 profiles = NULL; in createInstanceFromXmlFile()
950 delete profiles; in createInstanceFromXmlFile()
951 profiles = NULL; in createInstanceFromXmlFile()
963 return profiles; in createInstanceFromXmlFile()