Features; Overview Of Features Supported; Usage Of Features - Texas Instruments OMAP35 Series User Manual

Evm linux psp
Hide thumbs Also See for OMAP35 Series:
Table of Contents

Advertisement

7.2. Features

This section describes features supported by the resizer driver.

7.2.1. Overview of features supported

The Resizer driver supports the following features:

7.2.2. Usage of Features

Following sections provides details about the drive supported features.
7.2.2.1. Opening and Closing the Driver
The device can be opened using open call from the application with device name
and mode of operation as parameters. Mode can be blocking, non-blocking
and readwrite. Application can open the driver in either blocking mode or non-
blocking mode. If driver is opened in blocking mode, RSZ_RESIZE ioctl will block
until resizing task is over for that channel. If the driver is opened in non-blocking
mode, RSZ_RESIZE ioctl returns if hardware is busy serving other channel.
Driver can be opened multiple times. Driver maintains software channels for all
opened instances. If multiple resizing task is submitted at the same time, driver
serializes the resizing task.
To close a specific device, application calls the close function with the file handle.
/* call to open a Resizer logical channel in blocking mode */
rszfd_blocking =open ("/dev/omap-resizer", O_RDWR);
/* closing of channels */
close (rszfd_blocking);
7.2.2.2. Buffer Management
Resizer Driver requires buffers for storing input/output images. Buffers can
be allocated by the driver itself or application can provide the buffers. These
Version 02.01.01.08
Resizes input frame stored in RAM and stores output frame in RAM.
Supports resizing from 1/4x to 4x.
Supports independent horizontal and vertical resizing.
Supports YUV422 packed data and Color Separate data.
Supports driver allocated and user provided buffers.
Supports Luminance Enhancement.
Supports configuration of read request cycles.
Platform Support Products
Resizer Driver
Features
119

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omap3515Omap3525Omap3530

Table of Contents