vdr-plugin-softhddevice-drm-gles 1.7.3-98a2ef7
cMainVideoStream Class Reference

Main Video Stream. More...

#include <videostream.h>

Public Member Functions

 cMainVideoStream (cVideoRender *render, int hardwareQuirks, cQueue< cDrmBuffer > *buf, cSoftHdConfig *config, std::function< void(AVFrame *)> fn)
 
- Public Member Functions inherited from cVideoStream
virtual ~cVideoStream (void)
 
void DecodeInput (void)
 Decodes a reassembled codec packet.
 
bool IsInterlaced (void)
 
void Open (AVCodecID, AVCodecParameters *=nullptr, AVRational={ .num=1,.den=PTSTICKS })
 Open a video codec.
 
void Exit (void)
 Exit video stream.
 
void ClearVdrCoreToDecoderQueue (void)
 Clears all video stream data, which is buffered to be decoded.
 
void FlushDecoder (void)
 Flush the decoder.
 
void CloseDecoder (void)
 Close the decoder.
 
bool PushAvPacket (AVPacket *avpkt)
 Pushes a pre-assembled AVPacket directly to the processing queue.
 
bool Drain (void)
 Drains the video stream by finalizing any pending data.
 
void Stop (void)
 Stop the decoding thread.
 
void Halt (void)
 
void Resume (void)
 
cVideoDecoder * Decoder (void)
 
void StartDecoder ()
 Start the decoder.
 
size_t GetAvPacketsFilled (void)
 
bool IsInputBufferFull (void)
 
bool BuffersEmpty (void)
 Return true, if the input AVPacket, videofilter and drm output buffer queues are empty.
 
enum AVCodecID GetCodecId (void)
 
void ResetTrickSpeedFramesSentCounter (void)
 
bool HasInputPts (void)
 
int64_t GetInputPtsMs (void)
 
void ResetInputPts (void)
 
void GetVideoSize (int *, int *, double *)
 Get video size and aspect ratio.
 
int GetVideoPacketMax (void)
 
void CancelFilterThread (void)
 Stop filter thread.
 
void ResetFilterThreadNeededCheck ()
 
virtual void SetDeinterlacerDeactivated (bool deactivate)
 
bool IsDeinterlacerDeactivated (void)
 
void DisableDeint (bool disable)
 
void SetDecoderFallbackToSwNumPkts (int numPackets)
 

Additional Inherited Members

- Protected Member Functions inherited from cVideoStream
 cVideoStream (cVideoRender *, int, cQueue< cDrmBuffer > *, cSoftHdConfig *, bool, std::function< void(AVFrame *)>)
 Create a video stream.
 
virtual void Action (void)
 Decoding thread loop, which periodically tries to decode input.
 

Detailed Description

Main Video Stream.

Definition at line 157 of file videostream.h.

Constructor & Destructor Documentation

◆ cMainVideoStream()

cMainVideoStream::cMainVideoStream ( cVideoRender *  render,
int  hardwareQuirks,
cQueue< cDrmBuffer > *  buf,
cSoftHdConfig *  config,
std::function< void(AVFrame *)>  fn 
)
inline

Definition at line 159 of file videostream.h.


The documentation for this class was generated from the following file: