FMX.Media.TVideoCaptureSetting

De RAD Studio API Documentation
Aller à : navigation, rechercher

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};
};

Propriétés

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


Description

Enregistrement qui représente la configuration d'une fréquence d'images de caméra unique avec sa résolution correspondante.

Voir aussi