2#include <Media/Libav.hpp>
4#include <score_plugin_media_export.h>
6#include <libavcodec/codec_id.h>
7#include <libavutil/pixfmt.h>
21 AVPixelFormat pixel_format = AVPixelFormat(-1);
23 AVColorRange color_range = AVColorRange(-1);
24 AVColorPrimaries color_primaries = AVColorPrimaries(-1);
25 AVColorTransferCharacteristic color_trc = AVColorTransferCharacteristic(-1);
26 AVColorSpace color_space = AVColorSpace(-1);
27 AVChromaLocation chroma_location = AVChromaLocation(-1);
33 AVCodecID codec_id = AV_CODEC_ID_NONE;
36 double flicks_per_dts{};
37 double dts_per_flicks{};
43 virtual AVFrame* dequeue_frame()
noexcept = 0;
44 virtual void release_frame(AVFrame* frame)
noexcept = 0;
54 void operator()(AVFrame* f)
const noexcept;
57using AVFramePointer = std::unique_ptr<AVFrame, FreeAVFrame>;
60 AVCodecContext* codecContext,
const AVPacket* pkt, AVFrame* frame,
bool ignorePts);
Definition VideoInterface.hpp:53
Definition VideoInterface.hpp:48
Definition VideoInterface.hpp:41