FrameConfig

Overview

Related Modules:

MultiMedia_FrameConfig

Description:

Declares APIs of the FrameConfig class.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name

Description

FrameConfig ()=delete

 

constructed function;

FrameConfig (int32_t type)

 

constructed function by a param

~FrameConfig ()

 

destructor function.

GetFrameConfigType ()

int32_t 

Obtains the frame configuration type.

GetSurfaces ()

std::list< Surface * > 

Obtains a list of shared memories (surface objects).

GetAeMode ()

int32_t 

Obtains the auto exposure mode.

GetAeRect ()

CameraRect 

Obtains the auto exposure region.

GetImageRotation ()

int32_t 

Obtains the image rotation mode.

GetKeys ()

std::list< uint32_t > 

Obtains keys of parameters that can be configured.

AddSurface (Surface &surface)

void 

Adds a surface (an object of shared memory).

RemoveSurface (Surface &surface)

void 

Removes a surface (an object of shared memory). You can call this function to release the surface when your application does not need to obtain data.

SetAeMode (int32_t aeMode, CameraRect &rect)

void 

Sets the auto exposure mode and exposure region.

SetImageRotation (int32_t degrees)

void 

Sets the image rotation angle.

     
  

Sets the common parameter.

     
  

Obtains the value of a common parameter based on its key. For details, see CAMERA_FUC_KEY.