2#include <Media/Libav.hpp>
4#include <score_plugin_media_export.h>
6#include <libavutil/pixfmt.h>
19 AVPixelFormat pixel_format = AVPixelFormat(-1);
21 AVColorRange color_range = AVColorRange(-1);
22 AVColorPrimaries color_primaries = AVColorPrimaries(-1);
23 AVColorTransferCharacteristic color_trc = AVColorTransferCharacteristic(-1);
24 AVColorSpace color_space = AVColorSpace(-1);
25 AVChromaLocation chroma_location = AVChromaLocation(-1);
32 double flicks_per_dts{};
33 double dts_per_flicks{};
39 virtual AVFrame* dequeue_frame()
noexcept = 0;
40 virtual void release_frame(AVFrame* frame)
noexcept = 0;
50 void operator()(AVFrame* f)
const noexcept;
53using AVFramePointer = std::unique_ptr<AVFrame, FreeAVFrame>;
56 AVCodecContext* codecContext,
const AVPacket* pkt, AVFrame* frame,
bool ignorePts);
Definition VideoInterface.hpp:49
Definition VideoInterface.hpp:44
Definition VideoInterface.hpp:37