summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Convert external/libavc to Android.bpColin Cross2017-05-024-34/+41
| | | | | | | See build/soong/README.md for more information. Test: m -j checkbuild Change-Id: I302d98be9e99fce7284a44af329e22f38a2f066a
* Merge \"Encoder: Added support for configuring VUI parameters.\" into ↵Doney Alex2016-07-131-0/+64
|\ | | | | | | | | | | | | | | nyc-mr1-dev am: ba8f1f9ef3 Change-Id: I2a634e1e1eab71aca8816a7be2f01dc96f68910f
| * Merge "Encoder: Added support for configuring VUI parameters." into nyc-mr1-devHangyu Kuang2016-07-131-0/+64
| |\
| | * Encoder: Added support for configuring VUI parameters.Doney Alex2016-07-121-0/+64
| | | | | | | | | | | | | | | | | | Bug: 27442922 Change-Id: I781195e78c480e7449f49467abb1df71902e568d
| * | DO NOT MERGE Decoder: Added support for exporting VUI paramsHarish Mahendrakar2016-07-111-0/+23
| |/ | | | | | | | | | | Bug: 27442922 Change-Id: I4bc3a9fb31ffea1e9e8ae32e5ed49fcc12fbdf42
| * DO NOT MERGE Encoder: Added support for Constrained intra prediction.Doney Alex2016-03-112-0/+12
| | | | | | | | Change-Id: I674746047b2b007ca4bc52fad1a2cd9b177cd7bb
* | Decoder: Added support for exporting VUI paramsHarish Mahendrakar2016-06-221-0/+23
| | | | | | | | | | | | Bug: 27442922 Change-Id: I4bc3a9fb31ffea1e9e8ae32e5ed49fcc12fbdf42
* | Encoder: Added sample encoder config file to be used with avcencHarish Mahendrakar2016-06-161-0/+47
| | | | | | | | | | | | | | avcenc takes command line arguments and as well as supports passing arguments through a config file Change-Id: I106814d684bc363863b357a836e7804a65eedaec
* | Decoder: Added sample decoder config file to be used with avcdecHarish Mahendrakar2016-06-131-0/+12
| | | | | | | | | | | | | | avcdec takes command line arguments and as well as supports passing arguments through a config file Change-Id: Icc1dec3f735f89d510f548641896b7cfac676a2b
* | Moved ALOGE and android_errorWriteLog calls under #ifdef __ANDROID__Harish Mahendrakar2016-04-181-1/+1
| | | | | | | | | | | | Also added shared library liblog to test\decoder.mk Change-Id: If7793f849522dd3f93a5177bab91f4ea5ada41ad
* | Encoder: Added support for Constrained intra prediction.Doney Alex2016-02-242-0/+12
|/ | | | Change-Id: I674746047b2b007ca4bc52fad1a2cd9b177cd7bb
* Decoder: Fixed an issue in handling flushHarish Mahendrakar2015-09-021-5/+10
| | | | | | | | | | | | | Fixed a NULL pointer reference, when flush is called before decoding any pictures. This was seen in following CTS test, android.media.cts.DecoderTest#testCodecResetsH264WithSurface Fixed code formatting issues in ih264d_set_flush_mode Updated the testbench to call flush before decoding starts Change-Id: Ib04e0b15573b2482c9d5b43c8bc7dd30d8f8efdd
* Decoder: Reduced memory requirementsHarish Mahendrakar2015-08-041-336/+253
| | | | | | | | | Memory allocations are now done based on contents of SPS API changed to move allocations inside the library Also changed strlen to strnlen Change-Id: I9130457f564cddb4da7ec6399cc9fe88ee871217
* avcenc: Initialize avg_timeMartin Storsjo2015-07-281-0/+1
| | | | | | This fixes valgrind warnings when encoding with b-frames. Change-Id: I922314e5e6fd09db3ba60e60863e2611309886d5
* Merge "Remove the now unused stride field from the set dimensions struct"Marco Nelissen2015-07-281-1/+0
|\
| * Remove the now unused stride field from the set dimensions structMartin Storsjo2015-06-271-1/+0
| | | | | | | | | | | | | | Since 90a3904fd3 and d020be5ac7, this field doesn't have any actual effect - the strides are taken from the input pictures. Change-Id: I9b08cbf8ee558e038d0017a6176d7b3bd3c428bd
* | Remove double semicolons (empty statements)Martin Storsjo2015-06-271-1/+1
|/ | | | | | Some compilers can't handle this, and these occurrances are typos. Change-Id: I82349f103cef1f196d1a85dae307aff83c7d6090
* avcenc: Make sure that "avcenc --help" works as intendedMartin Storsjo2015-06-241-0/+5
| | | | | | | The --help option is handled by the normal argument parsing loop below, but that is only invoked if argc > 2. Change-Id: Icff3625412c340565c062628f2657c41db73068e
* Added code to handle cases with qp less than 10Harinarayanan K K2015-06-241-1/+1
| | | | | | | | | | | | When qp goes less than 10, all I16x16 mode evaluations are disabled and I4x4 evaluations are enabled irrespective of preset. This will ensure that the residual will not exceed the supported range of entropy Minimum Qp cannot be set less than 4 now. When QP goes lesser, the residual may exceed the supported range even with I4x4 enabled. Change-Id: I25b404fcd9c9e9dbdd77679280968635ee047eb3
* Reduced memory requirements.Harinarayanan K K2015-06-241-1/+1
| | | | | | | | | | | | | | | | Buffer allocation is based on minimum level required for the input resolution rather than the input max level. Number of maximum context sets can be set to 1 to reduce memory usage. Added a macro ENC_MIN_PU_SIZE for minimum size of inter prediction unit supported by encoder. Changed the maximum constraint on number of MBs for NMB processing to width in Mbs. Change-Id: I5a9255e93935d90c13262681aafc772aedf8ae81
* Don't include <sys/time.h> if WINDOWS_TIMER is setMartin Storsjo2015-06-246-5/+4
| | | | | | | | | | If WINDOWS_TIMER is set, windows.h is supposed to be used instead, and sys/time.h isn't available. This reduces the amount of duplicated include directives in the test apps. Change-Id: I223d80c4ccaed2aab55e3aae66dab903ecacef7a
* Remove unnecessary calls to ithread_exitMartin Storsjo2015-06-241-3/+0
| | | | | | | | | | | | | The ithread_exit wrapper function behaves inconsistently across platforms; on windows, the argument is a thread handle, denoting the thread that will be exited. On pthreads, ithread_exit only terminates the current thread, not any other thread. These both calls are at the end of each thread function (and the one with a non-null parameter refers to the handle of the thread itself), so the thread will exit immediately anyway. Change-Id: I21e43c56874729452bd80b28ff351e3c5d3f087e
* Improved error resilience in decoderHamsalekha S2015-06-241-72/+70
| | | | | | | | Fixed buffer management for error cases Fixed end of picture detection logic for multiple slice error cases Fixed handling of incomplete frame, missing slices. Change-Id: Iae447667e4d88869a8bf992180cacd77870b9877
* Added support for Main Profile toolsets in encoder.Harinarayanan K K2015-06-244-147/+204
| | | | | | | | Added support for CABAC entropy coding. Added support for B slices. Fixed an issue in rate control constant QP mode. Change-Id: Ib759d35e8e943f941aa9b8bbff0362d92c619994
* avcenc: Check that enough arguments exist before parsingMartin Storsjo2015-06-221-1/+1
| | | | | | | | | Each round in the loop uses both argv[i] and argv[i + 1]. This fixes crashes if given an odd number of parameters, 3 or more. Change-Id: I9b8be99042eb7d0f69ebd87166d9cc920d15a950
* Fixed an overread in YUV420 Semi-planar input usecaseHarish Mahendrakar2015-06-112-2/+2
| | | | | | | Handled non-multiple of 16 dimensions for 420 semiplanar input Modified test code to remove alignment of width and height Change-Id: I83ff8165364a863d577fcac81e711b07eec9c004
* Multithreading changes and better error resilienceHamsalekha S2015-05-192-1/+37
| | | | | | | | | | | | 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-051-7/+13
| | | | | | | | | 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-0511-0/+0
| | | | Change-Id: Ia4f99d5b963acd8d8a1afc2fbdf06b122d898f63
* Fixed few issues seen in CTS testsHarish Mahendrakar2015-04-283-9/+6
| | | | | | | | Added support for encoding non-multiple of 16 dimensions Added support for encoding dimensions smaller than 64x64 Aligned coeff data to 4 byte boundary Change-Id: I111093950f94698296d8499a2845cfe2db6c557b
* Initial versionHamsalekha S2015-04-0211-0/+7036
Change-Id: I7efe9a589cd24edf86e8d086b40c27cbbf8b4017