// // MPT_VideoServerPlugin.h // MPT_VideoServerPlugin // // Created by Andrew Salamon on 6/19/08. // Copyright 2008 Machine Perception Laboratory, University of California San Diego.. All rights reserved. // #import #import #import #import #import "MPT_VideoServerProtocol.h" @interface MPT_VideoServerPlugin : MPT_PluginBase < MPT_PluginProtocolResults, VideoServerProtocol > { IBOutlet NSView *prefView; ImageServerWrapper *videoServer; } - (NSString *)serverName; - (void)setServerName:(NSString *)value; - (ImageServerWrapper *)videoServer; // methods we pass through to the actual server - (BOOL)startWithSize:(NSSize)frameSize; - (void)stop; - (void)setName:(NSString *)value; - (void)setRowBytes:(int)value; - (void)copyFrameToBuffer:(unsigned char *)pixels; - (void)addAudioChunkToCurrentFrame:(AudioStreamBasicDescription)asbd:(Ptr)audioData:(long)audioLen; @end