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
Get Avast Free Antivirus | Your top-rated shield against malware and online scams Icon
Get Avast Free Antivirus | Your top-rated shield against malware and online scams

Boost your PC's defense against cyberthreats and web-based scams.

Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
Free Download
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