Home
last modified time | relevance | path

Searched refs:uDIGIT_FITTING (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/dp/dp_1.0/
Dia_css_dp.host.c61 uDIGIT_FITTING(from->threshold, 16, SH_CSS_BAYER_BITS); in ia_css_dp_encode()
63 uDIGIT_FITTING(from->gain, 8, SH_CSS_DP_GAIN_SHIFT); in ia_css_dp_encode()
66 uDIGIT_FITTING(gain * gr / r, 8, SH_CSS_DP_GAIN_SHIFT); in ia_css_dp_encode()
68 uDIGIT_FITTING(gain * gb / r, 8, SH_CSS_DP_GAIN_SHIFT); in ia_css_dp_encode()
70 uDIGIT_FITTING(gain * gb / b, 8, SH_CSS_DP_GAIN_SHIFT); in ia_css_dp_encode()
72 uDIGIT_FITTING(gain * gr / b, 8, SH_CSS_DP_GAIN_SHIFT); in ia_css_dp_encode()
74 uDIGIT_FITTING(gain * r / gr, 8, SH_CSS_DP_GAIN_SHIFT); in ia_css_dp_encode()
76 uDIGIT_FITTING(gain * b / gr, 8, SH_CSS_DP_GAIN_SHIFT); in ia_css_dp_encode()
78 uDIGIT_FITTING(gain * b / gb, 8, SH_CSS_DP_GAIN_SHIFT); in ia_css_dp_encode()
80 uDIGIT_FITTING(gain * r / gb, 8, SH_CSS_DP_GAIN_SHIFT); in ia_css_dp_encode()
/linux-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/
Dia_css_ynr.host.c47 uDIGIT_FITTING(8192U, 16, SH_CSS_BAYER_BITS); in ia_css_nr_encode()
49 uDIGIT_FITTING(from->ynr_gain, 16, SH_CSS_YNR_GAIN_SHIFT); in ia_css_nr_encode()
51 uDIGIT_FITTING(from->ynr_gain, 16, SH_CSS_YNR_GAIN_SHIFT); in ia_css_nr_encode()
53 uDIGIT_FITTING(from->threshold_cb, 16, SH_CSS_BAYER_BITS); in ia_css_nr_encode()
55 uDIGIT_FITTING(from->threshold_cr, 16, SH_CSS_BAYER_BITS); in ia_css_nr_encode()
71 min((uDIGIT_FITTING(from->nr.direction, 16, SH_CSS_BAYER_BITS) in ia_css_yee_encode()
75 min((uDIGIT_FITTING(from->nr.direction, 16, SH_CSS_BAYER_BITS) in ia_css_yee_encode()
83 uDIGIT_FITTING(from->ee.detail_gain, 11, in ia_css_yee_encode()
86 (uDIGIT_FITTING(56U, 16, SH_CSS_BAYER_BITS) * in ia_css_yee_encode()
89 (uDIGIT_FITTING(224U, 16, SH_CSS_BAYER_BITS) * in ia_css_yee_encode()
[all …]
/linux-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr_1.0/
Dia_css_bnr.host.c32 uDIGIT_FITTING(from->direction, 16, SH_CSS_BAYER_BITS); in ia_css_bnr_encode()
37 uDIGIT_FITTING(from->bnr_gain, 16, SH_CSS_BNR_GAIN_SHIFT); in ia_css_bnr_encode()
39 uDIGIT_FITTING(from->bnr_gain, 16, SH_CSS_BNR_GAIN_SHIFT); in ia_css_bnr_encode()
40 to->clip = uDIGIT_FITTING(16384U, 16, SH_CSS_BAYER_BITS); in ia_css_bnr_encode()
/linux-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/ob/ob2/
Dia_css_ob2.host.c41 to->blacklevel_gr = uDIGIT_FITTING(from->level_gr, 16, SH_CSS_BAYER_BITS); in ia_css_ob2_encode()
42 to->blacklevel_r = uDIGIT_FITTING(from->level_r, 16, SH_CSS_BAYER_BITS); in ia_css_ob2_encode()
43 to->blacklevel_b = uDIGIT_FITTING(from->level_b, 16, SH_CSS_BAYER_BITS); in ia_css_ob2_encode()
44 to->blacklevel_gb = uDIGIT_FITTING(from->level_gb, 16, SH_CSS_BAYER_BITS); in ia_css_ob2_encode()
/linux-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/wb/wb_1.0/
Dia_css_wb.host.c43 uDIGIT_FITTING(from->gr, 16 - from->integer_bits, in ia_css_wb_encode()
46 uDIGIT_FITTING(from->r, 16 - from->integer_bits, in ia_css_wb_encode()
49 uDIGIT_FITTING(from->b, 16 - from->integer_bits, in ia_css_wb_encode()
52 uDIGIT_FITTING(from->gb, 16 - from->integer_bits, in ia_css_wb_encode()
/linux-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/de/de_1.0/
Dia_css_de.host.c36 uDIGIT_FITTING(from->pixelnoise, 16, SH_CSS_BAYER_BITS); in ia_css_de_encode()
38 uDIGIT_FITTING(from->c1_coring_threshold, 16, in ia_css_de_encode()
41 uDIGIT_FITTING(from->c2_coring_threshold, 16, in ia_css_de_encode()
/linux-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/bh/bh_2/
Dia_css_bh.host.c58 uDIGIT_FITTING(from->ae_y_coef_r, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_bh_encode()
60 uDIGIT_FITTING(from->ae_y_coef_g, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_bh_encode()
62 uDIGIT_FITTING(from->ae_y_coef_b, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_bh_encode()
/linux-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr_1.0/
Dia_css_tnr.host.c41 uDIGIT_FITTING(from->gain, 16, SH_CSS_TNR_COEF_SHIFT); in ia_css_tnr_encode()
43 uDIGIT_FITTING(from->threshold_y, 16, SH_CSS_ISP_YUV_BITS); in ia_css_tnr_encode()
45 uDIGIT_FITTING(from->threshold_uv, 16, SH_CSS_ISP_YUV_BITS); in ia_css_tnr_encode()
/linux-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
Dia_css_s3a.host.c55 uDIGIT_FITTING(from->ae_y_coef_r, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_ae_encode()
57 uDIGIT_FITTING(from->ae_y_coef_g, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_ae_encode()
59 uDIGIT_FITTING(from->ae_y_coef_b, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_ae_encode()
71 uDIGIT_FITTING(from->awb_lg_high_raw, 16, s3a_raw_bit_depth); in ia_css_awb_encode()
73 uDIGIT_FITTING(from->awb_lg_low, 16, SH_CSS_BAYER_BITS); in ia_css_awb_encode()
75 uDIGIT_FITTING(from->awb_lg_high, 16, SH_CSS_BAYER_BITS); in ia_css_awb_encode()
/linux-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/gc/gc_1.0/
Dia_css_gc.host.c45 uDIGIT_FITTING((int)from->gain_k1, 16, in ia_css_gc_encode()
48 uDIGIT_FITTING((int)from->gain_k2, 16, in ia_css_gc_encode()
/linux-5.19.10/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_1.0/
Dia_css_xnr.host.c47 (uint16_t)uDIGIT_FITTING(from->threshold, 16, SH_CSS_ISP_YUV_BITS); in ia_css_xnr_encode()
/linux-5.19.10/drivers/staging/media/atomisp/pci/
Dsh_css_frac.h36 #define uDIGIT_FITTING(v, a, b) \ macro