VirtualBox

source: vbox/trunk/src/VBox/Main/src-client/VideoRec.h@ 52032

Last change on this file since 52032 was 50314, checked in by vboxsync, 11 years ago

crOpenGL/VideoRec: do hardweight screen capthure only when recorder is ready

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
  • Property svn:mergeinfo set to (toggle deleted branches)
File size: 1.6 KB
Line 
1/* $Id: VideoRec.h 50314 2014-02-03 19:29:26Z vboxsync $ */
2/** @file
3 * Encodes the screen content in VPX format.
4 */
5
6/*
7 * Copyright (C) 2012-2013 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18#ifndef ____H_VIDEOREC
19#define ____H_VIDEOREC
20
21struct VIDEORECCONTEXT;
22typedef struct VIDEORECCONTEXT *PVIDEORECCONTEXT;
23
24struct VIDEORECSTREAM;
25typedef struct VIDEORECSTREAM *PVIDEORECSTREAM;
26
27int VideoRecContextCreate(PVIDEORECCONTEXT *ppCtx, uint32_t cScreens);
28int VideoRecStrmInit(PVIDEORECCONTEXT pCtx, uint32_t uScreen, const char *pszFile,
29 uint32_t uWidth, uint32_t uHeight, uint32_t uRate, uint32_t uFps);
30void VideoRecContextClose(PVIDEORECCONTEXT pCtx);
31bool VideoRecIsEnabled(PVIDEORECCONTEXT pCtx);
32int VideoRecCopyToIntBuf(PVIDEORECCONTEXT pCtx, uint32_t uScreen,
33 uint32_t x, uint32_t y, uint32_t uPixelFormat, uint32_t uBitsPerPixel,
34 uint32_t uBytesPerLine, uint32_t uGuestWidth, uint32_t uGuestHeight,
35 uint8_t *pu8BufferAddress, uint64_t u64TimeStamp);
36bool VideoRecIsReady(PVIDEORECCONTEXT pCtx, uint32_t uScreen, uint64_t u64TimeStamp);
37
38#endif /* !____H_VIDEOREC */
39
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette