Lines Matching refs:buffer
33 int buffer[2][width*height];
54 buffer[0][i] = buffer[1][i] = av_lfg_get(&prng) % 19000 - 9000;
56 ff_spatial_dwt(buffer[0], s.temp_dwt_buffer, width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count);
58 obuffer[i] = buffer[0][i];
62 if(buffer[1][i]!= obuffer[i]) {
63 printf("fsck: %4dx%4dx %12d %7d\n",i%width, i/width, buffer[1][i], obuffer[i]);
70 buffer[0][i] = buffer[1][i] = av_lfg_get(&prng) % 11000 - 5000;
72 ff_spatial_dwt(buffer[0], s.temp_dwt_buffer, width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count);
74 obuffer[i] = buffer[0][i];
78 if(FFABS(buffer[1][i] - obuffer[i])>20) {
79 printf("fsck: %4dx%4d %12d %7d\n",i%width, i/width, buffer[1][i], obuffer[i]);
129 memset(buffer[0], 0, sizeof(int)*width*height);
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);
139 int64_t d= buffer[0][x + y*width];