VideoCommon: Add custom stride for framedumping.

This commit is contained in:
degasus
2016-10-08 15:28:12 +02:00
parent 1ef5ba0c53
commit 0864ef4352
8 changed files with 19 additions and 27 deletions

View File

@ -12,7 +12,7 @@ private:
static bool CreateFile();
static void CloseFile();
static void CheckResolution(int width, int height);
static void StoreFrameData(const u8* data, int width, int height);
static void StoreFrameData(const u8* data, int width, int height, int stride);
public:
enum class DumpFormat
@ -22,7 +22,7 @@ public:
};
static bool Start(int w, int h, DumpFormat format);
static void AddFrame(const u8* data, int width, int height);
static void AddFrame(const u8* data, int width, int height, int stride);
static void Stop();
static void DoState();
};