net.sourceforge.dvb.projectx.parser
Class StreamProcessBase

java.lang.Object
  |
  +--net.sourceforge.dvb.projectx.parser.StreamProcessBase
Direct Known Subclasses:
StreamProcessAudio, StreamProcessLPCMAudio, StreamProcessSubpicture, StreamProcessTeletext

public class StreamProcessBase
extends java.lang.Object

main thread


Field Summary
 int ERRORCODE
           
 int MainBufferSize
           
 
Constructor Summary
StreamProcessBase()
           
 
Method Summary
 int checkPTSMatch(long[] video_pts_values, long[] data_pts_values)
           
 java.lang.String FramesToTime(int framenumber, double framelength)
           
 java.lang.String infoPTSMatch(java.lang.String filename_pts, java.lang.String videofile_pts, boolean video_pts, boolean data_pts)
           
 void init()
           
 long[][] loadTempOtherPts(java.lang.String filename_pts, java.lang.String message_1, java.lang.String message_2, java.lang.String message_3, java.lang.String message_4, int es_streamtype, boolean ignoreErrors, boolean debug)
          loadTempOtherPts
 long[][] loadTempVideoPts(java.lang.String videofile_pts, boolean debug)
          loadTempVideoPts
 boolean pause()
           
 boolean SyncCheck(int[] vw, double timecount, double timelength, long timeline, int mpf, long[] vptsval, long[] vtime, boolean awrite, boolean debug)
          synccheck A/V
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERRORCODE

public int ERRORCODE

MainBufferSize

public int MainBufferSize
Constructor Detail

StreamProcessBase

public StreamProcessBase()
Method Detail

init

public void init()

pause

public boolean pause()

FramesToTime

public java.lang.String FramesToTime(int framenumber,
                                     double framelength)

loadTempVideoPts

public long[][] loadTempVideoPts(java.lang.String videofile_pts,
                                 boolean debug)
loadTempVideoPts

loadTempOtherPts

public long[][] loadTempOtherPts(java.lang.String filename_pts,
                                 java.lang.String message_1,
                                 java.lang.String message_2,
                                 java.lang.String message_3,
                                 java.lang.String message_4,
                                 int es_streamtype,
                                 boolean ignoreErrors,
                                 boolean debug)
loadTempOtherPts

checkPTSMatch

public int checkPTSMatch(long[] video_pts_values,
                         long[] data_pts_values)

infoPTSMatch

public java.lang.String infoPTSMatch(java.lang.String filename_pts,
                                     java.lang.String videofile_pts,
                                     boolean video_pts,
                                     boolean data_pts)

SyncCheck

public boolean SyncCheck(int[] vw,
                         double timecount,
                         double timelength,
                         long timeline,
                         int mpf,
                         long[] vptsval,
                         long[] vtime,
                         boolean awrite,
                         boolean debug)
synccheck A/V