Home | History | Annotate | Download | only in b_ImageEm

Lines Matching full:ptra

42 							   struct bim_UInt16ByteImage* ptrA )
44 bbs_UInt16Arr_init( cpA, &ptrA->arrE );
45 ptrA->widthE = 0;
46 ptrA->heightE = 0;
52 struct bim_UInt16ByteImage* ptrA )
54 bbs_UInt16Arr_exit( cpA, &ptrA->arrE );
55 ptrA->widthE = 0;
56 ptrA->heightE = 0;
70 struct bim_UInt16ByteImage* ptrA,
74 if( ptrA->arrE.sizeE < srcPtrA->arrE.sizeE )
81 ptrA->widthE = srcPtrA->widthE;
82 ptrA->heightE = srcPtrA->heightE;
83 bbs_UInt16Arr_copy( cpA, &ptrA->arrE, &srcPtrA->arrE );
89 const struct bim_UInt16ByteImage* ptrA,
92 if( ptrA->widthE != srcPtrA->widthE ) return FALSE;
93 if( ptrA->heightE != srcPtrA->heightE ) return FALSE;
94 return bbs_UInt16Arr_equal( cpA, &ptrA->arrE, &srcPtrA->arrE );
108 const struct bim_UInt16ByteImage* ptrA )
112 uint32 sizeL = ptrA->arrE.sizeE;
113 const uint16* ptrL = ptrA->arrE.arrPtrE;
132 struct bim_UInt16ByteImage* ptrA,
144 if( ptrA->arrE.arrPtrE != 0 )
146 bim_UInt16ByteImage_size( cpA, ptrA, widthA, heightA );
150 bbs_UInt16Arr_create( cpA, &ptrA->arrE, ( widthA * heightA ) >> 1, mspA );
151 ptrA->widthE = widthA;
152 ptrA->heightE = heightA;
159 struct bim_UInt16ByteImage* ptrA,
164 if( ptrA->arrE.arrPtrE != 0 )
170 bim_UInt16ByteImage_create( cpA, ptrA,
179 struct bim_UInt16ByteImage* ptrA,
188 if( ptrA->arrE.allocatedSizeE < ( ( widthA * heightA ) >> 1 ) )
194 bbs_UInt16Arr_size( cpA, &ptrA->arrE, ( widthA * heightA ) >> 1 );
195 ptrA->widthE = widthA;
196 ptrA->heightE = heightA;
210 const struct bim_UInt16ByteImage* ptrA )
214 + bbs_SIZEOF16( ptrA->widthE )
215 + bbs_SIZEOF16( ptrA->heightE )
216 + bbs_UInt16Arr_memSize( cpA, &ptrA->arrE );
222 const struct bim_UInt16ByteImage* ptrA,
225 uint32 memSizeL = bim_UInt16ByteImage_memSize( cpA, ptrA );
228 memPtrA += bbs_memWrite32( &ptrA->widthE, memPtrA );
229 memPtrA += bbs_memWrite32( &ptrA->heightE, memPtrA );
230 bbs_UInt16Arr_memWrite( cpA, &ptrA->arrE, memPtrA );
237 struct bim_UInt16ByteImage* ptrA,
248 ptrA->widthE = widthL;
249 ptrA->heightE = heightL;
250 bbs_UInt16Arr_memRead( cpA, &ptrA->arrE, memPtrA, mspA );
252 if( memSizeL != bim_UInt16ByteImage_memSize( cpA, ptrA ) )
254 bbs_ERR0( bbs_ERR_CORRUPT_DATA, "uint32 bim_UInt16ByteImage_memRead( const struct bim_UInt16ByteImage* ptrA, const void* memPtrA ):\n"
272 struct bim_UInt16ByteImage* ptrA,
276 uint16* ptrL = ptrA->arrE.arrPtrE;
278 for( iL = ptrA->arrE.sizeE; iL > 0; iL-- )
331 /** applies affine linear warping to pixels positions of imageA before copying the into *ptrA */
333 struct bim_UInt16ByteImage* ptrA,
369 bim_UInt16ByteImage_size( cpA, ptrA, resultWidthA, resultHeightA );
370 dstPtrL = ptrA->arrE.arrPtrE;
377 bim_UInt16ByteImage_size( cpA, ptrA, srcWidthL, srcHeightL );
447 for( jL = 0; jL < ptrA->heightE; jL++ )
451 for( iL = 0; iL < ptrA->widthE; iL++ )
634 struct bim_UInt16ByteImage* ptrA,
669 bim_UInt16ByteImage_size( cpA, ptrA, resultWidthA, resultHeightA );
670 dstPtrL = ( uint8* )ptrA->arrE.arrPtrE;
746 for( jL = 0; jL < ptrA->heightE; jL++ )
750 for( iL = 0; iL < ptrA->widthE; iL++ )