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

void Impala::Core::Stream::Lavc::VideoAccessObject::DumpState (  )  const [inline]

Definition at line 570 of file VideoAccessObject.h.

References mFormatCtx.

00571     {
00572         //std::cout << "------------------------------------" << std::endl;
00573         AVFormatContext* const s = mFormatCtx;
00574         //const UInt8 invalidPtr = 0;
00575         //const UInt8* curPtr = &invalidPtr;
00576         //if (s->cur_ptr)
00577         //    curPtr = (s->cur_ptr);
00578         //std::cout << "Current AVFormatContext: " <<
00579         //    "data_offset=" << s->data_offset << ", " <<
00580         //    "cur_ptr=" << curPtr << ", " <<
00581         //    "cur_len=" << s->cur_len << ", " <<
00582         //    "packet_size=" << s->packet_size << 
00583         //    std::endl;
00584  
00585         const ByteIOContext* const b = 
00586 #ifdef FFMPEG_52
00587             s->pb;
00588 #else
00589             &(s->pb);
00590 #endif
00591         std::cout << "Current ByteIOContext: " <<
00592             //"total.bytes=" << url_fsize(&(s->pb)) << ", " <<
00593             //"buffer_size=" << b->buffer_size << ", " <<
00594             "act.buffer.size=" << b->buf_end - b->buffer << ", " <<
00595             "pos.of.buffer=" << b->pos - (b->buf_end - b->buffer) << ", " <<
00596             "pos.in.buffer=" << b->buf_ptr - b->buffer << ", " <<
00597             "pos.in.file=" << b->pos - (b->write_flag ? 0 : (b->buf_end - b->buf_ptr)) << ", " <<
00598             "eof_reached=" << b->eof_reached << ", " <<
00599             //"checksum=" << b->checksum << ", " <<
00600             //"must_flush=" << b->must_flush <<
00601             //"write_flag=" << b->write_flag << ", " <<
00602             //"is_streamed=" << b->is_streamed << 
00603             std::endl;
00604     }


Generated on Thu Jan 13 09:20:38 2011 for ImpalaSrc by  doxygen 1.5.1