Class ThincSMsgVideoScale

java.lang.Object
  extended by ThincMsg
      extended by ThincSMsg
          extended by ThincSMsgVideo
              extended by ThincSMsgVideoScale

public final class ThincSMsgVideoScale
extends ThincSMsgVideo

class for scaling the video stream.

Author:
Young Jin Yoon
See Also:
ThincSMsgVideo

Nested Class Summary
 
Nested classes/interfaces inherited from class ThincSMsgVideo
ThincSMsgVideo.ThincVideoStream
 
Field Summary
static int MESSAGE_SIZE
           
static int MESSAGE_TYPE
           
 
Fields inherited from class ThincSMsgVideo
streamId, UYVY, YUY2, YV12
 
Fields inherited from class ThincMsg
canvas, handler
 
Constructor Summary
ThincSMsgVideoScale(ThincMsgHandler h, ThincClientCanvas c)
          creates ThincSMsgVideoScale object.
 
Method Summary
 void process()
          process() gets the stream id,dst_width and dst_height from the server, then set them onto the stream information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE_TYPE

public static final int MESSAGE_TYPE
See Also:
Constant Field Values

MESSAGE_SIZE

public static final int MESSAGE_SIZE
See Also:
Constant Field Values
Constructor Detail

ThincSMsgVideoScale

public ThincSMsgVideoScale(ThincMsgHandler h,
                           ThincClientCanvas c)
creates ThincSMsgVideoScale object.

Parameters:
h - ThincSoundHandler to handle the message
c - ThincClientCanvas to get the information
Method Detail

process

public void process()
             throws ThincException
process() gets the stream id,dst_width and dst_height from the server, then set them onto the stream information.

Specified by:
process in class ThincMsg
Throws:
ThincException