Lines Matching refs:hsdkA
75 btk_Status btk_FaceFinder_create( btk_HSDK hsdkA, /* sdk handle */ in btk_FaceFinder_create() argument
85 if( hsdkA == NULL ) return btk_STATUS_INVALID_HANDLE; in btk_FaceFinder_create()
86 if( hsdkA->hidE != btk_HID_SDK ) return btk_STATUS_INVALID_HANDLE; in btk_FaceFinder_create()
88 if( bbs_Context_error( &hsdkA->contextE ) ) return btk_STATUS_PREEXISTING_ERROR; in btk_FaceFinder_create()
90 …hFaceFinderL = ( btk_HFaceFinder )bbs_MemSeg_alloc( &hsdkA->contextE, hsdkA->contextE.memTblE.espA… in btk_FaceFinder_create()
91 if( bbs_Context_error( &hsdkA->contextE ) ) return btk_STATUS_ERROR; in btk_FaceFinder_create()
93 btk_FaceFinder_init( &hsdkA->contextE, hFaceFinderL ); in btk_FaceFinder_create()
94 if( bbs_Context_error( &hsdkA->contextE ) ) return btk_STATUS_ERROR; in btk_FaceFinder_create()
96 hFaceFinderL->hsdkE = hsdkA; in btk_FaceFinder_create()
98 …if( btk_SDK_paramConsistencyTest( hsdkA, pCreateParamA->pModuleParam, pCreateParamA->moduleParamSi… in btk_FaceFinder_create()
100 if( hsdkA->maxImageWidthE * hsdkA->maxImageHeightE == 0 ) in btk_FaceFinder_create()
102 bbs_Context_pushError( &hsdkA->contextE, in btk_FaceFinder_create()
109 bpi_FaceFinderRef_memRead( &hsdkA->contextE, in btk_FaceFinder_create()
111 hsdkA->maxImageWidthE, in btk_FaceFinder_create()
112 hsdkA->maxImageHeightE, in btk_FaceFinder_create()
114 &hsdkA->contextE.memTblE ); in btk_FaceFinder_create()
116 if( bbs_Context_error( &hsdkA->contextE ) ) return btk_STATUS_ERROR; in btk_FaceFinder_create()
119 hsdkA->refCtrE++; in btk_FaceFinder_create()