/frameworks/av/media/libstagefright/rtsp/ |
H A D | AH263Assembler.cpp | 111 buffer->setRange(buffer->offset() + skip, buffer->size() - skip); 143 size_t offset = 0; local 148 memcpy((uint8_t *)accessUnit->data() + offset, 151 offset += unit->size();
|
H A D | AMPEG4AudioAssembler.cpp | 370 size_t offset = 0; local 384 CHECK_LT(offset, buffer->size()); 385 tmp = ptr[offset++]; 410 CHECK_LE(offset + payloadLength, buffer->size()); 412 memcpy(out->data() + out->size(), &ptr[offset], payloadLength); 415 offset += payloadLength; 421 CHECK_LE(offset + (mOtherDataLenBits / 8), buffer->size()); 422 offset += mOtherDataLenBits / 8; 426 if (offset < buffer->size()) { 427 ALOGI("ignoring %d bytes of trailing data", buffer->size() - offset); [all...] |
H A D | AAVCAssembler.cpp | 285 size_t offset = 1; local 295 memcpy(unit->data() + offset, buffer->data() + 2, buffer->size() - 2); 296 offset += buffer->size() - 2; 322 size_t offset = 0; local 325 memcpy(accessUnit->data() + offset, "\x00\x00\x00\x01", 4); 326 offset += 4; 329 memcpy(accessUnit->data() + offset, nal->data(), nal->size()); 330 offset += nal->size();
|
H A D | AMPEG4ElementaryAssembler.cpp | 331 size_t offset = 2 + (AU_headers_length + 7) / 8; local 334 ABitReader bits(buffer->data() + offset, buffer->size() - offset); 338 offset += (mAuxiliaryDataSizeLength + auxSize + 7) / 8; 345 CHECK_LE(offset + header.mSize, buffer->size()); 348 memcpy(accessUnit->data(), buffer->data() + offset, header.mSize); 350 offset += header.mSize; 356 CHECK_EQ(offset, buffer->size());
|
H A D | AAMRAssembler.cpp | 152 size_t offset = 1; local 155 if (offset >= buffer->size()) { 164 uint8_t toc = buffer->data()[offset++]; 196 if (offset + frameSize - 1 > buffer->size()) { 207 buffer->data() + offset, frameSize - 1); 209 offset += frameSize - 1;
|
/frameworks/base/core/java/android/text/ |
H A D | GraphicsOperations.java | 71 int getTextRunCursor(int contextStart, int contextEnd, int flags, int offset, argument
|
H A D | Selection.java | 24 * A cursor is a selection where the start and end are at the same offset. 34 * Return the offset of the selection anchor or cursor, or -1 if 45 * Return the offset of the selection edge or cursor, or -1 if 84 * Move the cursor to offset <code>index</code>. 98 * Move the selection edge to offset <code>index</code>. 118 * Move the cursor to the buffer offset physically above the current 119 * offset, or return false if the cursor is already on the top line. 159 * Move the cursor to the buffer offset physically below the current 160 * offset, or return false if the cursor is already on the bottom line. 200 * Move the cursor to the buffer offset physicall [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Movie.cpp | 100 int offset, int length) { 105 if ((offset | length) < 0 || offset + length > totalLength) { 111 SkMovie* moov = SkMovie::DecodeMemory(ar.ptr() + offset, length); 98 movie_decodeByteArray(JNIEnv* env, jobject clazz, jbyteArray byteArray, int offset, int length) argument
|
H A D | YuvToJpegEncoder.cpp | 103 int offset = (i >> 1) * (width >> 1); local 104 cb[i/2] = uRows + offset; 105 cr[i/2] = vRows + offset; 120 int offset = ((rowIndex >> 1) + row) * fStrides[1]; local 121 uint8_t* vu = vuPlanar + offset; 177 int offset = i * (width >> 1); local 178 cb[i] = uRows + offset; 179 cr[i] = vRows + offset;
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | GsmAlphabet.java | 427 * @param bitOffset the bit offset that the septet should be packed at 450 * @param offset the byte offset of 454 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument 456 return gsm7BitPackedToString(pdu, offset, lengthSeptets, 0, 0, 0); 466 * @param offset the byte offset of 475 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument 509 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift)); 516 gsmVal |= 0x7f & (pdu[offset 559 gsm8BitUnpackedToString(byte[] data, int offset, int length) argument 574 gsm8BitUnpackedToString(byte[] data, int offset, int length, String characterset) argument 668 stringToGsm8BitUnpackedField(String s, byte dest[], int offset, int length) argument [all...] |
/frameworks/native/include/binder/ |
H A D | MemoryDealer.h | 40 virtual void deallocate(size_t offset);
|
/frameworks/native/include/utils/ |
H A D | FileMap.h | 60 off64_t offset, size_t length, bool readOnly); 78 * Get the data offset used to create this map. 123 off64_t mDataOffset; // offset used when map was created 124 void* mDataPtr; // start of requested data, offset from base
|
/frameworks/base/media/java/android/media/ |
H A D | MediaCodec.java | 120 * Per buffer metadata includes an offset and size specifying 126 offset = newOffset; 132 public int offset; field in class:MediaCodec.BufferInfo 317 * @param offset The byte offset into the input buffer at which the data starts. 327 int offset, int size, long presentationTimeUs, int flags) 394 * @param offset The byte offset into the input buffer at which the data starts. 403 int offset, 325 queueInputBuffer( int index, int offset, int size, long presentationTimeUs, int flags) argument 401 queueSecureInputBuffer( int index, int offset, CryptoInfo info, long presentationTimeUs, int flags) argument
|
H A D | AmrInputStream.java | 76 public int read(byte[] b, int offset, int length) throws IOException { argument 98 System.arraycopy(mBuf, mBufOut, b, offset, length);
|
H A D | ResampleInputStream.java | 84 public int read(byte[] b, int offset, int length) throws IOException { argument 111 fir21(mBuf, 0, b, offset, length / 2);
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_vertex_frame.h | 44 jint offset,
|
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | StreamSource.h | 35 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
|
/frameworks/base/native/android/ |
H A D | asset_manager.cpp | 176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) argument 178 return asset->mAsset->seek(offset, whence); 181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) argument 183 return asset->mAsset->seek(offset, whence);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListItemRequestRectAboveThinFirstItemTest.java | 62 rect.offset(0, -2 * second.getBottom()); 87 rect.offset(0,
|
/frameworks/compile/libbcc/lib/AndroidBitcode/ARM/ |
H A D | ARMABCExpandVAArg.cpp | 70 uint64_t offset = llvm::RoundUpToAlignment(td->getTypeSizeInBits(ty)/8, 4); local 72 llvm::ConstantInt::get(llvm::Type::getInt32Ty(*mContext), offset),
|
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSInfo.cpp | 210 mHeader.dependencyTable.offset = initial_offset + 215 #define AFTER(_list) ((_list).offset + (_list).itemSize * (_list).count) 216 mHeader.pragmaList.offset = AFTER(mHeader.dependencyTable); 219 mHeader.objectSlotList.offset = AFTER(mHeader.pragmaList); 222 mHeader.exportVarNameList.offset = AFTER(mHeader.objectSlotList); 225 mHeader.exportFuncNameList.offset = AFTER(mHeader.exportVarNameList); 228 mHeader.exportForeachFuncList.offset = AFTER(mHeader.exportFuncNameList); 247 ALOGV("\toffset: %u", (_header).offset); \
|
/frameworks/ex/variablespeed/jni/ |
H A D | jni_entry.cc | 42 JNI_METHOD(playFileDescriptor, void) (JNIEnv*, jclass, int fd, jlong offset, 45 AudioEngine::GetEngine()->PlayFileDescriptor(fd, offset, length);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.h | 57 size_t offset, size_t size, int64_t timeUs, uint32_t flags, 62 size_t offset,
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 58 AString::AString(const AString &from, size_t offset, size_t n) argument 62 setTo(from, offset, n); 98 void AString::setTo(const AString &from, size_t offset, size_t n) { argument 102 setTo(from.mData + offset, n); 186 void AString::append(const AString &from, size_t offset, size_t n) { argument 187 append(from.c_str() + offset, n);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Sender.cpp | 554 for (size_t offset = 0; 555 offset < packets->size(); offset += 188) { 556 bool lastTSPacket = (offset + 188 >= packets->size()); 559 packets->data() + offset, 732 buffer->setRange(buffer->offset(), buffer->size() + 28); 744 size_t offset = 8; local 746 data[offset++] = 1; // CNAME 749 data[offset++] = strlen(kCNAME); 751 memcpy(&data[offset], kCNAM [all...] |