summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/omx
Commit message (Collapse)AuthorAgeFilesLines
* media: switch to new AMessage handlingLajos Molnar2015-03-052-6/+6
| | | | | Bug: 19607784 Change-Id: I94cddcb81f671422ad4982a23dc4acfe57a9f1aa
* Remove manta support in MNC.Ying Wang2015-03-031-4/+0
| | | | | Bug: 19548232 Change-Id: I5fd341c7cf55792c4b2c9a4928f1ad21308c4469
* am 935b4750: am 011734f0: Fix clang build errorBill Yi2015-02-201-1/+1
|\ | | | | | | | | * commit '935b47504411b6ac69f708ba698a72b7282aada1': Fix clang build error
| * Fix clang build errorBill Yi2015-02-191-1/+1
| | | | | | | | Change-Id: I294903dcf3ce3aa6a3b2f50364067e701a33d327
* | stagefright: add support for limiting framerate in GraphicBufferSourceRonghua Wu2015-02-128-45/+365
|/ | | | | Bug: 19014096 Change-Id: I6de781e4d140a247dfd8fd8f12c3ddd7baa39ad4
* am d8ba6ef1: am 38a97bd7: stagefright: keep alignment restrictions for ↵Lajos Molnar2015-01-101-21/+14
|\ | | | | | | | | | | | | SoftVideoDecoder * commit 'd8ba6ef11cb89672ee121ec7f4ee527446aa5dbf': stagefright: keep alignment restrictions for SoftVideoDecoder
| * stagefright: keep alignment restrictions for SoftVideoDecoderLajos Molnar2015-01-091-21/+14
| | | | | | | | | | | | | | | | Reuse updatePortDefinitions for setParam(PortDefinition). Allow increasing input buffer size even if size changes. Bug: 18528130 Change-Id: I62b66d8f1135504dd16ac576046bfc5b5b8cda59
* | resolved conflicts for merge of 6571ed31 to lmp-mr1-dev-plus-aospLajos Molnar2014-12-112-29/+364
|\ \ | |/ | | | | Change-Id: Ibaea3a0766f75a61964615482a9ef28651a42b37
| * stagefright: misc fixes to software video encoders (and decoders)Lajos Molnar2014-12-102-29/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - move logic to set encoder parameters to common encoder class (similarly to what was done for decoders) - set compressed buffer size based on frame size and compression ratio, and codec-specific minimum size - set raw buffer size based on frame size and metadata mode - do not set stride and slice height on compressed ports - advertise only QCIF support for google H263 encoder - set large-enough input size for video decoders to support adaptive playback - do not change input buffer size on output port reconfiguration, as no input buffer reallocation takes place - do not return empty buffers with EOS after EOS has been signaled Bug: 18513091 Bug: 18639027 Change-Id: Ib13492ef66adf331aa4572c67d2b283ea020cb41
* | resolved conflicts for merge of e5ba80c5 to lmp-mr1-dev-plus-aospAndreas Gampe2014-11-271-23/+0
|\ \ | | | | | | | | | Change-Id: Iea12c8a6cabf84584e4a89ad80e298c1f4ea3dd7
| * | Stagefright: Fix unused variables, functions, valuesAndreas Gampe2014-11-251-23/+0
| | | | | | | | | | | | | | | | | | | | | For build-system CFLAGS clean-up, remove unused functions and variables. Change-Id: Ic3dee56b589ea9a693efa1d72ba394036efff168
* | | am 20918be9: am b2cf160f: Merge "stagefright: add graceful handling when ↵Lajos Molnar2014-11-261-12/+12
|\ \ \ | | |/ | |/| | | | | | | | | | | | | setting port definition" into lmp-mr1-dev * commit '20918be9309eda037074388f046c84e187a259c8': stagefright: add graceful handling when setting port definition
| * | stagefright: add graceful handling when setting port definitionLajos Molnar2014-11-251-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | - don't crash when count of buffers is incorrect, or when the buffer size decreases. This allows configuring SW video encoders for smaller than QCIF size. Bug: 18513091 Change-Id: Ibfcd6b883a892156e408e94fbc329103b9ac09ac
* | | resolved conflicts for merge of e78a27ca to lmp-mr1-dev-plus-aospMarco Nelissen2014-11-171-4/+4
|\ \ \ | | |/ | |/| | | | Change-Id: If10a9cc17245f95d5e10b1507445abbb4020670e
| * | Update calls to IInterface::asBinder()Marco Nelissen2014-11-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to use the new static version. Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a Conflicts: media/libmedia/IAudioFlinger.cpp media/libmedia/IMediaPlayer.cpp media/libstagefright/CameraSource.cpp
| * | resolved conflicts for merge of 2edda09a to lmp-dev-plus-aospLajos Molnar2014-10-142-0/+317
| |\ \ | | | | | | | | | | | | Change-Id: I760286b72fe1ebda3e8b058ca2138cb97fbdb7e1
* | \ \ am 41907c44: am cede28e2: Merge "stagefright: add runtime debug support" ↵Lajos Molnar2014-11-143-169/+400
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | into lmp-mr1-dev * commit '41907c44a597ceb258495715d3dd391fef2907e3': stagefright: add runtime debug support
| * | | stagefright: add runtime debug supportLajos Molnar2014-11-123-169/+400
| | | | | | | | | | | | | | | | | | | | Bug: 18285408 Change-Id: I56346f4652b2c5f7ef5fa3003fd8676051339384
* | | | am 034d6747: am 1609e451: Merge "Add a BufferItem parameter to ↵Dan Stoza2014-11-072-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | onFrameAvailable" into lmp-mr1-dev * commit '034d674721029e3b7e34fe30ee31814c521b62bf': Add a BufferItem parameter to onFrameAvailable
| * | | Add a BufferItem parameter to onFrameAvailableDan Stoza2014-11-042-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Passes the BufferItem for the queued buffer to the onFrameAvailable callback so the consumer can track the BufferQueue's contents. Bug: 18111837 Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
* | | | am edcff417: am 42aae0c4: am f04e8b5e: am 25842048: Merge "stagefright: try ↵Lajos Molnar2014-10-221-0/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | to free codec instance if MediaCodec.release hangs" into lmp-dev * commit 'edcff417bbb2e76245b559e7c9a8b98c2a60e102': stagefright: try to free codec instance if MediaCodec.release hangs
| * | | stagefright: try to free codec instance if MediaCodec.release hangsLajos Molnar2014-10-211-0/+5
| | |/ | |/| | | | | | | | | | Bug: 18033275 Change-Id: If86cd26566d7b75941976f37829bbec619800778
* | | resolved conflicts for merge of f4147ee9 to lmp-mr1-dev-plus-aospLajos Molnar2014-10-142-0/+317
|\ \ \ | |/ / | | / | |/ |/| Change-Id: I3b66673012989ab3707852b257844f2c3851f753
| * stagefright: fix surface input handling of software encodersLajos Molnar2014-10-132-0/+317
|/ | | | | | | | | - added SoftVideoEncoder for common color conversion and extension handling logic - fix YUV420 SemiPlanar handling that should be NV12 not NV21 Bug: 17935149 Change-Id: I9b8d05678b1862dd37bf349ea83d67bdf1bb5560
* stagefright: support passing GraphicBuffer in metadata bufferLajos Molnar2014-10-133-20/+72
| | | | | Bug: 17935149 Change-Id: I6bb5dd654e498a7153410afc052c2c8f7f35e44d
* stagefright: fix fake-stride handling for H263 SW decoderRonghua Wu2014-10-021-1/+8
| | | | | | | | | - Use outputBufferWidth/Height to init H263 decoder. - Handle stride change when using fake stride. Bug: 17773094 Bug: 17326758 Change-Id: I66ce7b9c650383456923d75417c590e3a8a814e7
* Merge "SoftVideoDecoderOMXComponent: re-config the buffer size when port ↵Ronghua Wu2014-09-251-0/+34
|\ | | | | | | definition changed." into lmp-dev
| * SoftVideoDecoderOMXComponent: re-config the buffer size when port definition ↵Ronghua Wu2014-09-241-0/+34
| | | | | | | | | | | | | | changed. Bug: 17326758 Change-Id: I7c6b85284ae0cbfa54f999851f56db84345b65bf
* | stagefright: fix cropping handling for SoftAVC and SoftMEPEG4.Ronghua Wu2014-09-241-2/+4
|/ | | | | Bug: 17326758 Change-Id: I9b0c281d92cf1803e275b1768e9edab9404ea577
* stagefright: add adaptive playback support to SoftHEVC decoder.Ronghua Wu2014-09-231-4/+13
| | | | | Bug: 17326758 Change-Id: I245e2bd1490e810094ca550fdddfa87075bc2056
* Merge "Optimize the YUV buffer copy a little bit to skip unnecessary ↵hkuang2014-09-151-18/+15
|\ | | | | | | operation." into lmp-dev
| * Optimize the YUV buffer copy a little bit to skip unnecessary operation.hkuang2014-09-151-18/+15
| | | | | | | | | | Bug: 17326758 Change-Id: I2505751cb40a53242ceeb3be8f362c3754c2ee3f
* | stagefright: add adaptive playback support to SoftMPEG decoder.Ronghua Wu2014-09-111-1/+14
|/ | | | | | | This covers both MPEG4 and H263 adaptive playback. Bug: 17326758 Change-Id: I80a67b7f3ceab05e792f0a459439a8274bd78e20
* stagefright: add adaptive playback support to SoftAVC decoder.Ronghua Wu2014-09-101-5/+74
| | | | | | | | Also change SoftVPX decoder to use common handlePortSettingsChanged and copyYV12FrameToOutputBuffer method. Bug: 17326758 Change-Id: I6fb2ee8fb9291f69c70493b8558af341adc1f4b2
* Add adaptive playback support to VPX decoder.Ronghua Wu2014-08-281-3/+38
| | | | | Bug: 13842676 Change-Id: I9c054ea489fd3a71b3b2394f15a85b84d42edb5a
* Added Tunneled video playback support to ACodecRachad2014-08-082-0/+50
| | | | | Bug:16132368 Change-Id: I88d2d66b8548fc203f4a2c4797196af15e56ff38
* stagefright: add error log when create omx component failedZhijun He2014-07-171-1/+1
| | | | | Bug: 16343447 Change-Id: I6854b9b837a141a77ab318953dc002ec5ad5d31d
* Encoder input buffers don't need HW_TEXTURE usageJesse Hall2014-07-141-2/+1
| | | | Change-Id: Ibb1be86ae99439ccbce3fc2b38d92115083ef7ff
* libstagefright: 64-bit compile warningsMark Salyzyn2014-06-262-14/+19
| | | | Change-Id: I3d1146714fa23be3d4e696599b6f70cac1f9d28b
* stagefright: added support, and SoftOMX decoder, for HEVCHarish Mahendrakar2014-06-062-3/+4
| | | | | | | | also fixed QuerySupportedProfileLevels in SoftVideoDecoderOMXComponent.cpp Bug: 14571712 Change-Id: Ifa3793f7c1b18ac5e8c0a096848c998cabd9e777
* Update OMX messages for 64 bitAndy Hung2014-05-142-25/+95
| | | | | | | | | Change node_id and buffer_id to uint32_t. Ensure IOMX messages are fixed size. Remove 64 bit compile warnings in associated files. Change-Id: Icdbef00aca575e5dc502ebb52e3ce7d0d7883203 Signed-off-by: Andy Hung <hunga@google.com>
* Remove legacy omx_message variablesAndy Hung2014-05-061-2/+0
| | | | | | | | | | Remove platform_private and data_ptr from omx_message. These were used for legacy deferred buffer creation. See OMXCodec quirks: kDefersOutputBufferAllocation and kRequiresAllocateBufferOnOutputPorts. Change-Id: I94da56bc64f3b46ee1276e93d67b36c1662e2eaf Signed-off-by: Andy Hung <hunga@google.com>
* Merge "BufferQueue: Increase max slots from 32 to 64"Dan Stoza2014-04-211-3/+5
|\
| * BufferQueue: Increase max slots from 32 to 64Dan Stoza2014-04-111-3/+5
| | | | | | | | | | | | | | | | Increases NUM_BUFFER_SLOTS from 32 to 64 and changes the mask returned by IGBC::getReleasedBuffers from 32 to 64 bits. Bug: 13174352 Change-Id: I1c41256ffbc30abcf9f7b0b5fcf53da40462da28
* | am e80631aa: am 839d11d1: Merge changes I0a744dc7,Id993a70dMark Salyzyn2014-04-153-4/+10
|\ \ | |/ |/| | | | | | | * commit 'e80631aa1992ca50af679cd6a018c0ffda7f9b17': media: use size_t for integer iterator to Vector::size() media: 64 bit compile issues
| * am 839d11d1: Merge changes I0a744dc7,Id993a70dMark Salyzyn2014-04-153-4/+10
| |\ | | | | | | | | | | | | | | | * commit '839d11d1f7be9dff2f06c7d30a9eb39cb6782078': media: use size_t for integer iterator to Vector::size() media: 64 bit compile issues
| | * media: 64 bit compile issuesMark Salyzyn2014-04-153-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | - change internal sized types to use stdint.h - printf & scanf formats - size_t or unsigned int for iterators Change-Id: Id993a70d8bf54c667c5d652b34179a2c727ed446
| * | am 52a861d2: Merge "warnings be gone."Mark Salyzyn2014-04-114-31/+31
| |\ \ | | |/ | | | | | | | | | * commit '52a861d2825544fe2eb90f8e5f6351d02ff95536': warnings be gone.
| | * warnings be gone.Andreas Huber2014-04-114-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 84333e0475bc911adc16417f4ca327c975cf6c36) Modified by Mark Salyzyn <salyzyn@google.com> to keep merge conflicts or errors downstream to a minimum. Change-Id: Ic3b272f9cbf3155001aabd2f79728f1bc31de613
* | | Merge "Remove deprecated BufferQueue constructor"Dan Stoza2014-04-042-21/+24
|\ \ \