Have std/png produce PIXEL_FORMAT__Y_16LE

Updates #46
This commit is contained in:
Nigel Tao committed 2021-04-16 14:34:48 +10:00
1 parent 2dddd388bc
commit 5764f77913
4 files changed
+105 -36

No files matched your search

+1 -1
View File
@@ -303,7 +303,7 @@ pri func decoder.assign_filter_distance!() {
this.src_pixfmt = base.PIXEL_FORMAT__Y
this.filter_distance = 1
} else if this.depth == 16 {
this.dst_pixfmt = base.PIXEL_FORMAT__Y // TODO: PIXEL_FORMAT__Y_16LE
this.dst_pixfmt = base.PIXEL_FORMAT__Y_16LE
this.src_pixfmt = base.PIXEL_FORMAT__Y_16BE
this.filter_distance = 2
}