[][src]Module arducam_mipicamera::c

The C interface of the arducam_mipicamera library.

Structs

Buffer
CameraCtrl
CameraInterface
Format
Fract
ImageFormat
PreviewParams
Rectangle

Describes a rectangle

VideoEncoderState

Constants

IMAGE_ENCODING_BMP
IMAGE_ENCODING_I420
IMAGE_ENCODING_JPEG
IMAGE_ENCODING_PNG
IMAGE_ENCODING_RAW_BAYER
MMAL_BUFFER_HEADER_FLAGS_SNAPSHOT

Signals a buffer which is the snapshot/postview image from a stills capture.

MMAL_BUFFER_HEADER_FLAG_CODECSIDEINFO

Signals a buffer containing side information.

MMAL_BUFFER_HEADER_FLAG_CONFIG

Signals a buffer containing some kind of config data for the component (e.g. codec config data).

MMAL_BUFFER_HEADER_FLAG_CORRUPTED

Signals a buffer which contains data known to be corrupted.

MMAL_BUFFER_HEADER_FLAG_DECODEONLY

Signals the output buffer won't be used, just update reference frames.

MMAL_BUFFER_HEADER_FLAG_DISCONTINUITY

Signals a discontinuity in the stream of data (e.g. after a seek).

MMAL_BUFFER_HEADER_FLAG_ENCRYPTED

Signals an encrypted payload.

MMAL_BUFFER_HEADER_FLAG_EOS

Signals that the current payload is the end of the stream of data.

MMAL_BUFFER_HEADER_FLAG_FRAME

Signals that the current payload contains only complete frames (1 or more).

MMAL_BUFFER_HEADER_FLAG_FRAME_END

Signals that the end of the current payload ends a frame.

MMAL_BUFFER_HEADER_FLAG_FRAME_START

Signals that the start of the current payload starts a frame.

MMAL_BUFFER_HEADER_FLAG_KEYFRAME

Signals that the current payload is a keyframe (i.e. self decodable).

MMAL_BUFFER_HEADER_FLAG_NAL_END

Signals that the end of the current payload ends a NAL.

MMAL_BUFFER_HEADER_FLAG_TRANSMISSION_FAILED

Signals that a buffer failed to be transmitted.

OUTPUT_FLAG_BUFFER_ALLOCATION_USE_MMAL_CORE
OUTPUT_FLAG_KEEP_BUFFER_REQUIREMENTS
TIME_UNKNOWN

Special value signalling that time is not known.

V4L2_CTRL_CLASS_USER
V4L2_CID_BASE
V4L2_CID_ARDUCAM_BASE
V4L2_CID_ARDUCAM_EXT_TRI
V4L2_CID_VFLIP
V4L2_CID_HFLIP
V4L2_CID_GAIN
VIDEO_INTRA_REFRESH_ADAPTIVE
VIDEO_INTRA_REFRESH_BOTH
VIDEO_INTRA_REFRESH_CYCLIC
VIDEO_INTRA_REFRESH_CYCLIC_MROWS
VIDEO_LEVEL_H264_4
VIDEO_LEVEL_H264_41
VIDEO_LEVEL_H264_42
VIDEO_PROFILE_H264_BASELINE
VIDEO_PROFILE_H264_MAIN
VIDEO_PROFILE_H264_HIGH

Functions

arducam_capture

Get single frame data.

arducam_close_camera

Release all resources and turn off the camera.

arducam_get_control

Get camera control value.

arducam_get_format

Get the current Format.

arducam_get_gain
arducam_get_support_controls

Get the control parameters supported by the current camera.

arducam_get_support_formats

Get the resolution supported by the current camera

arducam_init_camera

Initialize camera.

arducam_init_camera2

Initialize camera.

arducam_manual_set_awb_compensation
arducam_read_sensor_reg

Read sensor register.

arducam_release_buffer

Used to release the memory occupied by the buffer.

arducam_reset_control

Set camera control to default value.

arducam_set_control

Set camera control.

arducam_set_lens_table

Set lens table path.

arducam_set_mode

Set sensor mode.

arducam_set_raw_callback

Set raw data output callback.

arducam_set_resolution

Set output resolution.

arducam_set_video_callback

Set video data output callback.

arducam_set_yuv_callback

Set yuv data output callback.

arducam_software_auto_exposure

Enable/Disable software auto exposure.

arducam_software_auto_white_balance

Enable/Disable software auto white balance.

arducam_start_preview

Turn on image preview

arducam_start_preview_fix_lens

Turn on image preview

arducam_stop_preview

Turn off image preview

arducam_unpack_raw10_to_raw8

Helper function, use to unpack mipi raw10.

arducam_unpack_raw10_to_raw16

Helper function, use to unpack mipi raw10.

arducam_write_sensor_reg

Write sensor register.

Type Definitions

CameraInstance
OutputCallback