• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

src/H03-May-2022-1,164952

.cargo-checksum.jsonH A D03-May-202289 11

.cargo_vcs_info.jsonH A D01-Jan-197074 65

Cargo.tomlH A D01-Jan-19701.1 KiB3128

Cargo.toml.orig-cargoH A D01-Jan-1970530 1816

LICENSEH A D01-Jan-19701.3 KiB2821

README.mdH A D01-Jan-1970766 2518

README.md

1# YUV formats
2
3This crate implements conversions from YUV/YCbCr formats to RGB. It also contains enums/constants for describing color spaces common in video formats.
4
5Currently it's in an early stage, implementing subset needed for decoding AV1/AVIF.
6
7## Implemented
8
9 * [x] Matrix conversion for BT601, BT709, FCC, BT470BG, SMPTE240
10 * [ ] YCgCo (untested)
11 * [x] Identity pass-through (GBR)
12 * [x] Studio and full range colors
13 * [x] 8-bit, and 10/12 to 16-bit conversions
14
15## Planned
16
17 * [ ] Gamma conversion
18 * [ ] Color primaries conversion
19 * [ ] Chroma upsampling
20 * [ ] RGB to YUV conversion
21 * [ ] YUV pixel convenience functions, like in [`rgb`](//lib.rs/rgb)
22 * [ ] 8-to-16-bit expanding conversion
23 * [ ] HDR to SDR conversion?
24 * [ ] Maybe HDR support?
25