ss928_framework/ss928sdk/include/ss_mpi_gdc.h

46 lines
1.6 KiB
C
Raw Permalink Normal View History

2024-12-16 13:31:45 +08:00
/*
Copyright (c), 2001-2022, Shenshu Tech. Co., Ltd.
*/
#ifndef __SS_MPI_GDC_H__
#define __SS_MPI_GDC_H__
#include "ot_common.h"
#include "ot_common_video.h"
#include "ot_common_gdc.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* Description: Begin a gdc job,then add task into the job,gdc will finish all the task in the job. */
td_s32 ss_mpi_gdc_begin_job(ot_gdc_handle *handle);
/* Description: End a job,all tasks in the job will be submmitted to gdc */
td_s32 ss_mpi_gdc_end_job(ot_gdc_handle handle);
/* Description: Cancel a job ,then all tasks in the job will not be submmitted to gdc */
td_s32 ss_mpi_gdc_cancel_job(ot_gdc_handle handle);
/* Description: Add a task to a gdc job */
td_s32 ss_mpi_gdc_add_correction_task(ot_gdc_handle handle, const ot_gdc_task_attr *task,
const ot_fisheye_attr *fisheye_attr);
/* Description: Add a task to a gdc job */
td_s32 ss_mpi_gdc_add_correction_ex_task(ot_gdc_handle h_handle, const ot_gdc_task_attr *task,
const ot_fisheye_attr_ex *fisheye_attrr_ex, td_bool check_mode);
/* Description: Set Config */
td_s32 ss_mpi_gdc_set_cfg(ot_gdc_handle handle, const ot_gdc_fisheye_job_cfg *job_cfg);
/* Description: Set Config */
td_s32 ss_mpi_gdc_add_pmf_task(ot_gdc_handle handle, const ot_gdc_task_attr *task,
const ot_gdc_pmf_attr *gdc_pmf_attr);
td_s32 ss_mpi_gdc_fisheye_pos_query_dst_to_src(const ot_gdc_fisheye_point_query_attr *fisheye_point_query_attr,
const ot_video_frame_info *video_info, const ot_point *dst_point, ot_point *src_point);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __MPI_GDC_ADAPT_H__ */