Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
symbian::api::camera Namespace Reference

Classes

struct  CameraInventory
 
struct  CameraSource
 
class  CameraStream
 
struct  FrameBackend
 
struct  FrameConsumer
 
struct  FrameIdentity
 
struct  FrameLayout
 
class  FrameLease
 
struct  FrameRect
 
struct  FrameView
 
class  Gles2FrameBackend
 
struct  MutableFrameView
 

Enumerations

enum class  PixelFormat {
  kGray8 , kRgb565 , kRgba8888 , kYuv420Planar ,
  kBgr565 , kRgbx8888 , kGray16 , kRgb161616 ,
  kYuv420Planar16 , kBayer16 , kBgrx8888
}
 
enum class  BayerPattern {
  kUnspecified , kRggb , kGrbg , kGbrg ,
  kBggr
}
 
enum class  YuvEncoding { kUnspecified , kBt601Limited , kBt601Full , kBt709Limited }
 
enum class  ClockDomain { kUnknown , kMonotonic }
 
enum class  MemoryKind { kLinear , kMapped , kGles2Texture , kNativeImage }
 
enum class  ResampleFilter { kNearest , kBilinear }
 
enum class  FrameRotation { k0 , kClockwise90 , k180 , kClockwise270 }
 
enum class  Gles2ContextUse { kPreserveState , kExclusive }
 

Functions

absl::StatusOr< CameraInventory > DiscoverCameras ()
 
FrameRect DetectSolidSideMargins (const FrameView &source)
 
absl::StatusOr< FrameRect > CenteredAspectCrop (int source_width, int source_height, int destination_width, int destination_height)
 
absl::StatusOr< FrameRect > CenteredAspectFit (int source_width, int source_height, int destination_width, int destination_height)
 
absl::StatusOr< FrameView > CropFrameView (const FrameView &source, FrameRect crop)
 
absl::Status TransformFrame (const FrameView &source, const MutableFrameView &destination, ResampleFilter filter, FrameBackend *absl_nullable backend, FrameRotation rotation)
 
bool FrameIsFresh (FrameIdentity frame, std::int64_t presentation_time_ns, std::int64_t maximum_age_ns)
 
int SymbianDeviceCameraCount ()
 

Enumeration Type Documentation

◆ BayerPattern

Enumerator
kUnspecified 
kRggb 
kGrbg 
kGbrg 
kBggr 

◆ ClockDomain

Enumerator
kUnknown 
kMonotonic 

◆ FrameRotation

Enumerator
k0 
kClockwise90 
k180 
kClockwise270 

◆ Gles2ContextUse

Enumerator
kPreserveState 
kExclusive 

◆ MemoryKind

Enumerator
kLinear 
kMapped 
kGles2Texture 
kNativeImage 

◆ PixelFormat

Enumerator
kGray8 
kRgb565 
kRgba8888 
kYuv420Planar 
kBgr565 
kRgbx8888 
kGray16 
kRgb161616 
kYuv420Planar16 
kBayer16 
kBgrx8888 

◆ ResampleFilter

Enumerator
kNearest 
kBilinear 

◆ YuvEncoding

Enumerator
kUnspecified 
kBt601Limited 
kBt601Full 
kBt709Limited 

Function Documentation

◆ CenteredAspectCrop()

absl::StatusOr< FrameRect > symbian::api::camera::CenteredAspectCrop ( int  source_width,
int  source_height,
int  destination_width,
int  destination_height 
)

◆ CenteredAspectFit()

absl::StatusOr< FrameRect > symbian::api::camera::CenteredAspectFit ( int  source_width,
int  source_height,
int  destination_width,
int  destination_height 
)

◆ CropFrameView()

absl::StatusOr< FrameView > symbian::api::camera::CropFrameView ( const FrameView &  source,
FrameRect  crop 
)

◆ DetectSolidSideMargins()

FrameRect symbian::api::camera::DetectSolidSideMargins ( const FrameView &  source)

◆ DiscoverCameras()

absl::StatusOr< CameraInventory > symbian::api::camera::DiscoverCameras ( )

◆ FrameIsFresh()

bool symbian::api::camera::FrameIsFresh ( FrameIdentity  frame,
std::int64_t  presentation_time_ns,
std::int64_t  maximum_age_ns 
)

◆ SymbianDeviceCameraCount()

int symbian::api::camera::SymbianDeviceCameraCount ( )

◆ TransformFrame()

absl::Status symbian::api::camera::TransformFrame ( const FrameView &  source,
const MutableFrameView &  destination,
ResampleFilter  filter,
FrameBackend *absl_nullable  backend,
FrameRotation  rotation 
)