QNX SDP is a cross-compiling and debugging environment, including an IDE and command-line tools, for building binary images and programs for target boards running QNX Neutrino 7.1.
The Camera library abstracts the complexity of interfacing with a camera connected to the target board.
The main definitions and functions for the Camera Library.
This User's Guide describes version 7.1 of the Integrated Development Environment (IDE) that's part of the QNX Momentics tool suite.
This guide gets you started with the Sensor Framework for QNX SDP.
The ADAS library facilitates the development of embedded systems that rely on sensor data.
The Camera library provides applications with an interface to interact with cameras connected to your system. The library supports up to 64 cameras but the actual limit depends on your hardware platform's limitations and resources.
By default, the Camera library creates a viewfinder window.
You can configure various settings on the camera to modify the ISO, aperture, shutter speed, framerate, resolution, format, etc.
The Camera library supports read-only and read-write access to the image from different stages in the imaging datapath. Applications access image buffers by binding callback functions or events to a particular stage of the imaging datapath. Alternatively, applications can use streams from the Screen API to access buffers. In this guide, access to the imaging datapath is referred to as image buffers.
Cameras that aren't already supported by the Sensor Framework for QNX SDP can be supported by an external camera driver library.
You can use the Camera library to show a video stream (image buffers) from a live camera or file camera. This section shows you the basic workflow for doing so.
Preprocessor macro definitions for the camera_api.h header file in the libcamapi library
The camera access mode flags that are passed to camera_open() to indicate the type of access required
The possible analog video standards
Associate a camera with a given video group
The Bayer array macro-pixel format
Bayer bit justification
The image data and metadata from the camera buffer
Determine whether a feature is usable on the camera in its current state
Discontinue use of a logical camera on the device
Create a video group for synchronized video recording/encoding
Destroy a video group for synchronized video recording/encoding
Status of the camera device
Disable the specified event
Enable the status event
Enable the viewfinder event
Error codes for the Camera library
A camera event key that is used to identify an event that is enabled
Event-buffering modes
The exposure mode of the camera
The camera capabilities or available features
Find the cameras that have the specified features
The focus mode of the camera
Instruct the video encoder to generate a keyframe on demand when encoding video
A union that contains all available frame descriptors for the Camera library
The frame types identifiers for an image buffer
A frame descriptor for a Bayer frame type
A frame descriptor for a YCbCr 4:2:2 packed frame type
A frame descriptor for compressed video frame types
A frame descriptor for 8-bits per pixel grayscale frame types
A frame descriptor used for Gray10p frame types
A frame descriptor used for Gray12p frame types
A frame descriptor used for NV12 frame types
A frame descriptor used for NV21 and NV61 semi-planar frame types
A frame descriptor for 8-bits per pixel RGB-IR frame types
A frame descriptor for 10-bits per pixel RGB-IR frame types
A frame descriptor used for RGB565 frame types
A frame descriptor used for RGB888 frame types
A frame descriptor used for RGB8888 frame types
A frame descriptor for a region-of-interest (ROI) image frame type
A frame descriptor used for a YCbCr 4:2:0 planar frame type
A frame descriptor used for a YCrCb 4:2:0 planar frame type
A frame descriptor that holds only data
Get the configured analog video standard
Retrieve the current build version of the Camera library
Retrieve the brightness value configured on the camera
Get a property of an analog camera
Retrieve the contrast value configured on the camera
Retrieve the filename associated with a camera
Retrieve the hue value configured for the camera
Retrieve one or more location properties for a given camera
Retrieve one or more physical properties of the camera
Retrieve the saturation value configured for the camera
Retrieve the Screen buffer associated with a camera buffer
Retrieve the sharpness value configured on the camera
Get the list of supported viewfinder resolutions for a given frame type
Retrieve the supported viewfinder frame rates for the specified frame type and resolution
Retrieve the device status details from a status event
Retrieve the supported brightness values
Retrieve a list of the cameras available on the device
Retrieve the supported contrast values
Retrieve the supported hue values
Retrieve the supported saturation values
Retrieve the supported sharpness values
Retrieve the viewfinder frame types available on the camera
Retrieve the supported viewfinder frame rates for the specified frame type
Get the list of supported viewfinder resolutions for the current frame type
Retrieve the list of supported viewfinder rotation angles
Retrieve one or more properties of the viewfinder
Retrieve the video output frame types available on the camera
Retrieve the supported output resolutions for video
Retrieve the current output properties for video
Retrieve image buffers from the camera
Retrieve the supported range of zoom levels and determine whether the camera supports smooth zooming
Retrieves the zoom ratio corresponding to a given zoom level
Determine whether a feature is available on the camera
This enumerated type specifies the image properties list
Performs optional initialization for video recording and encoding
A 32-bit value used as a handle to an open instance of a logical camera unit
Determine if the specified frame type allows for window creation
Verify whether the specified camera roll video format is supported
Verify whether a given video codec is supported
The camera location properties list
Request a handle to access a logical camera unit
Camera physical properties
This structure is used to identify a subset of pixels in an image
Disassociate a camera from a video group
The resolution (height and width of an image) in pixels
Return a buffer to the camera
Report the space available for new video files on the camera roll
Close the file descriptor for a video file on the camera roll
Retrieve the camera roll path
Create and open the next available video file on the camera roll for writing
Set the camera roll path
Set the suffix to add to filenames generated from the camera roll
The supported video file format extensions on the camera roll
Set the analog video standard
Set the brightness value on the camera
Set a property of an analog camera
Set the contrast value on the camera
Set the filename associated with a camera
Set the hue value for the camera
Set the saturation value for the camera
Set the sharpness value on the camera
Configure one or more settings of the viewfinder
Configure the threshold of recording time left on the device before a warning is issued
Impose a limit to the size of the recording file
Configure the output properties for video recording and encoding
Start encoding video
Start recording video to a file
Start synchronized video recording or encording of the cameras associated with a given video group
Start the viewfinder on the camera
Stop encoding video
Stop recording video
Stop synchronized video recoding or encording with a given video group
Stop the viewfinder
Represents the camera units on the device
The video compression formats used by the video encoder
A 32-bit value that represents a unique identifier for a video group
Functions to configure parameters for video encoding.
Supported H.264/AVC video encoder parameters.
Enumerations and functions for configuring 3A algorithms (Auto Focus, Auto Exposure, Auto White Balance) for cameras.
Definitions and functions to use the External Camera library.
The Sensor library abstracts the complexity of interfacing with sensors and cameras connected to the target board.
The QNX System Security Guide is intended for both system integrators who are responsible for the security of a QNX Neutrino RTOS system and developers who want to create a QNX Neutrino resource manager free from vulnerabilities.
The QNX Hypervisor allows you to run multiple OSs on a target system so you can separate critical and non-critical functions, support a wide variety of applications, and reduce hardware costs.
QNX Software in the Cloud enables developers to use the QNX software in Amazon Web Services (AWS) and Microsoft Azure (Azure).
This User's Guide is aimed at all systems integrators and developers who want to design and build embedded systems using the QNX Advanced Virtualization Frameworks.
This section describes the typographical conventions used throughout the documentation and explains how to obtain technical support.