class P1::CameraSdk::ILiveView
Overview
A buffer with a LiveView frame. More…
#include <C_P1CameraCommonStructs.h> class ILiveView: public P1::CameraSdk::IImageBufferFrame { public: // methods virtual uint32_t CompressionQuality() const = 0; virtual bool IsCompressed() const = 0; virtual ValueRect SourceCrop() const = 0; virtual ValueRect RequestedCrop() const = 0; virtual ValueArea SourceFullImageSize() const = 0; }; // direct descendants class LiveViewImpl;
Inherited Members
public: // enums enum Type; // methods virtual std::shared_ptr<uint8_t const> Data() const = 0; virtual size_t DataSizeBytes() const = 0; virtual ImageFormat Format() const = 0; virtual Type BufferType() const = 0; virtual char const* BufferTypeStr() const = 0; virtual char const* FormatStr() const = 0; virtual uint32_t DestinationWidth() const = 0; virtual uint32_t DestinationHeight() const = 0;
Detailed Documentation
A buffer with a LiveView frame.
Version 3.0
Methods
virtual uint32_t CompressionQuality() const = 0
The compression quality as a percentage.
virtual bool IsCompressed() const = 0
Returns whether the image has been compressed (e.g., by JPEG).
virtual ValueRect SourceCrop() const = 0
The actual crop that was cropped in the sensor.
virtual ValueRect RequestedCrop() const = 0
The user requested crop.
virtual ValueArea SourceFullImageSize() const = 0
The full source (sensor) size.