MCPcopy Create free account
hub / github.com/IENT/YUView / AVFrameSideDataWrapper

Class AVFrameSideDataWrapper

YUViewLib/src/ffmpeg/AVFrameSideDataWrapper.h:41–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39{
40
41class AVFrameSideDataWrapper
42{
43public:
44 AVFrameSideDataWrapper() = default;
45 AVFrameSideDataWrapper(AVFrameSideData *sideData, LibraryVersion libVer);
46
47 size_t getNumberMotionVectors();
48 AVMotionVectorWrapper getMotionVector(unsigned idx);
49
50 explicit operator bool() const { return sideData != nullptr; }
51
52private:
53 void update();
54
55 AVFrameSideDataType type{};
56 uint8_t * data{nullptr};
57 size_t size{};
58 AVDictionary * metadata{};
59 AVBufferRef * buf{};
60
61 AVFrameSideData *sideData{};
62 LibraryVersion libVer;
63};
64
65} // namespace FFmpeg

Callers 1

getSideDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected