Commit graph

18 commits

Author SHA1 Message Date
Martin Storsjo
0ddd967709 Fix a typo in gai4_ih264_max_luma_pic_size 2015-10-09 11:35:25 -07:00
Martin Storsjo
698de0ed5c Mark arrays of pointers as const
Previously they were only marked as the pointers pointing to const
data, but the array themselves being non-const.

Bug: 22860270

Change-Id: Ib5a9af6298615b2c40367a21e728899418b09935
2015-07-31 18:47:25 +00:00
Martin Storsjo
04370c1717 Remove all other thread implementations than pthread
Change-Id: Id30fc1a9c007f2f32ed3375bbf02085f0edad5a0
2015-06-25 08:25:58 -07:00
Martin Storsjo
086dd8ea90 Don't declare variables after statements
This fixes building with compilers that are strict about the pre-C99
rule about having all variable declarations before statements.

Change-Id: I06dd0cc42a6dbe90025c3c913a0c8d9ffb0acbcb
2015-06-25 08:25:58 -07:00
Martin Storsjo
c6488980b2 Remove some unused source files and headers
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
2015-06-25 08:25:52 -07:00
Martin Storsjo
0ce73fe558 arm: Use vqmovun instead of vqshrun #0
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
2015-06-25 08:25:47 -07:00
Martin Storsjo
b5cec4f95f arm: Use unified syntax, ldrsheq instead of ldreqsh
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
2015-06-25 08:25:47 -07:00
Martin Storsjo
b6d4342f4f armv8: Use the cmn instruction instead of doing cmp with negative values
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
2015-06-25 08:25:46 -07:00
Martin Storsjo
9f81a0a202 armv8: Remove redundant NEON element size declarations
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
2015-06-25 08:25:46 -07:00
Martin Storsjo
3806807d70 Remove the ithread_exit function
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
2015-06-25 08:25:45 -07:00
Harinarayanan K K
3749f6f435 Added support for Main Profile toolsets in encoder.
Added support for CABAC entropy coding.
Added support for B slices.
Fixed an issue in rate control constant QP mode.

Change-Id: Ib759d35e8e943f941aa9b8bbff0362d92c619994
2015-06-25 08:25:43 -07:00
Naveen Kumar Ponnusamy
796e3c8de8 SSSE3/SSE4 Intrinsics Optimizations
Change-Id: I55c74d9b2a0b323886d8a80eaad899b187c22cd7
2015-06-25 08:25:42 -07:00
Martin Storsjo
e398f0eccb Fix a typo in gas_ih264_lvl_tbl, set proper sizes for level 1.1
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
2015-06-03 08:45:29 -07:00
Marco Nelissen
8ef4c3f614 Multithreading changes and better error resilience
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
2015-06-03 07:27:36 -07:00
Harish Mahendrakar
7497191460 Resolved warnings and fixed alignment of few assemblies
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
2015-05-05 17:51:53 +00:00
Lajos Molnar
a2b49e5f05 fix file permissions
Change-Id: Ia4f99d5b963acd8d8a1afc2fbdf06b122d898f63
2015-05-05 17:51:34 +00:00
Harish Mahendrakar
3a52efd361 Fixed few issues seen in CTS tests
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
2015-05-05 17:45:29 +00:00
Hamsalekha S
8d3d303c79 Initial version
Change-Id: I7efe9a589cd24edf86e8d086b40c27cbbf8b4017
2015-04-02 15:59:02 +05:30