hi_mpi_vpc_draw_osd
The
The
Description
Draws an on-screen display (OSD) on the input image, which can be used to add a watermark.
Prototype
hi_s32 hi_mpi_vpc_draw_osd(hi_vpc_chn chn, hi_osd_param* osd_param, hi_u32* task_id, hi_s32 milli_sec)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
chn |
Input |
Channel ID for image processing. |
osd_param |
Input |
OSD information. The input and output image information and OSD parameters are configured in the hi_osd_param structure. |
milli_sec |
Input |
Timeout interval (ms).
|
task_id |
Output |
Pointer to the task ID, which is used to identify a task. |
Returns
- 0: success
- Other values: failure (VPC Return Codes)
Parent topic: VPC