/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | dec_alg_codebook.cpp | 118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) argument 127 pos1 = ((index & mask) + offset); 145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) argument 154 /* pos1 = (((index >> N) & mask) + offset); */ 155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset))); 158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */ 192 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) argument 205 j = offset; 219 dec_1p_N1(idx, N, offset, po 229 dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]) argument 265 dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]) argument 316 dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]) argument 350 dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | idct.cpp | 133 int offset = width - 8; local 264 comp += offset; 332 comp += offset;
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | MediaBuffer.cpp | 151 void MediaBuffer::set_range(size_t offset, size_t length) { argument 152 if ((mGraphicBuffer == NULL) && (offset + length > mSize)) { 153 ALOGE("offset = %zu, length = %zu, mSize = %zu", offset, length, mSize); 155 CHECK((mGraphicBuffer != NULL) || (offset + length <= mSize)); 157 mRangeOffset = offset;
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveDataSource.cpp | 58 off64_t offset, void *data, size_t size) { 61 if (offset != mOffset) { 82 return readAt_l(offset, data, size); 85 ssize_t LiveDataSource::readAt(off64_t offset, void *data, size_t size) { argument 87 return readAt_l(offset, data, size); 90 ssize_t LiveDataSource::readAt_l(off64_t offset, void *data, size_t size) { argument 91 if (offset != mOffset) { 124 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); 57 readAtNonBlocking( off64_t offset, void *data, size_t size) argument
|
/frameworks/av/media/libstagefright/id3/ |
H A D | testid3.cpp | 34 size_t offset = 0; local 35 while (offset < size) { 36 printf("0x%04zx ", offset); 38 size_t n = size - offset; 48 if (offset + i < size) { 49 printf("%02x ", data[offset + i]); 58 if (isprint(data[offset + i])) { 59 printf("%c", data[offset + i]); 67 offset += 16;
|
/frameworks/av/media/libstagefright/include/ |
H A D | ThrottledSource.h | 32 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 53 virtual status_t reconnectAtOffset(off64_t offset) { argument 54 return mSource->reconnectAtOffset(offset);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AH263Assembler.cpp | 137 buffer->setRange(buffer->offset() + skip, buffer->size() - skip); 169 size_t offset = 0; local 174 memcpy((uint8_t *)accessUnit->data() + offset, 177 offset += unit->size();
|
H A D | ARTPAssembler.cpp | 85 size_t offset = 0; local 89 uint8_t *dst = accessUnit->data() + offset; 113 offset += nal->size() + 7; 131 size_t offset = 0; local 135 memcpy(accessUnit->data() + offset, nal->data(), nal->size()); 136 offset += nal->size();
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInput.java | 156 * @param offset Offset within the 'data' array at which the data will be placed 163 public int readEntityData(byte[] data, int offset, int size) throws IOException { argument 165 int result = readEntityData_native(mBackupReader, data, offset, size); 196 private native int readEntityData_native(long mBackupReader, byte[] data, int offset, int size); argument
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattServerCallback.java | 57 * @param offset Offset into the value of the characteristic 61 int offset, BluetoothGattCharacteristic characteristic) { 76 * @param offset The offset given for the value 82 int offset, byte[] value) { 93 * @param offset Offset into the value of the characteristic 97 int offset, BluetoothGattDescriptor descriptor) { 112 * @param offset The offset given for the value 118 int offset, byt 60 onCharacteristicReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattCharacteristic characteristic) argument 79 onCharacteristicWriteRequest(BluetoothDevice device, int requestId, BluetoothGattCharacteristic characteristic, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument 96 onDescriptorReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattDescriptor descriptor) argument 115 onDescriptorWriteRequest(BluetoothDevice device, int requestId, BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | ColorSpaceTransform.java | 50 /** Numerator offset inside a rational (pair). */ 53 /** Denominator offset inside a rational (pair). */ 153 * {@code offset} 154 * @param offset 155 * a non-negative offset into the array 160 * offset. 162 public void copyElements(Rational[] destination, int offset) { argument 163 checkArgumentNonnegative(offset, "offset must not be negative"); 165 if (destination.length - offset < COUN 197 copyElements(int[] destination, int offset) argument [all...] |
H A D | LensShadingMap.java | 162 final int offset = (row * mColumns + column) * COUNT; 165 mElements[RED + offset]; 167 mElements[GREEN_EVEN + offset]; 169 mElements[GREEN_ODD + offset]; 171 mElements[BLUE + offset]; 183 * elements after the {@code offset} 184 * @param offset 185 * a non-negative offset into the array 189 * If offset was negative 192 * offset 196 copyGainFactors(final float[] destination, final int offset) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | GraphicsOperations.java | 64 int getTextRunCursor(int contextStart, int contextEnd, int dir, int offset, argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AccessibilityIterators.java | 51 public int[] following(int offset) { argument 56 if (offset >= mText.length()) { 60 if (offset < 0) { 63 final int currentLine = mLayout.getLineForOffset(offset); 64 if (getLineEdgeIndex(currentLine, DIRECTION_START) == offset) { 79 public int[] preceding(int offset) { argument 84 if (offset <= 0) { 88 if (offset > mText.length()) { 91 final int currentLine = mLayout.getLineForOffset(offset); 92 if (getLineEdgeIndex(currentLine, DIRECTION_END) + 1 == offset) { 136 following(int offset) argument 165 preceding(int offset) argument [all...] |
/frameworks/base/core/java/com/android/internal/midi/ |
H A D | MidiEventScheduler.java | 39 public void onSend(byte[] msg, int offset, int count, long timestamp) argument 41 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); 62 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { argument 65 System.arraycopy(msg, offset, data, 0, count); 82 private MidiEvent createScheduledEvent(byte[] msg, int offset, int count, argument 86 event = new MidiEvent(msg, offset, count, timestamp); 92 System.arraycopy(msg, offset, event.data, 0, count);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | HexDump.java | 29 public static String dumpHexString(byte[] array, int offset, int length) argument 37 result.append(toHexString(offset)); 39 for (int i = offset ; i < offset + length ; i++) 110 public static String toHexString(byte[] array, int offset, int length) argument 112 return toHexString(array, offset, length, true); 115 public static String toHexString(byte[] array, int offset, int length, boolean upperCase) argument 121 for (int i = offset ; i < offset + length; i++)
|
/frameworks/base/core/jni/ |
H A D | android_backup_BackupDataInput.cpp | 94 readEntityData_native(JNIEnv* env, jobject clazz, jlong r, jbyteArray data, jint offset, jint size) argument 99 if (env->GetArrayLength(data) < (size+offset)) { 109 err = reader->ReadEntityData(dataBytes+offset, size);
|
H A D | android_nio_utils.cpp | 35 jint offset; local 47 offset = _env->CallStaticIntMethod(gNioJNI.nioAccessClass, 51 return (void *) ((char *) data + offset);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | MemoryFileTest.java | 123 private void readIndexOutOfBoundsException(int offset, int count, String msg) argument 131 is.read(buffer, offset, count); 146 "read() with negative offset should throw IndexOutOfBoundsException"); 158 "read() with offset outside buffer should throw IndexOutOfBoundsException"); 164 "read() with offset + count outside buffer should throw IndexOutOfBoundsException");
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Point.java | 63 public final void offset(int dx, int dy) { method in class:Point
|
H A D | PointF.java | 63 public final void offset(float dx, float dy) { method in class:PointF
|
/frameworks/base/libs/hwui/ |
H A D | PixelBuffer.cpp | 42 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override; 71 void CpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { argument 73 mFormat, GL_UNSIGNED_BYTE, &mBuffer[offset]); 89 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override; 149 void GpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { argument 154 GL_UNSIGNED_BYTE, reinterpret_cast<void*>(offset));
|
/frameworks/base/media/java/android/media/ |
H A D | AmrInputStream.java | 74 public int read(byte[] b, int offset, int length) throws IOException { argument 96 System.arraycopy(mBuf, mBufOut, b, offset, length);
|
H A D | ResampleInputStream.java | 82 public int read(byte[] b, int offset, int length) throws IOException { argument 109 fir21(mBuf, 0, b, offset, length / 2);
|
/frameworks/base/media/java/android/media/midi/ |
H A D | MidiPortImpl.java | 65 public static int packData(byte[] message, int offset, int size, long timestamp, argument 74 System.arraycopy(message, offset, dest, length, size); 103 * returns the offset of the MIDI message in packed buffer 125 int offset = bufferLength; 129 int b = (int)buffer[--offset] & 0xFF;
|