.. index:: pair: class; P1::CameraSdk::ILiveView .. _doxid-class_p1_1_1_camera_sdk_1_1_i_live_view: class P1::CameraSdk::ILiveView ============================== .. toctree:: :hidden: Overview ~~~~~~~~ A buffer with a LiveView frame. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class ILiveView: public :ref:`P1::CameraSdk::IImageBufferFrame` { public: // methods virtual uint32_t :ref:`CompressionQuality`() const = 0; virtual bool :ref:`IsCompressed`() const = 0; virtual :ref:`ValueRect` :ref:`SourceCrop`() const = 0; virtual :ref:`ValueRect` :ref:`RequestedCrop`() const = 0; virtual :ref:`ValueArea` :ref:`SourceFullImageSize`() const = 0; }; // direct descendants class :ref:`LiveViewImpl`; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // enums enum :ref:`Type`; // methods virtual std::shared_ptr :ref:`Data`() const = 0; virtual size_t :ref:`DataSizeBytes`() const = 0; virtual :ref:`ImageFormat` :ref:`Format`() const = 0; virtual :ref:`Type` :ref:`BufferType`() const = 0; virtual char const* :ref:`BufferTypeStr`() const = 0; virtual char const* :ref:`FormatStr`() const = 0; virtual uint32_t :ref:`DestinationWidth`() const = 0; virtual uint32_t :ref:`DestinationHeight`() const = 0; .. _details-class_p1_1_1_camera_sdk_1_1_i_live_view: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ A buffer with a LiveView frame. :ref:`Version ` 3.0 Methods ------- .. index:: pair: function; CompressionQuality .. _doxid-class_p1_1_1_camera_sdk_1_1_i_live_view_1ac8622d320983848e0d7198b5efdfef44: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual uint32_t CompressionQuality() const = 0 The compression quality as a percentage. .. index:: pair: function; IsCompressed .. _doxid-class_p1_1_1_camera_sdk_1_1_i_live_view_1a06a53d20fe38f0a66e6dfe5392d155a9: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual bool IsCompressed() const = 0 Returns whether the image has been compressed (e.g., by JPEG). .. index:: pair: function; SourceCrop .. _doxid-class_p1_1_1_camera_sdk_1_1_i_live_view_1a498072c83bec8572c214cfd7615cd1f4: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual :ref:`ValueRect` SourceCrop() const = 0 The actual crop that was cropped in the sensor. .. index:: pair: function; RequestedCrop .. _doxid-class_p1_1_1_camera_sdk_1_1_i_live_view_1a597a365ad0d4675718dd952e2f5c990b: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual :ref:`ValueRect` RequestedCrop() const = 0 The user requested crop. .. index:: pair: function; SourceFullImageSize .. _doxid-class_p1_1_1_camera_sdk_1_1_i_live_view_1a06ab423c2490acd423a0865592aeadb3: .. ref-code-block:: cpp :class: doxyrest-title-code-block virtual :ref:`ValueArea` SourceFullImageSize() const = 0 The full source (sensor) size.