Home
last modified time | relevance | path

Searched refs:hratio (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/algos/asharp/
H A Drk_aiq_types_asharp_algo_int.h82 float hratio [MAX_ISO_STEP]; member
122 float hratio ; member
158 float hratio [MAX_ISO_STEP]; member
181 float hratio ; member
200 float hratio [MAX_ISO_STEP]; member
212 float hratio ; member
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dmt9v032.c190 unsigned int hratio; member
253 min_hblank += (mt9v032->hratio - 1) * 10; in mt9v032_update_hblank()
394 hbin = fls(mt9v032->hratio) - 1; in mt9v032_s_stream()
476 mt9v032->sysclk / mt9v032->hratio); in mt9v032_configure_pixel_rate()
503 unsigned int hratio; in mt9v032_set_format() local
519 hratio = mt9v032_calc_ratio(__crop->width, width); in mt9v032_set_format()
524 __format->width = __crop->width / hratio; in mt9v032_set_format()
528 mt9v032->hratio = hratio; in mt9v032_set_format()
595 mt9v032->hratio = 1; in mt9v032_set_selection()
1157 mt9v032->hratio = 1; in mt9v032_probe()
H A Dmt9t001.c290 unsigned int hratio; in mt9t001_s_stream() local
306 hratio = DIV_ROUND_CLOSEST(crop->width, format->width); in mt9t001_s_stream()
309 ret = mt9t001_write(client, MT9T001_ROW_ADDRESS_MODE, hratio - 1); in mt9t001_s_stream()
383 unsigned int hratio; in mt9t001_set_format() local
399 hratio = DIV_ROUND_CLOSEST(__crop->width, width); in mt9t001_set_format()
404 __format->width = __crop->width / hratio; in mt9t001_set_format()
H A Dmt9p031.c578 unsigned int hratio; in mt9p031_set_format() local
594 hratio = DIV_ROUND_CLOSEST(__crop->width, width); in mt9p031_set_format()
599 __format->width = __crop->width / hratio; in mt9p031_set_format()
/OK3568_Linux_fs/kernel/drivers/media/platform/vsp1/
H A Dvsp1_hgt.c136 unsigned int hratio; in hgt_configure_stream() local
167 hratio = crop->width * 2 / compose->width / 3; in hgt_configure_stream()
170 (hratio << VI6_HGT_MODE_HRATIO_SHIFT) | in hgt_configure_stream()
H A Dvsp1_hgo.c140 unsigned int hratio; in hgo_configure_stream() local
164 hratio = crop->width * 2 / compose->width / 3; in hgo_configure_stream()
169 (hratio << VI6_HGO_MODE_HRATIO_SHIFT) | in hgo_configure_stream()
/OK3568_Linux_fs/kernel/drivers/media/platform/exynos-gsc/
H A Dgsc-core.c258 void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *sh) in gsc_get_prescaler_shfactor() argument
260 if (hratio == 4 && vratio == 4) in gsc_get_prescaler_shfactor()
262 else if ((hratio == 4 && vratio == 2) || in gsc_get_prescaler_shfactor()
263 (hratio == 2 && vratio == 4)) in gsc_get_prescaler_shfactor()
265 else if ((hratio == 4 && vratio == 1) || in gsc_get_prescaler_shfactor()
266 (hratio == 1 && vratio == 4) || in gsc_get_prescaler_shfactor()
267 (hratio == 2 && vratio == 2)) in gsc_get_prescaler_shfactor()
269 else if (hratio == 1 && vratio == 1) in gsc_get_prescaler_shfactor()
277 u32 tx, u32 ty, u32 *hratio) in gsc_check_src_scale_info() argument
300 remainder = s_frame->crop.height % (*hratio * halign); in gsc_check_src_scale_info()
[all …]
H A Dgsc-core.h394 void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *sh);
397 u32 *wratio, u32 tx, u32 ty, u32 *hratio);
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/
H A Dsharp_xml2json_v1.cpp55 pTuningISOV2->hratio = pISO->hratio; in sharpV1_calibdb_to_calibdbV2()
142 pISO->hratio = pTuningISOV2->hratio; in sharpV1_calibdbV2_to_calibdb()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/asharp/
H A Drk_aiq_asharp_algo_sharp.cpp157 pParams->hratio[i] = pSetting->sharp_iso[i].hratio; in init_sharp_params_v1()
443 pParams->hratio[0]); in init_sharp_params_v1()
518 pParams->hratio[i] = pTuning_ISO->hratio; in init_sharp_params_v1_json()
792 pParams->hratio[0]); in init_sharp_params_v1_json()
813 pParams->hratio[i], in sharp_algo_param_printf()
983 …rksharpenParamsSelected->hratio = INTERP1(strksharpenParams->hratio [gain_low], … in select_rk_sharpen_hw_params_by_ISO()
1098 …rksharpenParamsSelected->hratio = INTERP1(strksharpenParams->hratio [gain_low], … in select_rk_sharpen_hw_v2_params_by_ISO()
1188 …rksharpenParamsSelected->hratio = INTERP1(strksharpenParams->hratio [gain_low], … in select_rk_sharpen_hw_v3_params_by_ISO()
1568 tmp = ROUND_F(pSharpV1->hratio * fPercent * (1 << reg_sharpenHW_hratio_fix_bits)); in rk_Sharp_V1_fix_transfer()
H A Drk_aiq_asharp_algo.cpp122 pAsharpCtx->stAuto.stSharpParam.rk_sharpen_params_V1.hratio[0], in AsharpInit()
195 pAsharpCtx->stAuto.stSharpParam.rk_sharpen_params_V1.hratio[0], in AsharpInit_json()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/exynos/
H A Dexynos_drm_gsc.c726 static void gsc_get_prescaler_shfactor(u32 hratio, u32 vratio, u32 *shfactor) in gsc_get_prescaler_shfactor() argument
728 if (hratio == 4 && vratio == 4) in gsc_get_prescaler_shfactor()
730 else if ((hratio == 4 && vratio == 2) || in gsc_get_prescaler_shfactor()
731 (hratio == 2 && vratio == 4)) in gsc_get_prescaler_shfactor()
733 else if ((hratio == 4 && vratio == 1) || in gsc_get_prescaler_shfactor()
734 (hratio == 1 && vratio == 4) || in gsc_get_prescaler_shfactor()
735 (hratio == 2 && vratio == 2)) in gsc_get_prescaler_shfactor()
737 else if (hratio == 1 && vratio == 1) in gsc_get_prescaler_shfactor()
H A Dexynos_drm_fimc.c81 u32 hratio; member
785 sc->hratio = (src_w << 14) / (dst_w << hfactor); in fimc_set_prescaler()
790 sc->hratio, sc->vratio, sc->up_h, sc->up_v); in fimc_set_prescaler()
814 sc->hratio, sc->vratio); in fimc_set_scaler()
834 cfg |= (EXYNOS_CISCCTRL_MAINHORRATIO((sc->hratio >> 6)) | in fimc_set_scaler()
841 cfg_ext |= (EXYNOS_CIEXTEN_MAINHORRATIO_EXT(sc->hratio) | in fimc_set_scaler()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/iq_parser_v2/
H A Dsharp_head_v1.h46 float hratio; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvmodesnv17.c551 int overscan, hmargin, vmargin, hratio, vratio; in nv17_ctv_update_rescaler() local
567 hratio = crtc_mode->hdisplay * 0x800 / in nv17_ctv_update_rescaler()
580 XLATE(hratio, 0, NV_PRAMDAC_FP_DEBUG_1_XSCALE_VALUE); in nv17_ctv_update_rescaler()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/iq_parser/
H A DRkAiqCalibDbTypesIsp20.h1664 float hratio; member
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/
H A Drkisp_demo.cpp836 stSharpIQpara.stSharpPara.mode_cell[m].setting[k].sharp_iso[i].hratio = 1.9;
855 … stGetSharpIQpara.stSharpPara.mode_cell[m].setting[k].sharp_iso[i].hratio,
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser/
H A DRkAiqCalibParser.cpp16467 int no = ParseFloatArray(pchild, &pSetting->sharp_iso[index].hratio, tag.Size()); in parseEntrySensorSharpISO()