Lines Matching defs:width

31 #define width  256
33 int buffer[2][width*height];
34 short obuffer[width*height];
42 s.temp_dwt_buffer = av_calloc(width, sizeof(*s.temp_dwt_buffer));
43 s.temp_idwt_buffer = av_calloc(width, sizeof(*s.temp_idwt_buffer));
53 for(i=0; i<width*height; i++)
56 ff_spatial_dwt(buffer[0], s.temp_dwt_buffer, width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count);
57 for(i=0; i<width*height; i++)
59 ff_spatial_idwt(obuffer, s.temp_idwt_buffer, width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count);
61 for(i=0; i<width*height; i++)
63 printf("fsck: %4dx%4dx %12d %7d\n",i%width, i/width, buffer[1][i], obuffer[i]);
69 for(i=0; i<width*height; i++)
72 ff_spatial_dwt(buffer[0], s.temp_dwt_buffer, width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count);
73 for(i=0; i<width*height; i++)
75 ff_spatial_idwt(obuffer, s.temp_idwt_buffer, width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count);
77 for(i=0; i<width*height; i++)
79 printf("fsck: %4dx%4d %12d %7d\n",i%width, i/width, buffer[1][i], obuffer[i]);
93 int w= width >> (s.spatial_decomposition_count-level);
95 int stride= width << (s.spatial_decomposition_count-level);
102 memset(obuffer, 0, sizeof(short)*width*height);
104 ff_spatial_idwt(obuffer, s.temp_idwt_buffer, width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count);
106 for(x=0; x<width; x++){
107 int64_t d= obuffer[x + y*width];
109 if(FFABS(width/2-x)<9 && FFABS(height/2-y)<9 && level==2) printf("%8"PRId64" ", d);
129 memset(buffer[0], 0, sizeof(int)*width*height);
131 for(x=0; x<width; x++){
133 buffer[0][x+width*y]= 256*256*tab[(x&1) + 2*(y&1)];
136 ff_spatial_dwt(buffer[0], s.temp_dwt_buffer, width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count);
138 for(x=0; x<width; x++){
139 int64_t d= buffer[0][x + y*width];
140 if(FFABS(width/2-x)<9 && FFABS(height/2-y)<9) printf("%8"PRId64" ", d);