|
ifm3d
|
Abstract H.264 (etc.) video decoder. More...
#include <ifm3d/rtsp/video_decoder.h>
Public Member Functions | |
| virtual int | SendPacket (const std::uint8_t *data, int size)=0 |
| Push one unit of compressed data into the decoder. More... | |
| virtual int | ReceiveFrame (VideoFrame &out)=0 |
| Pull a decoded frame. More... | |
| virtual int | Flush () |
| Optional: flush buffered frames at end-of-stream. | |
| virtual std::string | LastError () const |
| Optional: a human-readable description of the last error. | |
Protected Member Functions | |
| VideoDecoder (const VideoDecoder &)=default | |
| VideoDecoder & | operator= (const VideoDecoder &)=default |
| VideoDecoder (VideoDecoder &&)=default | |
| VideoDecoder & | operator= (VideoDecoder &&)=default |
Abstract H.264 (etc.) video decoder.
Instances are created through VideoDecoderFactory::CreateDecoder and owned by the caller (via std::unique_ptr).
|
pure virtual |
Pull a decoded frame.
out, 0 = need more input, negative = error.
|
pure virtual |
Push one unit of compressed data into the decoder.