Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-25meson: add "-Werror=missing-prototypes" to the list of optional argumentsJames Almer
Add duplicate prototypes to ref_mvs.c for now, since ref_mvs.h can't be included. Signed-off-by: James Almer <jamrial@gmail.com>
2018-10-23fuzzer: add a standalone fuzzing engine 'none'Janne Grunau
Replaces the boolean 'build_libfuzzer' meson option with 'fuzzing_engine'. This allows reproducing fuzzing test cases on systems without libfuzzer. Also prevents regressions in the fuzzing test target since it will be build by default.
2018-10-19meson: Disable asserts in release buildsMarvin Scholz
Sets the meson b_ndebug option to default to if-release, so that asserts are disabled in release builds.
2018-10-19meson: Define CONFIG_xBPC to 0 for the bitdepths that aren't enabledMartin Storsjö
This fixes warnings like these, if not all bitdepths are enabled: ../src/decode.c: In function ‘dav1d_submit_frame’: ../src/decode.c:2825:5: warning: "CONFIG_10BPC" is not defined [-Wundef] #if CONFIG_10BPC
2018-10-09Build: Change default build type to releaseMarvin Scholz
2018-10-04meson: error on nasm < 2.13Janne Grunau
The x86 asm requires nasm and an error from meson is easier to understand than cryptic errors from nasm.
2018-10-03tests: add libfuzzer test targetJanne Grunau
Disabled by default, enabble with `meson -Dbuild_libfuzzer=true -Db_lundef=false ...`. Fuzz target improved by the paralell work by Thierry Foucu in !138.
2018-10-02Build: Do not warn about unused-parameterMarvin Scholz
2018-10-02Build: Do not warn about maybe-uninitializedMarvin Scholz
2018-10-02meson: Move pkg-config generation in src/Hugo Beauzée-Luyssen
2018-10-02Build: Fix static library buildingMarvin Scholz
Due to bugs in meson the approach with the intermediate static library for tests does not work very well, see #44. Therefore this commits removes that helper library and instead uses extract_all_objects for the tests. Due to the removal of the static helper library, it means we can no longer force static linking for dav1d tool on windows which means that when building a shared library the dav1d.exe will not be runnable in the build directory again. Fix #44
2018-10-01build: use -Werror=vla to prevent variable length arraysJanne Grunau
2018-09-29build: add support for arm/aarch64 asm and integrate checkasmJanne Grunau
2018-09-29add simplistic stdatomic.h compatible with MSVCSteve Lhomme
Only the functions needed with the current code are defined. The header will not work with other compilers. It will need to be updated for each compiler that doesn't have stdatomic.h.
2018-09-29Build: Add build dir to NASM include pathMarvin Scholz
2018-09-29Set build warnings to 2 (-Wextra)Jean-Baptiste Kempf
2018-09-29Build: Re-structure and cleanup meson.build filesMarvin Scholz
2018-09-29Build: Move ext folder to srcMarvin Scholz
2018-09-28Build: Fix library versionMarvin Scholz
2018-09-28Build: Fix thread dependencyMarvin Scholz
2018-09-28Build: Add checkasm testMarvin Scholz
2018-09-28build: use local getopt for anything system where it's missingSteve Lhomme
Do not force include the compat folder as it may contain headers that do exist for the compiler. Include the compat headers individually when they are needed and use an explicit path to compat/
2018-09-28win32: Generate a resource file & link it with the libraryHugo Beauzée-Luyssen
Fix #37
2018-09-28meson: Extract version componentsHugo Beauzée-Luyssen
2018-09-28meson: Don't hardcode the version multiple timesHugo Beauzée-Luyssen
2018-09-28detect unistd.h availabilitySteve Lhomme
It doesn't exist on MSVC and it's not needed.
2018-09-28win32: provide a BSD version of getoptSteve Lhomme
That's the one used in mingw64
2018-09-27build: fix incorrect version.h dependencyShiz
The build system declared `rev_target` to be a dependency of libdav1d instead of libdav1dentrypoint. This causes initial builds to fail, as it is `src/lib.c` from libdav1dentrypoint that includes this file. Move the dependency to libdav1dentrypoint to fix this.
2018-09-27Build: Fix configure fallback for stack alignmentMarvin Scholz
This is a fix for ERROR: Unknown variable "stackrealign_flag" when configuring for x86 on compilers that do not support any of the checked stackalign flags.
2018-09-27meson: Don't probe for pthread on windowsHugo Beauzée-Luyssen
Always use the compatibility layer. Fix #28
2018-09-27Remove HAVE_PTHREAD_H config macroHugo Beauzée-Luyssen
Since we don't want to probe for winpthreads anymore, this macro isn't usefull anymore
2018-09-27x86: MC AVX2Henrik Gramner
2018-09-27x86 asm infrastructureHenrik Gramner
2018-09-27Build: x86 asm supportMarvin Scholz
2018-09-26Build: Do not build libdav1dentrypoint by defaultMarvin Scholz
This library is just a helper and should not be built by default as it is only used to extract the objects and has no use as stand-alone library for uses to link to.
2018-09-26build: add -Wvla to warn about undesired variable length arraysJanne Grunau
2018-09-24Build: Do not add redundant -Wall flagMarvin Scholz
The -Wall flag is already set by default, as mesons `warning_level` defaults to 1, which includes the -Wall flag. Fix #12
2018-09-24Build: Remove _GNU_SOURCE macroMarvin Scholz
No GNU extensions are used.
2018-09-24Build: Change C standard version to C99Marvin Scholz
2018-09-24Build: Use POSIX.1–2001 (IEEE Std 1003.1-2001)Marvin Scholz
Define `_POSIX_C_SOURCE` to `200112L`, to indicate we want to use POSIX.1–2001. Additionally remove incorrect definition of `POSIX_C_SOURCE` (note the lack of underscore at the beginning). The intention was probably to define `_POSIX_C_SOURCE` which would be redundant and previously even conflicting with the other version set previously. For the has_function check, use the correct value of `200112L`.
2018-09-24Build: Remove cargo-cult macro definitionsMarvin Scholz
- _REENTRANT and _THREAD_SAFE were taken from the VLC build system and have since been removed there, so it seems safe to remove those here as well. - _POSIX_PTHREAD_SEMANTICS is required for POSIX thread flavor of threading functions but instead we can define _POSIX_C_SOURCE to a value higher than 199506L, when including <pthread.h>, see https://docs.oracle.com/cd/E19455-01/806-5257/compile-3/index.html - __EXTENSIONS__ is used to enable Solaris extensions, as far as I know we are not using any. - _FILE_OFFSET_BITS is already defined to 64 by meson. - _ISOC99_SOURCE should not be required as we do not support compiling with -std c89. - _ISOC11_SOURCE should not be required as we set -std c11, so we do not need any C11 extensions to C99 as we already use C11. - _POSIX_SOURCE is not required as we already set _POSIX_C_SOURCE to a positive integer. * _XOPEN_SOURCE should not be needed as we already have _POSIX_C_SOURCE. * _XOPEN_SOURCE_EXTENDED should not be required as we do not need any X/Open Unix extensions to my knowledge. * _BSD_SOURCE should not be required as we already set _POSIX_C_SOURCE. * _SVID_SOURCE should not be required as we already set _POSIX_C_SOURCE.
2018-09-23build: also install the `dav1d` binaryNiklas Haas
This currently doesn't get installed at all.
2018-09-23Build: Fix meson build with meson 0.47.xMarvin Scholz
Once meson 0.48 is required, this should be changed back to use the optimization option instead. (See #1)
2018-09-23Build: Only use omit-frame-pointer and fast-math for optimized buildsMarvin Scholz
2018-09-21build: use stack alignment CC flags only on x86Janne Grunau
2018-09-22Add & use a thread compatibility layerHugo Beauzée-Luyssen
2018-09-22Initial decoder implementation.Ronald S. Bultje
With minor contributions from: - Jean-Baptiste Kempf <jb@videolan.org> - Marvin Scholz <epirat07@gmail.com> - Hugo Beauzée-Luyssen <hugo@videolan.org>
2018-09-20Add buildsystem skeletonMarvin Scholz