Experimental sticker compression

This commit is contained in:
Ali
2022-02-05 03:53:54 +04:00
parent 44ad75f857
commit ff07040ad6
17 changed files with 2630 additions and 26 deletions

View File

@@ -20,6 +20,8 @@ final class SoftwareAnimationRenderer: ASDisplayNode, AnimationRenderer {
assert(bytesPerRow == calculatedBytesPerRow)
case .yuva:
break
case .dct:
break
}
var image: UIImage?
@@ -56,6 +58,8 @@ final class SoftwareAnimationRenderer: ASDisplayNode, AnimationRenderer {
memcpy(pixelData, baseAddress.assumingMemoryBound(to: UInt8.self), bytes.count)
}
}
case .dct:
break
}
})
}