FMX.Media.TVideoCaptureSetting

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TVideoCaptureSetting = record

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() : System::Generics::Defaults::TComparer__1<TVideoCaptureSetting>() { }
        /* TObject.Destroy */ inline __fastcall virtual ~TResolutionComparer() { }
    };
#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() : System::Generics::Defaults::TComparer__1<TVideoCaptureSetting>() { }
        /* TObject.Destroy */ inline __fastcall virtual ~TFrameRateComparer() { }
    };
#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();
    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

Record that represents the configuration of a single camera frame rate with its corresponding resolution.

See Also