summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* Merge changes from topic "b136697219"TreeHugger Robot2019-09-031-5/+10
|\ | | | | | | | | | | * changes: Fix missing initialization of deinterlace intermediate buffer Fix integer overflow error in deinterlacer
| * Fix integer overflow error in deinterlacerHarish Mahendrakar2019-08-051-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | In deinterlacer, in few cases previous fields pointer was derived using some uninitialized strides. This value was never used later. Avoiding the unnecessary pointer increment fixes the integer overflow. Bug: 136697219 Test: poc in bug Change-Id: I79805694aef5c4923cd4459bebbd13462be039ce
* | Add support for handling odd dimensionsHarish Mahendrakar2019-08-053-4/+17
|/ | | | | | | Test: poc in bug Bug: 137798382 Change-Id: I9df6b869eeb9857799789397615dcb264f73614f
* Fix in armv8 420p to 420sp format conversion assemblyHarish Mahendrakar2019-07-251-2/+4
| | | | | | | | | Stride for UV was wrongly updated Test: poc in bug Bug: 138149075 Change-Id: I49a51b652f3780400bda9794813a0fb69ea9cb8b
* Reset buffer managers during reset control callHarish Mahendrakar2019-05-012-0/+37
| | | | | | | | | | | | | In some cases, some picture buffer entries in buffer manager were not released during reset. Added a function to reset buffer manager entries and called that during reset control call. Without this in some call sequences Decoder would run out of picture buffers and not produce correct output. Bug: 124531341 Test: atest android.media.cts.DecoderTest Change-Id: I75e4422263b0a3e66807376567705b1f06e89cff
* [automerger] Add push-pop for Neon D8-D15 registers am: 3714e256de am: ↵Android Build Merger (Role)2019-01-174-24/+39
|\ | | | | | | | | | | 716d564ffa am: b04a1459b2 am: 67b098f515 am: f3ba74aa20 Change-Id: Iea33c93e87908d144ceeae81b7cad1218be93d50
| * Add push-pop for Neon D8-D15 registersSaurabh Sood2019-01-174-24/+39
| | | | | | | | | | | | | | | | | | According to ARM calling conventions, D8-D15 are callee saved registers. Hence have to be pushed before being used as scratch. Bug: 120644655 Test: vendor Change-Id: Iad2ac726ac2712a88737f3eecc25a7f7f88c7bba
* | Merge "Fix assembly code for clang's integrated as"Treehugger Robot2016-10-185-131/+131
|\ \
| * | Fix assembly code for clang's integrated asBernhard Rosenkränzer2016-02-235-131/+131
| |/ | | | | | | | | | | | | | | | | Fix armv8 assembly code for clang's integrated as Also enable integrated as for armv7 - no changes necessary. Change-Id: Ic43089e7b5f42a33faf878aaa1836d8a69489915 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* / Fix -Wasm-operand-widths warningsHarish Mahendrakar2016-04-073-3/+0
|/ | | | | | | | | | | | | icv_platform_macros.h was getting included in arm64 builds from common/arm folder instead of common/arm64. This was because ideint_function_selector*.c files are present in common/arm. The inline assembly in common/arm/platform_macros.h is for arm and not for arm64 and hence there were few warnings. Since ideint_function_selector*.c files do not really need platform_macros.h, by not including these files warnings are resolved. Bug: 28027910 Change-Id: I2fec3b51b84bae681115314e7436586dc8d3add6
* Revert "armv8: Removed redundant NEON element size declarations"Marco Nelissen2015-10-081-121/+121
| | | | | | This reverts commit a84bad80dee40c0c0535983cf4e4fd4ec8bf7b82. Change-Id: I15a98b97908bd29fadf4cc5a8de17803adc90b61
* armv8: Removed redundant NEON element size declarationsHarish Mahendrakar2015-10-081-121/+121
| | | | | | | This is not supported by clang assembler. With this change clang's builtin assembler can be used Change-Id: Idf4206a634dcbbc644c9ccb41d118e2fa610462e
* Merge "Fixed stack pointer increment in impeg2_idct.s"Marco Nelissen2015-10-081-7/+7
|\
| * Fixed stack pointer increment in impeg2_idct.sHarish Mahendrakar2015-09-071-7/+7
| | | | | | | | | | | | Stack now points to top always Change-Id: I0a45a0dd218d254fb0b5e0f93ce6ed56a83a2dd1
* | Added deinterlacerHarish Mahendrakar2015-08-2142-0/+5890
|/ | | | | | | Decoder output is deinterlaced if a picture is signalled as interlaced Added SIMD optimizations for arm, armv8 and x86/x64 Change-Id: I6079922f4fc8f1d3680e5169a4d8e70efe8ea471
* Merge "fix CLIP_S16"Marco Nelissen2015-08-203-3/+3
|\
| * fix CLIP_S16Lajos Molnar2015-07-303-3/+3
| | | | | | | | Change-Id: Iec059e0f2790e07243d9890232459c52869836cd
* | Merge "Fixed few stride issues"Marco Nelissen2015-08-201-21/+0
|\ \
| * | Fixed few stride issuesHarish Mahendrakar2015-08-051-21/+0
| |/ | | | | | | | | | | | | | | | | Removed alignment requirements for stride Fixed strides passed to frame copy function Display width is passed to frame copy function instead of stride Moved decoder specific definitions from common to decoder files Change-Id: Ieb1370e2ff9c6b3d04e4c0b9630653943346eb54
* / Removed unused thread abstractionsHarish Mahendrakar2015-08-051-263/+1
|/ | | | Change-Id: I9d89ff1b167b57299665e53efc876b11b1f5a432
* Fixed few issues seen in CTS testsandroid-m-preview-2Venkatarama Avadhani2015-06-194-0/+3
| | | | | | | | | | Buffer managers are reset to init state in reset() Return picture type of picture being output instead of picture decoded Read start code only if input bitstream has enough bytes Change-Id: Ic158d9dbff6d6b5295173b6ff2a4c6d6da66115f
* Initial versionVenkatarama Avadhani2015-04-0738-0/+13706
Change-Id: I5a9473876e596e7461e91f971b0243f694f7e8fb