DCV Color Primitives is a library to perform image color model conversion. Aware of the underlying hardware and supplemental cpu extension sets (up to avx2). Support data coming from a single buffer or coming from multiple image planes. Support non-tightly packed data. Support images greater than 4GB (64 bit). Convert an image from bgra to nv12 (single plane) format containing yuv in BT601. You might want to propagate errors to the caller function or mix with some other error types. So far, buffers were sized taking into account the image pixel format and dimensions; However, you can use a function to compute how many bytes are needed to store an image of a given format and size. If your data is scattered in multiple buffers that are not necessarily contiguous, you can provide image planes. To take into account data which is not tightly packed, you can provide image strides.

Features

  • DCV Color Primitives Library
  • Supports YCbCr, ITU-R Recommendation BT.601 (standard video system)
  • Supports YCbCr, ITU-R Recommendation BT.709 (CSC systems)
  • Both standard range (0-235) and full range (0-255) are supported
  • Requires Rust 1.55 and newer (until DCP 0.2: At least Rust 1.39)
  • Requires Python3 and Fractions module (needed only if you want to execute the benchmark)

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow DCV Color Primitives

DCV Color Primitives Web Site

Other Useful Business Software
Deploy Apps in Seconds with Cloud Run Icon
Deploy Apps in Seconds with Cloud Run

Host and run your applications without the need to manage infrastructure. Scales up from and down to zero automatically.

Cloud Run is the fastest way to deploy containerized apps. Push your code in Go, Python, Node.js, Java, or any language and Cloud Run builds and deploys it automatically. Get fast autoscaling, pay only when your code runs, and skip the infrastructure headaches. Two million requests free per month. And new customers get $300 in free credit.
Try Cloud Run Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DCV Color Primitives!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Software Development Software, Rust Libraries

Registered

2022-07-05