VideoDemuxer Class Reference

VideoDemuxer Class Reference#

rocDecode: VideoDemuxer Class Reference
VideoDemuxer Class Reference

Data Structures

class  StreamProvider
 

Public Member Functions

AVCodecID GetCodecID ()
 
 VideoDemuxer (const char *input_file_path)
 
 VideoDemuxer (StreamProvider *stream_provider)
 
bool Demux (uint8_t **video, int *video_size, int64_t *pts=nullptr)
 
bool Seek (VideoSeekContext &seek_ctx, uint8_t **pp_video, int *video_size)
 
const uint32_t GetWidth () const
 
const uint32_t GetHeight () const
 
const uint32_t GetChromaHeight () const
 
const uint32_t GetBitDepth () const
 
const uint32_t GetBytePerPixel () const
 
const uint32_t GetBitRate () const
 
const double GetFrameRate () const
 
bool IsVFR () const
 
int64_t TsFromTime (double ts_sec)
 
int64_t TsFromFrameNumber (int64_t frame_num)
 

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