Home | History | Annotate | Download | only in b_ImageEm

Lines Matching full:ptra

43 						  struct bim_Flt16Image* ptrA )
45 bbs_Int16Arr_init( cpA, &ptrA->allocArrE );
46 bbs_Int16Arr_init( cpA, &ptrA->arrE );
47 ptrA->widthE = 0;
48 ptrA->heightE = 0;
49 ptrA->bbpE = 0;
55 struct bim_Flt16Image* ptrA )
57 bbs_Int16Arr_exit( cpA, &ptrA->arrE );
58 bbs_Int16Arr_exit( cpA, &ptrA->allocArrE );
59 ptrA->widthE = 0;
60 ptrA->heightE = 0;
61 ptrA->bbpE = 0;
75 struct bim_Flt16Image* ptrA,
79 if( ptrA->arrE.allocatedSizeE < srcPtrA->arrE.allocatedSizeE )
86 ptrA->widthE = srcPtrA->widthE;
87 ptrA->heightE = srcPtrA->heightE;
88 ptrA->bbpE = srcPtrA->bbpE;
89 bbs_Int16Arr_copy( cpA, &ptrA->arrE, &srcPtrA->arrE );
95 const struct bim_Flt16Image* ptrA,
98 if( ptrA->widthE != srcPtrA->widthE ) return FALSE;
99 if( ptrA->heightE != srcPtrA->heightE ) return FALSE;
100 if( ptrA->bbpE != srcPtrA->bbpE ) return FALSE;
101 return bbs_Int16Arr_equal( cpA, &ptrA->arrE, &srcPtrA->arrE );
123 struct bim_Flt16Image* ptrA,
129 if( ptrA->arrE.arrPtrE != 0 )
131 bim_Flt16Image_size( cpA, ptrA, widthA, heightA );
136 bbs_Int16Arr_create( cpA, &ptrA->arrE, widthA * heightA, mspA );
138 bbs_Int16Arr_createAligned( cpA, &ptrA->arrE, widthA * heightA, mspA, &ptrA->allocArrE, bbs_MEMORY_ALIGNMENT );
140 ptrA->widthE = widthA;
141 ptrA->heightE = heightA;
148 struct bim_Flt16Image* ptrA,
153 if( ptrA->arrE.arrPtrE != 0 )
160 ptrA,
165 ptrA->bbpE = srcPtrA->bbpE;
171 struct bim_Flt16Image* ptrA,
175 if( ptrA->arrE.allocatedSizeE < widthA * heightA )
181 ptrA->widthE = widthA;
182 ptrA->heightE = heightA;
183 bbs_Int16Arr_size( cpA, &ptrA->arrE, widthA * heightA );
197 const struct bim_Flt16Image* ptrA )
201 + bbs_SIZEOF16( ptrA->widthE )
202 + bbs_SIZEOF16( ptrA->heightE )
203 + bbs_SIZEOF16( ptrA->bbpE )
204 + bbs_Int16Arr_memSize( cpA, &ptrA->arrE );
210 const struct bim_Flt16Image* ptrA,
213 uint32 memSizeL = bim_Flt16Image_memSize( cpA, ptrA );
216 memPtrA += bbs_memWrite32( &ptrA->widthE, memPtrA );
217 memPtrA += bbs_memWrite32( &ptrA->heightE, memPtrA );
218 memPtrA += bbs_memWrite32( &ptrA->bbpE, memPtrA );
219 bbs_Int16Arr_memWrite( cpA, &ptrA->arrE, memPtrA );
226 struct bim_Flt16Image* ptrA,
234 memPtrA += bbs_memRead32( &ptrA->widthE, memPtrA );
235 memPtrA += bbs_memRead32( &ptrA->heightE, memPtrA );
236 memPtrA += bbs_memRead32( &ptrA->bbpE, memPtrA );
237 bbs_Int16Arr_memRead( cpA, &ptrA->arrE, memPtrA, mspA );
239 if( memSizeL != bim_Flt16Image_memSize( cpA, ptrA ) )
241 bbs_ERR0( bbs_ERR_CORRUPT_DATA, "uint32 bim_Flt16Image_memRead( const struct bim_Flt16Image* ptrA, const void* memPtrA ):\n"
259 struct bim_Flt16Image* ptrA,
264 int16* ptrL = ptrA->arrE.arrPtrE;
265 for( iL = ptrA->widthE * ptrA->heightE; iL > 0; iL-- )
269 ptrA->bbpE = bbpA;
352 struct bim_Flt16Image* ptrA,
391 bim_Flt16Image_size( cpA, ptrA, sectionL.x2E - sectionL.x1E, sectionL.y2E - sectionL.y1E );
392 ptrA->bbpE = srcPtrA->bbpE;
395 dstPixelPtrL = ptrA->arrE.arrPtrE;