summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/MediaCodecList.cpp
Commit message (Collapse)AuthorAgeFilesLines
* video: Port AOSP fixesSurajit Podder2015-10-061-1/+2
| | | | | | | | | | | | Includes following fixes: f510d0c libstagefright: Disable multi slice mode for video encode ca46843 audio: Fix for failure in CTS MediaRecorderTest cases b4d0490 libstagefright: check the audio source when adding to MPEG4Writer 89c6c3f libstagefright: Allocate cached camera buffers for sw encoders f2c387b libstagefright: Choose target specific media_codecs.xml f3e7122 libstagefright: Implement fallback mechanism to SW decoder Change-Id: I90398b2fead1f4e163935bf1db342e24275f7933
* avextensions: Add support for Codec Extension featuresShalaj Jain2015-10-061-1/+7
| | | | | | | | | | Add support for Codec extension features like skype, vqzip, b-frame encoding, prefer adaptive playback etc. Add extensions to support encode batching. Also enable Werror for libavextensions. Change-Id: Ia342d4abe4bb1e21b9ff2b8213fb96421485a333
* libstagefright: get secure and non-secure codec policy from mediacodec list ↵Ronghua Wu2015-07-081-0/+6
| | | | | | | global settings Bug: 21171205 Change-Id: Ie30f5234c2a7c0103138b85cc7360f9e3f470088
* Merge "libstagefright: parse /etc/media_codecs_performance.xml for ↵Ronghua Wu2015-07-011-1/+2
|\ | | | | | | performance data." into mnc-dev
| * libstagefright: parse /etc/media_codecs_performance.xml for performance data.Ronghua Wu2015-06-121-1/+2
| | | | | | | | | | Bug: 20507129 Change-Id: I138df61ba3b4e6c73d3e1bd83f1fb22321f58c73
* | libstagefright: only do boot time codec profiling for debugging.Ronghua Wu2015-06-261-2/+7
| | | | | | | | | | | | | | and remove "max-supported-instances". Bug: 22089269 Change-Id: Ia786105d3371926b90a559649b9495f5c1397cea
* | libstagefright: parse concurrent-instances.Ronghua Wu2015-06-251-1/+1
| | | | | | | | | | Bug: 22089269 Change-Id: I43c04e7fbc88dd1ec3fe21bcf4acf2e2e8cab25a
* | don't trigger an integer underflow when decrementing.Nick Kralevich2015-06-131-1/+2
| | | | | | | | | | | | | | | | | | | | When decrementing "i", eventually i will equal zero. When that happens, i-- underflows. This causes a crash when code which uses clang's -fsanitize=unsigned-integer-overflow is run. Avoid trigging an unsigned integer underflow. Change-Id: I61709cb01f56fdb36d631aa95579e8bd09cafd12
* | libstagefright: remove out of date profiling result before doing a new ↵Ronghua Wu2015-06-121-0/+2
|/ | | | | | | profiling. Bug: 21333717 Change-Id: Iaeff615fccf87b3aceed6fa566f82c06a981e030
* libstagefright: run codec profiling in worker thread.Ronghua Wu2015-06-071-46/+56
| | | | | Bug: 21645841 Change-Id: Ia15eb3b064b671c569afb0742db7535f6b03232e
* Merge "libstagefright: add version string to profile results." into mnc-devRonghua Wu2015-06-011-2/+16
|\
| * libstagefright: add version string to profile results.Ronghua Wu2015-05-221-2/+16
| | | | | | | | | | Bug: 21333717 Change-Id: I79966be5ba355633f83885844165b7d9a6b2643f
* | stagefright: measure max encoder buffer count for persistent surfaceChong Zhang2015-05-211-0/+2
|/ | | | | | bug: 19127604 Change-Id: I9a9b29b527d20f43a5a0188380baf2242bd31507
* libstagefright: config resource manager with secure codec co-existing policy.Ronghua Wu2015-05-081-0/+21
| | | | | Bug: 19620911 Change-Id: I0d729782c1622f23e9c37b7a9231e58e3f807470
* Merge "libstagefright: export profiling results directly to xml." into mnc-devRonghua Wu2015-05-081-19/+3
|\
| * libstagefright: export profiling results directly to xml.Ronghua Wu2015-05-051-19/+3
| | | | | | | | | | Bug: 19620911 Change-Id: Icdeb1c30816d6de120ea0acd0880b3a9614bea8f
* | Merge "libstagefright: add xml parsing for measured-frame-rate and ↵Ronghua Wu2015-04-301-2/+4
|\ \ | | | | | | | | | measured-blocks-per-second." into mnc-dev
| * | libstagefright: add xml parsing for measured-frame-rate and ↵Ronghua Wu2015-04-291-2/+4
| |/ | | | | | | | | | | | | measured-blocks-per-second. Bug: 20507129 Change-Id: I4623d2bd93670283d6c82c9bf9acfd00e214c4f0
* | Omx: Return an error if no IOMX is availableAndy Hung2015-04-291-1/+5
|/ | | | | | | Previously caused fatal crash. Bug: 20566134 Change-Id: I9761d043422954615dbe81b301401765146a7283
* media: handle overrides and measure max codec instance.Ronghua Wu2015-04-131-31/+161
| | | | | Bug: 19620911 Change-Id: I68d5919284700f37ccc6c6b9f96cd87ccdd40e6a
* libstagefright: parse global settings from codec xml file.Ronghua Wu2015-04-131-10/+83
| | | | | | | Also parse a new codec limit "max-supported-instances". Bug: 19620911 Change-Id: I6574c168b0c2b1aa649883958d3073edc01a4a03
* MediaCodecList: handle binder deathLajos Molnar2014-12-121-1/+12
| | | | | Bug: 18691591 Change-Id: Icc402d6ea9b0de4ac642c3b403fb64e865481b2e
* stagefright/media: add support for codec features with text valueLajos Molnar2014-08-141-1/+14
| | | | | Bug: 11990470 Change-Id: I7600d999c5f4b6821d825d25fa7e8a2bb5a80c46
* MediaCodecList: handle errors gracefullyLajos Molnar2014-08-121-5/+21
| | | | | | | | | Handle missing OMX codecs, and codecs that do not load. Fix NULL dereference when initializing codec with no type. Bug: 16907578 Bug: 16905025 Change-Id: I5d103db36ebb029d1aab03222bf6e9324beb1566
* media/playerservice: add getCodecList() to MediaPlayerServiceLajos Molnar2014-08-071-1/+16
| | | | | Bug: 11990470 Change-Id: I8fa45946fd9b76f9b975fc59062819c57e6881ef
* stagefright: rework media codec list and infosLajos Molnar2014-08-071-239/+135
| | | | | | | | This is in preparation of serving the codec list and codec infos from the mediaserver Bug: 11990470 Change-Id: Ib8e2708679c9ce461a4ba179974a740cdcdf2731
* ATSParser: treat stream type 0x83 as TrueHD AC3Chong Zhang2014-07-301-2/+2
| | | | | Bug: 16668055 Change-Id: I11fd3f795bbb50113e1a1e28e682edd76f11e146
* Fix: Add MediaCodecList capabilitiesLajos Molnar2014-07-191-0/+2
| | | | | | | | fix getting capability index from type Bug: 12065651 Change-Id: Id2bc60410a92e17c841a5dd072257bc40ad6236f
* Add MediaCodecList capabilitiesLajos Molnar2014-07-181-1/+294
| | | | | Bug: 12065651 Change-Id: Icfb73c0009621cd747e113d8a0cd84c966bf055d
* MediaCodecList: remove force-added codecs for videoeditorLajos Molnar2014-05-291-5/+0
| | | | | Bug: 15320804 Change-Id: I1c2f0f75aeaabc20cb94e79e47b70f7faefe0a9e
* stagefright: add include support for MediaCodecList xml parserLajos Molnar2014-03-191-38/+104
| | | | | | | | One can include full-formed XML files using <Include href=".." />. For security/simplicity, file names must be in the form of "media_codecs_.*\.xml" Change-Id: Id039a4fd0ade390224485fcf5ecc1d107b2bdb9a
* Check adaptive playback support via CodecCapabilitiesLajos Molnar2013-08-131-1/+4
| | | | | | | | | | | | | | | | Added flags field to CodecCapabilities, so that applications can query whether codecs support various features. For now added one video-decoder feature: kFlagSupportsAdaptivePlayback Media playback applications can query it to see if a codec supports seamless resolution changes, such as by supporting dynamic output buffers. Signed-off-by: Lajos Molnar <lajos@google.com> Change-Id: I09da46e8ab6b8645fa2749e33128e49eda2e865b Related-to-bug: 7093648
* Fix libmedia and libstagefright to get expat header files from the approved ↵Elliott Hughes2012-09-091-1/+1
| | | | | | | | location. Found during a libexpat upgrade. Change-Id: I9e5abd502a884975d898486edde374fb2519164e
* Removed software video encoders that are not OMX-based.James Dong2012-04-301-5/+0
| | | | | | o related-to-bug: 5933287 Change-Id: I63635375e2bef00733b61adc3fa12c29df7e2155
* Add a few more APIs to MediaCodecList.Andreas Huber2012-04-021-0/+80
| | | | Change-Id: I5ac193cd40c82bbcd87c1e55003b78102e8d4674
* Implementation of a raw audio "decoder".Andreas Huber2012-03-291-0/+3
| | | | Change-Id: Ie89f01e59dd8106883937188afbb407550f0ac92
* Instead of hardcoding OMX component names in our code, supportAndreas Huber2012-03-011-0/+475
a config file instead. Change-Id: I5835903ab9f1c4a22ccc605ca99ed966767adf57