RGBFrame.h
Go to the documentation of this file.
DB_EDGEVIS_SDK bool Convert(YCbCrFrame &yCbCrFrame, RGBFormat format, bool correctAspect)
Converts the supplied planar YCbCr frame to an RGBFrame which will be stored in this object...
DB_EDGEVIS_SDK int32_t GetBytesPerPel() const
Get the number of bytes per pixel.
DB_EDGEVIS_SDK void Save(const std::string &path) const
Save the RGB image to a bmp file location.
An YCbCrFrame is delivered for every frame of video decoded from a media stream.
Definition: YCbCrFrame.h:39
An RGBFrame is designed for transforming YCbCr colour space frames into RGB colour space frames...
Definition: RGBFrame.h:44
DB_EDGEVIS_SDK byte_array GetPixelBytes() const
Get a pointer to the byte array representing the RGBFrame pixels.
DB_EDGEVIS_SDK RGBFormat GetFormat() const
Get the RGB format for this RGB frame.
The VideoData class extends the StreamData class and is a base class for all types of video data prov...
Definition: VideoData.h:35
This is the base class for the StreamData objects.
Definition: StreamData.h:27
DB_EDGEVIS_SDK byte_array GetBytes() const
Get a pointer to the byte array representing the entire RGBFrame, including the header.
DB_EDGEVIS_SDK int64_t GetTimeStamp() const
Gets the frame's time stamp.
The EdgeVis Decoder SDK namespace.
DB_EDGEVIS_SDK int32_t GetHeaderSize() const
Get the value that has been set for this frame's header size, the default value is 0...
void SetHeaderSize(int32_t header_size)
Set the header size that will be allocated before the rgb frame, this allows platform specific users ...
