50 #ifndef MPEGDESCRIPTOR_H_
51 #define MPEGDESCRIPTOR_H_
63 namespace dataprocessing {
69 static const unsigned short MAX_DESCRIPTOR_SIZE = 257;
74 unsigned char descriptorTag;
75 unsigned char descriptorLength;
78 unsigned short currentSize;
80 virtual int process();
81 virtual int updateStream();
83 virtual unsigned int calculateDescriptorSize();
90 char addData(
char* data,
unsigned short length);
91 unsigned char isConsolidated();
93 unsigned char getDescriptorTag();
94 unsigned char getDescriptorLength();
97 int getStream(
char** dataStream);
99 void setDescriptorTag(
unsigned char tag);
102 vector<MpegDescriptor*>* descriptors,
unsigned char Tag);
104 static vector<MpegDescriptor*>* getDescriptors(
105 vector<MpegDescriptor*>* descriptors,
unsigned char Tag);
107 static int getDescriptorsLength(vector<MpegDescriptor*>* descriptors);
Definition: MpegDescriptor.h:67