Lines Matching defs:sample
278 int16_t *sample[3];
285 sample[i] = s->sample_buffer + (w + 6) * ((h + i - y) % ring_size) + 3;
287 sample[0][-1]= sample[1][0 ];
288 sample[1][ w]= sample[1][w-1];
291 sample[0][x] = src[x * pixel_stride + stride * y];
292 if((ret = encode_line(s, w, sample, plane_index, 8)) < 0)
297 sample[0][x] = ((uint16_t*)(src + stride*y))[x];
301 sample[0][x] = ((uint16_t*)(src + stride*y))[x] >> (16 - s->bits_per_raw_sample);
304 if((ret = encode_line(s, w, sample, plane_index, s->bits_per_raw_sample)) < 0)
961 int16_t *sample[3];
967 sample[p] = fs->sample_buffer + p*w;
987 int bg = ag - sample[0][x];
988 int bb = ab - sample[1][x];
989 int br = ar - sample[2][x];
999 sample[0][x] = ag;
1000 sample[1][x] = ab;
1001 sample[2][x] = ar;