mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
staging: media: atomisp: fix indentation in anr files
Fix inconsistent tab/space usage and bring function definitions into a single-line format, matching kernel coding style. Signed-off-by: LiangCheng Wang <zaq14760@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
This commit is contained in:
parent
d13b75670e
commit
15b4210a06
|
|
@ -21,20 +21,16 @@ const struct ia_css_anr_config default_anr_config = {
|
|||
{10, 20, 30}
|
||||
};
|
||||
|
||||
void
|
||||
ia_css_anr_encode(
|
||||
struct sh_css_isp_anr_params *to,
|
||||
const struct ia_css_anr_config *from,
|
||||
unsigned int size)
|
||||
void ia_css_anr_encode(struct sh_css_isp_anr_params *to,
|
||||
const struct ia_css_anr_config *from,
|
||||
unsigned int size)
|
||||
{
|
||||
(void)size;
|
||||
to->threshold = from->threshold;
|
||||
}
|
||||
|
||||
void
|
||||
ia_css_anr_dump(
|
||||
const struct sh_css_isp_anr_params *anr,
|
||||
unsigned int level)
|
||||
void ia_css_anr_dump(const struct sh_css_isp_anr_params *anr,
|
||||
unsigned int level)
|
||||
{
|
||||
if (!anr) return;
|
||||
ia_css_debug_dtrace(level, "Advance Noise Reduction:\n");
|
||||
|
|
@ -42,10 +38,8 @@ ia_css_anr_dump(
|
|||
"anr_threshold", anr->threshold);
|
||||
}
|
||||
|
||||
void
|
||||
ia_css_anr_debug_dtrace(
|
||||
const struct ia_css_anr_config *config,
|
||||
unsigned int level)
|
||||
void ia_css_anr_debug_dtrace(const struct ia_css_anr_config *config,
|
||||
unsigned int level)
|
||||
{
|
||||
ia_css_debug_dtrace(level,
|
||||
"config.threshold=%d\n",
|
||||
|
|
|
|||
|
|
@ -12,20 +12,14 @@
|
|||
|
||||
extern const struct ia_css_anr_config default_anr_config;
|
||||
|
||||
void
|
||||
ia_css_anr_encode(
|
||||
struct sh_css_isp_anr_params *to,
|
||||
const struct ia_css_anr_config *from,
|
||||
unsigned int size);
|
||||
void ia_css_anr_encode(struct sh_css_isp_anr_params *to,
|
||||
const struct ia_css_anr_config *from,
|
||||
unsigned int size);
|
||||
|
||||
void
|
||||
ia_css_anr_dump(
|
||||
const struct sh_css_isp_anr_params *anr,
|
||||
unsigned int level);
|
||||
void ia_css_anr_dump(const struct sh_css_isp_anr_params *anr,
|
||||
unsigned int level);
|
||||
|
||||
void
|
||||
ia_css_anr_debug_dtrace(
|
||||
const struct ia_css_anr_config *config, unsigned int level)
|
||||
;
|
||||
void ia_css_anr_debug_dtrace(const struct ia_css_anr_config *config,
|
||||
unsigned int level);
|
||||
|
||||
#endif /* __IA_CSS_ANR_HOST_H */
|
||||
|
|
|
|||
|
|
@ -10,11 +10,9 @@
|
|||
|
||||
#include "ia_css_anr2.host.h"
|
||||
|
||||
void
|
||||
ia_css_anr2_vmem_encode(
|
||||
struct ia_css_isp_anr2_params *to,
|
||||
const struct ia_css_anr_thres *from,
|
||||
size_t size)
|
||||
void ia_css_anr2_vmem_encode(struct ia_css_isp_anr2_params *to,
|
||||
const struct ia_css_anr_thres *from,
|
||||
size_t size)
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
|
|
@ -27,10 +25,8 @@ ia_css_anr2_vmem_encode(
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
ia_css_anr2_debug_dtrace(
|
||||
const struct ia_css_anr_thres *config,
|
||||
unsigned int level)
|
||||
void ia_css_anr2_debug_dtrace(const struct ia_css_anr_thres *config,
|
||||
unsigned int level)
|
||||
{
|
||||
(void)config;
|
||||
(void)level;
|
||||
|
|
|
|||
|
|
@ -13,15 +13,12 @@
|
|||
#include "ia_css_anr2_param.h"
|
||||
#include "ia_css_anr2_table.host.h"
|
||||
|
||||
void
|
||||
ia_css_anr2_vmem_encode(
|
||||
struct ia_css_isp_anr2_params *to,
|
||||
const struct ia_css_anr_thres *from,
|
||||
size_t size);
|
||||
void ia_css_anr2_vmem_encode(struct ia_css_isp_anr2_params *to,
|
||||
const struct ia_css_anr_thres *from,
|
||||
size_t size);
|
||||
|
||||
void
|
||||
ia_css_anr2_debug_dtrace(
|
||||
const struct ia_css_anr_thres *config, unsigned int level)
|
||||
void ia_css_anr2_debug_dtrace(const struct ia_css_anr_thres *config,
|
||||
unsigned int level)
|
||||
;
|
||||
|
||||
#endif /* __IA_CSS_ANR2_HOST_H */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user