VirtualBox

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

最後變更 在這個檔案從52442是 52312,由 vboxsync 提交於 11 年 前

6219: New parameters related to file size / recording time limitation for VM Video Capture have been added (vcpmaxtime, vcpmaxsize and vcpoptions - special codec options in key=value format). EbmlWriter has been refactored. Removed some redundant code.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
  • 屬性 svn:mergeinfo 設為 (切換已刪除的分支)
檔案大小: 1.7 KB
 
1/* $Id: VideoRec.h 52312 2014-08-07 12:54:38Z 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.alldomusa.eu.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,
30 uint32_t uMaxTime, uint32_t uMaxFileSize, const char *pszOptions);
31void VideoRecContextClose(PVIDEORECCONTEXT pCtx);
32bool VideoRecIsEnabled(PVIDEORECCONTEXT pCtx);
33int VideoRecCopyToIntBuf(PVIDEORECCONTEXT pCtx, uint32_t uScreen,
34 uint32_t x, uint32_t y, uint32_t uPixelFormat, uint32_t uBitsPerPixel,
35 uint32_t uBytesPerLine, uint32_t uGuestWidth, uint32_t uGuestHeight,
36 uint8_t *pu8BufferAddress, uint64_t u64TimeStamp);
37bool VideoRecIsReady(PVIDEORECCONTEXT pCtx, uint32_t uScreen, uint64_t u64TimeStamp);
38bool VideoRecIsFull(PVIDEORECCONTEXT pCtx, uint32_t uScreen, uint64_t u64TimeStamp);
39
40#endif /* !____H_VIDEOREC */
41
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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