dolphin/Source/Core/VideoCommon/AVIDump.h
Pierre Bourdon 1e809d9c11 Revert "Merge pull request #1903 from RisingFog/libav"
This reverts commit 34079a0037, reversing
changes made to 3274df7158.
2015-01-26 02:35:29 +01:00

37 lines
701 B
C++

// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
#pragma once
#ifdef _WIN32
#include <windows.h>
#else
#include <stdint.h>
#endif
#include "Common/CommonTypes.h"
class AVIDump
{
private:
static bool CreateFile();
static void CloseFile();
static void SetBitmapFormat();
static bool SetCompressionOptions();
static bool SetVideoFormat();
static void StoreFrame(const void* data);
static void* GetFrame();
public:
#ifdef _WIN32
static bool Start(HWND hWnd, int w, int h);
#else
static bool Start(int w, int h);
#endif
static void AddFrame(const u8* data, int width, int height);
static void Stop();
static void DoState();
};