1
0
mirror of https://github.com/danog/Telegram.git synced 2025-01-22 05:52:06 +01:00
Telegram/Telegraph/TGSharedVideoSignals.h
2015-10-01 19:19:52 +03:00

13 lines
479 B
Objective-C

#import <SSignalKit/SSignalKit.h>
@class TGVideoMediaAttachment;
@class TGMemoryImageCache;
@interface TGSharedVideoSignals : NSObject
+ (NSString *)pathForVideoDirectory:(TGVideoMediaAttachment *)videoAttachment;
+ (SSignal *)squareVideoThumbnail:(TGVideoMediaAttachment *)videoAttachment ofSize:(CGSize)size threadPool:(SThreadPool *)threadPool memoryCache:(TGMemoryImageCache *)memoryCache pixelProcessingBlock:(void (^)(void *, int, int, int))pixelProcessingBlock;
@end