{"id":27129267,"url":"https://github.com/sdwebimage/libaom-xcode","last_synced_at":"2025-04-07T19:32:32.592Z","repository":{"id":56932596,"uuid":"179712925","full_name":"SDWebImage/libaom-Xcode","owner":"SDWebImage","description":"A wrapper for libaom + Xcode project. Support Carthage \u0026\u0026 CocoaPods \u0026\u0026 SwiftPM.","archived":false,"fork":false,"pushed_at":"2023-05-16T06:55:46.000Z","size":11709,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-29T12:25:40.501Z","etag":null,"topics":["aomdec","av1","avif","carthage","ios","macos","swiftpm","xcode"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SDWebImage.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-04-05T15:58:48.000Z","updated_at":"2023-05-12T10:00:52.000Z","dependencies_parsed_at":"2024-01-29T10:19:20.940Z","dependency_job_id":null,"html_url":"https://github.com/SDWebImage/libaom-Xcode","commit_stats":{"total_commits":33,"total_committers":2,"mean_commits":16.5,"dds":"0.33333333333333337","last_synced_commit":"b00c20d10f13608c7579aad1f849e0f815d4d3a8"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SDWebImage%2Flibaom-Xcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SDWebImage%2Flibaom-Xcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SDWebImage%2Flibaom-Xcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SDWebImage%2Flibaom-Xcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SDWebImage","download_url":"https://codeload.github.com/SDWebImage/libaom-Xcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247716487,"owners_count":20984248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aomdec","av1","avif","carthage","ios","macos","swiftpm","xcode"],"created_at":"2025-04-07T19:31:30.002Z","updated_at":"2025-04-07T19:32:32.586Z","avatar_url":"https://github.com/SDWebImage.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libaom + Xcode\n\n[![CI Status](http://img.shields.io/travis/SDWebImage/libaom-Xcode.svg?style=flat)](https://travis-ci.com/SDWebImage/libaom-Xcode)\n[![Version](https://img.shields.io/cocoapods/v/libaom.svg?style=flat)](http://cocoapods.org/pods/libaom)\n[![License](https://img.shields.io/cocoapods/l/libaom.svg?style=flat)](http://cocoapods.org/pods/libaom)\n[![Platform](https://img.shields.io/cocoapods/p/libaom.svg?style=flat)](http://cocoapods.org/pods/libaom)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/SDWebImage/libaom-Xcode)\n[![SwiftPM compatible](https://img.shields.io/badge/SwiftPM-compatible-brightgreen.svg)](https://swift.org/package-manager/)\n\nA wrapper for [libaom](https://aomedia.googlesource.com/aom/) + Xcode project.\nThis enables Carthage \u0026\u0026 SwiftPM support.\n\nThis repo also including the CocoaPods's spec file to use libaom.\n\n## Requirements\n\n+ iOS 9\n+ macOS 10.10\n+ tvOS 9.0\n+ watchOS 2.0\n\n## Note for legacy version\n\n+ v1.0.2 is tagged with upstream `1.0.0-errata1-avif`\n+ v1.0.1 \u0026\u0026 v1.0.0 is tagged with upstream `3563b12b` hash, which used by libheif dependency (no huge difference between `1.0.0-errata1`)\n\nFrom v2.0.0+, the version match the upstream version.\n\nHowever, the Xcode (SPM/Carthage/CocoaPods) support, 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.\n\nIf you want the best performance for specify architecture, use the pre-build static library in `lib` from [1.0.0 release](https://github.com/SDWebImage/libaom-Xcode/releases/tag/1.0.0). Which use the CMake and NASM with the full assembly optimization.\n\nExample to build with NEON support on arm64 iOS:\n\n```\ncd aom\nmkdir dist \u0026\u0026 cd dist\ncmake .. -DCMAKE_TOOLCHAIN_FILE=../build/cmake/toolchains/arm64-ios.cmake\nmake\n```\n\n## Installation\n\n### Carthage\n\nlibaom is (via this repo) available through [Carthage](https://github.com/Carthage/Carthage).\n\n```\ngithub \"SDWebImage/libaom-Xcode\"\n```\n\n### CocoaPods\n\nlibaom is available through [CocoaPods](https://github.com/CocoaPods/CocoaPods).\n\n```\npod 'libaom'\n```\n\n### SwiftPM\n\nlibaom is available through [Swift Package Manager](https://img.shields.io/badge/SwiftPM-compatible-brightgreen.svg).\n\n```swift\nlet package = Package(\n    dependencies: [\n        .package(url: \"https://github.com/SDWebImage/libaom-Xcode\", from: \"1.0.2\")\n    ],\n    // ...\n)\n```\n\n## Usage\n\nUse libaom as you would normally, this is just a repo that adds an Xcode proj.\n\nFor Swift Package Manager user, it's recommended to use the modular import instead of C headers.\n\n+ Objective-C\n\n```objective-c\n@import libaom;\n// or if you don't use module\n#import \u003caom/aom.h\u003e\n```\n\n+ Swift\n\n```swift\nimport libaom\n```\n\n## License\n\nlibaom is available under the [Alliance for Open Media Patent License](https://aomedia.org/license/software-license/).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdwebimage%2Flibaom-xcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdwebimage%2Flibaom-xcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdwebimage%2Flibaom-xcode/lists"}