Lines Matching refs:MediaProfiles
33 Mutex MediaProfiles::sLock;
34 bool MediaProfiles::sIsInitialized = false;
35 MediaProfiles *MediaProfiles::sInstance = NULL;
37 const MediaProfiles::NameToTagMap MediaProfiles::sVideoEncoderNameMap[] = {
43 const MediaProfiles::NameToTagMap MediaProfiles::sAudioEncoderNameMap[] = {
51 const MediaProfiles::NameToTagMap MediaProfiles::sFileFormatMap[] = {
56 const MediaProfiles::NameToTagMap MediaProfiles::sVideoDecoderNameMap[] = {
60 const MediaProfiles::NameToTagMap MediaProfiles::sAudioDecoderNameMap[] = {
64 const MediaProfiles::NameToTagMap MediaProfiles::sCamcorderQualityNameMap[] = {
100 MediaProfiles::logVideoCodec(const MediaProfiles::VideoCodec& codec UNUSED) in logVideoCodec()
111 MediaProfiles::logAudioCodec(const MediaProfiles::AudioCodec& codec UNUSED) in logAudioCodec()
121 MediaProfiles::logVideoEncoderCap(const MediaProfiles::VideoEncoderCap& cap UNUSED) in logVideoEncoderCap()
132 MediaProfiles::logAudioEncoderCap(const MediaProfiles::AudioEncoderCap& cap UNUSED) in logAudioEncoderCap()
142 MediaProfiles::logVideoDecoderCap(const MediaProfiles::VideoDecoderCap& cap UNUSED) in logVideoDecoderCap()
149 MediaProfiles::logAudioDecoderCap(const MediaProfiles::AudioDecoderCap& cap UNUSED) in logAudioDecoderCap()
156 MediaProfiles::findTagForName(const MediaProfiles::NameToTagMap *map, size_t nMappings, in findTagForName()
169 /*static*/ MediaProfiles::VideoCodec*
170 MediaProfiles::createVideoCodec(const char **atts, MediaProfiles *profiles) in createVideoCodec()
182 MediaProfiles::VideoCodec *videoCodec = in createVideoCodec()
183 new MediaProfiles::VideoCodec(static_cast<video_encoder>(codec), in createVideoCodec()
193 /*static*/ MediaProfiles::AudioCodec*
194 MediaProfiles::createAudioCodec(const char **atts, MediaProfiles *profiles) in createAudioCodec()
204 MediaProfiles::AudioCodec *audioCodec = in createAudioCodec()
205 new MediaProfiles::AudioCodec(static_cast<audio_encoder>(codec), in createAudioCodec()
214 /*static*/ MediaProfiles::AudioDecoderCap*
215 MediaProfiles::createAudioDecoderCap(const char **atts) in createAudioDecoderCap()
224 MediaProfiles::AudioDecoderCap *cap = in createAudioDecoderCap()
225 new MediaProfiles::AudioDecoderCap(static_cast<audio_decoder>(codec)); in createAudioDecoderCap()
230 /*static*/ MediaProfiles::VideoDecoderCap*
231 MediaProfiles::createVideoDecoderCap(const char **atts) in createVideoDecoderCap()
240 MediaProfiles::VideoDecoderCap *cap = in createVideoDecoderCap()
241 new MediaProfiles::VideoDecoderCap(static_cast<video_decoder>(codec)); in createVideoDecoderCap()
246 /*static*/ MediaProfiles::VideoEncoderCap*
247 MediaProfiles::createVideoEncoderCap(const char **atts) in createVideoEncoderCap()
264 MediaProfiles::VideoEncoderCap *cap = in createVideoEncoderCap()
265 new MediaProfiles::VideoEncoderCap(static_cast<video_encoder>(codec), in createVideoEncoderCap()
272 /*static*/ MediaProfiles::AudioEncoderCap*
273 MediaProfiles::createAudioEncoderCap(const char **atts) in createAudioEncoderCap()
288 MediaProfiles::AudioEncoderCap *cap = in createAudioEncoderCap()
289 new MediaProfiles::AudioEncoderCap(static_cast<audio_encoder>(codec), atoi(atts[5]), in createAudioEncoderCap()
296 MediaProfiles::createEncoderOutputFileFormat(const char **atts) in createEncoderOutputFileFormat()
316 /*static*/ MediaProfiles::CamcorderProfile*
317 MediaProfiles::createCamcorderProfile(int cameraId, const char **atts, Vector<int>& cameraIds) in createCamcorderProfile()
332 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; in createCamcorderProfile()
343 MediaProfiles::ImageEncodingQualityLevels*
344 MediaProfiles::findImageEncodingQualityLevels(int cameraId) const in findImageEncodingQualityLevels()
356 void MediaProfiles::addImageEncodingQualityLevel(int cameraId, const char** atts) in addImageEncodingQualityLevel()
373 MediaProfiles::getCameraId(const char** atts) in getCameraId()
380 void MediaProfiles::addStartTimeOffset(int cameraId, const char** atts) in addStartTimeOffset()
393 MediaProfiles::startElementHandler(void *userData, const char *name, const char **atts) in startElementHandler()
395 MediaProfiles *profiles = (MediaProfiles *) userData; in startElementHandler()
440 void MediaProfiles::initRequiredProfileRefs(const Vector<int>& cameraIds) { in initRequiredProfileRefs()
458 int MediaProfiles::getRequiredProfileRefIndex(int cameraId) { in getRequiredProfileRefIndex()
467 void MediaProfiles::checkAndAddRequiredProfilesIfNecessary() { in checkAndAddRequiredProfilesIfNecessary()
587 /*static*/ MediaProfiles*
588 MediaProfiles::getInstance() in getInstance()
615 /*static*/ MediaProfiles::VideoEncoderCap*
616 MediaProfiles::createDefaultH263VideoEncoderCap() in createDefaultH263VideoEncoderCap()
618 return new MediaProfiles::VideoEncoderCap( in createDefaultH263VideoEncoderCap()
622 /*static*/ MediaProfiles::VideoEncoderCap*
623 MediaProfiles::createDefaultM4vVideoEncoderCap() in createDefaultM4vVideoEncoderCap()
625 return new MediaProfiles::VideoEncoderCap( in createDefaultM4vVideoEncoderCap()
631 MediaProfiles::createDefaultVideoEncoders(MediaProfiles *profiles) in createDefaultVideoEncoders()
637 /*static*/ MediaProfiles::CamcorderProfile*
638 MediaProfiles::createDefaultCamcorderTimeLapseQcifProfile(camcorder_quality quality) in createDefaultCamcorderTimeLapseQcifProfile()
640 MediaProfiles::VideoCodec *videoCodec = in createDefaultCamcorderTimeLapseQcifProfile()
641 new MediaProfiles::VideoCodec(VIDEO_ENCODER_H263, 1000000, 176, 144, 20); in createDefaultCamcorderTimeLapseQcifProfile()
644 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; in createDefaultCamcorderTimeLapseQcifProfile()
654 /*static*/ MediaProfiles::CamcorderProfile*
655 MediaProfiles::createDefaultCamcorderTimeLapse480pProfile(camcorder_quality quality) in createDefaultCamcorderTimeLapse480pProfile()
657 MediaProfiles::VideoCodec *videoCodec = in createDefaultCamcorderTimeLapse480pProfile()
658 new MediaProfiles::VideoCodec(VIDEO_ENCODER_H263, 20000000, 720, 480, 20); in createDefaultCamcorderTimeLapse480pProfile()
661 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; in createDefaultCamcorderTimeLapse480pProfile()
672 MediaProfiles::createDefaultCamcorderTimeLapseLowProfiles( in createDefaultCamcorderTimeLapseLowProfiles()
673 MediaProfiles::CamcorderProfile **lowTimeLapseProfile, in createDefaultCamcorderTimeLapseLowProfiles()
674 MediaProfiles::CamcorderProfile **lowSpecificTimeLapseProfile) { in createDefaultCamcorderTimeLapseLowProfiles()
682 MediaProfiles::createDefaultCamcorderTimeLapseHighProfiles( in createDefaultCamcorderTimeLapseHighProfiles()
683 MediaProfiles::CamcorderProfile **highTimeLapseProfile, in createDefaultCamcorderTimeLapseHighProfiles()
684 MediaProfiles::CamcorderProfile **highSpecificTimeLapseProfile) { in createDefaultCamcorderTimeLapseHighProfiles()
691 /*static*/ MediaProfiles::CamcorderProfile*
692 MediaProfiles::createDefaultCamcorderQcifProfile(camcorder_quality quality) in createDefaultCamcorderQcifProfile()
694 MediaProfiles::VideoCodec *videoCodec = in createDefaultCamcorderQcifProfile()
695 new MediaProfiles::VideoCodec(VIDEO_ENCODER_H263, 192000, 176, 144, 20); in createDefaultCamcorderQcifProfile()
697 MediaProfiles::AudioCodec *audioCodec = in createDefaultCamcorderQcifProfile()
698 new MediaProfiles::AudioCodec(AUDIO_ENCODER_AMR_NB, 12200, 8000, 1); in createDefaultCamcorderQcifProfile()
700 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; in createDefaultCamcorderQcifProfile()
710 /*static*/ MediaProfiles::CamcorderProfile*
711 MediaProfiles::createDefaultCamcorderCifProfile(camcorder_quality quality) in createDefaultCamcorderCifProfile()
713 MediaProfiles::VideoCodec *videoCodec = in createDefaultCamcorderCifProfile()
714 new MediaProfiles::VideoCodec(VIDEO_ENCODER_H263, 360000, 352, 288, 20); in createDefaultCamcorderCifProfile()
717 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; in createDefaultCamcorderCifProfile()
728 MediaProfiles::createDefaultCamcorderLowProfiles( in createDefaultCamcorderLowProfiles()
729 MediaProfiles::CamcorderProfile **lowProfile, in createDefaultCamcorderLowProfiles()
730 MediaProfiles::CamcorderProfile **lowSpecificProfile) { in createDefaultCamcorderLowProfiles()
736 MediaProfiles::createDefaultCamcorderHighProfiles( in createDefaultCamcorderHighProfiles()
737 MediaProfiles::CamcorderProfile **highProfile, in createDefaultCamcorderHighProfiles()
738 MediaProfiles::CamcorderProfile **highSpecificProfile) { in createDefaultCamcorderHighProfiles()
744 MediaProfiles::createDefaultCamcorderProfiles(MediaProfiles *profiles) in createDefaultCamcorderProfiles()
747 MediaProfiles::CamcorderProfile *lowProfile, *lowSpecificProfile; in createDefaultCamcorderProfiles()
753 MediaProfiles::CamcorderProfile* highProfile, *highSpecificProfile; in createDefaultCamcorderProfiles()
759 MediaProfiles::CamcorderProfile *lowTimeLapseProfile, *lowSpecificTimeLapseProfile; in createDefaultCamcorderProfiles()
765 MediaProfiles::CamcorderProfile *highTimeLapseProfile, *highSpecificTimeLapseProfile; in createDefaultCamcorderProfiles()
778 MediaProfiles::createDefaultAudioEncoders(MediaProfiles *profiles) in createDefaultAudioEncoders()
784 MediaProfiles::createDefaultVideoDecoders(MediaProfiles *profiles) in createDefaultVideoDecoders()
786 MediaProfiles::VideoDecoderCap *cap = in createDefaultVideoDecoders()
787 new MediaProfiles::VideoDecoderCap(VIDEO_DECODER_WMV); in createDefaultVideoDecoders()
793 MediaProfiles::createDefaultAudioDecoders(MediaProfiles *profiles) in createDefaultAudioDecoders()
795 MediaProfiles::AudioDecoderCap *cap = in createDefaultAudioDecoders()
796 new MediaProfiles::AudioDecoderCap(AUDIO_DECODER_WMA); in createDefaultAudioDecoders()
802 MediaProfiles::createDefaultEncoderOutputFileFormats(MediaProfiles *profiles) in createDefaultEncoderOutputFileFormats()
808 /*static*/ MediaProfiles::AudioEncoderCap*
809 MediaProfiles::createDefaultAmrNBEncoderCap() in createDefaultAmrNBEncoderCap()
811 return new MediaProfiles::AudioEncoderCap( in createDefaultAmrNBEncoderCap()
816 MediaProfiles::createDefaultImageEncodingQualityLevels(MediaProfiles *profiles) in createDefaultImageEncodingQualityLevels()
826 /*static*/ MediaProfiles*
827 MediaProfiles::createDefaultInstance() in createDefaultInstance()
829 MediaProfiles *profiles = new MediaProfiles; in createDefaultInstance()
840 /*static*/ MediaProfiles*
841 MediaProfiles::createInstanceFromXmlFile(const char *xml) in createInstanceFromXmlFile()
849 MediaProfiles *profiles = new MediaProfiles(); in createInstanceFromXmlFile()
893 Vector<output_format> MediaProfiles::getOutputFileFormats() const in getOutputFileFormats()
898 Vector<video_encoder> MediaProfiles::getVideoEncoders() const in getVideoEncoders()
907 int MediaProfiles::getVideoEncoderParamByName(const char *name, video_encoder codec) const in getVideoEncoderParamByName()
935 Vector<audio_encoder> MediaProfiles::getAudioEncoders() const in getAudioEncoders()
944 int MediaProfiles::getAudioEncoderParamByName(const char *name, audio_encoder codec) const in getAudioEncoderParamByName()
970 Vector<video_decoder> MediaProfiles::getVideoDecoders() const in getVideoDecoders()
979 Vector<audio_decoder> MediaProfiles::getAudioDecoders() const in getAudioDecoders()
988 int MediaProfiles::getCamcorderProfileIndex(int cameraId, camcorder_quality quality) const in getCamcorderProfileIndex()
1001 int MediaProfiles::getCamcorderProfileParamByName(const char *name, in getCamcorderProfileParamByName()
1031 bool MediaProfiles::hasCamcorderProfile(int cameraId, camcorder_quality quality) const in hasCamcorderProfile()
1036 Vector<int> MediaProfiles::getImageEncodingQualityLevels(int cameraId) const in getImageEncodingQualityLevels()
1046 int MediaProfiles::getStartTimeOffsetMs(int cameraId) const { in getStartTimeOffsetMs()
1056 MediaProfiles::~MediaProfiles() in ~MediaProfiles()