com.soscompany.mpeg4p2.structures
Class MPEG4P2Structure

java.lang.Object
  extended by com.soscompany.utils.BitsStructure
      extended by com.soscompany.mpeg.structures.MPEGStructure
          extended by com.soscompany.mpeg4p2.structures.MPEG4P2Structure
All Implemented Interfaces:
MPEGConsts, MPEG4P2Consts
Direct Known Subclasses:
data_partitioned_i_vop, data_partitioned_motion_shape_texture, define_vop_complexity_estimation_header, Group_of_VideoObjectPlane, motion_shape_texture, read_vop_complexity_estimation_header, user_data, video_plane_with_short_header, video_signal_type, VideoObjectLayer, VideoObjectPlane, VisualObject, VisualObjectSequence

public class MPEG4P2Structure
extends MPEGStructure
implements MPEG4P2Consts


Field Summary
 
Fields inherited from class com.soscompany.mpeg.structures.MPEGStructure
childs
 
Fields inherited from class com.soscompany.utils.BitsStructure
content, sizeOfDataRead
 
Fields inherited from interface com.soscompany.mpeg4p2.utils.MPEG4P2Consts
__3D_MESH_ID, _0, _00, _000_0000_0000_0000_0000_0000, _0000_0000_0000_0000_0000_0001, _0001, _001, _01, _1, _11, _B, _BINARY, _BINARY_ONLY, _EXTENDED_PAR, _FBA_ID, _GMC, _GRAYSCALE, _I, _MESH_ID, _P, _PAUSE, _PIECE, _RECTANGULAR, _S, _STATIC, _STILL_TEXTURE_ID, _STOP, _UPDATE, _VIDEO_ID, group_of_vop_start_code_value, short_video_end_marker_value, short_video_start_marker_value, stuffing_start_code_value, user_data_start_code_value, video_object_layer_start_code_start_value, video_object_layer_start_code_stop_value, video_object_start_code_start_value, video_object_start_code_stop_value, visual_object_sequence_end_start_code_value, visual_object_sequence_start_code_value, visual_object_start_code_value, vop_start_code_value
 
Constructor Summary
MPEG4P2Structure(MPEGElementaryStream file, MPEG4P2Structure parent)
           
 
Method Summary
 define_vop_complexity_estimation_header getCurrentdefine_vop_complexity_estimation_header()
           
 VideoObjectLayer getCurrentVideoObjectLayer()
           
 VideoObjectPlane getCurrentVideoObjectPlane()
           
 VisualObject getCurrentVisualObject()
           
 VisualObjectSequence getCurrentVisualObjectSequence()
           
 int getCurrentVOPCount()
           
 VideoObjectPlane getPreviousVideoObjectPlane()
           
 void newVOP()
           
 void Parse()
           
 void setCurrentdefine_vop_complexity_estimation_header(define_vop_complexity_estimation_header d)
           
 void setCurrentVideoObjectLayer(VideoObjectLayer vol)
           
 void setCurrentVideoObjectPlane(VideoObjectPlane vop)
           
 void setCurrentVisualObject(VisualObject vo)
           
 void setCurrentVisualObjectSequence(VisualObjectSequence vos)
           
 java.lang.String toString()
           
 boolean transparent_mb()
           
 
Methods inherited from class com.soscompany.mpeg.structures.MPEGStructure
addChild, getData, next_start_code, parseChild, setData
 
Methods inherited from class com.soscompany.utils.BitsStructure
bytealigned, getBits, getBits, getSizeOfDataRead, nextbits_bytealigned, nextbits_bytealigned
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MPEG4P2Structure

public MPEG4P2Structure(MPEGElementaryStream file,
                        MPEG4P2Structure parent)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class BitsStructure

Parse

public void Parse()
           throws java.lang.Exception
Overrides:
Parse in class MPEGStructure
Throws:
java.lang.Exception

transparent_mb

public boolean transparent_mb()

newVOP

public void newVOP()

getCurrentVOPCount

public int getCurrentVOPCount()

setCurrentVisualObject

public void setCurrentVisualObject(VisualObject vo)

getCurrentVisualObject

public VisualObject getCurrentVisualObject()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

setCurrentVisualObjectSequence

public void setCurrentVisualObjectSequence(VisualObjectSequence vos)

getCurrentVisualObjectSequence

public VisualObjectSequence getCurrentVisualObjectSequence()
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

setCurrentVideoObjectPlane

public void setCurrentVideoObjectPlane(VideoObjectPlane vop)

getCurrentVideoObjectPlane

public VideoObjectPlane getCurrentVideoObjectPlane()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

getPreviousVideoObjectPlane

public VideoObjectPlane getPreviousVideoObjectPlane()
                                             throws java.lang.Exception
Throws:
java.lang.Exception

setCurrentVideoObjectLayer

public void setCurrentVideoObjectLayer(VideoObjectLayer vol)

getCurrentVideoObjectLayer

public VideoObjectLayer getCurrentVideoObjectLayer()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

setCurrentdefine_vop_complexity_estimation_header

public void setCurrentdefine_vop_complexity_estimation_header(define_vop_complexity_estimation_header d)

getCurrentdefine_vop_complexity_estimation_header

public define_vop_complexity_estimation_header getCurrentdefine_vop_complexity_estimation_header()
                                                                                          throws java.lang.Exception
Throws:
java.lang.Exception