Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Core::VideoSet::Mpeg7DocAudio::ReadData ( String  fileName,
Util::IOBuffer ioBuf 
) [inline, private]

Definition at line 213 of file Mpeg7DocAudio.h.

References AddSegment(), Impala::Util::XmlDoc::GetChildNode(), Impala::Util::XmlDoc::GetChildNodeAfter(), Impala::Util::XmlDoc::GetChildNodes(), GetFractions(), GetMediaDuration(), ILOG_DEBUG, mFractions, mNrFrames, and Impala::Persistency::XmlFileReader::Read().

Referenced by Mpeg7DocAudio().

00214     {
00215         Persistency::XmlFileReader reader;
00216         DOMDocument* doc = reader.Read(fileName, ioBuf);
00217         delete ioBuf;
00218         DOMNode* mpeg7 = GetChildNode(doc, "Mpeg7", true);
00219         DOMNode* desc1 = GetChildNode(mpeg7, "Description", true);
00220         DOMNode* desc2 = GetChildNodeAfter(mpeg7, desc1, "Description", true);
00221         DOMNode* mmContent = GetChildNode(desc2, "MultimediaContent", true);
00222         DOMNode* audio = GetChildNode(mmContent, "Audio", true);
00223         DOMNode* mediaTime = GetChildNode(audio, "MediaTime", true);
00224         mNrFrames = GetMediaDuration(mediaTime);
00225         ILOG_DEBUG("nrFrames = " << mNrFrames);
00226         mFractions = GetFractions(mediaTime);
00227         ILOG_DEBUG("fractions = " << mFractions);
00228         DOMNode* decomp = GetChildNode(audio, "TemporalDecomposition", true);
00229         std::vector<DOMNode*> segments = GetChildNodes(decomp, "AudioSegment");
00230         ILOG_DEBUG("nr AudioSegments = " << segments.size());
00231         for (int i=0 ; i<segments.size() ; i++)
00232             AddSegment(segments[i]);
00233     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:22:06 2011 for ImpalaSrc by  doxygen 1.5.1