Commit 5bbfaab
committed
encoder: add 10/12-bit packed YCbCr format support
- Add R10X6 and R12X4 single-channel packed formats to image view creation
- Extend vkFormatInfo table with 10/12-bit packed formats:
R10X6/R12X4 (1-ch), R10X6G10X6/R12X4G12X4 (2-ch), and 4-channel variants
- Replace local getFormatTexelSize() with vkFormatLookUp() for texel size
- Add VulkanAqProcessor.h include guarded with NV_AQ_GPU_LIB_SUPPORTED
Signed-off-by: Tony Zlatinski <[email protected]>1 parent 95db26b commit 5bbfaab
File tree
3 files changed
+15
-22
lines changed- common/libs/VkCodecUtils
- vk_video_encoder/libs/VkVideoEncoder
3 files changed
+15
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
252 | 254 | | |
253 | 255 | | |
254 | 256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
46 | 30 | | |
47 | 31 | | |
48 | 32 | | |
| |||
101 | 85 | | |
102 | 86 | | |
103 | 87 | | |
104 | | - | |
| 88 | + | |
| 89 | + | |
105 | 90 | | |
106 | 91 | | |
107 | 92 | | |
108 | | - | |
| 93 | + | |
109 | 94 | | |
110 | 95 | | |
111 | 96 | | |
112 | 97 | | |
113 | 98 | | |
114 | 99 | | |
115 | | - | |
| 100 | + | |
116 | 101 | | |
117 | 102 | | |
118 | 103 | | |
| |||
0 commit comments