GithubHelp home page GithubHelp logo

hassanctech / amazon-kinesis-video-streams-pic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from awslabs/amazon-kinesis-video-streams-pic

0.0 1.0 0.0 1.77 MB

License: Apache License 2.0

CMake 0.62% C 48.59% C++ 50.72% Batchfile 0.01% Shell 0.06%

amazon-kinesis-video-streams-pic's Introduction

Amazon Kinesis Video Streams PIC

Platform Indendent Code for Amazon Kinesis Video Streams

Build Status Coverage Status

Key FeaturesBuildRunDocumentationRelatedLicense

Key Features

Build

Download

To download run the following command:

git clone https://github.com/awslabs/amazon-kinesis-video-streams-pic.git

You will also need to install pkg-config and CMake and a build enviroment

Configure

Create a build directory in the newly checked out repository, and execute CMake from it.

mkdir -p amazon-kinesis-video-streams-pic/build; cd amazon-kinesis-video-streams-pic/build; cmake ..

By default we download all the libraries from GitHub and build them locally, so should require nothing to be installed ahead of time. If you do wish to link to existing libraries you can use the following flags to customize your build.

Cross-Compilation

If you wish to cross-compile CC and CXX are respected when building the library and all its dependencies. See our .travis.yml for an example of this. Every commit is cross compiled to ensure that it continues to work.

CMake Arguments

You can pass the following options to cmake ..

  • -DBUILD_DEPENDENCIES -- Whether or not to build depending libraries from source
  • -DBUILD_TEST=TRUE -- Build unit/integration tests, may be useful for confirm support for your device. ./kvspic_test
  • -DCODE_COVERAGE -- Enable coverage reporting
  • -DCOMPILER_WARNINGS -- Enable all compiler warnings
  • -DADDRESS_SANITIZER -- Build with AddressSanitizer
  • -DMEMORY_SANITIZER -- Build with MemorySanitizer
  • -DTHREAD_SANITIZER -- Build with ThreadSanitizer
  • -DUNDEFINED_BEHAVIOR_SANITIZER Build with UndefinedBehaviorSanitizer
  • -DBUILD_DEBUG_HEAP Build debug heap with guard bands and validation. This is ONLY intended for low-level debugging purposes. Default is OFF
  • -DALIGNED_MEMORY_MODEL Build for aligned memory model only devices. Default is OFF.

Build

To build the library run make in the build directory you executed CMake.

make

Note on alignment

The entire PIC codebase is built with aligned memory access to machine native word (up-to 64 bit). The only exception is the heap implementation. In order to provide for tight packing and low-fragmentation, we default to unaligned heap access. For devices and OS-es that do not have unaligned access or unaligned access emulation, -DALIGNED_MEMORY_MODEL CMake argument should be passed in build-time to ensure heap is aligned.

Contributing to this project

If you wish to submit a pull request to this project, please do so on the develop branch. Code from develop will be merged into master periodically as a part of our release cycle.

Documentation

Related

License

This library is licensed under the Apache 2.0 License.

amazon-kinesis-video-streams-pic's People

Contributors

amazon-auto avatar chehefen avatar dd-hassansahibzada avatar disa6302 avatar dwaynehubbard avatar hassanctech avatar jdelapla avatar lherman-cs avatar mushmal avatar niyatim23 avatar nomidia avatar sean-der avatar spotaws avatar ycyang1229 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.