Home
last modified time | relevance | path

Searched refs:pAsharpCtx (Results 1 – 17 of 17) sorted by relevance

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/asharp4/
H A Drk_aiq_asharp_algo_v4.cpp7 Asharp4_result_t Asharp_Start_V4(Asharp_Context_V4_t *pAsharpCtx) in Asharp_Start_V4() argument
12 if (pAsharpCtx == NULL) { in Asharp_Start_V4()
16 if ((ASHARP4_STATE_RUNNING == pAsharpCtx->eState) in Asharp_Start_V4()
17 || (ASHARP4_STATE_LOCKED == pAsharpCtx->eState)) { in Asharp_Start_V4()
21 pAsharpCtx->eState = ASHARP4_STATE_RUNNING; in Asharp_Start_V4()
28 Asharp4_result_t Asharp_Stop_V4(Asharp_Context_V4_t *pAsharpCtx) in Asharp_Stop_V4() argument
33 if (pAsharpCtx == NULL) { in Asharp_Stop_V4()
37 if (ASHARP4_STATE_LOCKED == pAsharpCtx->eState) { in Asharp_Stop_V4()
41 pAsharpCtx->eState = ASHARP4_STATE_STOPPED; in Asharp_Stop_V4()
51 Asharp_Context_V4_t * pAsharpCtx; in Asharp_Init_V4() local
[all …]
H A Drk_aiq_uapi_asharp_int_v4.cpp13 Asharp_Context_V4_t* pAsharpCtx = (Asharp_Context_V4_t*)ctx; in rk_aiq_uapi_asharpV4_SetAttrib() local
15 pAsharpCtx->eMode = attr->eMode; in rk_aiq_uapi_asharpV4_SetAttrib()
17 if(pAsharpCtx->eMode == ASHARP4_OP_MODE_AUTO) { in rk_aiq_uapi_asharpV4_SetAttrib()
18 pAsharpCtx->stAuto = attr->stAuto; in rk_aiq_uapi_asharpV4_SetAttrib()
19 } else if(pAsharpCtx->eMode == ASHARP4_OP_MODE_MANUAL) { in rk_aiq_uapi_asharpV4_SetAttrib()
20 pAsharpCtx->stManual.stSelect = attr->stManual.stSelect; in rk_aiq_uapi_asharpV4_SetAttrib()
21 } else if(pAsharpCtx->eMode == ASHARP4_OP_MODE_REG_MANUAL) { in rk_aiq_uapi_asharpV4_SetAttrib()
22 pAsharpCtx->stManual.stFix = attr->stManual.stFix; in rk_aiq_uapi_asharpV4_SetAttrib()
25 pAsharpCtx->isReCalculate |= 1; in rk_aiq_uapi_asharpV4_SetAttrib()
35 Asharp_Context_V4_t* pAsharpCtx = (Asharp_Context_V4_t*)ctx; in rk_aiq_uapi_asharpV4_GetAttrib() local
[all …]
H A Drk_aiq_asharp_algo_itf_v4.cpp39 Asharp_Context_V4_t* pAsharpCtx = NULL; in create_context() local
41 Asharp4_result_t ret = Asharp_Init_V4(&pAsharpCtx, cfg->calibv2); in create_context()
48 *context = (RkAiqAlgoContext *)(pAsharpCtx); in create_context()
64 Asharp_Context_V4_t* pAsharpCtx = (Asharp_Context_V4_t*)context; in destroy_context() local
65 Asharp4_result_t ret = Asharp_Release_V4(pAsharpCtx); in destroy_context()
83 Asharp_Context_V4_t* pAsharpCtx = (Asharp_Context_V4_t *)params->ctx; in prepare() local
85 pAsharpCtx->prepare_type = params->u.prepare.conf_type; in prepare()
91 pAsharpCtx->sharp_v4 = *calibv2_sharp; in prepare()
93 pAsharpCtx->isIQParaUpdate = true; in prepare()
94 pAsharpCtx->isReCalculate |= 1; in prepare()
[all …]
H A Drk_aiq_asharp_algo_v4.h16 Asharp4_result_t Asharp_Start_V4(Asharp_Context_V4_t *pAsharpCtx);
18 Asharp4_result_t Asharp_Stop_V4(Asharp_Context_V4_t *pAsharpCtx);
24 Asharp4_result_t Asharp_Release_V4(Asharp_Context_V4_t *pAsharpCtx);
27 Asharp4_result_t Asharp_Prepare_V4(Asharp_Context_V4_t *pAsharpCtx, Asharp_Config_V4_t* pANRConfig);
30 Asharp4_result_t Asharp_ReConfig_V4(Asharp_Context_V4_t *pAsharpCtx, Asharp_Config_V4_t* pANRConfig…
32 Asharp4_result_t Asharp_IQParaUpdate_V4(Asharp_Context_V4_t *pAsharpCtx);
35 Asharp4_result_t Asharp_PreProcess_V4(Asharp_Context_V4_t *pAsharpCtx);
38 Asharp4_result_t Asharp_Process_V4(Asharp_Context_V4_t *pAsharpCtx, Asharp4_ExpInfo_t *pExpInfo);
41 Asharp4_result_t Asharp_GetProcResult_V4(Asharp_Context_V4_t *pAsharpCtx, Asharp_ProcResult_V4_t* p…
43 Asharp4_result_t Asharp_ConfigSettingParam_V4(Asharp_Context_V4_t *pAsharpCtx, Asharp4_ParamMode_t …
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/asharpV33/
H A Drk_aiq_asharp_algo_v33.cpp26 Asharp_result_V33_t Asharp_Start_V33(Asharp_Context_V33_t* pAsharpCtx) { in Asharp_Start_V33() argument
30 if (pAsharpCtx == NULL) { in Asharp_Start_V33()
34 if ((ASHARP_V33_STATE_RUNNING == pAsharpCtx->eState) || in Asharp_Start_V33()
35 (ASHARP_V33_STATE_LOCKED == pAsharpCtx->eState)) { in Asharp_Start_V33()
39 pAsharpCtx->eState = ASHARP_V33_STATE_RUNNING; in Asharp_Start_V33()
45 Asharp_result_V33_t Asharp_Stop_V33(Asharp_Context_V33_t* pAsharpCtx) { in Asharp_Stop_V33() argument
49 if (pAsharpCtx == NULL) { in Asharp_Stop_V33()
53 if (ASHARP_V33_STATE_LOCKED == pAsharpCtx->eState) { in Asharp_Stop_V33()
57 pAsharpCtx->eState = ASHARP_V33_STATE_STOPPED; in Asharp_Stop_V33()
65 Asharp_Context_V33_t* pAsharpCtx; in Asharp_Init_V33() local
[all …]
H A Drk_aiq_uapi_asharp_int_v33.cpp28 Asharp_Context_V33_t* pAsharpCtx = (Asharp_Context_V33_t*)ctx; in rk_aiq_uapi_asharpV33_SetAttrib() local
30 pAsharpCtx->eMode = attr->eMode; in rk_aiq_uapi_asharpV33_SetAttrib()
33 if (pAsharpCtx->eMode == ASHARP_V33_OP_MODE_AUTO) { in rk_aiq_uapi_asharpV33_SetAttrib()
34 pAsharpCtx->stAuto = attr->stAuto; in rk_aiq_uapi_asharpV33_SetAttrib()
35 } else if (pAsharpCtx->eMode == ASHARP_V33_OP_MODE_MANUAL) { in rk_aiq_uapi_asharpV33_SetAttrib()
36 pAsharpCtx->stManual.stSelect = attr->stManual.stSelect; in rk_aiq_uapi_asharpV33_SetAttrib()
37 } else if (pAsharpCtx->eMode == ASHARP_V33_OP_MODE_REG_MANUAL) { in rk_aiq_uapi_asharpV33_SetAttrib()
38 pAsharpCtx->stManual.stFix = attr->stManual.stFix; in rk_aiq_uapi_asharpV33_SetAttrib()
41 pAsharpCtx->isReCalculate |= 1; in rk_aiq_uapi_asharpV33_SetAttrib()
49 Asharp_Context_V33_t* pAsharpCtx = (Asharp_Context_V33_t*)ctx; in rk_aiq_uapi_asharpV33_GetAttrib() local
[all …]
H A Drk_aiq_asharp_algo_itf_v33.cpp35 Asharp_Context_V33_t* pAsharpCtx = NULL; in create_context() local
37 Asharp_result_V33_t ret = Asharp_Init_V33(&pAsharpCtx, cfg->calibv2); in create_context()
39 Asharp_result_V33_t ret = Asharp_Init_V33(&pAsharpCtx, cfg->calib); in create_context()
46 *context = (RkAiqAlgoContext*)(pAsharpCtx); in create_context()
60 Asharp_Context_V33_t* pAsharpCtx = (Asharp_Context_V33_t*)context; in destroy_context() local
61 Asharp_result_V33_t ret = Asharp_Release_V33(pAsharpCtx); in destroy_context()
77 Asharp_Context_V33_t* pAsharpCtx = (Asharp_Context_V33_t*)params->ctx; in prepare() local
79 pAsharpCtx->prepare_type = params->u.prepare.conf_type; in prepare()
91 pAsharpCtx->sharp_v33 = *calibv2_sharp; in prepare()
93 pAsharpCtx->isIQParaUpdate = true; in prepare()
[all …]
H A Drk_aiq_asharp_algo_v33.h33 Asharp_result_V33_t Asharp_Start_V33(Asharp_Context_V33_t* pAsharpCtx);
35 Asharp_result_V33_t Asharp_Stop_V33(Asharp_Context_V33_t* pAsharpCtx);
41 Asharp_result_V33_t Asharp_Release_V33(Asharp_Context_V33_t* pAsharpCtx);
44 Asharp_result_V33_t Asharp_Prepare_V33(Asharp_Context_V33_t* pAsharpCtx,
48 Asharp_result_V33_t Asharp_ReConfig_V33(Asharp_Context_V33_t* pAsharpCtx,
51 Asharp_result_V33_t Asharp_IQParaUpdate_V33(Asharp_Context_V33_t* pAsharpCtx);
54 Asharp_result_V33_t Asharp_PreProcess_V33(Asharp_Context_V33_t* pAsharpCtx);
57 Asharp_result_V33_t Asharp_Process_V33(Asharp_Context_V33_t* pAsharpCtx,
61 Asharp_result_V33_t Asharp_GetProcResult_V33(Asharp_Context_V33_t* pAsharpCtx,
64 Asharp_result_V33_t Asharp_ConfigSettingParam_V33(Asharp_Context_V33_t* pAsharpCtx,
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/asharp3/
H A Drk_aiq_asharp_algo_v3.cpp8 Asharp3_result_t Asharp_Start_V3(Asharp_Context_V3_t *pAsharpCtx) in Asharp_Start_V3() argument
13 if (pAsharpCtx == NULL) { in Asharp_Start_V3()
17 if ((ASHARP3_STATE_RUNNING == pAsharpCtx->eState) in Asharp_Start_V3()
18 || (ASHARP3_STATE_LOCKED == pAsharpCtx->eState)) { in Asharp_Start_V3()
22 pAsharpCtx->eState = ASHARP3_STATE_RUNNING; in Asharp_Start_V3()
29 Asharp3_result_t Asharp_Stop_V3(Asharp_Context_V3_t *pAsharpCtx) in Asharp_Stop_V3() argument
34 if (pAsharpCtx == NULL) { in Asharp_Stop_V3()
38 if (ASHARP3_STATE_LOCKED == pAsharpCtx->eState) { in Asharp_Stop_V3()
42 pAsharpCtx->eState = ASHARP3_STATE_STOPPED; in Asharp_Stop_V3()
52 Asharp_Context_V3_t * pAsharpCtx; in Asharp_Init_V3() local
[all …]
H A Drk_aiq_asharp_algo_itf_v3.cpp40 Asharp_Context_V3_t* pAsharpCtx = NULL; in create_context() local
42 Asharp3_result_t ret = Asharp_Init_V3(&pAsharpCtx, cfg->calibv2); in create_context()
44 Asharp3_result_t ret = Asharp_Init_V3(&pAsharpCtx, cfg->calib); in create_context()
51 *context = (RkAiqAlgoContext *)(pAsharpCtx); in create_context()
67 Asharp_Context_V3_t* pAsharpCtx = (Asharp_Context_V3_t*)context; in destroy_context() local
68 Asharp3_result_t ret = Asharp_Release_V3(pAsharpCtx); in destroy_context()
86 Asharp_Context_V3_t* pAsharpCtx = (Asharp_Context_V3_t *)params->ctx; in prepare() local
88 pAsharpCtx->prepare_type = params->u.prepare.conf_type; in prepare()
94 pAsharpCtx->sharp_v3 = *calibv2_sharp; in prepare()
96 pAsharpCtx->list_sharp_v3 = in prepare()
[all …]
H A Drk_aiq_uapi_asharp_int_v3.cpp12 Asharp_Context_V3_t* pAsharpCtx = (Asharp_Context_V3_t*)ctx; in rk_aiq_uapi_asharpV3_SetAttrib() local
14 pAsharpCtx->eMode = attr->eMode; in rk_aiq_uapi_asharpV3_SetAttrib()
15 pAsharpCtx->stAuto = attr->stAuto; in rk_aiq_uapi_asharpV3_SetAttrib()
16 pAsharpCtx->stManual = attr->stManual; in rk_aiq_uapi_asharpV3_SetAttrib()
17 pAsharpCtx->isReCalculate |= 1; in rk_aiq_uapi_asharpV3_SetAttrib()
27 Asharp_Context_V3_t* pAsharpCtx = (Asharp_Context_V3_t*)ctx; in rk_aiq_uapi_asharpV3_GetAttrib() local
29 attr->eMode = pAsharpCtx->eMode; in rk_aiq_uapi_asharpV3_GetAttrib()
30 memcpy(&attr->stAuto, &pAsharpCtx->stAuto, sizeof(attr->stAuto)); in rk_aiq_uapi_asharpV3_GetAttrib()
31 memcpy(&attr->stManual, &pAsharpCtx->stManual, sizeof(attr->stManual)); in rk_aiq_uapi_asharpV3_GetAttrib()
41 Asharp_Context_V3_t* pAsharpCtx = (Asharp_Context_V3_t*)ctx; in rk_aiq_uapi_asharpV3_SetStrength() local
[all …]
H A Drk_aiq_asharp_algo_v3.h15 Asharp3_result_t Asharp_Start_V3(Asharp_Context_V3_t *pAsharpCtx);
17 Asharp3_result_t Asharp_Stop_V3(Asharp_Context_V3_t *pAsharpCtx);
23 Asharp3_result_t Asharp_Release_V3(Asharp_Context_V3_t *pAsharpCtx);
26 Asharp3_result_t Asharp_Prepare_V3(Asharp_Context_V3_t *pAsharpCtx, Asharp_Config_V3_t* pANRConfig);
29 Asharp3_result_t Asharp_ReConfig_V3(Asharp_Context_V3_t *pAsharpCtx, Asharp_Config_V3_t* pANRConfig…
31 Asharp3_result_t Asharp_IQParaUpdate_V3(Asharp_Context_V3_t *pAsharpCtx);
34 Asharp3_result_t Asharp_PreProcess_V3(Asharp_Context_V3_t *pAsharpCtx);
37 Asharp3_result_t Asharp_Process_V3(Asharp_Context_V3_t *pAsharpCtx, Asharp3_ExpInfo_t *pExpInfo);
40 Asharp3_result_t Asharp_GetProcResult_V3(Asharp_Context_V3_t *pAsharpCtx, Asharp_ProcResult_V3_t* p…
42 Asharp3_result_t Asharp_ConfigSettingParam_V3(Asharp_Context_V3_t *pAsharpCtx, Asharp3_ParamMode_t …
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/asharp/
H A Drk_aiq_asharp_algo.cpp7 AsharpResult_t AsharpStart(AsharpContext_t *pAsharpCtx) in AsharpStart() argument
12 if (pAsharpCtx == NULL) { in AsharpStart()
16 if ((ASHARP_STATE_RUNNING == pAsharpCtx->eState) in AsharpStart()
17 || (ASHARP_STATE_LOCKED == pAsharpCtx->eState)) { in AsharpStart()
21 pAsharpCtx->eState = ASHARP_STATE_RUNNING; in AsharpStart()
28 AsharpResult_t AsharpStop(AsharpContext_t *pAsharpCtx) in AsharpStop() argument
33 if (pAsharpCtx == NULL) { in AsharpStop()
37 if (ASHARP_STATE_LOCKED == pAsharpCtx->eState) { in AsharpStop()
41 pAsharpCtx->eState = ASHARP_STATE_STOPPED; in AsharpStop()
48 AsharpResult_t AsharpIQParaUpdate(AsharpContext_t *pAsharpCtx) in AsharpIQParaUpdate() argument
[all …]
H A Drk_aiq_uapi_asharp_int.cpp16 AsharpContext_t* pAsharpCtx = (AsharpContext_t*)ctx; in rk_aiq_uapi_asharp_SetAttrib() local
18 pAsharpCtx->eMode = attr->eMode; in rk_aiq_uapi_asharp_SetAttrib()
19 pAsharpCtx->stAuto = attr->stAuto; in rk_aiq_uapi_asharp_SetAttrib()
20 pAsharpCtx->stManual = attr->stManual; in rk_aiq_uapi_asharp_SetAttrib()
30 AsharpContext_t* pAsharpCtx = (AsharpContext_t*)ctx; in rk_aiq_uapi_asharp_GetAttrib() local
32 attr->eMode = pAsharpCtx->eMode; in rk_aiq_uapi_asharp_GetAttrib()
33 memcpy(&attr->stAuto, &pAsharpCtx->stAuto, sizeof(Asharp_Auto_Attr_t)); in rk_aiq_uapi_asharp_GetAttrib()
34 memcpy(&attr->stManual, &pAsharpCtx->stManual, sizeof(Asharp_Manual_Attr_t)); in rk_aiq_uapi_asharp_GetAttrib()
46 AsharpContext_t* pAsharpCtx = (AsharpContext_t*)ctx; in rk_aiq_uapi_asharp_SetIQpara() local
61 pAsharpCtx->isIQParaUpdate = true; in rk_aiq_uapi_asharp_SetIQpara()
[all …]
H A Drk_aiq_asharp_algo.h14 AsharpResult_t AsharpStart(AsharpContext_t *pAsharpCtx);
16 AsharpResult_t AsharpStop(AsharpContext_t *pAsharpCtx);
18 AsharpResult_t AsharpIQParaUpdate(AsharpContext_t *pAsharpCtx);
22 AsharpResult_t AsharpRelease(AsharpContext_t *pAsharpCtx);
24 AsharpResult_t AsharpPrepare(AsharpContext_t *pAsharpCtx, AsharpConfig_t* pAsharpConfig);
26 AsharpResult_t AsharpReConfig(AsharpContext_t *pAsharpCtx, AsharpConfig_t* pAsharpConfig);
28 AsharpResult_t AsharpPreProcess(AsharpContext_t *pAsharpCtx);
30 AsharpResult_t AsharpProcess(AsharpContext_t *pAsharpCtx, AsharpExpInfo_t *pExpInfo);
32 AsharpResult_t AsharpGetProcResult(AsharpContext_t *pAsharpCtx, AsharpProcResult_t* pAsharpResult);
36 AsharpResult_t ASharpConfigSettingParam(AsharpContext_t *pAsharpCtx, AsharpParamMode_t param_mode, …
[all …]
H A Drk_aiq_algo_asharp_itf.cpp39 AsharpContext_t* pAsharpCtx = NULL; in create_context() local
41 AsharpResult_t ret = AsharpInit_json(&pAsharpCtx, cfg->calibv2); in create_context()
43 AsharpResult_t ret = AsharpInit(&pAsharpCtx, cfg->calib); in create_context()
50 *context = (RkAiqAlgoContext *)(pAsharpCtx); in create_context()
66 AsharpContext_t* pAsharpCtx = (AsharpContext_t*)context; in destroy_context() local
67 AsharpResult_t ret = AsharpRelease(pAsharpCtx); in destroy_context()
86 AsharpContext_t* pAsharpCtx = (AsharpContext_t *)params->ctx; in prepare() local
88 pAsharpCtx->prepare_type = params->u.prepare.conf_type; in prepare()
95 sharp_calibdbV2_assign(&pAsharpCtx->sharp_v1, calibv2_sharp); in prepare()
98 edgefilter_calibdbV2_assign(&pAsharpCtx->edgefilter_v1, calibv2_edgefilter); in prepare()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos_camgroup/asharpV33/
H A Drk_aiq_uapi_camgroup_asharp_int_v33.cpp14 Asharp_Context_V33_t* pAsharpCtx = pGroupAsharpCtx->asharp_contex_v33; in rk_aiq_uapi_camgroup_asharpV33_SetAttrib() local
16 pAsharpCtx->eMode = attr->eMode; in rk_aiq_uapi_camgroup_asharpV33_SetAttrib()
17 if (pAsharpCtx->eMode == ASHARP_V33_OP_MODE_AUTO) { in rk_aiq_uapi_camgroup_asharpV33_SetAttrib()
18 pAsharpCtx->stAuto = attr->stAuto; in rk_aiq_uapi_camgroup_asharpV33_SetAttrib()
19 } else if (pAsharpCtx->eMode == ASHARP_V33_OP_MODE_MANUAL) { in rk_aiq_uapi_camgroup_asharpV33_SetAttrib()
20 pAsharpCtx->stManual.stSelect = attr->stManual.stSelect; in rk_aiq_uapi_camgroup_asharpV33_SetAttrib()
21 } else if (pAsharpCtx->eMode == ASHARP_V33_OP_MODE_REG_MANUAL) { in rk_aiq_uapi_camgroup_asharpV33_SetAttrib()
22 pAsharpCtx->stManual.stFix = attr->stManual.stFix; in rk_aiq_uapi_camgroup_asharpV33_SetAttrib()
24 pAsharpCtx->isReCalculate |= 1; in rk_aiq_uapi_camgroup_asharpV33_SetAttrib()
35 Asharp_Context_V33_t* pAsharpCtx = pGroupAsharpCtx->asharp_contex_v33; in rk_aiq_uapi_camgroup_asharpV33_GetAttrib() local
[all …]