FMX.Media.TVideoCaptureDevice.DoSampleBufferToBitmap
Delphi
procedure DoSampleBufferToBitmap(const ABitmap: TBitmap; const ASetSize: Boolean); virtual; abstract;
C++
virtual void __fastcall DoSampleBufferToBitmap(Fmx::Graphics::TBitmap* const ABitmap, const bool ASetSize) = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | FMX.Media.pas FMX.Media.hpp |
FMX.Media | TVideoCaptureDevice |
Description
Processes the display of video samples on 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 whether ABitmap is resized to the video window sizes.
To display video samples on a TBitmap, call SampleBufferToBitmap.