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

Impala::Core::Stream::Lavc::VideoAccessObject Class Reference

#include <VideoAccessObject.h>

Collaboration diagram for Impala::Core::Stream::Lavc::VideoAccessObject:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VideoAccessObject (CString srcAddress)
 ~VideoAccessObject ()
bool IsValid () const
String VideoSrcAddress () const
int BitRate () const
String FormatNameShort () const
String FormatNameLong () const
int StreamCount () const
UInt64 FirstPacketPosition () const
bool NativeIndexValid () const
int NativeIndexSize () const
const AVIndexEntry * NativeIndexEntries () const
int VideoCodecId () const
String VideoCodecName () const
String VideoCodecTag () const
int GopSize () const
int FrameWidth () const
int FrameHeight () const
int AspectRatioNum () const
int AspectRatioDen () const
int VideoDuration () const
int VideoTimeBaseNumerator () const
int VideoTimeBaseDenominator () const
int FrameRateNumerator () const
int FrameRateDenominator () const
bool Reset () const
 Resets the video source; no data is read.
bool AtEof () const
UInt8RgbDataPtr () const
char FrameType () const
bool Seek (const UInt64 &target, int flags) const
 Seeks to the specified target, which is defined by the provided libavformat flags AVSEEK_FLAG_BACKWARD, AVSEEK_FLAG_BYTE and AVSEEK_FLAG_ANY.
int ReadPacket () const
 Reads a packet which might contain one (video) or more (audio) encoded frames.
int CurrentPacketSize () const
int CurrentPacketFlags () const
bool CurrentPacketIsVideo () const
UInt64 CurrentFilePosition () const
String CurrentHash () const
 Calculate MD5Hash from the current RGB frame data; note that you need to call CurrentFrameToRgb() before calling this method.
int DecodeFrame (int *resultCode) const
 Attempts to decode a video frame from the currently buffered packet.
bool FrameIsKey () const
int CurrentFrameToRgb () const
void FlushCodecContext () const
void DumpState () const

Private Member Functions

bool InitFFMPEG ()
bool InitFormatContext ()
bool InitStreams ()
bool InitCodecContext ()
bool InitFrames ()
void FreePacket () const

Private Attributes

bool mIsValid
String mSrcAddress
AVFormatContext * mFormatCtx
int mVideoStreamIndex
AVStream * mVideoStream
AVCodecContext * mVideoCodecCtx
AVPacket * mPacket
AVFrame * mFrame
AVFrame * mRgbFrame
UInt8mRgbFrameData
SwsContext * mSwsContext
 ILOG_VAR_DECL

Detailed Description

Definition at line 38 of file VideoAccessObject.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:18:19 2010 for ImpalaSrc by  doxygen 1.5.1