Lines Matching full:layer
14 int layer, int decomLevels, float hardThresh, float softThresh)
28 layer = (layer > 1) ? layer : 1;
29 layer = (layer < decomLevels) ? layer : decomLevels;
35 int xScaler = pown(2.0f, layer);
36 int yScaler = pown(2.0f, (layer - 1));
38 int xScaler = pown(2.0f, (layer - 1));
49 int srcOffset = (layer % 2) ? (inputUVOffset * imageWidth / 4) : 0;
182 thold = hardThresh * threshConst[layer - 1];
189 if (layer == 1) {
209 if (layer < decomLevels) {
211 int approxOffset = (layer % 2) ? 0 : (inputUVOffset * imageWidth / 4);