media: staging/intel-ipu3: css: Compute and program ccs
A collection of routines that are mainly used to calculate the parameters for accelerator cluster. Signed-off-by: Yong Zhi <yong.zhi@intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
15e2f1ba09
commit
e11110a5b7
2915
drivers/staging/media/ipu3/ipu3-css-params.c
Normal file
2915
drivers/staging/media/ipu3/ipu3-css-params.c
Normal file
File diff suppressed because it is too large
Load Diff
25
drivers/staging/media/ipu3/ipu3-css-params.h
Normal file
25
drivers/staging/media/ipu3/ipu3-css-params.h
Normal file
@ -0,0 +1,25 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* Copyright (C) 2018 Intel Corporation */
|
||||
|
||||
#ifndef __IPU3_PARAMS_H
|
||||
#define __IPU3_PARAMS_H
|
||||
|
||||
int ipu3_css_cfg_acc(struct ipu3_css *css, struct ipu3_uapi_flags *use,
|
||||
struct imgu_abi_acc_param *acc,
|
||||
struct imgu_abi_acc_param *acc_old,
|
||||
struct ipu3_uapi_acc_param *acc_user);
|
||||
|
||||
int ipu3_css_cfg_vmem0(struct ipu3_css *css, struct ipu3_uapi_flags *use,
|
||||
void *vmem0, void *vmem0_old,
|
||||
struct ipu3_uapi_params *user);
|
||||
|
||||
int ipu3_css_cfg_dmem0(struct ipu3_css *css, struct ipu3_uapi_flags *use,
|
||||
void *dmem0, void *dmem0_old,
|
||||
struct ipu3_uapi_params *user);
|
||||
|
||||
void ipu3_css_cfg_gdc_table(struct imgu_abi_gdc_warp_param *gdc,
|
||||
int frame_in_x, int frame_in_y,
|
||||
int frame_out_x, int frame_out_y,
|
||||
int env_w, int env_h);
|
||||
|
||||
#endif /*__IPU3_PARAMS_H */
|
Loading…
Reference in New Issue
Block a user