2022-02-05 03:53:54 +04:00

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)
}