/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextSRTSource.cpp | 86 off64_t offset = 0; local 92 status_t err = getNextSubtitleInfo(&offset, &startTimeUs, &info); 126 off64_t *offset, int64_t *startTimeUs, TextInfo *info) { 132 if ((err = readNextLine(offset, &data)) != OK) { 139 if ((err = readNextLine(offset, &data)) != OK) { 156 info->offset = *offset; 159 if ((err = readNextLine(offset, &data)) != OK) { 173 info->textLen = *offset - info->offset; 125 getNextSubtitleInfo( off64_t *offset, int64_t *startTimeUs, TextInfo *info) argument 177 readNextLine(off64_t *offset, AString *data) argument [all...] |
H A D | TimedTextSRTSource.h | 54 // The offset of the text in the original file. 55 off64_t offset; member in struct:android::TimedTextSRTSource::TextInfo 65 off64_t *offset, int64_t *startTimeUs, TextInfo *info); 66 status_t readNextLine(off64_t *offset, AString *data);
|
/frameworks/av/media/libstagefright/timedtext/test/ |
H A D | TimedTextSRTSource_test.cpp | 65 virtual ssize_t readAt(off64_t offset, void *data, size_t size) { argument 66 if (offset >= mSize) return 0; 68 ssize_t avail = mSize - offset; 72 memcpy(data, mData + offset, avail);
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | VideoFormats.cpp | 387 size_t offset = 0; local 393 offset += 6; // skip native and preferred-display-mode-supported 394 CHECK_LE(offset + 58, size); 395 while (offset < size) { 396 parseH264Codec(spec + offset); 397 offset += 60; // skip H.264-codec + ", "
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 530 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); 576 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); 686 size_t offset; local 692 &bufferIndex, &offset, &size, &timeUs, &flags); 753 memcpy(buffer->data(), outbuf->base() + offset, size);
|
H A D | TSPacketizer.cpp | 184 size_t offset = 0; local 188 memcpy(dup->data() + offset, csd->data(), csd->size()); 189 offset += csd->size(); 192 memcpy(dup->data() + offset, accessUnit->data(), accessUnit->size()); 955 size_t offset = copy; local 956 while (offset < accessUnit->size()) { 970 size_t copy = accessUnit->size() - offset; 999 memcpy(ptr, accessUnit->data() + offset, copy); 1003 offset += copy;
|
/frameworks/av/media/mtp/ |
H A D | MtpDataPacket.cpp | 64 int offset = mOffset; local 65 value = (uint16_t)mBuffer[offset] | ((uint16_t)mBuffer[offset + 1] << 8); 73 int offset = mOffset; local 74 value = (uint32_t)mBuffer[offset] | ((uint32_t)mBuffer[offset + 1] << 8) | 75 ((uint32_t)mBuffer[offset + 2] << 16) | ((uint32_t)mBuffer[offset + 3] << 24); 83 int offset = mOffset; local 84 value = (uint64_t)mBuffer[offset] | ((uint64_ [all...] |
H A D | MtpDevice.cpp | 586 bool (* callback)(void* data, int offset, int length, void* clientData), 603 int offset = 0; local 612 offset += initialDataLength; 639 if (!callback(writeBuffer, offset, writeLength, clientData)) { 646 offset += writeLength; 585 readObject(MtpObjectHandle handle, bool (* callback)(void* data, int offset, int length, void* clientData), size_t objectSize, void* clientData) argument
|
H A D | MtpPacket.cpp | 94 uint16_t MtpPacket::getUInt16(int offset) const { 95 return ((uint16_t)mBuffer[offset + 1] << 8) | (uint16_t)mBuffer[offset]; 98 uint32_t MtpPacket::getUInt32(int offset) const { 99 return ((uint32_t)mBuffer[offset + 3] << 24) | ((uint32_t)mBuffer[offset + 2] << 16) | 100 ((uint32_t)mBuffer[offset + 1] << 8) | (uint32_t)mBuffer[offset]; 103 void MtpPacket::putUInt16(int offset, uint16_t value) { argument 104 mBuffer[offset 108 putUInt32(int offset, uint32_t value) argument 148 int offset = MTP_CONTAINER_PARAMETER_OFFSET + (index - 1) * sizeof(uint32_t); local [all...] |
H A D | MtpServer.cpp | 783 mfr.offset = 0; 823 uint64_t offset; local 825 offset = mRequest.getParameter(2); 831 // android extension with 64 bit offset 833 offset = offset | (offset2 << 32); 849 if (offset + length > (uint64_t)fileLength) 850 length = fileLength - offset; 858 mfr.offset = offset; 1178 uint64_t offset = mRequest.getParameter(2); local 1253 uint64_t offset = mRequest.getParameter(2); local [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaCodec.cpp | 294 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags) { 297 status_t ret = mData->mCodec->queueInputBuffer(idx, offset, size, time, flags, &errorMsg); 305 size_t offset; local 309 status_t ret = mData->mCodec->dequeueOutputBuffer(&idx, &offset, &size, &presentationTimeUs, 314 info->offset = offset; 374 off_t offset, 387 offset, 293 AMediaCodec_queueInputBuffer(AMediaCodec *mData, size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags) argument 371 AMediaCodec_queueSecureInputBuffer( AMediaCodec* codec, size_t idx, off_t offset, AMediaCodecCryptoInfo* crypto, uint64_t time, uint32_t flags) argument
|
H A D | NdkMediaExtractor.cpp | 73 media_status_t AMediaExtractor_setDataSourceFd(AMediaExtractor *mData, int fd, off64_t offset, off64_t length) { argument 74 ALOGV("setDataSource(%d, %lld, %lld)", fd, offset, length); 75 return translate_error(mData->mImpl->setDataSource(fd, offset, length));
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerSinc.cpp | 660 const size_t offset = c.halfNumCoefs; local 661 indexP *= offset; 662 indexN *= offset; 669 size_t count = offset; 675 interpolate<CHANNELS>(l, r, coefsP++, offset, lerpP, sP); 677 interpolate<CHANNELS>(l, r, coefsN++, offset, lerpN, sN); 685 int32_t const* coefsP1 = coefsP + offset; 686 int32_t const* coefsN1 = coefsN + offset; 753 int32_t const* coefsP1 = coefsP + offset; 754 int32_t const* coefsN1 = coefsN + offset; 839 interpolate( int32_t& l, int32_t& r, const int32_t* coefs, size_t offset, int32_t lerp, const int16_t* samples) argument [all...] |
H A D | Threads.cpp | 2115 const size_t offset = mCurrentWriteLength - mBytesRemaining; local 2133 ssize_t framesWritten = mNormalSink->write((char *)mSinkBuffer + offset, count); 2163 (char *)mSinkBuffer + offset, mBytesRemaining);
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | CameraClient.cpp | 820 ssize_t offset; local 822 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); 851 copyFrameAndPostCopiedFrame(msgType, c, heap, offset, size, metadata); 877 ssize_t offset; local 879 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); 929 const sp<IMemoryHeap>& heap, size_t offset, size_t size, 965 memcpy(previewBufferBase, (uint8_t *) heapBase + offset, size); 927 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | CallbackProcessor.cpp | 404 ssize_t offset; local 407 mCallbackHeap->mBuffers[heapIdx]->getMemory(&offset, 409 uint8_t *data = (uint8_t*)heap->getBase() + offset;
|
H A D | JpegProcessor.cpp | 347 size_t offset = size - MARKER_LENGTH; local 348 uint8_t *end = jpegBuffer + offset; 372 ALOGV("JPEG stream found beginning at offset %zu", size); 376 ALOGE("Got premature End before JPEG data, offset %zu", size);
|
H A D | StreamingProcessor.cpp | 762 ssize_t offset; local 765 mRecordingHeap->mBuffers[heapIdx]->getMemory(&offset, 768 uint8_t *data = (uint8_t*)heap->getBase() + offset; 798 ssize_t offset; local 800 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); 807 uint8_t *data = (uint8_t*)heap->getBase() + offset;
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 328 ssize_t offset; local 330 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); 331 void *data = ((uint8_t *)heap->base()) + offset;
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 360 GLint offset = (1 - (t - floorf(t))) * mAndroid[1].w; local 361 GLint x = xc - offset;
|
/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 159 size_t offset = (vinfo.xoffset + vinfo.yoffset*vinfo.xres) * bytespp; local 164 mapsize = offset + size; 167 base = (void const *)((char const *)mapbase + offset);
|
/frameworks/base/core/java/android/app/ |
H A D | ActionBar.java | 968 * Return the current vertical offset of the action bar. 970 * <p>The action bar's current hide offset is the distance that the action bar is currently 974 * @return The action bar's offset toward its fully hidden state in pixels 981 * Set the current hide offset of the action bar. 983 * <p>The action bar's current hide offset is the distance that the action bar is currently 987 * @param offset The action bar's offset toward its fully hidden state in pixels. 989 public void setHideOffset(int offset) { argument 990 if (offset != 0) { 991 throw new UnsupportedOperationException("Setting an explicit action bar hide offset " [all...] |
/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
|
H A D | BackupDataInputStream.java | 69 * {@code offset} within the array. 72 * @param offset The data will be stored in {@code b} beginning at this index 80 public int read(byte[] b, int offset, int size) throws IOException { argument 81 return mData.readEntityData(b, offset, size);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattCharacteristic.java | 435 * characteristic value at the given offset are interpreted to generate the 440 * @param offset Offset at which the integer value can be found. 441 * @return Cached value of the characteristic or null of offset exceeds 444 public Integer getIntValue(int formatType, int offset) { argument 445 if ((offset + getTypeLen(formatType)) > mValue.length) return null; 449 return unsignedByteToInt(mValue[offset]); 452 return unsignedBytesToInt(mValue[offset], mValue[offset+1]); 455 return unsignedBytesToInt(mValue[offset], mValue[offset 482 getFloatValue(int formatType, int offset) argument 504 getStringValue(int offset) argument 537 setValue(int value, int formatType, int offset) argument 584 setValue(int mantissa, int exponent, int formatType, int offset) argument [all...] |