35 #ifndef LIBDCP_FFMPEG_IMAGE_H
36 #define LIBDCP_FFMPEG_IMAGE_H
41 LIBDCP_DISABLE_WARNINGS
43 #include <libavutil/frame.h>
45 LIBDCP_ENABLE_WARNINGS
66 std::swap(_frame, other._frame);
70 std::swap(_frame, other._frame);
76 av_frame_free(&_frame);
79 AVFrame
const * frame()
const {
93 return { 1920, 1080 };
96 void set_pts(int64_t pts);
99 AVFrame* _frame =
nullptr;
Namespace for everything in libdcp.
The integer, two-dimensional size of something.