31 AVPacket* GetWrappedValue() noexcept;
32 const
AVPacket* GetWrappedValue() const noexcept;
38 virtual int64_t GetPresentationTimestamp() const noexcept = 0;
39 virtual int64_t GetDecompressionTimestamp() const noexcept = 0;
41 virtual
int GetDuration() const noexcept = 0;
47 virtual uint8_t* GetData() const noexcept = 0;
48 virtual
int GetSize() const noexcept = 0;
50 virtual
bool OffsetPacket(
size_t offset) noexcept = 0;
51 virtual
void ResetData() noexcept = 0;
52 virtual
void ResetTimestamps() noexcept = 0;
54 virtual
int GetStreamIndex() const noexcept = 0;
55 virtual
void SetStreamIndex(
int index) noexcept = 0;
57 virtual
int GetFlags() const noexcept = 0;
58 virtual int64_t GetPos() const noexcept = 0;
59 virtual int64_t GetConvergenceDuration() const noexcept = 0;
68 bool mUseAVFree {
true };
AVPacketWrapper & operator=(AVPacketWrapper &)=delete
AVPacketWrapper & operator=(AVPacketWrapper &&)=delete
AVPacketWrapper(AVPacketWrapper &&)=delete
AVPacketWrapper(const AVPacketWrapper &)=delete