FMX.Media.TVideoCaptureDevice.SampleBufferToBitmap

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SampleBufferToBitmap(const ABitmap: TBitmap; const ASetSize: Boolean);

C++

void __fastcall SampleBufferToBitmap(Fmx::Graphics::TBitmap* const ABitmap, const bool ASetSize);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Media.pas
FMX.Media.hpp
FMX.Media TVideoCaptureDevice

Description

Displays the captured video samples to a specified TBitmap.

ABitmap specifies the TBitmap to display the video samples.

ASetSize specifies whether the video samples are resized to fit the current size of ABitmap, or if ABitmap resizes to the video window sizes. If ASetSize is True, then the ABitmap resizes. If ABitmap is empty and ASetSize is False, then the SampleBufferToBitmap does nothing.

See Also