A region of the video viewport to be blended with the desktop
#include <vid.h>
typedef struct {
unsigned char src_alpha;
unsigned char dst_alpha;
unsigned alpha_mode;
unsigned short x1;
unsigned short x2;
unsigned short y1;
unsigned short y2;
} disp_vid_alpha_t;
The disp_vid_alpha_t structure describes
a region of the video viewport to be blended with desktop.
The members include:
- src_alpha
- The source alpha blending factor.
- dst_alpha
- The destination alpha blending factor.
- alpha_mode
- The alpha blending mode.
The description of this field is the same as for the alpha_mode
member of the
disp_draw_context_t
structure.
- x1
- The offset of the left hand side of the region to be blended, in pixels,
relative to the left hand side of the scaler viewport.
- y1
- The offset of the top scanline of the region to be blended, in pixels,
relative to the top of the scaler viewport.
- x2
- The offset of the right-hand side of the region to be blended, in pixels,
relative to the left hand side of the scaler viewport.
- y2
- The offset of the bottom scanline of the region to be blended, in pixels,
relative to the top of the scaler viewport.
Photon
disp_draw_context_t,
disp_vidfuncs_t,
disp_vid_channel_props_t