Resizer Driver
Features
Version 02.01.01.08
Platform Support Products
119
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:
•
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.
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
Summary of Contents for OMAP35 Series
Page 1: ...OMAP35x EVM Linux PSP User Guide 02 01 01 08 Published 22 May 2009 ...
Page 2: ...2 Platform Support Products Version 02 01 01 08 ...
Page 4: ...OMAP35x EVM Linux PSP 2 Platform Support Products Version 02 01 01 08 ...
Page 12: ...Version 02 01 01 08 Platform Support Products x ...
Page 16: ...Version 02 01 01 08 Platform Support Products xiv ...
Page 22: ...Version 02 01 01 08 Platform Support Products xx ...
Page 30: ...Version 02 01 01 08 Platform Support Products 8 ...
Page 58: ...Version 02 01 01 08 Platform Support Products 36 ...
Page 138: ...Version 02 01 01 08 Platform Support Products 116 ...
Page 158: ...Resizer Driver Data Structures 136 Platform Support Products Version 02 01 01 08 ...
Page 164: ...Version 02 01 01 08 Platform Support Products 142 ...
Page 170: ...Version 02 01 01 08 Platform Support Products 148 ...
Page 202: ...Version 02 01 01 08 Platform Support Products 180 ...