https://github.com/sdwebimage/libdav1d-xcode
A wrapper for libdav1d + Xcode project. Support Carthage && CocoaPods.
https://github.com/sdwebimage/libdav1d-xcode
aomdec av1 avif carthage cocoapods dav1d ios
Last synced: 2 months ago
JSON representation
A wrapper for libdav1d + Xcode project. Support Carthage && CocoaPods.
- Host: GitHub
- URL: https://github.com/sdwebimage/libdav1d-xcode
- Owner: SDWebImage
- Created: 2019-10-07T16:06:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-17T11:41:45.000Z (over 2 years ago)
- Last Synced: 2025-06-04T03:24:46.052Z (4 months ago)
- Topics: aomdec, av1, avif, carthage, cocoapods, dav1d, ios
- Language: C
- Size: 87.9 KB
- Stars: 13
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# libdav1d + Xcode
[](https://travis-ci.org/SDWebImage/libdav1d-Xcode)
[](http://cocoapods.org/pods/libdav1d)
[](http://cocoapods.org/pods/libdav1d)
[](http://cocoapods.org/pods/libdav1d)
[](https://github.com/SDWebImage/libdav1d-Xcode)
[](https://swift.org/package-manager/)A wrapper for [libdav1d](https://github.com/videolan/dav1d) + Xcode project.
This enables Carthage supportThis repo also including the CocoaPods's spec file to use libdav1d.
## Requirements
+ iOS 9
+ macOS 10.10
+ tvOS 9.0
+ watchOS 2.0## Note for architecture assembly optimization
This Carthage and CocoaPods support on x86_64, disable the architecture specify assembly code, and use the pure C implementation instead. This because both the lack support for CocoaPods and Xcode NASM compiler.
If you want the best performance for specify architecture, try to read the [README](https://github.com/videolan/dav1d/blob/master/README.md) from dav1d to build the pre-built with Meson and Ninja by your own.
The arm32 (armv7/armv7s for iOS, armv7k for watchOS) and arm64 (arm64 for iOS and M1 Mac) use the standard assembly and NEON, so we support them from v1.1.0, which benefit the performance.
## Installation
### Carthage
libdav1d is (via this repo) available through [Carthage](https://github.com/Carthage/Carthage).
```
github "SDWebImage/libdav1d-Xcode"
```### CocoaPods
libdav1d is available through [CocoaPods](https://github.com/CocoaPods/CocoaPods).
```
pod 'libdav1d'
```#### Swift Package Manager (Xcode 11+)
libdav1d is available through [Swift Package Manager](https://swift.org/package-manager).
```swift
let package = Package(
dependencies: [
.package(url: "https://github.com/SDWebImage/libdav1d-Xcode.git", from: "0.7")
]
)
```## Usage
Use libdav1d as you would normally, this is just a repo that adds an Xcode proj.
## License
libdav1d is available under the [BSD 2-Clause License](https://github.com/videolan/dav1d/blob/master/COPYING).