vdr-plugin-softhddevice-drm-gles 1.6.4-d0291bb
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=90000 })
 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.
 
void Flush (void)
 Flushes the video stream by finalizing any pending data.
 
void Stop (void)
 Stop the decoding thread.
 
void Halt (void)
 
void Resume (void)
 
cVideoDecoderDecoder (void)
 
void StartDecoder ()
 Start the decoder.
 
size_t GetAvPacketsFilled (void)
 
bool IsInputBufferFull (void)
 
enum AVCodecID GetCodecId (void)
 
void ResetTrickSpeedFramesSentCounter (void)
 
bool HasInputPts (void)
 
int64_t GetInputPtsMs (void)
 
int64_t GetInputPts (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 SetStartDecodingWithIFrame (bool enable)
 
void SetParseH264Dimensions (bool enable)
 
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 151 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 153 of file videostream.h.


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