Skip to content

Commit

Permalink
Merge pull request #58 from aws/wip/fabiosky/yuv_fr
Browse files Browse the repository at this point in the history
Add YCbCr full range support
  • Loading branch information
pbor authored Jan 18, 2022
2 parents a1c538d + 63d99a3 commit 28bba7c
Show file tree
Hide file tree
Showing 14 changed files with 2,697 additions and 221 deletions.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dcv-color-primitives"
version = "0.3.1"
version = "0.4.0"
edition = "2018"
description = "a library to perform image color model conversion"
license = "MIT-0"
Expand All @@ -14,6 +14,9 @@ categories = ["graphics"]
name = "dcv_color_primitives"
crate-type = ["staticlib", "rlib"]

[dependencies]
paste = "1.0"

[dev-dependencies]
criterion = "0.3"
itertools = "0.10"
Expand Down
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
News in 0.4.0
-------------
* YCbCr full range support
* Fixed C bindings documentation
* Fixed C bindings unit tests

News in 0.3.1
-------------
* Fix build issue by linking bcrypt
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ The supported color models are:
* YCbCr, ITU-R Recommendation BT.601 (standard video system)
* YCbCr, ITU-R Recommendation BT.709 (CSC systems)

Both standard range (0-235) and full range (0-255) are supported.

## Requirements

* Rust 1.55 and newer (until DCP 0.2: At least Rust 1.39)
Expand Down Expand Up @@ -427,8 +429,8 @@ default build.

In order to include DCV Color Primitives inside your application library, you need to:
* Statically link to dcv_color_primitives
* Link to ws2_32.lib and userenv.lib, for Windows
* Link to dl, for Linux
* Link to ws2_32.lib, userenv.lib and bcrypt.lib, for Windows
* Link to libdl and libm, for Linux

The API is slightly different than the rust one. Check dcv_color_primitives.h for examples and further information.

Expand Down
Loading

0 comments on commit 28bba7c

Please sign in to comment.