AG903ライブラリリファレンス
Body Source
AG903_PgpMgrSetConfigDGCLUT 関数
本文ソース
コピコード
1: int32_t AG903_PgpMgrSetConfigDGCLUT(
AG903_PgpMgrPipelineHandle
*pipeline,
AG903_PgpMgrDGCLookupTable
*dgc_lut) 2: { 3: 4:
if
((pipeline == NULL) || (pipeline->id !=
AG903_PGP_MGR_PIPELINE_HANDLE_ID
)) { 5:
return
-
AG903_EINVAL
; 6: } 7:
if
((dgc_lut != NULL) && (dgc_lut->id !=
AG903_PGP_MGR_DGC_LUT_ID
)) { 8:
return
-
AG903_EINVAL
; 9: } 10: 11: 12:
if
(pipeline->dgc_lut == dgc_lut) { 13:
return
AG903_ENONE
; 14: } 15: 16:
if
(pipeline->dgc_lut != NULL) { 17: pipeline->dgc_lut->ref_cnt--; 18: pipeline->dgc_lut = NULL; 19: } 20: 21: pipeline->dgc_lut = dgc_lut; 22:
if
(dgc_lut != NULL) { 23: pipeline->dgc_lut_dirty =
true
; 24: dgc_lut->ref_cnt++; 25: } 26: 27:
return
AG903_ENONE
; 28: }
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム