c++ Programming Glossary: hdesktopdc
Save bitmap to video (libavcodec ffmpeg) http://stackoverflow.com/questions/1359620/save-bitmap-to-video-libavcodec-ffmpeg using HBITMAP hCaptureBitmap CreateCompatibleBitmap hDesktopDC nScreenWidth nScreenHeight SelectObject hCaptureDC hCaptureBitmap.. BitBlt hCaptureDC 0 0 nScreenWidth nScreenHeight hDesktopDC 0 0 SRCCOPY And I'd like to convert it to YUV which is required..
How to read the screen pixels? http://stackoverflow.com/questions/2659932/how-to-read-the-screen-pixels SM_CYSCREEN HWND hDesktopWnd GetDesktopWindow HDC hDesktopDC GetDC hDesktopWnd HDC hCaptureDC CreateCompatibleDC hDesktopDC.. GetDC hDesktopWnd HDC hCaptureDC CreateCompatibleDC hDesktopDC HBITMAP hCaptureBitmap CreateCompatibleBitmap hDesktopDC nScreenWidth.. hDesktopDC HBITMAP hCaptureBitmap CreateCompatibleBitmap hDesktopDC nScreenWidth nScreenHeight SelectObject hCaptureDC hCaptureBitmap..
|