1: int32_t AG903_VidMgrReleaseOutputHandle(
AG903_VidMgrOutputHandle *handle)
2: {
3:
4:
if ((handle == NULL) || (handle->id !=
AG903_VID_MGR_OUTPUT_HANDLE_ID)) {
5:
return -
AG903_EINVAL;
6: }
7:
8:
9: VidContext.used_out_ports[handle->port_no] =
false;
10:
11:
12: handle->id = 0;
13: handle->is_dirty =
false;
14: handle->tdm = 0;
15: handle->delay =
false;
16: handle->trs_dec_enable =
false;
17: handle->trs_efp = 0;
18: handle->trs_ofp = 0;
19: handle->trs_vfp = 0;
20: handle->trs_href = 0;
21: handle->trs_hfp = 0;
22: handle->v_max = 0;
23: handle->h_max = 0;
24:
25:
return AG903_ENONE;
26: }