#include "hmm.h"
#include "assert_support.h"
#include "ia_css_debug.h"
#include "ia_css_sdis_types.h"
#include "sdis/common/ia_css_sdis_common.host.h"
#include "ia_css_sdis.host.h"
const struct ia_css_dvs_coefficients default_sdis_config = …;
static void
fill_row(short *private, const short *public, unsigned int width,
unsigned int padding)
{ … }
void ia_css_sdis_horicoef_vmem_encode(
struct sh_css_isp_sdis_hori_coef_tbl *to,
const struct ia_css_dvs_coefficients *from,
unsigned int size)
{ … }
void ia_css_sdis_vertcoef_vmem_encode(
struct sh_css_isp_sdis_vert_coef_tbl *to,
const struct ia_css_dvs_coefficients *from,
unsigned int size)
{ … }
void ia_css_sdis_horiproj_encode(
struct sh_css_isp_sdis_hori_proj_tbl *to,
const struct ia_css_dvs_coefficients *from,
unsigned int size)
{ … }
void ia_css_sdis_vertproj_encode(
struct sh_css_isp_sdis_vert_proj_tbl *to,
const struct ia_css_dvs_coefficients *from,
unsigned int size)
{ … }
void ia_css_get_isp_dis_coefficients(
struct ia_css_stream *stream,
short *horizontal_coefficients,
short *vertical_coefficients)
{ … }
size_t
ia_css_sdis_hor_coef_tbl_bytes(
const struct ia_css_binary *binary)
{ … }
size_t
ia_css_sdis_ver_coef_tbl_bytes(
const struct ia_css_binary *binary)
{ … }
void
ia_css_sdis_init_info(
struct ia_css_sdis_info *dis,
unsigned int sc_3a_dis_width,
unsigned int sc_3a_dis_padded_width,
unsigned int sc_3a_dis_height,
unsigned int isp_pipe_version,
unsigned int enabled)
{ … }
void ia_css_sdis_clear_coefficients(
struct ia_css_dvs_coefficients *dvs_coefs)
{ … }
int
ia_css_get_dvs_statistics(
struct ia_css_dvs_statistics *host_stats,
const struct ia_css_isp_dvs_statistics *isp_stats) { … }
void
ia_css_translate_dvs_statistics(
struct ia_css_dvs_statistics *host_stats,
const struct ia_css_isp_dvs_statistics_map *isp_stats)
{ … }
struct ia_css_isp_dvs_statistics *
ia_css_isp_dvs_statistics_allocate(
const struct ia_css_dvs_grid_info *grid)
{ … }
struct ia_css_isp_dvs_statistics_map *
ia_css_isp_dvs_statistics_map_allocate(
const struct ia_css_isp_dvs_statistics *isp_stats,
void *data_ptr)
{ … }
void
ia_css_isp_dvs_statistics_map_free(struct ia_css_isp_dvs_statistics_map *me)
{ … }
void
ia_css_isp_dvs_statistics_free(struct ia_css_isp_dvs_statistics *me)
{ … }
void ia_css_sdis_horicoef_debug_dtrace(
const struct ia_css_dvs_coefficients *config, unsigned int level)
{ … }
void ia_css_sdis_vertcoef_debug_dtrace(
const struct ia_css_dvs_coefficients *config, unsigned int level)
{ … }
void ia_css_sdis_horiproj_debug_dtrace(
const struct ia_css_dvs_coefficients *config, unsigned int level)
{ … }
void ia_css_sdis_vertproj_debug_dtrace(
const struct ia_css_dvs_coefficients *config, unsigned int level)
{ … }