class rgbRawVideoFile

This class is designed to reads/writes raw-RGB AVI files

Inheritance:


Public Methods

[more] constructors
[more]virtual ~rgbRawVideoFile()
[more]virtual bool open(char* filename_, const char* open_flags_ = "r")
open the video file filename
[more]virtual bool read()
read the current image from the file and fill pixmap
[more]virtual bool write(unsigned char* pixmap_)
write pixmap_ into a file
[more]virtual bool rewindmovie()
restart the video file at the beginning
[more]virtual int seekmovie(int h, int m, int s, int f)
seek in the video file
[more]virtual bool close()
close the video file


Inherited from VideoFile:

Public Fields

ounsigned char* pixmap

Public Methods

ovirtual bool initVideoSource()
ovirtual bool openVideoSource()
ovirtual VirtualPixmap* getframe()
ovirtual bool closeVideoSource()
ounsigned int getwidth()
ounsigned int getheight()
oreal getframerate()
oint getnframes(bool force = false)
ochar* getcodec()

Protected Fields

ochar* codec_name
oFrameVideoFile* frame
oint nframes
oreal frate
oint cframe
ochar* filename
ochar* open_flags


Inherited from VideoSource:

Public Fields

obool verbose
oint width
oint height

Public Methods

ovirtual bool releaseframe(VirtualPixmap* )
obool isOk()

Protected Fields

oshort status


Documentation

This class is designed to reads/writes raw-RGB AVI files

Warning: RGB images are stored as flipped BGR 24 bits pixmaps.

o constructors

o rgbRawVideoFile()

o rgbRawVideoFile(char* filename_, const char* open_flags_ = "r")

ovirtual ~rgbRawVideoFile()

ovirtual bool open(char* filename_, const char* open_flags_ = "r")
open the video file filename

ovirtual bool read()
read the current image from the file and fill pixmap

ovirtual bool write(unsigned char* pixmap_)
write pixmap_ into a file

ovirtual bool rewindmovie()
restart the video file at the beginning

ovirtual int seekmovie(int h, int m, int s, int f)
seek in the video file

ovirtual bool close()
close the video file


This class has no child classes.
Author:
Sebastien Marcel (marcel@idiap.ch) Julien Tiphaigne
Version:
2.0 Fri 15 Jul 2005 11:35:20 AM CEST
Since:
1.0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.