File indexing completed on 2024-04-21 04:49:03
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 VIDEOFRAME_H 0008 #define VIDEOFRAME_H 0009 0010 #include <inttypes.h> 0011 #include <vector> 0012 #include <QtGlobal> 0013 0014 namespace ffmpegthumbnailer 0015 { 0016 0017 struct VideoFrame { 0018 VideoFrame() 0019 : width(0), height(0), lineSize(0) {} 0020 0021 VideoFrame(int width, int height, int lineSize) 0022 : width(width), height(height), lineSize(lineSize) {} 0023 0024 quint32 width; 0025 quint32 height; 0026 quint32 lineSize; 0027 0028 std::vector<quint8> frameData; 0029 }; 0030 0031 } 0032 0033 #endif