/frameworks/base/media/libstagefright/codecs/aacdec/ |
H A D | sbr_decode_huff_cw.cpp | 41 Reads bits from the bitstream until a valid codeword is found. 137 Int32 bits; local 142 bits = buf_get_1bit(hBitBuf); 143 index = h[index][bits];
|
H A D | sbr_get_sce.cpp | 148 Int32 bits; local 151 /* reserved bits */ 152 bits = buf_getbits(hBitBuf, SI_SBR_RESERVED_PRESENT); 154 if (bits)
|
H A D | sbr_get_cpe.cpp | 145 Int32 bits; local 148 /* reserved bits */ 149 bits = buf_getbits(hBitBuf, SI_SBR_RESERVED_PRESENT); 151 if (bits) 158 bits = buf_getbits(hBitBuf, SI_SBR_COUPLING_BITS); 160 if (bits)
|
H A D | huffcb.cpp | 55 when the number of bits read is 9 or less and get1bits 74 Int sectbits = array that defines the number of bits 95 Int bits = number of bits needed for expressing section length 298 Int bits; /* # of bits used to express esc_val */ local 308 bits = sectbits[0]; /* 3 for SHORT_WIN, 5 for LONG_WIN */ 309 esc_val = (1 << bits) - 1; /* ESC_value for section length */ 323 bits, 333 bits, [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
H A D | bits2prm.cpp | 83 no_of_bits = number of bits associated with value 84 bitstream = pointer to buffer where bits are read 102 Purpose : Read "no_of_bits" bits from the array bitstream[] 119 Word16 no_of_bits, // input : number of bits associated with value 120 Word16 *bitstream // output: address where bits are written 163 Word16 no_of_bits, /* input : number of bits associated with value */ 164 Word16 *bitstream /* input: address where bits are read from */ 190 bits[] = pointer to serial bits of type Word16 210 the received serial bits i 269 Bits2prm( enum Mode mode, Word16 bits[], Word16 prm[] ) argument [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | BitwiseInputStream.java | 32 // The current position offset, in bits, from the msb in byte 0. 71 * @param bits the amount of data to read (gte 0, lte 8) 74 public int read(int bits) throws AccessException { argument 76 int offset = 16 - (mPos & 0x07) - bits; // &7==%8 77 if ((bits < 0) || (bits > 8) || ((mPos + bits) > mEnd)) { 79 "(pos " + mPos + ", end " + mEnd + ", bits " + bits + ")"); 84 data &= (-1 >>> (32 - bits)); 95 readByteArray(int bits) argument 110 skip(int bits) argument [all...] |
H A D | BitwiseOutputStream.java | 32 // The current position offset, in bits, from the msb in byte 0. 73 * @param bits additional bits to be accommodated 75 private void possExpand(int bits) { argument 76 if ((mPos + bits) < mEnd) return; 77 byte[] newBuf = new byte[(mPos + bits) >>> 2]; 88 * @param bits the amount of data to write (gte 0, lte 8) 89 * @param data to write, will be masked to expose only bits param from lsb 91 public void write(int bits, int data) throws AccessException { argument 92 if ((bits < 111 writeByteArray(int bits, byte[] arr) argument 125 skip(int bits) argument [all...] |
/frameworks/base/libs/rs/ |
H A D | spec.h | 16 int bits; member in struct:__anon213
|
H A D | rsFileA3D.cpp | 265 uint32_t bits = io->loadU8(); local 268 LOGE("processChunk_Primitive count %i, bits %i", p->mIndexCount, bits); 274 switch(bits) { 291 switch(bits) { 335 uint32_t bits = io->loadU8(); 337 LOGE(" %i %i %i %i", dk, dt, bits, isNorm); 338 rsi_ElementAdd(rsc, dk, dt, isNorm, bits, 0);
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_crc.cpp | 45 int32 neededBits, number of bits to read from the bit stream 124 int32 neededBits, /* number of bits to read from the bit stream */ 128 uint32 bits = getNbits(inputStream, neededBits); local 132 calculate_crc(bits, neededBits, crc); 134 return(bits);
|
/frameworks/base/awt/org/apache/harmony/awt/gl/color/ |
H A D | LUTColorConverter.java | 116 public static byte[] getsRGBLUT(int bits) { argument 117 if (bits < 1) return null; 118 int idx = bits -1; 122 fromsRGBto8sRGB_LUTs[idx] = createLUT(bits); 127 private static byte[] createLUT(int bits) { argument 128 int lutSize = (1 << bits);
|
/frameworks/base/awt/java/awt/image/ |
H A D | PackedColorModel.java | 59 * @param bits 74 * if the number of bits in the combined bitmasks for the color 77 public PackedColorModel(ColorSpace space, int bits, int colorMaskArray[], int alphaMask, argument 80 super(bits, createBits(colorMaskArray, alphaMask), space, (alphaMask == 0 ? false : true), 84 // awt.236=The bits is less than 1 or greater than 32 95 if (this.bits[numColorComponents] == 1) { 108 * @param bits 126 * if the number of bits in the combined bitmasks for the color 129 public PackedColorModel(ColorSpace space, int bits, int rmask, int gmask, int bmask, int amask, argument 132 super(bits, createBit [all...] |
H A D | ColorModel.java | 40 protected int pixel_bits; // Pixel length in bits 78 * The bits. 80 int[] bits; // Array of components masks field in class:ColorModel 92 int maxBitLength; // Max length color components in bits 103 * the pixel length in bits. 104 * @param bits 118 protected ColorModel(int pixel_bits, int[] bits, ColorSpace cspace, boolean hasAlpha, argument 122 // awt.26B=The number of bits in the pixel values is less than 1 126 if (bits == null) { 127 // awt.26C=bits i 191 ColorModel(int bits) argument 947 getTransferType(int bits) argument [all...] |
H A D | DirectColorModel.java | 100 * @param bits 116 * if the number of bits in the combined bitmasks for the color 119 public DirectColorModel(ColorSpace space, int bits, int rmask, int gmask, int bmask, int amask, argument 122 super(space, bits, rmask, gmask, bmask, amask, isAlphaPremultiplied, 130 * the bits array, the transparency from the alpha mask, and the default 133 * @param bits 144 public DirectColorModel(int bits, int rmask, int gmask, int bmask, int amask) { argument 146 super(ColorSpace.getInstance(ColorSpace.CS_sRGB), bits, rmask, gmask, bmask, amask, false, 148 .getTransferType(bits)); 155 * the transfer type from the bits arra 168 DirectColorModel(int bits, int rmask, int gmask, int bmask) argument [all...] |
H A D | ComponentColorModel.java | 155 * @param bits 167 public ComponentColorModel(ColorSpace colorSpace, int bits[], boolean hasAlpha, argument 169 super(createPixelBits(colorSpace, hasAlpha, transferType), validateBits(bits, colorSpace, 189 maxValues[numColorComponents] = (1 << bits[numColorComponents]) - 1; 255 * Validate bits. 257 * @param bits 258 * the bits. 267 private static int[] validateBits(int bits[], ColorSpace colorSpace, boolean hasAlpha, argument 269 if (bits != null) { 270 return bits; [all...] |
H A D | IndexColorModel.java | 59 * The valid bits. 94 * @param bits 107 * a list of which bits represent valid colormap values, or null 112 public IndexColorModel(int bits, int size, int cmap[], int start, int transferType, argument 115 super(bits, IndexColorModel.createBits(true), ColorSpace.getInstance(ColorSpace.CS_sRGB), 166 * @param bits 185 public IndexColorModel(int bits, int size, int cmap[], int start, boolean hasalpha, int trans, argument 188 super(bits, IndexColorModel.createBits(hasalpha || (trans >= 0)), ColorSpace 244 * @param bits 266 public IndexColorModel(int bits, in argument 301 IndexColorModel(int bits, int size, byte r[], byte g[], byte b[], int trans) argument 334 IndexColorModel(int bits, int size, byte r[], byte g[], byte b[]) argument 362 IndexColorModel(int bits, int size, byte cmap[], int start, boolean hasalpha, int trans) argument 435 IndexColorModel(int bits, int size, byte cmap[], int start, boolean hasalpha) argument [all...] |
/frameworks/base/awt/javax/imageio/stream/ |
H A D | ImageOutputStream.java | 39 * the integer value, of which the 8 lowest bits will be written. 82 * Writes the 8 lowest bits of the specified integer value to the stream. 102 * Writes the 16 lowest bits of the specified integer value to the stream. 294 * Writes a sequence of bits beginning from the current position. 296 * @param bits 297 * the long value containing the bits to be written, starting 305 void writeBits(long bits, int numBits) throws IOException; argument
|
H A D | ImageOutputStreamImpl.java | 154 public void writeBits(long bits, int numBits) throws IOException { argument 160 * Flushes the bits. This method should be called in the write methods by
|
/frameworks/base/media/libstagefright/codecs/vorbis/dec/ |
H A D | VorbisDecoder.cpp | 56 ogg_buffer *buf, ogg_reference *ref, oggpack_buffer *bits) { 67 oggpack_readinit(bits, ref); 93 oggpack_buffer bits; local 94 makeBitReader((const uint8_t *)data + 7, size - 7, &buf, &ref, &bits); 95 CHECK_EQ(0, _vorbis_unpack_info(mVi, &bits)); 101 makeBitReader((const uint8_t *)data + 7, size - 7, &buf, &ref, &bits); 102 CHECK_EQ(0, _vorbis_unpack_books(mVi, &bits)); 54 makeBitReader( const void *data, size_t size, ogg_buffer *buf, ogg_reference *ref, oggpack_buffer *bits) argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IccUtils.java | 132 * 8 bit number which defines bits 15 to 8 of a 16 bit 133 * base pointer, where bit 16 is set to zero and bits 7 to 1 134 * are also set to zero. These sixteen bits constitute a 138 * If bit 8 of the octet is set to zero, the remaining 7 bits 141 * remaining seven bits are an offset value added to the 362 // reassign data and index for every byte (8 bits). 397 int bits = data[valueIndex++] & 0xFF; 409 if (0 == (8 % bits)) { 411 (width * height), colorIndexArray, bits); 414 (width * height), colorIndexArray, bits); 421 mapTo2OrderBitColor(byte[] data, int valueIndex, int length, int[] colorArray, int bits) argument 459 mapToNon2OrderBitColor(byte[] data, int valueIndex, int length, int[] colorArray, int bits) argument [all...] |
/frameworks/base/awt/javax/imageio/ |
H A D | ImageTypeSpecifier.java | 162 * @param bits 163 * the number of bits per gray value. 170 public static ImageTypeSpecifier createGrayscale(int bits, int dataType, boolean isSigned) { argument 177 * @param bits 178 * the number of bits per gray value. 188 public static ImageTypeSpecifier createGrayscale(int bits, int dataType, boolean isSigned, argument 204 * @param bits 205 * the bits number for each index. 211 byte[] alphaLUT, int bits, int dataType) { 268 * Gets the number of bits pe 210 createIndexed(byte[] redLUT, byte[] greenLUT, byte[] blueLUT, byte[] alphaLUT, int bits, int dataType) argument [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/ |
H A D | ImageSurface.java | 144 int bits[] = cm.getComponentSize(); 215 numComponents, pixelStride, scanlineStride, bits, masks, colorMapSize, 242 int bits[], int masks[], int colorMapSize, int colorMap[], 239 createSurfStruct(int surfaceType, int width, int height, int cmType, int csType, int smType, int dataType, int numComponents, int pixelStride, int scanlineStride, int bits[], int masks[], int colorMapSize, int colorMap[], int transpPixel, boolean isGrayPalette, int bankIndeces[], int bandOffsets[], int offset, boolean hasAlpha, boolean isAlphaPre, int transparency) argument
|
/frameworks/base/include/surfaceflinger/ |
H A D | Surface.h | 140 void* bits; member in struct:android::Surface::SurfaceInfo
|
/frameworks/base/media/libstagefright/ |
H A D | OggExtractor.cpp | 73 // Returns an approximate bitrate in bits per second. 274 // Only bits 0-2 are defined in version 0. 478 oggpack_buffer bits; local 479 oggpack_readinit(&bits, &ref); 481 CHECK_EQ(oggpack_read(&bits, 8), type); 483 oggpack_read(&bits, 8); // skip 'vorbis' 489 CHECK_EQ(0, _vorbis_unpack_info(&mVi, &bits)); 511 CHECK_EQ(0, _vorbis_unpack_comment(&mVc, &bits)); 517 CHECK_EQ(0, _vorbis_unpack_books(&mVi, &bits));
|
/frameworks/base/opengl/libagl/ |
H A D | dxt.cpp | 162 // There's no need to endian-swap within 'bits' 164 uint32_t bits = *d32++; local 166 // Detect if any (odd, even) pair of bits are '11' 167 // bits: b31 b30 b29 ... b3 b2 b1 b0 168 // bits >> 1: b31 b31 b30 ... b4 b3 b2 b1 171 if (((bits & (bits >> 1)) & 0x55555555) != 0) { 216 uint32_t bits = *d32++; local 220 bits = swap(bits); 339 uint32_t bits = *d32++; local 463 uint32_t bits = *d32++; local [all...] |