Lines Matching refs:profiles

233 MediaProfiles::createVideoCodec(const char **atts, MediaProfiles *profiles)  in createVideoCodec()  argument
251 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createVideoCodec()
252 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mVideoCodec = videoCodec; in createVideoCodec()
257 MediaProfiles::createAudioCodec(const char **atts, MediaProfiles *profiles) in createAudioCodec() argument
273 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createAudioCodec()
274 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mAudioCodec = audioCodec; in createAudioCodec()
458 MediaProfiles *profiles = (MediaProfiles *) userData; in startElementHandler() local
460 createVideoCodec(atts, profiles); in startElementHandler()
462 createAudioCodec(atts, profiles); in startElementHandler()
465 profiles->mVideoEncoders.add(createVideoEncoderCap(atts)); in startElementHandler()
468 profiles->mAudioEncoders.add(createAudioEncoderCap(atts)); in startElementHandler()
471 profiles->mVideoDecoders.add(createVideoDecoderCap(atts)); in startElementHandler()
474 profiles->mAudioDecoders.add(createAudioDecoderCap(atts)); in startElementHandler()
476 profiles->mEncoderOutputFileFormats.add(createEncoderOutputFileFormat(atts)); in startElementHandler()
478 profiles->mCurrentCameraId = getCameraId(atts); in startElementHandler()
479 profiles->addStartTimeOffset(profiles->mCurrentCameraId, atts); in startElementHandler()
481 profiles->mCamcorderProfiles.add( in startElementHandler()
482 createCamcorderProfile(profiles->mCurrentCameraId, atts, profiles->mCameraIds)); in startElementHandler()
484 profiles->addImageEncodingQualityLevel(profiles->mCurrentCameraId, atts); in startElementHandler()
699 MediaProfiles::createDefaultVideoEncoders(MediaProfiles *profiles) in createDefaultVideoEncoders() argument
701 profiles->mVideoEncoders.add(createDefaultH263VideoEncoderCap()); in createDefaultVideoEncoders()
702 profiles->mVideoEncoders.add(createDefaultM4vVideoEncoderCap()); in createDefaultVideoEncoders()
812 MediaProfiles::createDefaultCamcorderProfiles(MediaProfiles *profiles) in createDefaultCamcorderProfiles() argument
817 profiles->mCamcorderProfiles.add(lowProfile); in createDefaultCamcorderProfiles()
818 profiles->mCamcorderProfiles.add(lowSpecificProfile); in createDefaultCamcorderProfiles()
823 profiles->mCamcorderProfiles.add(highProfile); in createDefaultCamcorderProfiles()
824 profiles->mCamcorderProfiles.add(highSpecificProfile); in createDefaultCamcorderProfiles()
829 profiles->mCamcorderProfiles.add(lowTimeLapseProfile); in createDefaultCamcorderProfiles()
830 profiles->mCamcorderProfiles.add(lowSpecificTimeLapseProfile); in createDefaultCamcorderProfiles()
836 profiles->mCamcorderProfiles.add(highTimeLapseProfile); in createDefaultCamcorderProfiles()
837 profiles->mCamcorderProfiles.add(highSpecificTimeLapseProfile); in createDefaultCamcorderProfiles()
842 profiles->mCameraIds.push(0); in createDefaultCamcorderProfiles()
846 MediaProfiles::createDefaultAudioEncoders(MediaProfiles *profiles) in createDefaultAudioEncoders() argument
848 profiles->mAudioEncoders.add(createDefaultAmrNBEncoderCap()); in createDefaultAudioEncoders()
852 MediaProfiles::createDefaultVideoDecoders(MediaProfiles *profiles) in createDefaultVideoDecoders() argument
857 profiles->mVideoDecoders.add(cap); in createDefaultVideoDecoders()
861 MediaProfiles::createDefaultAudioDecoders(MediaProfiles *profiles) in createDefaultAudioDecoders() argument
866 profiles->mAudioDecoders.add(cap); in createDefaultAudioDecoders()
870 MediaProfiles::createDefaultEncoderOutputFileFormats(MediaProfiles *profiles) in createDefaultEncoderOutputFileFormats() argument
872 profiles->mEncoderOutputFileFormats.add(OUTPUT_FORMAT_THREE_GPP); in createDefaultEncoderOutputFileFormats()
873 profiles->mEncoderOutputFileFormats.add(OUTPUT_FORMAT_MPEG_4); in createDefaultEncoderOutputFileFormats()
884 MediaProfiles::createDefaultImageEncodingQualityLevels(MediaProfiles *profiles) in createDefaultImageEncodingQualityLevels() argument
891 profiles->mImageEncodingQualityLevels.add(levels); in createDefaultImageEncodingQualityLevels()
897 MediaProfiles *profiles = new MediaProfiles; in createDefaultInstance() local
898 createDefaultCamcorderProfiles(profiles); in createDefaultInstance()
899 createDefaultVideoEncoders(profiles); in createDefaultInstance()
900 createDefaultAudioEncoders(profiles); in createDefaultInstance()
901 createDefaultVideoDecoders(profiles); in createDefaultInstance()
902 createDefaultAudioDecoders(profiles); in createDefaultInstance()
903 createDefaultEncoderOutputFileFormats(profiles); in createDefaultInstance()
904 createDefaultImageEncodingQualityLevels(profiles); in createDefaultInstance()
905 return profiles; in createDefaultInstance()
923 MediaProfiles *profiles = new MediaProfiles(); in createInstanceFromXmlFile() local
924 ::XML_SetUserData(parser, profiles); in createInstanceFromXmlFile()
943 delete profiles; in createInstanceFromXmlFile()
944 profiles = NULL; in createInstanceFromXmlFile()
951 delete profiles; in createInstanceFromXmlFile()
952 profiles = NULL; in createInstanceFromXmlFile()
964 return profiles; in createInstanceFromXmlFile()