mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-02-16 10:31:02 +00:00
25 lines
693 B
Objective-C
25 lines
693 B
Objective-C
//
|
|
// VideoDecoderRenderer.h
|
|
// Moonlight
|
|
//
|
|
// Created by Cameron Gutman on 10/18/14.
|
|
// Copyright (c) 2014 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
@import AVFoundation;
|
|
|
|
#import "ConnectionCallbacks.h"
|
|
|
|
@interface VideoDecoderRenderer : NSObject
|
|
|
|
- (id)initWithView:(UIView*)view callbacks:(id<ConnectionCallbacks>)callbacks streamAspectRatio:(float)aspectRatio useFramePacing:(BOOL)useFramePacing;
|
|
|
|
- (void)setupWithVideoFormat:(int)videoFormat frameRate:(int)frameRate;
|
|
- (void)start;
|
|
- (void)stop;
|
|
- (void)setHdrMode:(BOOL)enabled;
|
|
|
|
- (int)submitDecodeBuffer:(unsigned char *)data length:(int)length bufferType:(int)bufferType frameType:(int)frameType pts:(unsigned int)pts;
|
|
|
|
@end
|