mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +01:00
1 parent
bdfbdf407e
commit
b4cd9b8d3c
3 files changed
+6
-31
No files matched your search
@@ -455,10 +455,9 @@ pri func decoder.assign_filter_distance!() {
|
||||
|
||||
} else if this.color_type == 4 {
|
||||
if this.depth == 8 {
|
||||
this.dst_pixfmt = base.PIXEL_FORMAT__BGRA_NONPREMUL
|
||||
this.src_pixfmt = base.PIXEL_FORMAT__BGRA_NONPREMUL
|
||||
this.dst_pixfmt = base.PIXEL_FORMAT__YA_NONPREMUL
|
||||
this.src_pixfmt = base.PIXEL_FORMAT__YA_NONPREMUL
|
||||
this.filter_distance = 2
|
||||
choose filter_and_swizzle = [filter_and_swizzle_tricky]
|
||||
} else if this.depth == 16 {
|
||||
this.dst_pixfmt = base.PIXEL_FORMAT__BGRA_NONPREMUL_4X16LE
|
||||
this.src_pixfmt = base.PIXEL_FORMAT__BGRA_NONPREMUL_4X16LE
|
||||
|
||||
Reference in new issue
Block a user