V4L2 Driver Interface - Texas Instruments OMAP35 Series User Manual

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

Advertisement

6.4.1.3. Data Structures
fb_var_screeninfo
This structure is used to query and set the so-called variable screen information.
This allows an application to query or change the display mode, including the
color depth, resolution, timing etc.
fb_fix_screeninfo
This structure is used by applications to get the fixed properties of the display,
e.g. the start address of the framebuffer memory, framebuffer length etc.
fb_cmap
This structure is used to get/set the color-map for the framebuffer

6.4.2. V4L2 Driver Interface

6.4.2.1. Application Interface
open
To open a video device
close
To close a video device
ioctl
To send ioctl commands to the display driver.
mmap
To memory map a driver allocated buffer to user space
6.4.2.2. Supported Standard IOCTLs
VIDIOC_QUERYCAP
This is used to query the driver's capability. The video driver fills a
v4l2_capability struct indicating the driver is capable of output and streaming.
Version 02.01.01.08
Note
This section describes the standard V4L2 IOCTLs supported by the Display
Driver. Standard IOCTLs that are not listed here are not supported. The Display
Driver handles the unsupported ones by returning EINVALerror code.
Platform Support Products
Display Driver
V4L2 Driver Interface
103

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omap3515Omap3525Omap3530

Table of Contents