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

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

Definition at line 508 of file VideoAccessObject.h.

References mFormatCtx.

00509     {
00510         //std::cout << "------------------------------------" << std::endl;
00511         AVFormatContext* const s = mFormatCtx;
00512         //const UInt8 invalidPtr = 0;
00513         //const UInt8* curPtr = &invalidPtr;
00514         //if (s->cur_ptr)
00515         //    curPtr = (s->cur_ptr);
00516         //std::cout << "Current AVFormatContext: " <<
00517         //    "data_offset=" << s->data_offset << ", " <<
00518         //    "cur_ptr=" << curPtr << ", " <<
00519         //    "cur_len=" << s->cur_len << ", " <<
00520         //    "packet_size=" << s->packet_size << 
00521         //    std::endl;
00522  
00523         const ByteIOContext* const b = 
00524 #ifdef FFMPEG_52
00525             s->pb;
00526 #else
00527             &(s->pb);
00528 #endif
00529         std::cout << "Current ByteIOContext: " <<
00530             //"total.bytes=" << url_fsize(&(s->pb)) << ", " <<
00531             //"buffer_size=" << b->buffer_size << ", " <<
00532             "act.buffer.size=" << b->buf_end - b->buffer << ", " <<
00533             "pos.of.buffer=" << b->pos - (b->buf_end - b->buffer) << ", " <<
00534             "pos.in.buffer=" << b->buf_ptr - b->buffer << ", " <<
00535             "pos.in.file=" << b->pos - (b->write_flag ? 0 : (b->buf_end - b->buf_ptr)) << ", " <<
00536             "eof_reached=" << b->eof_reached << ", " <<
00537             //"checksum=" << b->checksum << ", " <<
00538             //"must_flush=" << b->must_flush <<
00539             //"write_flag=" << b->write_flag << ", " <<
00540             //"is_streamed=" << b->is_streamed << 
00541             std::endl;
00542     }


Generated on Fri Mar 19 11:18:41 2010 for ImpalaSrc by  doxygen 1.5.1