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
Cut Cloud Costs with Google Compute Engine Icon
Cut Cloud Costs with Google Compute Engine

Save up to 91% with Spot VMs and get automatic sustained-use discounts. One free VM per month, plus $300 in credits.

Save on compute costs with Compute Engine. Reduce your batch jobs and workload bill 60-91% with Spot VMs. Compute Engine's committed use offers customers up to 70% savings through sustained use discounts. Plus, you get one free e2-micro VM monthly and $300 credit to start.
Try Compute Engine
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