summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/on2
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-6.0.1_r66' into HEADJessica Wagantall2016-09-072-3/+21
|\ | | | | | | | | | | Android 6.0.1 release 66 Change-Id: I1d3eb6b66b7482149fe93647c278065fa46dc518
| * fix buildLajos Molnar2016-07-211-1/+2
| | | | | | | | Change-Id: I9bb8c659d3fc97a8e748451d82d0f3448faa242b
| * SoftVPX: fix nFilledLen overflowRobert Shih2016-07-212-3/+20
| | | | | | | | | | Bug: 29421675 Change-Id: I25d4cf54a5df22c2130c37e95c7c7f75063111f3
* | Merge tag 'android-6.0.1_r61' into HEADJessica Wagantall2016-08-021-0/+8
|\ \ | |/ | | | | | | | | Android 6.0.1 Release 61 (MOB30Z) Change-Id: Ic86e42d5fb8f81fe5c4f58d2e76852829c609760
| * Fix potential overflowMarco Nelissen2016-06-231-0/+8
| | | | | | | | | | Bug: 28533562 Change-Id: I798ab24caa4c81f3ba564cad7c9ee019284fb702
* | Merge remote-tracking branch 'remotes/android-6.0.1_r52' into HEADJessica Wagantall2016-07-071-3/+21
|\ \ | |/ | | | | | | | | Ticket: CYNGNOS-3020 Change-Id: I7e8d69c5f7041b66893ea643c4bc19c3b7bcdda5
| * 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
* | Merge tag 'android-6.0.1_r46' into HEADJessica Wagantall2016-06-0710-60/+133
|\ \ | |/ | | | | | | | | Android 6.0.1 release 46 Change-Id: I4fcabf5775aebd2cb8dc0e352d1b1460d3214573
| * 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
* | Merge tag 'android-6.0.1_r43' into HEADJessica Wagantall2016-05-032-15/+36
|\ \ | |/ | | | | | | | | | | Ticket: CYNGNOS-2373 Android 6.0.1 release 43 (MOB30J) Change-Id: Ie0ab546349bd8a7eed51c839fba28b809e433fd4
| * 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
* | Stagefright: Remove unused variables and filesAndreas Gampe2016-03-221-4/+0
| | | | | | | | | | | | | | | | | | | | For build-system CFLAGS clean-up. Bug: 18632512 (cherry picked from commit 765b4172f1ffb2c4e2de89163bb888fa352de664) Change-Id: I765dc394f39f60801843851760fdf9838958d7a4
* | h264dec: Use intptr_t when a pointer is treated as an integerAshok Bhat2016-03-222-6/+6
| | | | | | | | | | Change-Id: I83057565a842da31ee137fac674af496c1fc18af Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
* | Merge tag 'android-6.0.1_r13' into HEADJessica Wagantall2016-02-011-0/+9
|\ \ | |/ | | | | | | | | | | Android 6.0.1 release 13 Ticket: CYNGNOS-1522 Change-Id: Ie9d7be6df3e63138bafb892a3181446e3c7d844e
| * 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)
* | codecs: update for check ifeq ($(TARGET_ARCH),arm)Yongqin Liu2016-01-081-8/+6
| | | | | | | | | | | | | | | | | | | | This condition check will only pass when compile for 32bit platform. It will not pass when generate the 32bit binary or libarary for 64bit platform. update it with variants like LOCAL_SRC_FILES_arm to make it used by 32bit binary or library on 64biy platform as well Change-Id: Ia887610a97c68fa58925d2d86c5eb29cb397d6ef Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
* | Use unified syntax to compile with both llvm and gas.Chih-Hung Hsieh2016-01-0833-188/+119
|/ | | | | | | | | | | | | | | | | | * Remove useless stab debug info directives .func and .endfunc, which are not recognized by clang/llvm integrated assembler. * Replace require8 with REQUIRE8, preserve8 with PRESERVE8. * Replace LDRNESB with LDRSBNE, LDREQSB with LDRSBEQ, etc. * Replace VST1 {*.U8} with VST1.8 ..., VLD1 {*.U8} with VLD1.8, and VMOV with VMOV.I8. * New assembler output code is identical or equivalent to old gas output. For example, the 3 references of LDR r7, =0x80808080 in omxdl/arm_neon/vc/m4p10/src_gcc/armVCM4P10_Average_4x_Align_unsafe_s.S produced 3 instances of .word 0x80808080 by llvm integrated assembler but only one by gas. Change-Id: Ifdcd5bee915a7534198d7f219bceab72045f6a22
* 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