File indexing completed on 2025-01-19 04:22:52

0001 /*
0002     SPDX-FileCopyrightText: 2010 Dirk Vanden Boer <dirk.vdb@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef IMAGE_WRITER_H
0008 #define IMAGE_WRITER_H
0009 
0010 #include "videoframe.h"
0011 #include <string>
0012 #include <inttypes.h>
0013 #include <QImage>
0014 
0015 namespace ffmpegthumbnailer
0016 {
0017 
0018 class ImageWriter
0019 {
0020 public:
0021     ImageWriter();
0022     virtual ~ImageWriter() {}
0023 
0024     virtual void writeFrame(VideoFrame& frame, QImage& image);
0025 };
0026 
0027 }
0028 
0029 #endif