org.jcodec.codecs.mpeg4.es
Class Descriptor

java.lang.Object
  extended by org.jcodec.codecs.mpeg4.es.Descriptor
Direct Known Subclasses:
DecoderSpecific, NodeDescriptor, SL

public abstract class Descriptor
extends Object

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License

Author:
The JCodec project

Constructor Summary
Descriptor(int tag)
           
Descriptor(int tag, int size)
           
 
Method Summary
protected abstract  void doWrite(ByteBuffer out)
           
static
<T> T
find(Descriptor es, Class<T> class1, int tag)
           
protected abstract  void parse(ByteBuffer input)
           
static Descriptor read(ByteBuffer input)
           
 void write(ByteBuffer out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Descriptor

public Descriptor(int tag)

Descriptor

public Descriptor(int tag,
                  int size)
Method Detail

write

public void write(ByteBuffer out)

doWrite

protected abstract void doWrite(ByteBuffer out)

read

public static Descriptor read(ByteBuffer input)

parse

protected abstract void parse(ByteBuffer input)

find

public static <T> T find(Descriptor es,
                         Class<T> class1,
                         int tag)


Copyright © 2013. All Rights Reserved.