/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | fastcodemb.cpp | 33 /* QP Combined offset from the origin to the current */ 80 Int offset = QP >> 5; /* QP is combined offset and QP */ local 81 Int offsetc = (offset >> 2) + (ind_x << 2); /* offset for chrom */ 129 rec = currVop->yChan + offset; 130 input = inputFrame->yChan + offset; 131 if (lx != width) input -= (ind_y << 9); /* non-padded offset */ 262 /* QP Combined offset from the origin to the current */ 311 Int offset local [all...] |
H A D | me_utils.cpp | 23 #define VOP_OFFSET ((lx<<4)+16) /* for offset to image area */ 39 Int offset = (lx >> 2) - 4; local 54 pint += offset; 61 pint += offset; 68 offset = lx - 16; 87 p += (offset - temp); 116 Int offset = lx - 17; local 137 p1 += offset; 138 p2 += offset; 139 p3 += offset; 172 Int offset = lx - 9; local [all...] |
/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/httplive/ |
H A D | M3UParser.cpp | 154 size_t offset = 0; local 156 while (offset < size) { 157 size_t offsetLF = offset; 166 if (offsetLF > offset && data[offsetLF - 1] == '\r') { 167 line.setTo(&data[offset], offsetLF - offset - 1); 169 line.setTo(&data[offset], offsetLF - offset); 175 offset = offsetLF + 1; 227 uint64_t length, offset; local 330 size_t offset = colonPos + 1; local 379 FindNextUnquoted( const AString &line, char what, size_t offset) argument 408 size_t offset = colonPos + 1; local 469 parseByteRange( const AString &line, uint64_t curOffset, uint64_t *length, uint64_t *offset) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
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());
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextSRTSource.cpp | 87 off64_t offset = 0; local 93 status_t err = getNextSubtitleInfo(&offset, &startTimeUs, &info); 127 off64_t *offset, int64_t *startTimeUs, TextInfo *info) { 133 if ((err = readNextLine(offset, &data)) != OK) { 140 if ((err = readNextLine(offset, &data)) != OK) { 157 info->offset = *offset; 160 if ((err = readNextLine(offset, &data)) != OK) { 174 info->textLen = *offset - info->offset; 126 getNextSubtitleInfo( off64_t *offset, int64_t *startTimeUs, TextInfo *info) argument 178 readNextLine(off64_t *offset, AString *data) argument [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 414 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); 460 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); 553 size_t offset; local 558 &bufferIndex, &offset, &size, &timeUs, &flags); 579 mEncoderOutputBuffers.itemAt(bufferIndex)->base() + offset,
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | JpegProcessor.cpp | 319 size_t offset = size - MARKER_LENGTH; local 320 uint8_t *end = jpegBuffer + offset; 344 ALOGV("JPEG stream found beginning at offset %d", size); 348 ALOGE("Got premature End before JPEG data, offset %d", size);
|
H A D | StreamingProcessor.cpp | 542 ssize_t offset; local 545 mRecordingHeap->mBuffers[heapIdx]->getMemory(&offset, 548 uint8_t *data = (uint8_t*)heap->getBase() + offset; 577 ssize_t offset; local 579 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); 586 uint8_t *data = (uint8_t*)heap->getBase() + offset;
|
/frameworks/base/cmds/installd/tests/ |
H A D | installd_utils_test.cpp | 275 size_t offset = strlen(prefix); local 276 EXPECT_STREQ(pkgname, path + offset)
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetFileDescriptor.java | 31 * offset and length of that entry's data in the file. 85 * Returns the byte offset where this asset entry's data starts. 195 public int read(byte[] buffer, int offset, int count) throws IOException { argument 199 int res = super.read(buffer, offset, count); 204 return super.read(buffer, offset, count); 270 public void write(byte[] buffer, int offset, int count) throws IOException { argument 274 super.write(buffer, offset, count); 279 super.write(buffer, offset, count);
|
H A D | StringBlock.java | 53 public StringBlock(byte[] data, int offset, int size, boolean useSparse) { argument 54 mNative = nativeCreate(data, offset, size); 427 int offset, 426 nativeCreate(byte[] data, int offset, int size) argument
|
/frameworks/base/core/java/android/database/ |
H A D | Cursor.java | 82 * @param offset the offset to be applied from the current position. 85 boolean move(int offset); argument
|
H A D | CursorWrapper.java | 157 public boolean move(int offset) { argument 158 return mCursor.move(offset);
|
/frameworks/base/core/java/android/os/ |
H A D | MemoryFile.java | 187 * @param srcOffset offset into the memory file to read from. 188 * @param destOffset offset into the byte array buffer to read into. 212 * @param srcOffset offset into the byte array buffer to write from. 213 * @param destOffset offset into the memory file to write to. 298 public int read(byte buffer[], int offset, int count) throws IOException { argument 299 if (offset < 0 || count < 0 || offset + count > buffer.length) { 308 int result = readBytes(buffer, mOffset, offset, count); 331 public void write(byte buffer[], int offset, int count) throws IOException { argument 332 writeBytes(buffer, offset, mOffse [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 192 This designator indicates the offset of the timezone from GMT. 642 private static String formatZoneOffset(int offset, int count) { argument 643 offset /= 1000; // milliseconds to seconds 646 if (offset < 0) { 648 offset = -offset; 653 int hours = offset / 3600; 654 int minutes = (offset % 3600) / 60;
|
/frameworks/base/core/java/android/util/ |
H A D | Base64.java | 88 public abstract boolean process(byte[] input, int offset, int len, boolean finish); argument 147 * @param offset the position within the input array at which to start 155 public static byte[] decode(byte[] input, int offset, int len, int flags) { argument 160 if (!decoder.process(input, offset, len, true)) { 263 public boolean process(byte[] input, int offset, int len, boolean finish) { argument 266 int p = offset; 267 len += offset; 468 * @param offset the position within the input array at which to 475 public static String encodeToString(byte[] input, int offset, int len, int flags) { argument 477 return new String(encode(input, offset, le 509 encode(byte[] input, int offset, int len, int flags) argument 603 process(byte[] input, int offset, int len, boolean finish) argument [all...] |
H A D | TimeUtils.java | 59 * Tries to return a time zone that would have had the specified offset 63 public static TimeZone getTimeZone(int offset, boolean dst, long when, String country) { argument 81 if (currentOffset == offset && currentDst == dst) { 87 // country that has the correct current offset and DST. 92 if (tz.getOffset(when) == offset && 123 // See if we already have this offset, 134 Log.d(TAG, "getTimeZonesWithUniqueOffsets: add unique offset=" +
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayList.java | 323 * @param offset The amount that the left and right values of the DisplayList are offset 326 public abstract void offsetLeftRight(int offset); argument 331 * @param offset The amount that the top and bottom values of the DisplayList are offset 334 public abstract void offsetTopBottom(int offset); argument
|
H A D | ViewParent.java | 132 * @param offset The input coordinates of a point, defined in the child coordinate system. 138 public boolean getChildVisibleRect(View child, Rect r, android.graphics.Point offset); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | ScrollBarDrawable.java | 85 public void setParameters(int range, int offset, int extent, boolean vertical) { argument 90 if (mRange != range || mOffset != offset || mExtent != extent) { 95 mOffset = offset; 125 int offset = Math.round((float) (size - length) * mOffset / (range - extent)); 133 if (offset + length > size) { 134 offset = size - length; 137 drawThumb(canvas, r, offset, length, vertical); 162 protected void drawThumb(Canvas canvas, Rect bounds, int offset, int length, boolean vertical) { argument 167 thumbRect.set(bounds.left, bounds.top + offset, 168 bounds.right, bounds.top + offset [all...] |
H A D | SpellChecker.java | 325 SuggestionsInfo suggestionsInfo, int offset, int length) { 344 editable, suggestionsInfo, spellCheckSpan, offset, length); 354 if (offset != USE_SPAN_RANGE && length != USE_SPAN_RANGE) { 355 start = spellCheckSpanStart + offset; 411 final int offset = ssi.getOffsetAt(j); 414 suggestionsInfo, offset, length); 455 SpellCheckSpan spellCheckSpan, int offset, int length) { 463 if (offset != USE_SPAN_RANGE && length != USE_SPAN_RANGE) { 464 start = spellCheckSpanStart + offset; 741 private <T> void removeSpansAt(Editable editable, int offset, argument 324 onGetSuggestionsInternal( SuggestionsInfo suggestionsInfo, int offset, int length) argument 454 createMisspelledSuggestionSpan(Editable editable, SuggestionsInfo suggestionsInfo, SpellCheckSpan spellCheckSpan, int offset, int length) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ListMenuPresenter.java | 157 public void setItemIndexOffset(int offset) { argument 158 mItemIndexOffset = offset;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapRegionDecoder.cpp | 99 int offset, int length, jboolean isShareable) { 105 SkStream* stream = new SkMemoryStream(ar.ptr() + offset, length, true); 132 /* Restore our offset when we leave, so we can be called more than once 98 nativeNewInstanceFromByteArray(JNIEnv* env, jobject, jbyteArray byteArray, int offset, int length, jboolean isShareable) 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;
|