MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / dequantize_all

Function dequantize_all

libavcodec/snow.c:1832–1843  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1830}
1831
1832static 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
1845static 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;

Callers 1

dwt_quantizeFunction · 0.85

Calls 1

dequantizeFunction · 0.85

Tested by

no test coverage detected