API:FMX.Media.TVideoCaptureSetting

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TVideoCaptureSetting = record
  private
  type
    TResolutionComparer = class(TComparer<TVideoCaptureSetting>)
      function Compare(const Left, Right: TVideoCaptureSetting): Integer; override;
    end;

C++

struct DECLSPEC_DRECORD TVideoCaptureSetting
{
private:
    class DELPHICLASS TResolutionComparer;
#ifndef _WIN64
    #pragma pack(push,4)
#endif /* not _WIN64 */
    class PASCALIMPLEMENTATION TResolutionComparer : public System::Generics::Defaults::TComparer__1<TVideoCaptureSetting>
    {
        typedef System::Generics::Defaults::TComparer__1<TVideoCaptureSetting> inherited;
    public:
        virtual int __fastcall Compare(const TVideoCaptureSetting &Left, const TVideoCaptureSetting &Right);
    public:
        /* TObject.Create */ inline __fastcall TResolutionComparer(void) : System::Generics::Defaults::TComparer__1<TVideoCaptureSetting>() { }
        /* TObject.Destroy */ inline __fastcall virtual ~TResolutionComparer(void) { }
    };
#ifndef _WIN64
    #pragma pack(pop)
#endif /* not _WIN64 */
    class DELPHICLASS TFrameRateComparer;
#ifndef _WIN64
    #pragma pack(push,4)
#endif /* not _WIN64 */
    class PASCALIMPLEMENTATION TFrameRateComparer : public System::Generics::Defaults::TComparer__1<TVideoCaptureSetting>
    {
        typedef System::Generics::Defaults::TComparer__1<TVideoCaptureSetting> inherited;
    public:
        virtual int __fastcall Compare(const TVideoCaptureSetting &Left, const TVideoCaptureSetting &Right);
    public:
        /* TObject.Create */ inline __fastcall TFrameRateComparer(void) : System::Generics::Defaults::TComparer__1<TVideoCaptureSetting>() { }
        /* TObject.Destroy */ inline __fastcall virtual ~TFrameRateComparer(void) { }
    };
#ifndef _WIN64
    #pragma pack(pop)
#endif /* not _WIN64 */
private:
    int FWidth;
    int FHeight;
    double FFrameRate;
    double FMinFrameRate;
    double FMaxFrameRate;
public:
    static TVideoCaptureSetting __fastcall Create()/* overload */;
    static TVideoCaptureSetting __fastcall Create(const int AWidth, const int AHeight, const float AFrameRate)/* overload */;
    void __fastcall SetFrameRate(const double AValue, const double AMaxValue)/* overload */;
    void __fastcall SetFrameRate(const double AValue)/* overload */;
    System::Types::TSize __fastcall GetSize(void);
    bool __fastcall IsSmallerThan(const TVideoCaptureSetting &ASetting, TVideoCaptureSettingPriority APriority);
    __property int Width = {read=FWidth, write=FWidth};
    __property int Height = {read=FHeight, write=FHeight};
    __property double FrameRate = {read=FFrameRate, write=SetFrameRate};
    __property double MaxFrameRate = {read=FMaxFrameRate};
    __property double MinFrameRate = {read=FMinFrameRate};
};

Properties

Type Visibility Source Unit Parent
record
struct
public
FMX.Media.pas
FMX.Media.hpp
FMX.Media FMX.Media

Description

Embarcadero Technologies does not currently have any additional information. Please help us document this topic by using the Discussion page!