Home | History | Annotate | Download | only in src

Lines Matching refs:height

51 //                roi     - width and height of ROI in pixels
56 // obsSize.width * obsSize.height floats.
59 // 0 < objSize.height <= dctSize.height.
69 // Ny = floor((roi.height - dctSize.height + delta.height)/delta.height);
72 // array obs must be >= Nx*Ny*obsSize.width*obsSize.height*sizeof(float).
79 // (x*delta.width,y*delta.height) in the source image
87 // y*delta.height : y*delta.height + dctSize.height]);
88 // O[x,y] = D[0:obsSize.width, 0:obsSize.height];
136 int n1 = dctSize.height, m1 = n1 / 2;
142 if( roi.width <= 0 || roi.height <= 0 )
145 if( delta.width <= 0 || delta.height <= 0 )
149 obsSize.height <= 0 || dctSize.height < obsSize.height )
152 if( dctSize.width > MAX_DCT_SIZE || dctSize.height > MAX_DCT_SIZE )
156 Ny = (roi.height - dctSize.height + delta.height) / delta.height;
161 buffer = (work_t *)cvAlloc( roi.width * obsSize.height * sizeof( buffer[0] ));
166 icvCalcDCTMatrix( tab_y, dctSize.height );
168 buf_limit = buffer + obsSize.height * roi.width;
170 for( y = 0; y < Ny; y++, img += delta.height * imgStep )
175 /* do transfroms for each column. Calc only first obsSize.height DCT coefficients */
241 for( i = 0; i < obsSize.height; i++ )
331 int n1 = dctSize.height, m1 = n1 / 2;
337 if( roi.width <= 0 || roi.height <= 0 )
340 if( delta.width <= 0 || delta.height <= 0 )
344 obsSize.height <= 0 || dctSize.height < obsSize.height )
347 if( dctSize.width > MAX_DCT_SIZE || dctSize.height > MAX_DCT_SIZE )
351 Ny = (roi.height - dctSize.height + delta.height) / delta.height;
356 buffer = (work_t *)cvAlloc( roi.width * obsSize.height * sizeof( buffer[0] ));
361 icvCalcDCTMatrix( tab_y, dctSize.height );
363 buf_limit = buffer + obsSize.height * roi.width;
367 for( y = 0; y < Ny; y++, img += delta.height * imgStep )
372 /* do transfroms for each column. Calc only first obsSize.height DCT coefficients */
438 for( i = 0; i < obsSize.height; i++ )