summaryrefslogtreecommitdiffstats
path: root/media/libmedia/MediaProfiles.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Adding default profiles for specific levels.Nipun Kwatra2010-09-171-24/+75
| | | | | | | | | | | The low and high profiles should each match one of the specific profiles. So we need to add the specific profiles corresponding to the low/high profiles. This makes the default profile compliant to documentation + cts. Also fixed javadoc to account time lapse profiles. Change-Id: I34e7307d00ce261c69dc10ead2900025c7f6d428
* Exposing specific profile levels + hasProfile().Nipun Kwatra2010-09-101-0/+2
| | | | | | | | | - Exposing the specific resolution profile levels QUALITY_{QCIF,CIF,480P,720P,1080P} and the new time lapse profiles QUALITY_TIME_LAPSE_{LOW,HIGH,QCIF,CIF,480P,720P,1080P} - Unhiding the hasProfile() function used to test if a given profile exists. Change-Id: I5d8b9e1ba61718f304235e76d85244e428e68643
* Adding hasProfile.Nipun Kwatra2010-09-101-6/+17
| | | | | | | | | - Added hasProfile to CamcorderProfile and JNI. - Added hasCamcorderProfile to MediaProfiles. - using android.hardware.Camera.CAMERA_ID_DEFAULT for default camera in get(). Change-Id: Ib57bb49ae79492d7cbc0ec6c7b6efcbf74f80013
* Added specific resolution and time lapse profiles.Nipun Kwatra2010-09-101-1/+48
| | | | | | | | | | | - Added enums QUALITY_{QCIF,480P,720P,1080P} QUALITY_TIME_LAPSE_{LOW,HIGH,QCIF,480P,720P,1080P} in CamcorderProfile and corresponding ones in MediaProfiles. - Added functions createDefaultCamcorderTimeLapseLowProfile, createDefaultCamcorderTimeLapseHighProfile to set default values. - Moved javadoc for constants to the get() function. Change-Id: Ib8b3f8d29395dff77a397d1e6b44cfaf8c481d4d
* Add multiple camera support for in MediaProfiles.Chih-Chung Chang2010-07-011-16/+65
| | | | Change-Id: Ie89568a0f5f5fd08ede77e33f9a559215d6bed9a
* Image encoding settings java API through xml configuration fileJames Dong2010-02-241-0/+24
| | | | | | - I decided to completely remove jpeg decoding related stuff from this change I think that setting is better off if it is specified by the system properties. We don't have to include MediaProfiles.h header in skia files
* Initial check-in for xml-based encoder capabilities retrievalJames Dong2010-02-011-0/+675
- Changed the Java API as suggested - Treat /etc/media_profiles.xml as the default xml configurtion file