ss928_framework/ss928sdk/include/ss_mpi_avs_conversion.h

30 lines
687 B
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_AVS_CONVERSION_H__
#define __SS_MPI_AVS_CONVERSION_H__
#include "ot_type.h"
#ifdef __cplusplus
extern "C" {
#endif
#define AVS_LUT_SIZE 0x400000 /* 4MB */
#define AVS_FILE_HEADER_SIZE 0x100 /* bin file header size 256B */
/*
* avs lut convert function.
* lut_output: virtual address of output memory for saving each output lookup tables,
* the memory size for each one should be 4MB.
* lut_input: virtual address of input lut memory.
*/
td_s32 ss_mpi_avs_conversion(td_u64 lut_input, td_u64 lut_output);
#ifdef __cplusplus
}
#endif
#endif /* __SS_MPI_AVS_CONVERSION_H__ */