Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
vpbe_osd.h File Reference
#include <media/davinci/vpbe_types.h>

Go to the source code of this file.

Data Structures

struct  osd_cursor_config
 
struct  osd_layer_config
 
struct  osd_window_state
 
struct  osd_osdwin_state
 
struct  osd_cursor_state
 
struct  vpbe_osd_ops
 
struct  osd_state
 
struct  osd_platform_data
 

Macros

#define VPBE_OSD_SUBDEV_NAME   "vpbe-osd"
 

Enumerations

enum  osd_layer { WIN_OSD0, WIN_VID0, WIN_OSD1, WIN_VID1 }
 
enum  osd_win_layer { OSDWIN_OSD0, OSDWIN_OSD1 }
 
enum  osd_pix_format {
  PIXFMT_1BPP = 0, PIXFMT_2BPP, PIXFMT_4BPP, PIXFMT_8BPP,
  PIXFMT_RGB565, PIXFMT_YCbCrI, PIXFMT_RGB888, PIXFMT_YCrCbI,
  PIXFMT_NV12, PIXFMT_OSD_ATTR
}
 
enum  osd_h_exp_ratio { H_EXP_OFF, H_EXP_9_OVER_8, H_EXP_3_OVER_2 }
 
enum  osd_v_exp_ratio { V_EXP_OFF, V_EXP_6_OVER_5 }
 
enum  osd_zoom_factor { ZOOM_X1, ZOOM_X2, ZOOM_X4 }
 
enum  osd_clut { ROM_CLUT, RAM_CLUT }
 
enum  osd_rom_clut { ROM_CLUT0, ROM_CLUT1 }
 
enum  osd_blending_factor {
  OSD_0_VID_8, OSD_1_VID_7, OSD_2_VID_6, OSD_3_VID_5,
  OSD_4_VID_4, OSD_5_VID_3, OSD_6_VID_2, OSD_8_VID_0
}
 
enum  osd_blink_interval { BLINK_X1, BLINK_X2, BLINK_X3, BLINK_X4 }
 
enum  osd_cursor_h_width {
  H_WIDTH_1, H_WIDTH_4, H_WIDTH_8, H_WIDTH_12,
  H_WIDTH_16, H_WIDTH_20, H_WIDTH_24, H_WIDTH_28
}
 
enum  osd_cursor_v_width {
  V_WIDTH_1, V_WIDTH_2, V_WIDTH_4, V_WIDTH_6,
  V_WIDTH_8, V_WIDTH_10, V_WIDTH_12, V_WIDTH_14
}
 

Macro Definition Documentation

#define VPBE_OSD_SUBDEV_NAME   "vpbe-osd"

Definition at line 29 of file vpbe_osd.h.

Enumeration Type Documentation

enum osd_blending_factor : OSD pixels are fully transparent : OSD pixels contribute 1/8, video pixels contribute 7/8 : OSD pixels contribute 2/8, video pixels contribute 6/8 : OSD pixels contribute 3/8, video pixels contribute 5/8 : OSD pixels contribute 4/8, video pixels contribute 4/8 : OSD pixels contribute 5/8, video pixels contribute 3/8 : OSD pixels contribute 6/8, video pixels contribute 2/8 : OSD pixels are fully opaque

Description: An enumeration of the DaVinci pixel blending factor options.

Enumerator:
OSD_0_VID_8 
OSD_1_VID_7 
OSD_2_VID_6 
OSD_3_VID_5 
OSD_4_VID_4 
OSD_5_VID_3 
OSD_6_VID_2 
OSD_8_VID_0 

Definition at line 173 of file vpbe_osd.h.

enum osd_blink_interval : blink interval is 1 vertical refresh cycle : blink interval is 2 vertical refresh cycles : blink interval is 3 vertical refresh cycles : blink interval is 4 vertical refresh cycles

Description: An enumeration of the DaVinci pixel blinking interval options.

Enumerator:
BLINK_X1 
BLINK_X2 
BLINK_X3 
BLINK_X4 

Definition at line 194 of file vpbe_osd.h.

enum osd_clut

enum osd_clut : ROM CLUT : RAM CLUT

