File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.4.0
2
+
3
+ This adds support for packed blocks and incomplete YUV color support.
4
+
5
+ Bug fixes:
6
+ - Fixed a buf where bitfield sample parts referred to the wrong bits.
7
+
8
+ New features:
9
+ - Added ` Block::Pack1x{2,4,8} ` which refer to texel containing multiple pixels
10
+ by bit-packing their sample parts in sequence.
11
+ - Added ` Block::Yuv422,Yuy2,Yuv411 ` which refer to texels containing multiple
12
+ pixels by subsampling some of their sample parts. Their implementation with
13
+ regards to bit packing and unpacking is not yet final.
14
+ - Added ` SampleParts::{UInt1x8,UInt2x4} ` to complement bit packing blocks with
15
+ more low-depth channels in a single texel.
16
+ - More information in ` LayoutError ` for debugging.
17
+ - Added a hidden ` Color::Yuv ` , not part of the official SemVer interface yet.
18
+
1
19
## 0.3.1 (Mustafar)
2
20
3
21
This release is complete enough to provide all relevant RGB-Lab interaction.
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ pub enum Color {
29
29
luminance : Luminance ,
30
30
} ,
31
31
/// A lightness, chroma difference scheme.
32
+ #[ doc( hidden) ]
33
+ #[ deprecated = "DO NOT USE THIS YET! It's members are not final." ]
32
34
Yuv {
33
35
primary : Primaries ,
34
36
whitepoint : Whitepoint ,
@@ -327,6 +329,7 @@ impl Color {
327
329
whitepoint : Whitepoint :: D65 ,
328
330
} ;
329
331
332
+ #[ allow( deprecated) ]
330
333
pub const BT709 : Color = Color :: Yuv {
331
334
luminance : Luminance :: Sdr ,
332
335
primary : Primaries :: Bt709 ,
You can’t perform that action at this time.
0 commit comments