Home | History | Annotate | Download | only in b_FDSDK

Lines Matching refs:hsdkL

65 	btk_HSDK hsdkL = ( btk_HSDK )cpA;
66 if( hsdkL->mallocFPtrE != NULL )
68 return hsdkL->mallocFPtrE( sizeA );
81 btk_HSDK hsdkL = ( btk_HSDK )cpA;
82 if( hsdkL->errorFPtrE != NULL )
84 hsdkL->errorFPtrE( hsdkL );
111 btk_HSDK hsdkL = NULL;
120 hsdkL = ( btk_HSDK )pCreateParamA->fpMalloc( bbs_SIZEOF8( struct btk_SDK ) );
121 if( hsdkL == NULL ) return btk_STATUS_INVALID_HANDLE;
123 btk_SDK_init( hsdkL );
126 hsdkL->mallocFPtrE = pCreateParamA->fpMalloc;
127 hsdkL->freeFPtrE = pCreateParamA->fpFree;
128 hsdkL->errorFPtrE = pCreateParamA->fpError;
131 bbs_Context_quickInit( &hsdkL->contextE, btk_malloc, pCreateParamA->fpFree, btk_error );
132 if( bbs_Context_error( &hsdkL->contextE ) ) return btk_STATUS_ERROR;
146 hsdkL = ( btk_HSDK )exMemPtrL;
150 btk_SDK_init( hsdkL );
152 hsdkL->errorFPtrE = pCreateParamA->fpError;
153 hsdkL->contextE.errorHandlerE = btk_error;
156 bbs_Context_addStaticSeg( &hsdkL->contextE, exMemPtrL, exMemSizeL, FALSE, 0 );
157 bbs_Context_addStaticSeg( &hsdkL->contextE, pCreateParamA->pShMem, pCreateParamA->sizeShMem >> 1, TRUE, 0 );
160 hsdkL->maxImageWidthE = pCreateParamA->maxImageWidth;
161 hsdkL->maxImageHeightE = pCreateParamA->maxImageHeight;
163 *hpsdkA = hsdkL;