Lines Matching refs:ptrA
44 struct bts_CompactAlt* ptrA )
46 bts_CompactMat_init( cpA, &ptrA->matE );
47 bbs_Int16Arr_init( cpA, &ptrA->vecE );
48 ptrA->vecExpE = 0;
54 struct bts_CompactAlt* ptrA )
56 bts_CompactMat_exit( cpA, &ptrA->matE );
57 bbs_Int16Arr_exit( cpA, &ptrA->vecE );
58 ptrA->vecExpE = 0;
87 struct bts_CompactAlt* ptrA,
94 bts_CompactMat_create( cpA, &ptrA->matE, widthA, heightA, bitsA, maxRowSizeA, mspA );
95 bbs_Int16Arr_create( cpA, &ptrA->vecE, heightA, mspA );
96 bbs_Int16Arr_fill( cpA, &ptrA->vecE, 0 );
97 ptrA->vecExpE = 0;
103 struct bts_CompactAlt* ptrA,
106 bts_CompactMat_copy( cpA, &ptrA->matE, &srcPtrA->matE );
107 bbs_Int16Arr_copy( cpA, &ptrA->vecE, &srcPtrA->vecE );
108 ptrA->vecExpE = srcPtrA->vecExpE;
122 const struct bts_CompactAlt *ptrA )
126 + bts_CompactMat_memSize( cpA, &ptrA->matE )
127 + bbs_Int16Arr_memSize( cpA, &ptrA->vecE )
128 + bbs_SIZEOF16( ptrA->vecExpE );
134 const struct bts_CompactAlt* ptrA,
137 uint32 memSizeL = bts_CompactAlt_memSize( cpA, ptrA );
140 memPtrA += bts_CompactMat_memWrite( cpA, &ptrA->matE, memPtrA );
141 memPtrA += bbs_Int16Arr_memWrite( cpA, &ptrA->vecE, memPtrA );
142 memPtrA += bbs_memWrite32( &ptrA->vecExpE, memPtrA );
149 struct bts_CompactAlt* ptrA,
157 memPtrA += bts_CompactMat_memRead( cpA, &ptrA->matE, memPtrA, mspA );
158 memPtrA += bbs_Int16Arr_memRead( cpA, &ptrA->vecE, memPtrA, mspA );
159 memPtrA += bbs_memRead32( &ptrA->vecExpE, memPtrA );
161 if( memSizeL != bts_CompactAlt_memSize( cpA, ptrA ) )
163 bbs_ERR0( bbs_ERR_CORRUPT_DATA, "uint32 bts_CompactAlt_memRead( const struct bts_CompactAlt* ptrA, const void* memPtrA ):\n"
181 const struct bts_CompactAlt* ptrA,
188 uint32 sizeL = ptrA->matE.heightE;
192 bts_CompactMat_map( cpA, &ptrA->matE, inVecA, outVecA, &mapExpL );
196 if( ptrA->vecE.sizeE > 0 )
198 const int16* vecL = ptrA->vecE.arrPtrE;
199 if( expL == ptrA->vecExpE )
204 else if( expL > ptrA->vecExpE )
206 int32 shrL = expL - ptrA->vecExpE;
213 int32 shrL = ptrA->vecExpE - expL;
223 bbs_memset16( outVecA, 0, ptrA->matE.heightE );