Searched defs:offset (Results 401 - 425 of 575) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c1554 u32 offset; local
1565 offset = TOP;
1585 * each edge separately. offset variable indicates top macroblock edge
1591 FilterHorLuma(ptr, tmp[0].top, thresholds + offset, (i32)width);
1596 FilterHorLumaEdge(ptr, tmp[0].top, thresholds+offset,
1599 FilterHorLumaEdge(ptr+4, tmp[1].top, thresholds+offset,
1602 FilterHorLumaEdge(ptr+8, tmp[2].top, thresholds+offset,
1605 FilterHorLumaEdge(ptr+12, tmp[3].top, thresholds+offset,
1612 offset = INNER;
1636 u32 offset; local
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp184 mBuffer->setRange(mBuffer->offset(), mBuffer->size() + n);
233 mBuffer->setRange(mBuffer->offset() + res, mBuffer->size() - res);
312 size_t offset = 0; local
313 while (offset < program_stream_info_length) {
314 if (offset + 2 > program_stream_info_length) {
324 if (offset + 2 + descriptor_length > program_stream_info_length) {
330 offset += 2 + descriptor_length;
335 offset = 0;
336 while (offset < elementary_stream_map_length) {
337 if (offset
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp533 size_t offset = 0; local
534 while (offset < size) {
535 ssize_t n = recv(mSocket, (uint8_t *)data + offset, size - offset, 0);
554 offset += (size_t)n;
H A DMyTransmitter.h925 buffer->setRange(buffer->offset(), buffer->size() + 28);
937 size_t offset = 8; local
939 data[offset++] = 1; // CNAME
942 data[offset++] = strlen(kCNAME);
944 memcpy(&data[offset], kCNAME, strlen(kCNAME));
945 offset += strlen(kCNAME);
947 data[offset++] = 7; // NOTE
950 data[offset++] = strlen(kNOTE);
952 memcpy(&data[offset], kNOTE, strlen(kNOTE));
953 offset
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp184 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 DMtpDevice.cpp586 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
/frameworks/av/media/ndk/
H A DNdkMediaCodec.cpp294 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
/frameworks/av/services/audioflinger/
H A DAudioResamplerSinc.cpp660 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...]
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp820 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/base/cmds/bootanimation/
H A DBootAnimation.cpp360 GLint offset = (1 - (t - floorf(t))) * mAndroid[1].w; local
361 GLint x = xc - offset;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCharacteristic.java435 * 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...]
/frameworks/base/core/java/android/database/
H A DAbstractCursor.java232 public final boolean move(int offset) { argument
233 return moveToPosition(mPos + offset);
/frameworks/base/core/java/android/text/
H A DDynamicLayout.java373 int offset = BLOCK_MINIMUM_CHARACTER_LENGTH;
378 offset = TextUtils.indexOf(text, '\n', offset);
379 if (offset < 0) {
383 addBlockAtOffset(offset);
384 offset += BLOCK_MINIMUM_CHARACTER_LENGTH;
396 * Create a new block, ending at the specified character offset.
397 * A block will actually be created only if has at least one line, i.e. this offset is
400 private void addBlockAtOffset(int offset) { argument
401 final int line = getLineForOffset(offset);
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java52 * On touch, this offset plus the scaled value from the position of the
107 // Guess thumb offset if thumb != null, but allow layout to override.
129 * used as the new thumb offset (@see #setThumbOffset(int)).
151 // Assuming the thumb drawable is symmetric, set the thumb offset
283 * Sets the thumb offset that allows the thumb to extend out of the range of
286 * @param thumbOffset The offset amount in pixels.
414 // Apply offset to whichever item is taller.
446 * @param offset Vertical offset for centering. If set to
447 * {@link Integer#MIN_VALUE}, the current offset wil
449 setThumbPos(int w, Drawable thumb, float scale, int offset) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Parcel.cpp164 jint offset, jint length)
185 memcpy(dest, ar + offset, length);
191 jint offset, jint length) {
222 memcpy(blob.data(), ar + offset, length);
590 jbyteArray data, jint offset, jint length)
604 memcpy(raw, (array + offset), length);
611 jlong otherNativePtr, jint offset, jint length)
622 status_t err = thisParcel->appendFrom(otherParcel, offset, length);
163 android_os_Parcel_writeNative(JNIEnv* env, jclass clazz, jlong nativePtr, jobject data, jint offset, jint length) argument
190 android_os_Parcel_writeBlob(JNIEnv* env, jclass clazz, jlong nativePtr, jobject data, jint offset, jint length) argument
589 android_os_Parcel_unmarshall(JNIEnv* env, jclass clazz, jlong nativePtr, jbyteArray data, jint offset, jint length) argument
610 android_os_Parcel_appendFrom(JNIEnv* env, jclass clazz, jlong thisNativePtr, jlong otherNativePtr, jint offset, jint length) argument
H A Dcom_android_internal_content_NativeLibraryHelper.cpp77 off_t offset = 0; local
79 switch (*(filename + offset)) {
95 offset++;
/frameworks/base/media/java/android/media/
H A DJetPlayer.java545 private native final boolean native_loadJetFromFileD(FileDescriptor fd, long offset, long len); argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java207 public void setData(ByteBuffer buffer, int offset, int length) { argument
213 } else if (!setNativeData(bytes, offset, length)) {
380 private native boolean setNativeData(byte[] data, int offset, int length); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSearchPanelCircleView.java229 float offset = t * mMaxElevation;
230 setElevation(offset);
234 * Sets the offset to the edge of the screen. By default this not not animated.
236 * @param offset The offset to apply.
238 public void setOffset(float offset) { argument
239 setOffset(offset, false, 0, null, null);
243 * Sets the offset to the edge of the screen.
245 * @param offset The offset t
253 setOffset(float offset, boolean animate, int startDelay, Interpolator interpolator, final Runnable endRunnable) argument
329 updateCircleRect(Rect rect, float offset, boolean useStaticSize) argument
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifParser.java218 long offset = mTiffStream.readUnsignedInt();
219 if (offset > Integer.MAX_VALUE) {
220 throw new ExifInvalidFormatException("Invalid offset " + offset);
222 mIfd0Position = (int) offset;
225 registerIfd(IfdId.TYPE_IFD_0, offset);
226 if (offset != DEFAULT_IFD0_OFFSET) {
227 mDataAboveIfd0 = new byte[(int) offset - DEFAULT_IFD0_OFFSET];
275 int offset = mTiffStream.getReadByteCount();
277 if (offset < endOfTag
496 skipTo(int offset) argument
518 registerIfd(int ifdType, long offset) argument
524 registerCompressedImage(long offset) argument
528 registerUncompressedStrip(int stripIndex, long offset) argument
800 read(byte[] buffer, int offset, int length) argument
[all...]
H A DExifTag.java102 // Value offset in exif header.
219 * contain an offset value that is determined when the tag is written.
411 public boolean setValue(byte[] value, int offset, int length) { argument
419 System.arraycopy(value, offset, mValue, 0, length);
844 * @param offset the initial position in buffer to store the bytes.
850 protected void getBytes(byte[] buf, int offset, int length) { argument
855 System.arraycopy(mValue, 0, buf, offset,
860 * Gets the offset of this tag. This is only valid if this data size > 4 and
861 * contains an offset to the location of the actual value.
868 * Sets the offset o
870 setOffset(int offset) argument
[all...]
/frameworks/base/tools/aapt/
H A DZipFile.cpp297 ALOGD("Failure seeking to central dir offset %ld\n",
980 /* Get the length of this entry by finding the offset
1163 off_t offset = entry->getFileOffset(); local
1164 if (fseek(mZipFp, offset, SEEK_SET) != 0) {
1180 printf("0x%08x ", (int)(offset+(i*0x10)));
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java257 /*package*/ static Bitmap nativeCreate(int[] colors, int offset, int stride, int width, argument
265 image.setRGB(0, 0, width, height, colors, offset, stride);
406 /*package*/ static void nativeGetPixels(long nativeBitmap, int[] pixels, int offset, argument
413 delegate.getImage().getRGB(x, y, width, height, pixels, offset, stride);
428 /*package*/ static void nativeSetPixels(long nativeBitmap, int[] colors, int offset, argument
435 delegate.getImage().setRGB(x, y, width, height, colors, offset, stride);
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectWriter.cpp71 region = pOutput.request(section->offset(), section->size());
327 shdr[sectIdx].sh_offset = ld_sect->offset();
363 phdr[index].p_offset = (*seg)->offset();
379 MemoryRegion region = pOutput.request(pShStrTab.offset(), pShStrTab.size());
417 // Patch FDE field (offset to CIE)
425 // Patch PLT offset
428 uint64_t plt_offset = plt_sect->offset();
430 uint64_t fde_offset = pFrame.getSection().offset() + fde.getOffset() +
432 int32_t offset = fde_offset - plt_offset; local
434 offset
447 int32_t offset = fde_cie_ptr_offset - cie_start_offset; local
[all...]
H A DELFReader.cpp59 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); local
62 Fragment* frag = IRBuilder::CreateRegion(pInput, offset, size);
459 uint32_t offset = pInput.fileOffset() + symtab->offset() + local
462 pInput.memArea()->request(offset, sizeof(llvm::ELF::Elf32_Sym));
482 pInput.fileOffset() + strtab->offset(), strtab->size());
511 pInput.fileOffset() + dynamic_sect->offset(), dynamic_sect->size());
514 pInput.fileOffset() + dynstr_sect->offset(), dynstr_sect->size());
584 uint64_t offset local
980 uint64_t offset = pInput.fileOffset() + symtab->offset() + local
[all...]

Completed in 5206 milliseconds

<<11121314151617181920>>