Home | History | Annotate | Download | only in b_ImageEm

Lines Matching full:ptra

42 						  struct bim_UInt8Image* ptrA )
44 bbs_UInt8Arr_init( cpA, &ptrA->arrE );
45 ptrA->widthE = 0;
46 ptrA->heightE = 0;
52 struct bim_UInt8Image* ptrA,
58 if( ptrA->arrE.arrPtrE != 0 )
60 bim_UInt8Image_size( cpA, ptrA, widthA, heightA );
64 bbs_UInt8Arr_create( cpA, &ptrA->arrE, widthA * heightA, mspA );
65 ptrA->widthE = widthA;
66 ptrA->heightE = heightA;
72 struct bim_UInt8Image* ptrA )
74 bbs_UInt8Arr_exit( cpA, &ptrA->arrE );
75 ptrA->widthE = 0;
76 ptrA->heightE = 0;
90 struct bim_UInt8Image* ptrA,
94 if( ptrA->arrE.sizeE < srcPtrA->arrE.sizeE )
101 ptrA->widthE = srcPtrA->widthE;
102 ptrA->heightE = srcPtrA->heightE;
103 bbs_UInt8Arr_copy( cpA, &ptrA->arrE, &srcPtrA->arrE );
109 const struct bim_UInt8Image* ptrA,
112 if( ptrA->widthE != srcPtrA->widthE ) return FALSE;
113 if( ptrA->heightE != srcPtrA->heightE ) return FALSE;
114 return bbs_UInt8Arr_equal( cpA, &ptrA->arrE, &srcPtrA->arrE );
128 const struct bim_UInt8Image* ptrA )
132 uint32 sizeL = ptrA->arrE.sizeE;
133 const uint8* ptrL = ptrA->arrE.arrPtrE;
152 struct bim_UInt8Image* ptrA,
157 if( ptrA->arrE.arrPtrE != 0 )
163 bim_UInt8Image_create( cpA, ptrA,
172 struct bim_UInt8Image* ptrA,
176 if( ptrA->arrE.allocatedSizeE < widthA * heightA )
182 bbs_UInt8Arr_size( cpA, &ptrA->arrE, widthA * heightA );
183 ptrA->widthE = widthA;
184 ptrA->heightE = heightA;
198 const struct bim_UInt8Image* ptrA )
202 + bbs_SIZEOF16( ptrA->widthE )
203 + bbs_SIZEOF16( ptrA->heightE )
204 + bbs_UInt8Arr_memSize( cpA, &ptrA->arrE );
210 const struct bim_UInt8Image* ptrA,
213 uint32 memSizeL = bim_UInt8Image_memSize( cpA, ptrA );
216 memPtrA += bbs_memWrite32( &ptrA->widthE, memPtrA );
217 memPtrA += bbs_memWrite32( &ptrA->heightE, memPtrA );
218 bbs_UInt8Arr_memWrite( cpA, &ptrA->arrE, memPtrA );
225 struct bim_UInt8Image* ptrA,
236 ptrA->widthE = widthL;
237 ptrA->heightE = heightL;
238 bbs_UInt8Arr_memRead( cpA, &ptrA->arrE, memPtrA, mspA );
240 if( memSizeL != bim_UInt8Image_memSize( cpA, ptrA ) )
242 bbs_ERR0( bbs_ERR_CORRUPT_DATA, "uint32 bim_UInt8Image_memRead( const struct bim_UInt8Image* ptrA, const void* memPtrA ):\n"
260 struct bim_UInt8Image* ptrA,
264 uint8* ptrL = ptrA->arrE.arrPtrE;
265 for( iL = ptrA->widthE * ptrA->heightE; iL > 0; iL-- )
351 struct bim_UInt8Image* ptrA,
390 bim_UInt8Image_size( cpA, ptrA, sectionL.x2E - sectionL.x1E, sectionL.y2E - sectionL.y1E );
393 dstPixelPtrL = ptrA->arrE.arrPtrE;
516 /** applies affine linear warping to pixels positions of imageA before copying the into *ptrA */
518 struct bim_UInt8Image* ptrA,
555 bim_UInt8Image_size( cpA, ptrA, resultWidthA, resultHeightA );
556 dstPtrL = ptrA->arrE.arrPtrE;
563 bim_UInt8Image_size( cpA, ptrA, srcWidthL, srcHeightL );
639 for( jL = 0; jL < ptrA->heightE; jL++ )
643 for( iL = 0; iL < ptrA->widthE; iL++ )
766 struct bim_UInt8Image* ptrA,
772 bim_UInt8Image_warpOffs( cpA, ptrA, srcPtrA, 0, 0, altPtrA, resultWidthA, resultHeightA );