37 struct _am7xxx_context;
45 struct _am7xxx_device;
176 unsigned int device_index);
221 unsigned int upscale,
222 unsigned int original_width,
223 unsigned int original_height,
224 unsigned int *scaled_width,
225 unsigned int *scaled_height);
246 unsigned char *image,
247 unsigned int image_size);
272 unsigned char *image,
273 unsigned int image_size);
Zoom test screen, the firmware version is shown as well.
Zoom 1: H Scale (changes aspect ratio).
struct _am7xxx_context am7xxx_context
An opaque data type representing a context.
Zoom Tele: available on some PicoPix models.
A struct describing device specific properties.
int am7xxx_init(am7xxx_context **ctx)
Initialize the library context and data structures, and scan for devices.
Original Size, as retrieved via am7xxx_device_info.
Max brightness and power consumption.
Middle level of brightness.
am7xxx_image_format
The image formats accepted by the device.
am7xxx_power_mode
The device power modes.
Warnings about conditions worth mentioning to the user.
int am7xxx_open_device(am7xxx_context *ctx, am7xxx_device **dev, unsigned int device_index)
Open an am7xxx_device according to a index.
Zoom 2: H/V Scale (changes aspect ratio).
More brightness, but more power consumption.
Error messages, typically they describe API functions failures.
int am7xxx_set_power_mode(am7xxx_device *dev, am7xxx_power_mode power)
Set the power mode of an am7xxx device.
void am7xxx_set_log_level(am7xxx_context *ctx, am7xxx_log_level log_level)
Set verbosity level of log messages.
int am7xxx_get_device_info(am7xxx_device *dev, am7xxx_device_info *device_info)
Get info about an am7xxx device.
int am7xxx_calc_scaled_image_dimensions(am7xxx_device *dev, unsigned int upscale, unsigned int original_width, unsigned int original_height, unsigned int *scaled_width, unsigned int *scaled_height)
Calculate the dimensions of an image to be shown on an am7xxx device.
unsigned int native_width
The device native width.
int am7xxx_send_image_async(am7xxx_device *dev, am7xxx_image_format format, unsigned int width, unsigned int height, unsigned char *image, unsigned int image_size)
Queue transfer of an image for display on an am7xxx device and return immediately.
Informations about the device operations.
am7xxx_zoom_mode
The display zoom modes.
int am7xxx_set_zoom_mode(am7xxx_device *dev, am7xxx_zoom_mode zoom)
Set the zoom mode of an am7xxx device.
Fatal messages, the user application should stop if it gets one of this.
Raw YUV in the NV12 variant.
Verbose informations about the communication with the hardware.
Informations about the library internals.
Low power consumption but also low brightness.
int am7xxx_send_image(am7xxx_device *dev, am7xxx_image_format format, unsigned int width, unsigned int height, unsigned char *image, unsigned int image_size)
Send an image for display on an am7xxx device.
unsigned int native_height
The device native height.
void am7xxx_shutdown(am7xxx_context *ctx)
Cleanup the library data structures and free the context.
am7xxx_log_level
The verbosity level of logging messages.
int am7xxx_close_device(am7xxx_device *dev)
Close an am7xxx_device.
struct _am7xxx_device am7xxx_device
An opaque data type representing an am7xxx device.
Display is powered off, no image shown.