Description: An enumeration of the available Color Lookup Tables (CLUTs).

Enumerator:
ROM_CLUT 
RAM_CLUT 

Definition at line 141 of file vpbe_osd.h.

enum osd_cursor_h_width : horizontal line width is 1 pixel : horizontal line width is 4 pixels : horizontal line width is 8 pixels : horizontal line width is 12 pixels : horizontal line width is 16 pixels : horizontal line width is 20 pixels : horizontal line width is 24 pixels : horizontal line width is 28 pixels

Enumerator:
H_WIDTH_1 
H_WIDTH_4 
H_WIDTH_8 
H_WIDTH_12 
H_WIDTH_16 
H_WIDTH_20 
H_WIDTH_24 
H_WIDTH_28 

Definition at line 212 of file vpbe_osd.h.

enum davinci_cursor_v_width : vertical line width is 1 line : vertical line width is 2 lines : vertical line width is 4 lines : vertical line width is 6 lines : vertical line width is 8 lines : vertical line width is 10 lines : vertical line width is 12 lines : vertical line width is 14 lines

Enumerator:
V_WIDTH_1 
V_WIDTH_2 
V_WIDTH_4 
V_WIDTH_6 
V_WIDTH_8 
V_WIDTH_10 
V_WIDTH_12 
V_WIDTH_14 

Definition at line 234 of file vpbe_osd.h.

enum osd_h_exp_ratio : no expansion (1/1) : 9/8 expansion ratio : 3/2 expansion ratio

Description: An enumeration of the available horizontal expansion ratios.

Enumerator:
H_EXP_OFF 
H_EXP_9_OVER_8 
H_EXP_3_OVER_2 

Definition at line 99 of file vpbe_osd.h.

enum osd_layer

enum osd_layer : On-Screen Display Window 0 : Video Window 0 : On-Screen Display Window 1 : Video Window 1

Description: An enumeration of the osd display layers.

Enumerator:
WIN_OSD0 
WIN_VID0 
WIN_OSD1 
WIN_VID1 

Definition at line 41 of file vpbe_osd.h.

enum osd_pix_format : 1-bit-per-pixel bitmap : 2-bits-per-pixel bitmap : 4-bits-per-pixel bitmap : 8-bits-per-pixel bitmap : 16-bits-per-pixel RGB565 : YUV 4:2:2 : 24-bits-per-pixel RGB888 : YUV 4:2:2 with chroma swap : YUV 4:2:0 planar : OSD Attribute Window pixel format (4bpp)

Description: An enumeration of the DaVinci pixel formats.

Enumerator:
PIXFMT_1BPP 
PIXFMT_2BPP 
PIXFMT_4BPP 
PIXFMT_8BPP 
PIXFMT_RGB565 
PIXFMT_YCbCrI 
PIXFMT_RGB888 
PIXFMT_YCrCbI 
PIXFMT_NV12 
PIXFMT_OSD_ATTR 

Definition at line 77 of file vpbe_osd.h.

enum osd_rom_clut : Macintosh CLUT : CLUT from DM270 and prior devices

Description: An enumeration of the ROM Color Lookup Table (CLUT) options.

Enumerator:
ROM_CLUT0 
ROM_CLUT1 

Definition at line 154 of file vpbe_osd.h.

enum osd_v_exp_ratio : no expansion (1/1) : 6/5 expansion ratio

Description: An enumeration of the available vertical expansion ratios.

Enumerator:
V_EXP_OFF 
V_EXP_6_OVER_5 

Definition at line 113 of file vpbe_osd.h.

enum osd_win_layer : On-Screen Display Window 0 : On-Screen Display Window 1

Description: An enumeration of the OSD Window layers.

Enumerator:
OSDWIN_OSD0 
OSDWIN_OSD1 

Definition at line 56 of file vpbe_osd.h.

enum osd_zoom_factor : no zoom (x1) : x2 zoom : x4 zoom

Description: An enumeration of the available zoom factors.

Enumerator:
ZOOM_X1 
ZOOM_X2 
ZOOM_X4 

Definition at line 127 of file vpbe_osd.h.