Changeset 19798 in vbox for trunk/src/VBox/Frontends/VBoxHeadless/VideoCapture
- Timestamp:
- May 18, 2009 3:50:20 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 47438
- Location:
- trunk/src/VBox/Frontends/VBoxHeadless/VideoCapture
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/VideoCapture/FFmpegFB.cpp
r13644 r19798 599 599 } 600 600 601 602 /**603 * Queries whether we support a given accelerated opperation. Since we604 * do not have any way of performing accelerated operations, we always605 * return false in supported.606 *607 * @returns COM status code608 * @param operation The operation being queried609 * @retval supported Whether or not we support that operation610 */611 STDMETHODIMP FFmpegFB::OperationSupported(FramebufferAccelerationOperation_T operation,612 BOOL *supported)613 {614 if (!supported)615 return E_POINTER;616 *supported = false;617 return S_OK;618 }619 620 601 /** 621 602 * Returns whether we like the given video mode. … … 639 620 return E_POINTER; 640 621 *supported = true; 641 return S_OK;642 }643 644 /**645 * Since we currently do not have any way of doing this faster than646 * the VGA device, we simply false in handled. Behaviour taken from647 * src/VBox/RDP/server/framebuffer.cpp.648 */649 STDMETHODIMP FFmpegFB::SolidFill(ULONG x, ULONG y, ULONG width,650 ULONG height, ULONG color, BOOL *handled)651 {652 LogFlow(("FFmpeg::SolidFill called.\n"));653 if (!handled)654 return E_POINTER;655 *handled = false;656 return S_OK;657 }658 659 /**660 * Since we currently do not have any way of doing this faster than661 * the VGA device, we simply false in handled. Behaviour taken from662 * src/VBox/RDP/server/framebuffer.cpp.663 */664 STDMETHODIMP FFmpegFB::CopyScreenBits(ULONG xDst, ULONG yDst, ULONG xSrc,665 ULONG ySrc, ULONG width,666 ULONG height, BOOL *handled)667 {668 LogFlow(("FFmpeg::CopyScreenBits called.\n"));669 if (!handled)670 return E_POINTER;671 *handled = false;672 622 return S_OK; 673 623 } -
trunk/src/VBox/Frontends/VBoxHeadless/VideoCapture/FFmpegFB.h
r19340 r19798 105 105 ULONG bitsPerPixel, ULONG bytesPerLine, 106 106 ULONG w, ULONG h, BOOL *finished); 107 STDMETHOD(OperationSupported)(FramebufferAccelerationOperation_T operation, BOOL *supported);108 107 STDMETHOD(VideoModeSupported)(ULONG width, ULONG height, ULONG bpp, BOOL *supported); 109 STDMETHOD(SolidFill)(ULONG x, ULONG y, ULONG width, ULONG height,110 ULONG color, BOOL *handled);111 STDMETHOD(CopyScreenBits)(ULONG xDst, ULONG yDst, ULONG xSrc, ULONG ySrc,112 ULONG width, ULONG height, BOOL *handled);113 108 STDMETHOD(GetVisibleRegion)(BYTE *rectangles, ULONG count, ULONG *countCopied); 114 109 STDMETHOD(SetVisibleRegion)(BYTE *rectangles, ULONG count);
Note:
See TracChangeset
for help on using the changeset viewer.