Home | History | Annotate | Download | only in b_ImageEm

Lines Matching full:ptra

43 								   struct bim_UInt8PyramidalImage* ptrA )
45 bbs_UInt8Arr_init( cpA, &ptrA->arrE );
46 ptrA->widthE = 0;
47 ptrA->heightE = 0;
48 ptrA->depthE = 0;
49 ptrA->typeE = bim_UINT8_PYRAMIDAL_IMG;
55 struct bim_UInt8PyramidalImage* ptrA )
57 bbs_UInt8Arr_exit( cpA, &ptrA->arrE );
58 ptrA->widthE = 0;
59 ptrA->heightE = 0;
60 ptrA->depthE = 0;
74 struct bim_UInt8PyramidalImage* ptrA,
78 if( ptrA->arrE.allocatedSizeE < srcPtrA->arrE.allocatedSizeE )
85 ptrA->widthE = srcPtrA->widthE;
86 ptrA->heightE = srcPtrA->heightE;
87 ptrA->depthE = srcPtrA->depthE;
88 bbs_UInt8Arr_copy( cpA, &ptrA->arrE, &srcPtrA->arrE );
94 const struct bim_UInt8PyramidalImage* ptrA,
97 if( ptrA->widthE != srcPtrA->widthE ) return FALSE;
98 if( ptrA->heightE != srcPtrA->heightE ) return FALSE;
99 if( ptrA->depthE != srcPtrA->depthE ) return FALSE;
100 return bbs_UInt8Arr_equal( cpA, &ptrA->arrE, &srcPtrA->arrE );
114 const struct bim_UInt8PyramidalImage* ptrA,
119 uint32 baseSizeL = ptrA->widthE * ptrA->heightE;
122 if( levelA >= ptrA->depthE )
124 bbs_ERROR2( "uint8* bim_UInt8PyramidalImage_arrPtr( struct bim_UInt8PyramidalImage* ptrA, uint32 levelA ):\n"
125 "levelA = %i out of range [0,%i]", levelA, ptrA->depthE - 1 );
134 return ptrA->arrE.arrPtrE + offsL;
140 const struct bim_UInt8PyramidalImage* ptrA,
152 return bbs_UInt8Arr_heapSize( cpA, &ptrA->arrE, sizeL );
166 struct bim_UInt8PyramidalImage* ptrA,
180 if( ptrA->arrE.arrPtrE != 0 )
182 bim_UInt8PyramidalImage_size( cpA, ptrA, widthA, heightA, depthA );
191 bbs_ERROR0( "void bim_UInt8PyramidalImage_create( struct bim_UInt8PyramidalImage* ptrA, uint32 widthA, uint32 heightA, uint32 depthA ):\n"
197 bbs_ERROR1( "void bim_UInt8PyramidalImage_create( struct bim_UInt8PyramidalImage* ptrA, uint32 widthA, uint32 heightA, uint32 depthA ):\n"
204 ptrA->widthE = widthA;
205 ptrA->heightE = heightA;
206 ptrA->depthE = depthA;
208 bbs_UInt8Arr_create( cpA, &ptrA->arrE, sizeL, mspA );
214 struct bim_UInt8PyramidalImage* ptrA,
227 bbs_ERROR0( "void bim_UInt8PyramidalImage_size( struct bim_UInt8PyramidalImage* ptrA, uint32 widthA, uint32 heightA, uint32 depthA ):\n"
234 bbs_ERROR1( "void bim_UInt8PyramidalImage_size( struct bim_UInt8PyramidalImage* ptrA, uint32 widthA, uint32 heightA, uint32 depthA ):\n"
240 ptrA->widthE = widthA;
241 ptrA->heightE = heightA;
242 ptrA->depthE = depthA;
249 if( sizeL > ptrA->arrE.allocatedSizeE )
251 bbs_ERROR0( "void bim_UInt8PyramidalImage_size( struct bim_UInt8PyramidalImage* ptrA, uint32 widthA, uint32 heightA, uint32 depthA ):\n"
256 bbs_UInt8Arr_size( cpA, &ptrA->arrE, sizeL );
270 const struct bim_UInt8PyramidalImage* ptrA )
274 + bbs_SIZEOF16( ptrA->widthE )
275 + bbs_SIZEOF16( ptrA->heightE )
276 + bbs_SIZEOF16( ptrA->depthE )
277 + bbs_UInt8Arr_memSize( cpA, &ptrA->arrE );
283 const struct bim_UInt8PyramidalImage* ptrA,
286 uint32 memSizeL = bim_UInt8PyramidalImage_memSize( cpA, ptrA );
289 memPtrA += bbs_memWrite32( &ptrA->widthE, memPtrA );
290 memPtrA += bbs_memWrite32( &ptrA->heightE, memPtrA );
291 memPtrA += bbs_memWrite32( &ptrA->depthE, memPtrA );
292 bbs_UInt8Arr_memWrite( cpA, &ptrA->arrE, memPtrA );
299 struct bim_UInt8PyramidalImage* ptrA,
311 ptrA->widthE = widthL;
312 ptrA->heightE = heightL;
313 ptrA->depthE = depthL;
314 bbs_UInt8Arr_memRead( cpA, &ptrA->arrE, memPtrA, mspA );
316 if( memSizeL != bim_UInt8PyramidalImage_memSize( cpA, ptrA ) )
318 bbs_ERR0( bbs_ERR_CORRUPT_DATA, "uint32 bim_UInt8PyramidalImage_memRead( const struct bim_UInt8PyramidalImage* ptrA, const void* memPtrA ):\n"
335 const struct bim_UInt8PyramidalImage* ptrA,
338 uint8ImageA->widthE = ptrA->widthE;
339 uint8ImageA->heightE = ptrA->heightE;
340 uint8ImageA->arrE.sizeE = ptrA->widthE * ptrA->heightE;
341 uint8ImageA->arrE.allocatedSizeE = ptrA->widthE * ptrA->heightE;
342 uint8ImageA->arrE.arrPtrE = ptrA->arrE.arrPtrE;