Video Processing Unit (VPU) Driver
i.MX51 EVK Linux Reference Manual
Freescale Semiconductor
14-5
lists the user-space library source files available in the
<ltib_dir>/rpm/BUILD/imx-lib-10.11.01/vpu
directory:
lists the firmware files available in the following directories:
<ltib_dir>/rpm/BUILD/firmware-imx-10.11.01/lib/firmware/vpu/
directory
NOTE
, run the command:
./ltib -m prep -p
imx-lib
in the console
14.4
Menu Configuration Options
To get to the VPU driver, use the command
./ltib -c
when located in the <
ltib dir
>. On the screen
displayed, select
Configure the kernel
and exit. When the next screen appears select the following options
to enable the VPU driver:
•
CONFIG_MXC_VPU—Provided for the VPU driver. In menuconfig, this option is available
under
Device Drivers
>
MXC support drivers
>
MXC VPU (Video Processing Unit) support
14.5
Programming Interface
There is only a user-space programming interface for the VPU module. A user in the application layer
cannot access the kernel driver interface directly. The VPU library access the kernel driver interface for
users.
The codec library APIs are listed below:
RetCode vpu_EncOpen(EncHandle* pHandle, EncOpenParam* pop);
RetCode vpu_EncClose(EncHandle encHandle);
RetCode vpu_EncGetInitialInfo(EncHandle encHandle, EncInitialInfo* initialInfo);
RetCode vpu_EncRegisterFrameBuffer(EncHandle encHandle, FrameBuffer* pBuffer, int num,
Table 14-2. VPU Library Files
File
Description
vpu_io.c
Interfaces with the kernel driver for opening the VPU device and allocating memory
vpu_io.h
Header file for IOCTLs
vpu_lib.c
Core codec implementation in user space
vpu_lib.h
Header file of the codec
vpu_reg.h
Register definition of VPU
vpu_util.c
File implementing common utilities used by the codec
vpu_util.h
Header file
Table 14-3. VPU firmware Files
File
Description
vpu_fw_xxx.bin
VPU firmware
Summary of Contents for i.MX51 EVK
Page 1: ...Part Number 924 76374 Rev 10 11 01 11 2010 i MX51 EVK Linux Reference Manual...
Page 14: ...i MX51 EVK Linux Reference Manual xiv Freescale Semiconductor...
Page 18: ...i MX51 EVK Linux Reference Manual xviii Freescale Semiconductor...
Page 24: ...i MX51 EVK Linux Reference Manual xxiv Freescale Semiconductor...
Page 38: ...Machine Specific Layer MSL i MX51 EVK Linux Reference Manual 2 8 Freescale Semiconductor...
Page 52: ...MC13892 Digitizer Driver i MX51 EVK Linux Reference Manual 5 4 Freescale Semiconductor...
Page 64: ...TV Encoder TVE Driver i MX51 EVK Linux Reference Manual 10 4 Freescale Semiconductor...
Page 82: ...Video for Linux Two V4L2 Driver i MX51 EVK Linux Reference Manual 12 8 Freescale Semiconductor...
Page 86: ...i MX5 Dual Display i MX51 EVK Linux Reference Manual 13 4 Freescale Semiconductor...
Page 100: ...X Windows Acceleration i MX51 EVK Linux Reference Manual 16 6 Freescale Semiconductor...
Page 118: ...Low Level Keypad Driver i MX51 EVK Linux Reference Manual 20 6 Freescale Semiconductor...
Page 134: ...Security Drivers i MX51 EVK Linux Reference Manual 22 10 Freescale Semiconductor...
Page 148: ...Inter IC I2C Driver i MX51 EVK Linux Reference Manual 24 4 Freescale Semiconductor...
Page 178: ...ARC USB Driver i MX51 EVK Linux Reference Manual 29 10 Freescale Semiconductor...
Page 194: ...OProfile i MX51 EVK Linux Reference Manual 33 6 Freescale Semiconductor...