Commit 32f656f
authored
implement yuv and other colorspaces and "bufferless"
* implement yuv and 'bufferless' TextureArraY
* unbuffered and yuv420 works
* warning on tooltip
* NDImage always uses unbuffered, support colorspaces in NDIMage
* update docstrings
* by default disable AA and set pixel_scale=1.0 for performance
* unpacked yuv support
* independent graphics and texture features for rgb and yuv
* docstrings
* docstrings
* import order
* yuv graphic working nicely
* add enum to top level namespace
* update script to produce add graphics mixin
* add yuv example
* update ndimage with yuv stuff
* fixes
* yuv video working well with NDWidgetTextureArray (#1033)1 parent b7c15de commit 32f656fCopy full SHA for 32f656f
21 files changed
+1,086-278Lines changed: 1086 additions & 278 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- examples/image
- fastplotlib
- graphics
- features
- selectors
- layouts
- utils
- widgets/nd_widget
- scripts
Expand file treeCollapse file tree
Open diff view settings
Collapse file
examples/image/image_yuv.py
Copy file name to clipboard+56Lines changed: 56 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
| 9 | + |
9 | 10 | |
10 | 11 | |
11 | 12 | |
|
Collapse file
fastplotlib/graphics/__init__.py
Copy file name to clipboardExpand all lines: fastplotlib/graphics/__init__.py+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
| 4 | + |
5 | 5 | |
6 | 6 | |
7 | 7 | |
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
| 17 | + |
17 | 18 | |
18 | 19 | |
19 | 20 | |
|
Collapse file
fastplotlib/graphics/features/__init__.py
Copy file name to clipboardExpand all lines: fastplotlib/graphics/features/__init__.py+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
| 30 | + |
| 31 | + |
30 | 32 | |
31 | 33 | |
32 | 34 | |
| ||
93 | 95 | |
94 | 96 | |
95 | 97 | |
| 98 | + |
| 99 | + |
96 | 100 | |
97 | 101 | |
98 | 102 | |
|
0 commit comments