mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 02:28:51 +00:00
Use ffmpeg for Windows Video Dumping instead of VFW
This commit is contained in:
parent
079be1db9a
commit
c34fb3edf0
13 changed files with 73 additions and 426 deletions
|
@ -121,6 +121,8 @@ public:
|
|||
virtual u16 BBoxRead(int index) = 0;
|
||||
virtual void BBoxWrite(int index, u16 value) = 0;
|
||||
|
||||
static void FlipImageData(u8* data, int w, int h, int pixel_width = 3);
|
||||
|
||||
// Finish up the current frame, print some stats
|
||||
static void Swap(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, const EFBRectangle& rc,float Gamma = 1.0f);
|
||||
virtual void SwapImpl(u32 xfbAddr, u32 fbWidth, u32 fbStride, u32 fbHeight, const EFBRectangle& rc, float Gamma = 1.0f) = 0;
|
||||
|
@ -148,11 +150,8 @@ protected:
|
|||
static std::mutex s_criticalScreenshot;
|
||||
static std::string s_sScreenshotName;
|
||||
|
||||
#if defined _WIN32 || defined HAVE_LIBAV
|
||||
bool bAVIDumping;
|
||||
#else
|
||||
File::IOFile pFrameDump;
|
||||
#endif
|
||||
|
||||
std::vector<u8> frame_data;
|
||||
bool bLastFrameDumped;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue