/frameworks/base/awt/org/apache/harmony/x/imageio/plugins/png/ |
PNGImageWriterSpi.java | 65 int numBands = type.getSampleModel().getNumBands(); 69 int bitDepth = colorModel.getPixelSize() / numBands; 75 if (numBands != 1) { 79 else if (numBands == 1) { 84 else if (numBands == 2) { 89 else if (numBands == 3) { 94 else if (numBands == 4) {
|
PNGImageWriter.java | 148 int numBands = model.getNumBands(); 153 int bitDepth = pixelSize / numBands; 168 // Wrong bitDepth-numBands composition 171 if (numBands != 1) { 172 // Wrong bitDepth-numBands composition 181 else if (numBands == 1) { 183 // Wrong bitDepth-numBands composition 188 else if (numBands == 2) { 190 // Wrong bitDepth-numBands composition 195 else if (numBands == 3) [all...] |
/external/opencore/codecs_v2/audio/aac/dec/src/ |
sbr_update_freq_scale.cpp | 146 Int32 numBands = 0; 191 numBands = tmp_q1 << 1; 194 CalcBands(d, k[0], k[1], numBands); /* CalcBands => d */ 195 shellsort(d, numBands); /* SortBands sort d */ 198 numBands, 201 *h_num_bands += numBands; /* Output nr of bands */ 215 if (d[numBands-1] > d2[0]) 218 Int32 change = d[numBands-1] - d2[0]; 250 numBands = (usb - lsbM) >> 1; 252 k2_achived = lsbM + numBands; [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
sbr_update_freq_scale.cpp | 146 Int32 numBands = 0; 191 numBands = tmp_q1 << 1; 194 CalcBands(d, k[0], k[1], numBands); /* CalcBands => d */ 195 shellsort(d, numBands); /* SortBands sort d */ 198 numBands, 201 *h_num_bands += numBands; /* Output nr of bands */ 215 if (d[numBands-1] > d2[0]) 218 Int32 change = d[numBands-1] - d2[0]; 250 numBands = (usb - lsbM) >> 1; 252 k2_achived = lsbM + numBands; [all...] |
/frameworks/base/awt/java/awt/image/ |
ComponentSampleModel.java | 59 protected int numBands; 118 this.numBands = bandOffsets.length; 167 this.numBands = bandOffsets.length; 170 this.bankIndices = new int[numBands]; 171 for (int i = 0; i < numBands; i++) { 186 bdata = new byte[numBands]; 191 for (int i = 0; i < numBands; i++) { 202 sdata = new short[numBands]; 207 for (int i = 0; i < numBands; i++) { 217 idata = new int[numBands]; [all...] |
Raster.java | 63 protected int numBands; [all...] |
SampleModel.java | 53 protected int numBands; 70 * @param numBands 73 public SampleModel(int dataType, int w, int h, int numBands) { 91 if (numBands < 1) { 99 this.numBands = numBands; 409 pixel = new int[numBands]; 414 for (int i = 0; i < numBands; i++) { 438 for (int i = 0; i < numBands; i++) { 464 pixel = new float[numBands]; [all...] |
BandCombineOp.java | 185 int numBands = src.getNumBands(); 186 if (mxWidth != numBands && mxWidth != (numBands + 1) || numBands != mxHeight) { 191 numBands, mxWidth, mxHeight 199 int numBands = src.getNumBands(); 201 if (mxWidth != numBands && mxWidth != (numBands + 1)) { 206 numBands, mxWidth, mxHeight 385 int numBands = src.getNumBands() [all...] |
ConvolveOp.java | 207 int numBands = src.getNumBands(); 225 int[] maxValues = new int[numBands]; 226 int[] masks = new int[numBands]; 229 for (int i = 0; i < numBands; i++) { 238 int rowLength = srcWidth * numBands; 249 length = xOrigin * numBands; 250 int length1 = (kWidth - xOrigin - 1) * numBands; 269 int pixelIndex = i * rowLength + j * numBands; 272 int curIndex = rasterHIdx * rowLength + rasterWIdx * numBands; 273 for (int idx = 0; idx < numBands; idx++) [all...] |
LookupOp.java | 296 int numBands = src.getNumBands(); 308 for (int i = 0; i < pixels.length; i += numBands) { 314 for (int i = 0; i < pixels.length; i += numBands) { 327 for (int i = 0; i < pixels.length; i += numBands) { 333 for (int i = 0; i < pixels.length; i += numBands) {
|
RescaleOp.java | 232 int numBands = src.getNumBands(); 241 int[] maxValues = new int[numBands]; 242 int[] masks = new int[numBands]; 245 for (int i = 0; i < numBands; i++) { 258 for (int bandIdx = 0; bandIdx < numBands - 1; bandIdx++, i++) { 274 for (int bandIdx = 0; bandIdx < numBands - 1; bandIdx++, i++) { 292 for (int bandIdx = 0; bandIdx < numBands; bandIdx++, i++) { 306 for (int bandIdx = 0; bandIdx < numBands; bandIdx++, i++) { 389 // be numBands*4 395 * @param numBands [all...] |
/frameworks/base/awt/org/apache/harmony/x/imageio/plugins/jpeg/ |
JPEGImageWriter.java | 130 int numBands = sourceRaster.getNumBands(); 192 DataBufferByte dbuffer = new DataBufferByte(numBands * srcWidth); 195 numBands * srcWidth, numBands, JPEGConsts.BAND_OFFSETS[numBands], null); 198 sourceIJGCs, destIJGCs, numBands, progressive, 298 * @param numBands - number of bands 307 int numBands, boolean progressive,
|