| 1830 | } |
| 1831 | |
| 1832 | static void dequantize_all(SnowContext *s, Plane *p, IDWTELEM *buffer, int width, int height){ |
| 1833 | int level, orientation; |
| 1834 | |
| 1835 | for(level=0; level<s->spatial_decomposition_count; level++){ |
| 1836 | for(orientation=level ? 1 : 0; orientation<4; orientation++){ |
| 1837 | SubBand *b= &p->band[level][orientation]; |
| 1838 | IDWTELEM *dst= buffer + (b->ibuf - s->spatial_idwt_buffer); |
| 1839 | |
| 1840 | dequantize(s, b, dst, b->stride); |
| 1841 | } |
| 1842 | } |
| 1843 | } |
| 1844 | |
| 1845 | static void dwt_quantize(SnowContext *s, Plane *p, DWTELEM *buffer, int width, int height, int stride, int type){ |
| 1846 | int level, orientation, ys, xs, x, y, pass; |
no test coverage detected