Search Results
JPEGFrame.h
Go to the documentation of this file.
103 DB_EDGEVIS_SDK bool Convert(int32_t width, int32_t height, uint8_t * y_plane, uint8_t * cb_plane, uint8_t * cr_plane, EdgeVisSDKCore::AspectRatio aspect, int64_t ts, int64_t dts, int32_t quality);
DB_EDGEVIS_SDK byte_array GetJPEG() const
Will return the byte_array containing the JPEG data.
An YCbCrFrame is delivered for every frame of video decoded from a media stream.
Definition: YCbCrFrame.h:39
DB_EDGEVIS_SDK bool Convert(int32_t width, int32_t height, uint8_t *y_plane, uint8_t *cb_plane, uint8_t *cr_plane, EdgeVisSDKCore::AspectRatio aspect, int64_t ts, int64_t dts, int32_t quality)
Convert a YCbCr frame to a JPEGFrame.
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 int64_t GetTimeStamp() const
Will return the timestamp of the JPEG.
DB_EDGEVIS_SDK std::wstring ToBase64String()
Will return a base64 encoded string containting the JPEG frame.
DB_EDGEVIS_SDK int32_t GetBufferSize() const
Will return the length of the byte array representing the JPEG frame.
A JPEGFrame is designed for transforming YCbCr colour space frames into an in memory JPEG frame buffe...
Definition: JPEGFrame.h:39
The EdgeVis Decoder SDK namespace.