#include <alvideo.h>
Public Member Functions | |
ALVideo () | |
~ALVideo () | |
bool | recordVideo (const std::string pFilePath, const unsigned int pUserSpaceSize, const std::vector< streamHeader > &pStreamHeaderVector) |
bool | readVideo (const std::string pFilePath) |
void | closeVideo () |
bool | goToFrame (const unsigned int pFrameNumber, const unsigned int pStreamNumber) |
bool | getFrame (ALImage &pImage, const unsigned int pFrameNumber, const unsigned int pStreamNumber, const bool pCheckFormat=true) |
bool | getNextFrame (ALImage &pImage, const bool pCheckFormat=true) |
bool | getPrecedingFrame (ALImage &pImage, const bool pCheckFormat=true) |
bool | write (char *ptrImageData, const int pSizeData, const long long pTimeStamp=0, const char pCameraId=0, const float pLeftAngle=0, const float pTopAngle=0, const float pRightAngle=0, const float pBottomAngle=0) |
bool | write (int height, int width, char *imageData, const long long pTimeStamp, const char pCameraId, const float pLeftAngle, const float pTopAngle, const float pRightAngle, const float pBottomAngle) |
const unsigned char * | getMagicNumber () const |
unsigned int | getNumberOfFrames () const |
unsigned int | getNumberOfStreams () const |
unsigned int | getCurrentFrameNumber () const |
unsigned int | getCurrentStreamNumber () const |
bool | isOpenForReading () const |
bool | isOpenForWriting () const |
int | getStreamWidth (const unsigned int pStreamNumber) const |
int | getStreamHeight (const unsigned int pStreamNumber) const |
int | getStreamResolution (const unsigned int pStreamNumber) const |
int | getStreamColorSpace (const unsigned int pStreamNumber) const |
int | getStreamNbLayers (const unsigned int pStreamNumber) const |
int | getStreamPixelDepth (const unsigned int pStreamNumber) const |
int | getStreamSizePerImage (const unsigned int pStreamNumber) const |
void AL::ALVideo::closeVideo | ( | ) |
unsigned int AL::ALVideo::getCurrentFrameNumber | ( | ) | const [inline] |
unsigned int AL::ALVideo::getCurrentStreamNumber | ( | ) | const [inline] |
bool AL::ALVideo::getFrame | ( | ALImage & | pImage, |
const unsigned int | pFrameNumber, | ||
const unsigned int | pStreamNumber, | ||
const bool | pCheckFormat = true |
||
) |
const unsigned char* AL::ALVideo::getMagicNumber | ( | ) | const [inline] |
bool AL::ALVideo::getNextFrame | ( | ALImage & | pImage, |
const bool | pCheckFormat = true |
||
) |
unsigned int AL::ALVideo::getNumberOfFrames | ( | ) | const [inline] |
unsigned int AL::ALVideo::getNumberOfStreams | ( | ) | const [inline] |
bool AL::ALVideo::getPrecedingFrame | ( | ALImage & | pImage, |
const bool | pCheckFormat = true |
||
) |
int AL::ALVideo::getStreamColorSpace | ( | const unsigned int | pStreamNumber | ) | const [inline] |
int AL::ALVideo::getStreamHeight | ( | const unsigned int | pStreamNumber | ) | const [inline] |
int AL::ALVideo::getStreamNbLayers | ( | const unsigned int | pStreamNumber | ) | const [inline] |
int AL::ALVideo::getStreamPixelDepth | ( | const unsigned int | pStreamNumber | ) | const [inline] |
int AL::ALVideo::getStreamResolution | ( | const unsigned int | pStreamNumber | ) | const [inline] |
int AL::ALVideo::getStreamSizePerImage | ( | const unsigned int | pStreamNumber | ) | const [inline] |
int AL::ALVideo::getStreamWidth | ( | const unsigned int | pStreamNumber | ) | const [inline] |
bool AL::ALVideo::goToFrame | ( | const unsigned int | pFrameNumber, |
const unsigned int | pStreamNumber | ||
) |
bool AL::ALVideo::isOpenForReading | ( | ) | const [inline] |
bool AL::ALVideo::isOpenForWriting | ( | ) | const [inline] |
bool AL::ALVideo::readVideo | ( | const std::string | pFilePath | ) |
bool AL::ALVideo::recordVideo | ( | const std::string | pFilePath, |
const unsigned int | pUserSpaceSize, | ||
const std::vector< streamHeader > & | pStreamHeaderVector | ||
) |
bool AL::ALVideo::write | ( | char * | ptrImageData, |
const int | pSizeData, | ||
const long long | pTimeStamp = 0 , |
||
const char | pCameraId = 0 , |
||
const float | pLeftAngle = 0 , |
||
const float | pTopAngle = 0 , |
||
const float | pRightAngle = 0 , |
||
const float | pBottomAngle = 0 |
||
) |
bool AL::ALVideo::write | ( | int | height, |
int | width, | ||
char * | imageData, | ||
const long long | pTimeStamp, | ||
const char | pCameraId, | ||
const float | pLeftAngle, | ||
const float | pTopAngle, | ||
const float | pRightAngle, | ||
const float | pBottomAngle | ||
) |