mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
16 lines
429 B
Swift
16 lines
429 B
Swift
import Foundation
|
|
import SwiftSignalKit
|
|
import AsyncDisplayKit
|
|
|
|
public enum AnimationRendererFrameType {
|
|
case argb
|
|
case yuva
|
|
case dct
|
|
}
|
|
|
|
protocol AnimationRenderer {
|
|
func render(queue: Queue, width: Int, height: Int, bytesPerRow: Int, data: Data, type: AnimationRendererFrameType, mulAlpha: Bool, completion: @escaping () -> Void)
|
|
|
|
func setOverlayColor(_ color: UIColor?, replace: Bool, animated: Bool)
|
|
}
|