summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo in gai4_ih264_max_luma_pic_sizeMartin Storsjo2015-10-091-1/+1
|
* Mark arrays of pointers as constMartin Storsjo2015-07-312-4/+4
| | | | | | | | | Previously they were only marked as the pointers pointing to const data, but the array themselves being non-const. Bug: 22860270 Change-Id: Ib5a9af6298615b2c40367a21e728899418b09935
* Remove all other thread implementations than pthreadMartin Storsjo2015-06-251-368/+0
| | | | Change-Id: Id30fc1a9c007f2f32ed3375bbf02085f0edad5a0
* Don't declare variables after statementsMartin Storsjo2015-06-253-16/+22
| | | | | | | This fixes building with compilers that are strict about the pre-C99 rule about having all variable declarations before statements. Change-Id: I06dd0cc42a6dbe90025c3c913a0c8d9ffb0acbcb
* Remove some unused source files and headersMartin Storsjo2015-06-252-287/+0
| | | | | | | | They seem to have been included by accident. Nothing includes them or refer to the symbols declared in them. (The other functions declared by the header don't have any matching implementation either.) Change-Id: I1c77a21226613bda0b029dd4ea5da207aa7cae09
* arm: Use vqmovun instead of vqshrun #0Martin Storsjo2015-06-251-8/+8
| | | | | | | | | | binutils gas automatically produces vqmovun when vqshrun is used with a zero shift. This is required for building the armv8 assembly with the clang built-in assembler. Change-Id: Ie986978e4508a085e4e4c76f8db9a8a8394c4fec
* arm: Use unified syntax, ldrsheq instead of ldreqshMartin Storsjo2015-06-252-2/+4
| | | | | | | | | clang only supports the new, unified arm syntax (UAL), while binutils gas supports both (and defaults to the old syntax). Explicitly declare that the unified syntax is used, and use the right form of these instructions that is supported by both. Change-Id: I9a3940e060c129861c7a542ccf09035dbd1766ae
* armv8: Use the cmn instruction instead of doing cmp with negative valuesMartin Storsjo2015-06-251-3/+3
| | | | | | | | | | binutils gas automatically converts cmp with negative values to use the cmn instruction instead. This is required for building the armv8 assembly with the clang built-in assembler. Change-Id: If6465ea1bec252446c49cf497153e3ef3dad905a
* armv8: Remove redundant NEON element size declarationsMartin Storsjo2015-06-2511-93/+93
| | | | | | | | | | When specifying one specific lane of the vector, the number of lanes don't need to be specified. The clang built-in assembler doesn't allow the redundant declarations, while binutils gas work fine with both forms. Change-Id: I86077ce0774d4594a1295b6860e4944df87dde2f
* Remove the ithread_exit functionMartin Storsjo2015-06-252-33/+0
| | | | | | | | This function is dangerous since it behaved differently on different platform implementations. It is not used for any actual purpose, and not currently necessary. Change-Id: I9702e9943065235c7a7b29dc6c6eeb36212e7ce1
* Added support for Main Profile toolsets in encoder.Harinarayanan K K2015-06-253-6/+9
| | | | | | | | Added support for CABAC entropy coding. Added support for B slices. Fixed an issue in rate control constant QP mode. Change-Id: Ib759d35e8e943f941aa9b8bbff0362d92c619994
* SSSE3/SSE4 Intrinsics OptimizationsNaveen Kumar Ponnusamy2015-06-258-425/+223
| | | | Change-Id: I55c74d9b2a0b323886d8a80eaad899b187c22cd7
* Fix a typo in gas_ih264_lvl_tbl, set proper sizes for level 1.1Martin Storsjo2015-06-031-2/+2
| | | | | | | | | | The table values themselves were correct, but the level values were swapped for 1.1 and 1B. This fixes encoding using level 1.1, which previously got the wrong (too small) sizes (corresponding to level 1B). Change-Id: Ic0acc58eb5841710ffd8be54bf97800fdbb40855
* Multithreading changes and better error resilienceMarco Nelissen2015-06-038-10875/+9374
| | | | | | | | | | | | Fixed the following bugs Issue 21145276 Issue 21144884 Issue 21181133 Issue 21181134 Decoder now returns error if the level in stream is higher than level at init Change-Id: I8892c62bd98f7854d046510330c05a1e9ca826b2
* Resolved warnings and fixed alignment of few assembliesHarish Mahendrakar2015-05-0546-927/+353
| | | | | | | | | Resolved warnings seen in x86 modules Fixed alignment of few modules Updated comments in few arm modules for consistency Fixed warnings seen in clang build Change-Id: I0623169b5e84a6a6f09c3d2212e754101272f5e9
* fix file permissionsLajos Molnar2015-05-05120-0/+0
| | | | Change-Id: Ia4f99d5b963acd8d8a1afc2fbdf06b122d898f63
* Fixed few issues seen in CTS testsHarish Mahendrakar2015-05-051-1/+1
| | | | | | | | | Added support for encoding non-multiple of 16 dimensions Added support for encoding dimensions smaller than 64x64 Aligned coeff data to 4 byte boundary Bug: 20554276 Change-Id: I111093950f94698296d8499a2845cfe2db6c557b
* Initial versionHamsalekha S2015-04-02120-0/+76864
Change-Id: I7efe9a589cd24edf86e8d086b40c27cbbf8b4017