• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/

Lines Matching refs:sample

441                                         int16_t *sample[2],
466 context= get_context(p, sample[0]+x, sample[1]+x, sample[2]+x);
467 diff= sample[0][x] - predict(sample[0]+x, sample[1]+x);
528 int16_t *sample[3];
535 sample[i]= s->sample_buffer + (w+6)*((h+i-y)%ring_size) + 3;
537 sample[0][-1]= sample[1][0 ];
538 sample[1][ w]= sample[1][w-1];
542 sample[0][x]= src[x + stride*y];
544 encode_line(s, w, sample, plane_index, 8);
547 sample[0][x]= ((uint16_t*)(src + stride*y))[x] >> (16 - s->avctx->bits_per_raw_sample);
549 encode_line(s, w, sample, plane_index, s->avctx->bits_per_raw_sample);
558 int16_t *sample[3][3];
566 sample[p][i]= s->sample_buffer + p*ring_size*(w+6) + ((h+i-y)%ring_size)*(w+6) + 3;
582 sample[0][0][x]= g;
583 sample[1][0][x]= b;
584 sample[2][0][x]= r;
587 sample[p][0][-1]= sample[p][1][0 ];
588 sample[p][1][ w]= sample[p][1][w-1];
589 encode_line(s, w, sample[p], FFMIN(p, 1), 9);
1243 int16_t *sample[2],
1256 context= get_context(p, sample[1] + x, sample[0] + x, sample[1] + x);
1298 sample[1][x]= (predict(sample[1] + x, sample[0] + x) + diff) & ((1<<bits)-1);
1305 int16_t *sample[2];
1306 sample[0]=s->sample_buffer +3;
1307 sample[1]=s->sample_buffer+w+6+3;
1314 int16_t *temp = sample[0]; //FIXME try a normal buffer
1316 sample[0]= sample[1];
1317 sample[1]= temp;
1319 sample[1][-1]= sample[0][0 ];
1320 sample[0][ w]= sample[0][w-1];
1324 decode_line(s, w, sample, plane_index, 8);
1326 src[x + stride*y]= sample[1][x];
1329 decode_line(s, w, sample, plane_index, s->avctx->bits_per_raw_sample);
1331 ((uint16_t*)(src + stride*y))[x]= sample[1][x] << (16 - s->avctx->bits_per_raw_sample);
1340 int16_t *sample[3][2];
1342 sample[x][0] = s->sample_buffer + x*2 *(w+6) + 3;
1343 sample[x][1] = s->sample_buffer + (x*2+1)*(w+6) + 3;
1352 int16_t *temp = sample[p][0]; //FIXME try a normal buffer
1354 sample[p][0]= sample[p][1];
1355 sample[p][1]= temp;
1357 sample[p][1][-1]= sample[p][0][0 ];
1358 sample[p][0][ w]= sample[p][0][w-1];
1359 decode_line(s, w, sample[p], FFMIN(p, 1), 9);
1362 int g= sample[0][1][x];
1363 int b= sample[1][1][x];
1364 int r= sample[2][1][x];