Lines Matching defs:pshift
98 int pshift;
151 int pshift; /* pixel shift = bit_depth > 8 */
308 s->plane[i].idwt.buf_base = av_calloc(w + max_xblen, h * (2 << s->pshift));
309 s->plane[i].idwt.tmp = av_malloc_array((w+16), 2 << s->pshift);
310 s->plane[i].idwt.buf = s->plane[i].idwt.buf_base + (top_padding*w)*(2 << s->pshift);
458 const int mstride = -(b->stride >> (1+b->pshift)); \
461 const int stride = b->parent->stride >> (1+b->parent->pshift); \
541 if (b->pshift) {
555 if (b->pshift) {
579 buf += (b->stride >> (1+b->pshift)); \
582 buf[0] += buf[-(b->stride >> (1+b->pshift))]; \
585 int pred = buf[x - 1] + buf[x - (b->stride >> (1+b->pshift))] + buf[x - (b->stride >> (1+b->pshift))-1]; \
588 buf += (b->stride >> (1+b->pshift)); \
632 if (s->pshift) {
750 if (s->pshift) {
881 if (s->pshift)
889 const int start_b = coef_par * (1 << (s->pshift + 1));
890 const int end_b = coef_num * (1 << (s->pshift + 1));
898 uint8_t *buf = b1->ibuf + c->top * b1->stride + (c->left << (s->pshift + 1));
901 const int qfunc = s->pshift + 2*(c->tot_h <= 2);
907 off += c->tot << (s->pshift + 1);
956 coef_buf_size = (coef_buf_size << (1 + s->pshift)) + 512;
1036 if (s->pshift) {
1061 p->idwt.stride = FFALIGN(p->idwt.width, 8) << (1 + s->pshift);
1069 b->pshift = s->pshift;
1078 b->ibuf += w << (1+b->pshift);
2172 s->pshift = s->bit_depth > 8;