summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/on2
Commit message (Collapse)AuthorAgeFilesLines
* fix buildLajos Molnar2016-07-211-1/+2
| | | | Change-Id: I9bb8c659d3fc97a8e748451d82d0f3448faa242b
* SoftVPX: fix nFilledLen overflowRobert Shih2016-07-212-3/+20
| | | | | Bug: 29421675 Change-Id: I25d4cf54a5df22c2130c37e95c7c7f75063111f3
* Fix potential overflowMarco Nelissen2016-06-231-0/+8
| | | | | Bug: 28533562 Change-Id: I798ab24caa4c81f3ba564cad7c9ee019284fb702
* h264bsdActivateParamSets: Prevent multiplication overflow.Pawin Vongmasa2016-05-271-3/+21
| | | | | | | | Report MEMORY_ALLOCATION_ERROR if pStorage->picSizeInMbs would exceed UINT32_MAX bytes. Bug: 28532266 Change-Id: Ia6f11efb18818afcdb5fa2a38a14f2a2d8c8447a
* h264dec: check for overflows when calculating allocation size.Marco Nelissen2016-04-217-14/+30
| | | | | Bug: 27855419 Change-Id: Idabedca52913ec31ea5cb6a6109ab94e3fb2badd
* codecs: check OMX buffer size before use in (h263|h264)decWonsik Kim2016-04-212-6/+22
| | | | | Bug: 27833616 Change-Id: I0fd599b3da431425d89236ffdd9df423c11947c0
* DO NOT MERGE Verify OMX buffer sizes prior to accessMarco Nelissen2016-04-211-40/+81
| | | | | Bug: 27207275 Change-Id: I4412825d1ee233d993af0a67708bea54304ff62d
* codecs: check OMX buffer size before use in VP8 encoder.Wonsik Kim2016-03-251-6/+22
| | | | | Bug: 27569635 Change-Id: I469573f40e21dc9f4c200749d4f220e3a2d31761
* Add VPX output buffer size checkMarco Nelissen2016-03-251-9/+14
| | | | | | | and handle dead observers more gracefully Bug: 27597103 Change-Id: Id7acb25d5ef69b197da15ec200a9e4f9e7b03518
* libstagefright: check requested memory size before allocation for ↵Wei Jia2015-12-101-0/+9
| | | | | | | | SoftMPEG4Encoder and SoftVPXEncoder. Bug: 25812794 Change-Id: I96dc74734380d462583f6efa33d09946f9532809 (cherry picked from commit 87f8cbb223ee516803dbb99699320c2484cbf3ba)
* Fix software video decoder buffer size calculationMarco Nelissen2015-06-171-1/+1
| | | | | | | | | | Various software video decoders would specify the buffer size as if it were fully cropped, which then failed a sanity check in SoftwareRenderer. They now return the full buffer size. Bug: 21717327 Bug: 21443020 Change-Id: I19fcd091827ebd52a95a5509281a07ccc156e0e5
* SoftVPXEncoder: don't skip the last input buffer with eos flag.Ronghua Wu2015-05-041-1/+5
| | | | | Bug: 20507129 Change-Id: I4016727cbae54e2d29c3c6ab5cd8c47826070bf4
* Remove deprecated image definesJohann2015-04-101-7/+7
| | | | | | | | | libvpx has always supported the VPX_ prefixed versions of these defines. The unprefixed versions have been removed in the most recent release. https://chromium.googlesource.com/webm/libvpx/+/9cdaa3d72eade9ad162ef8f78a93bd8f85c6de10 Change-Id: Idae747eb9f6e71a41a63c6b326af36dc52f5446d
* am 6d5a1afa: am 6d5a063d: am 0c11001c: Merge "stagefright: change licensing ↵Lajos Molnar2015-02-09290-332/+4575
|\ | | | | | | | | | | | | headers on h264dec omxdl sources" into lmp-mr1-dev * commit '6d5a1afac2a7bca6b171261ca9b237c3a516e567': stagefright: change licensing headers on h264dec omxdl sources
| * am 6d5a063d: am 0c11001c: Merge "stagefright: change licensing headers on ↵Lajos Molnar2015-02-07290-332/+4575
| |\ | | | | | | | | | | | | | | | | | | h264dec omxdl sources" into lmp-mr1-dev * commit '6d5a063de358312e6d133f8937ffb1b795116129': stagefright: change licensing headers on h264dec omxdl sources
| | * stagefright: change licensing headers on h264dec omxdl sourcesLajos Molnar2015-02-06290-332/+4575
| | | | | | | | | | | | | | | Bug: 19030684 Change-Id: I6d4674fad126c26d3b6819fde91277a92dfd8862
* | | am 172f2578: am 3e7e574b: am 434c80e5: Merge "Add missing includes."Elliott Hughes2015-01-301-0/+1
|\ \ \ | |/ / | | | | | | | | | * commit '172f257811886a216bf528006fc8445cec9d5480': Add missing includes.
| * | am 3e7e574b: am 434c80e5: Merge "Add missing includes."Elliott Hughes2015-01-301-0/+1
| |\ \ | | | | | | | | | | | | | | | | * commit '3e7e574b682603dc7431fbfc377c2fb107d378f1': Add missing includes.
| | * | Add missing includes.Elliott Hughes2015-01-291-0/+1
| | | | | | | | | | | | | | | | Change-Id: I54abc8fbf9d4d48f747b6aac2ce42c23c7568c25
* | | | am b7909adc: am 64b08d23: am cbb803a5: Merge "Remove superfluous OpenSSL ↵Kenny Root2015-01-261-1/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | include paths." * commit 'b7909adcef247c627fbe8026624b9ecbeba47655': Remove superfluous OpenSSL include paths.
| * | | am 64b08d23: am cbb803a5: Merge "Remove superfluous OpenSSL include paths."Kenny Root2015-01-261-1/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '64b08d230c94872e014831bdb7b8a323c4b584ec': Remove superfluous OpenSSL include paths.
| | * | Remove superfluous OpenSSL include paths.Adam Langley2015-01-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The libcrypto and libssl modules (and their respective static and host versions) use LOCAL_EXPORT_C_INCLUDE_DIRS thus just including the module is sufficient. Change-Id: If9df76e6fefb7419cbb2fb33a0264626c748561e
* | | | am 3e08ca67: resolved conflicts for merge of 6571ed31 to lmp-mr1-dev-plus-aospLajos Molnar2014-12-114-349/+33
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '3e08ca6709b5a75dc3b779cf3eba8196b08a0245': stagefright: misc fixes to software video encoders (and decoders)
| * | | resolved conflicts for merge of 6571ed31 to lmp-mr1-dev-plus-aospLajos Molnar2014-12-114-349/+33
| |\ \ \ | | | |/ | | |/| | | | | Change-Id: Ibaea3a0766f75a61964615482a9ef28651a42b37
| | * | stagefright: misc fixes to software video encoders (and decoders)Lajos Molnar2014-12-104-349/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | stagefright: support VP9 frame parallel decode in Soft VPXhkuang2014-12-052-66/+179
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VPX component now works with both serial decode mode and frame parallel mode. But VP9 frame parallel decode is not enabled yet until libvpx library enable it. In frame parallel decode, libvpx decoder decodes several frames on all cpus in parallel fashion. If not being flushed, it will only return frame when all the cpus are busy. If getting flushed, it will return all the frames in the decoder. Compare with current serial decode mode in which libvpx decoder is idle between decode calls, libvpx decoder is busy between decode calls. VP9 frame parallel decode is >30% faster than serial decode which will makes devices play 1080P VP9 videos more easily. Bug:17325438 Change-Id: I3c53329c6d0a9ff44f5a34d91ea06697478f08e2
* | | am eb0827f3: am c5160b34: Merge "Remove the executable bit from source files"Glenn Kasten2014-11-1090-0/+0
|\ \ \ | | |/ | |/| | | | | | | * commit 'eb0827f34ef34c9ff84ab4d857af4b6215839fa3': Remove the executable bit from source files
| * | Remove the executable bit from source filesMartin Storsjo2014-11-0790-0/+0
| | | | | | | | | | | | Change-Id: I3c105b7e2736ade22de0bb12f396859816b3adf7
| * | am 8a8f2fdc: am 589a89f5: Merge "Add -no-integrated-as at local level."Chih-Hung Hsieh2014-10-161-0/+2
| |\ \ | | | | | | | | | | | | | | | | * commit '8a8f2fdccf149cbddcbf4ae6ce12cf68ae0febf2': Add -no-integrated-as at local level.
* | \ \ Merge "libstagefright: set actual stride info for SW encoder input port" ↵Lajos Molnar2014-10-281-0/+4
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | into lmp-mr1-dev automerge: 701b964 automerge: 294c7f3 * commit '294c7f36e6a92419017e7fe2a204fba1284cdc08': libstagefright: set actual stride info for SW encoder input port
| * | | libstagefright: set actual stride info for SW encoder input portLajos Molnar2014-10-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes encoding flexible YUV content using SW encoders. Also skip setting input color format if it is flexible YUV, as it has already been translated to a color format supported by the codec. Bug: 18124320 Change-Id: I423782936986f4d6cf65ea9ef89ae77a92e30140
* | | | am 8a8f2fdc: am 589a89f5: Merge "Add -no-integrated-as at local level."Chih-Hung Hsieh2014-10-161-0/+2
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| * commit '8a8f2fdccf149cbddcbf4ae6ce12cf68ae0febf2': Add -no-integrated-as at local level.
| * | Add -no-integrated-as at local level.Chih-Hung Hsieh2014-10-161-0/+2
| | | | | | | | | | | | | | | | | | | | | Later we will enable integrated-as as default at the global level. BUG: 17820427 Change-Id: I5d95ef260c097961cb2bf2f15155572c2b24cb0e
| * | Merge "Revert "Fix build after side-stepping global -Bsymbolic.""Dan Albert2014-08-071-5/+0
| |\ \
| | * | Revert "Fix build after side-stepping global -Bsymbolic."Dan Albert2014-08-081-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 3b909164de79904137bb6661514d5ca6236a49c9. Bug: 16853291
| * | | Merge "Fix PIC relocations for non-Bsymbolic builds"Dan Albert2014-08-072-0/+24
| |\ \ \ | | |/ / | |/| |
| | * | Fix PIC relocations for non-Bsymbolic buildsArd Biesheuvel2014-08-082-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ARM assembly contains a couple of hand-coded PC relative references to data defined in other object files. Make sure the externs are tagged as hidden so the linker knows that it can resolve the reference locally at build time. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com> Bug: 16853291 Change-Id: If7bc8e5bb6a2c63b9df33666d56e6c42f398fd47
| * | | Fix build after side-stepping global -Bsymbolic.Dan Albert2014-08-071-0/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | Some of the assembly in the codecs is generating invalid relocations without -Bsymbolic. Leave it on for these projects for the time being. Bug: 16853291 Change-Id: Id70488b077256a70137c4417f21be2c2d1d4341c
* | | am 48be19a4: am 2edda09a: stagefright: fix surface input handling of ↵Lajos Molnar2014-10-143-139/+20
|\ \ \ | | |/ | |/| | | | | | | | | | | | | software encoders * commit '48be19a4a17cfc1e0627039bf740fffd2fcbd9f8': stagefright: fix surface input handling of software encoders
| * | stagefright: fix surface input handling of software encodersLajos Molnar2014-10-133-139/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | libstagefright: compile errorsMark Salyzyn2014-10-081-0/+1
|/ / | | | | | | Change-Id: I752d7d73f9c4939160a1ccaefc44ce1f8ffd9982
* | stagefright: fix cropping handling for SoftAVC and SoftMEPEG4.Ronghua Wu2014-09-242-7/+9
| | | | | | | | | | Bug: 17326758 Change-Id: I9b0c281d92cf1803e275b1768e9edab9404ea577
* | stagefright: add adaptive playback support to SoftAVC decoder.Ronghua Wu2014-09-103-101/+48
| | | | | | | | | | | | | | | | Also change SoftVPX decoder to use common handlePortSettingsChanged and copyYV12FrameToOutputBuffer method. Bug: 17326758 Change-Id: I6fb2ee8fb9291f69c70493b8558af341adc1f4b2
* | Fix the bug that same video frame has been decoded twice during port reconfig.hkuang2014-09-032-32/+38
| | | | | | | | | | | | | | | | | | This does not hurt normal video playback. But in adaptive playback, this will lead to a little bit delay for some clips. Bug: 17202935 Change-Id: I5af0a5911e28a1597c74d79960fac25faf72c9d2
* | Add adaptive playback support to VPX decoder.Ronghua Wu2014-08-282-24/+39
| | | | | | | | | | Bug: 13842676 Change-Id: I9c054ea489fd3a71b3b2394f15a85b84d42edb5a
* | Fix PIC relocations for non-Bsymbolic buildsArd Biesheuvel2014-08-082-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | The ARM assembly contains a couple of hand-coded PC relative references to data defined in other object files. Make sure the externs are tagged as hidden so the linker knows that it can resolve the reference locally at build time. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com> Bug: 16853291 Change-Id: If7bc8e5bb6a2c63b9df33666d56e6c42f398fd47 (cherry picked from commit 97e3e847179c17eb9059fb322413b6facd3e5a03)
* | libstagefright: 64-bit compile warningsMark Salyzyn2014-06-261-1/+1
| | | | | | | | Change-Id: I3d1146714fa23be3d4e696599b6f70cac1f9d28b
* | Merge "Support VP8 encoder key frame interval and number of temporal layers ↵Alex Glaznev2014-04-242-12/+324
|\ \ | | | | | | | | | configuration."
| * | Support VP8 encoder key frame interval and number ofAlex Glaznev2014-04-242-12/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | temporal layers configuration. - Change ACodec.cpp to populate VP8 extra parameters structure with key frame interval, number of temporal layers and quantization parameters. - Change software VP8 encoder to select frame temporal patterns and temporal layers bitrate distribution based on the number of layers similar to patterns used in WebRTC. - Calculate video frame duration in VP8 encoder from the timestamps. Bug: 11969958 Change-Id: Ia96054d886cd09d8c108dfe250fc5f4478eaa042
* | | am e80631aa: am 839d11d1: Merge changes I0a744dc7,Id993a70dMark Salyzyn2014-04-153-153/+27
|\ \ \ | |/ / |/| / | |/ | | | | * commit 'e80631aa1992ca50af679cd6a018c0ffda7f9b17': media: use size_t for integer iterator to Vector::size() media: 64 bit compile issues