23 lines
565 B
C
Raw Normal View History

// Copyright 2008 Dolphin Emulator Project
2015-05-18 01:08:10 +02:00
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include "Common/CommonTypes.h"
class AVIDump
{
2014-06-15 05:29:05 +02:00
private:
static bool CreateFile();
static void CloseFile();
2016-06-24 22:41:10 -04:00
static void CheckResolution(int width, int height);
2016-10-08 12:56:28 +02:00
static void StoreFrameData(const u8* data, int width, int height, int stride, u64 ticks);
2014-10-04 03:28:01 -04:00
2014-06-15 05:29:05 +02:00
public:
2016-10-08 16:23:04 +02:00
static bool Start(int w, int h);
2016-10-08 12:56:28 +02:00
static void AddFrame(const u8* data, int width, int height, int stride, u64 ticks);
static void Stop();
static void DoState();
};