Searched refs:offset (Results 251 - 275 of 837) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dresidual.cpp31 int offset; local
45 offset = video->PicWidthInSamplesL - 16;
70 pDst += offset;
71 pSrc += offset;
79 offset >>= 1;
103 pDst += offset;
104 pSrc += offset;
136 pDst += offset;
137 pSrc += offset;
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4ElementaryAssembler.cpp335 size_t offset = 2 + (AU_headers_length + 7) / 8; local
338 ABitReader bits(buffer->data() + offset, buffer->size() - offset);
342 offset += (mAuxiliaryDataSizeLength + auxSize + 7) / 8;
349 if (buffer->size() < offset + header.mSize) {
354 memcpy(accessUnit->data(), buffer->data() + offset, header.mSize);
356 offset += header.mSize;
362 if (offset != buffer->size()) {
363 ALOGW("potentially malformed packet (offset %d, size %d)",
364 offset, buffe
[all...]
/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java250 int offset = widget.getOffsetForPosition(event.getX(), event.getY());
251 buffer.setSpan(LAST_TAP_DOWN, offset, offset, Spannable.SPAN_POINT_POINT);
264 int offset = buffer.getSpanStart(LAST_TAP_DOWN);
265 Selection.setSelection(buffer, offset);
280 int offset = widget.getOffsetForPosition(event.getX(), event.getY());
282 Selection.extendSelection(buffer, offset);
288 // the current scroll offset to avoid the scroll jumping later
296 int offset = widget.getOffsetForPosition(event.getX(), event.getY());
299 Selection.extendSelection(buffer, offset);
[all...]
/frameworks/av/include/media/stagefright/
H A DYUVImage.h30 // - getOffsets() returns the correct offset for the different channels
145 // For the given pixel location, this returns the offset of the location of y, u and v
152 // Returns the offset increments incurred in going from one data row to the next data row
161 // Given the offset return the address of the corresponding channel's data.
162 uint8_t* getYAddress(int32_t offset) const;
163 uint8_t* getUAddress(int32_t offset) const;
164 uint8_t* getVAddress(int32_t offset) const;
/frameworks/av/include/media/stagefright/foundation/
H A DAString.h35 AString(const AString &from, size_t offset, size_t n);
41 void setTo(const AString &from, size_t offset, size_t n);
56 void append(const AString &from, size_t offset, size_t n);
/frameworks/av/include/ndk/
H A DNdkMediaCodec.h45 int32_t offset; member in struct:AMediaCodecBufferInfo
134 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags);
140 size_t idx, off_t offset, AMediaCodecCryptoInfo*, uint64_t time, uint32_t flags);
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_seek_synch.cpp208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3); local
210 offset >>= INBUF_ARRAY_INDEX_SHIFT;
211 uint8 *pElem = pVars->inputStream.pBuffer + offset;
H A Dpvmp3_framedecoder.cpp271 * offset in bytes from the first byte of the sync word
562 pMainData->pBuffer[module(pMainData->offset++, BUFSIZE)] = (uint8)val;
571 int32 offset = (pVars->inputStream.usedBits) >> INBUF_ARRAY_INDEX_SHIFT; local
576 if ((offset + temp) < BUFSIZE)
578 uint8 * ptr = pVars->inputStream.pBuffer + offset;
580 offset = pVars->mainDataStream.offset;
585 if ((offset + temp) < BUFSIZE)
587 pv_memcpy((pVars->mainDataStream.pBuffer + offset), ptr, temp*sizeof(uint8));
588 pVars->mainDataStream.offset
[all...]
/frameworks/av/media/libstagefright/include/
H A DNuCachedSource2.h38 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
126 ssize_t readInternal(off64_t offset, void *data, size_t size);
127 status_t seekInternal_l(off64_t offset);
/frameworks/base/core/java/android/hardware/
H A DSensor.java617 int offset = sensor.mType;
618 if (offset >= sSensorReportingModes.length) {
627 return sSensorReportingModes[offset];
/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataInput.cpp92 readEntityData_native(JNIEnv* env, jobject clazz, jlong r, jbyteArray data, jint offset, jint size) argument
97 if (env->GetArrayLength(data) < (size+offset)) {
107 err = reader->ReadEntityData(dataBytes+offset, size);
H A Dandroid_nio_utils.cpp33 jint offset; local
45 offset = _env->CallStaticIntMethod(gNioJNI.nioAccessClass,
49 return (void *) ((char *) data + offset);
H A Dandroid_opengl_EGL14.cpp476 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint attribute, jintArray value_ref, jint offset) {
493 if (offset < 0) {
496 _exceptionMessage = "offset < 0";
499 _remaining = _env->GetArrayLength(value_ref) - offset;
503 _exceptionMessage = "length - offset < 1 < needed";
508 value = value_base + offset;
531 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
550 if (offset < 0) {
553 _exceptionMessage = "offset < 0";
569 _remaining = _env->GetArrayLength(attrib_list_ref) - offset;
475 android_eglGetConfigAttrib(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint attribute, jintArray value_ref, jint offset) argument
530 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
607 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
688 android_eglCreatePbufferSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jintArray attrib_list_ref, jint offset) argument
750 android_eglCreatePixmapSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint pixmap, jintArray attrib_list_ref, jint offset) argument
774 android_eglQuerySurface(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint attribute, jintArray value_ref, jint offset) argument
867 android_eglCreatePbufferFromClientBuffer(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jlong buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
930 android_eglCreatePbufferFromClientBufferInt(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
1004 android_eglCreateContext(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject share_context, jintArray attrib_list_ref, jint offset) argument
1131 android_eglQueryContext(JNIEnv *_env, jobject _this, jobject dpy, jobject ctx, jint attribute, jintArray value_ref, jint offset) argument
[all...]
/frameworks/base/docs/html/
H A Djd_tag_helpers.js28 var offset = 0;
34 allRes[tag] = allRes[tag].concat(r.map[tag].map(function(i){ return ALL_RESOURCES[i + offset]; }));
36 offset += r.arr.length;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dsobeloperator.cpp50 const int offset = (i * width + j) * 3; local
52 *(gxPtr + offset + c) =
56 *(gyPtr + offset + c) =
/frameworks/compile/mclinker/lib/LD/
H A DGNUArchiveReader.cpp125 // bypass if another symbol with the same object file offset is included
138 // include the object member from the given offset
154 /// @param pFileOffset - file offset of the member header in the archive
175 // parse the member name and nested offset if any
188 // parse the name offset
192 // there is a nested offset
256 // set up the pointers for file offset and name offset
310 size_t offset = Archive::MAGIC_LEN + local
314 if (0x0 != (offset
[all...]
H A DRelocator.cpp38 // 1. update the relocation target offset
40 uint64_t offset = input_sym->fragRef()->getOutputOffset(); local
41 pReloc.target() += offset;
58 FragmentRef::Offset undef_sym_pos = pReloc.targetRef().offset();
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp64 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...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java478 int offset
577 int offset
599 int offset
642 int offset
662 int offset
696 int offset
718 int offset
742 int offset
767 int offset
799 int offset
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java399 int offset
468 int offset
484 int offset
517 int offset
531 int offset
556 int offset
572 int offset
590 int offset
609 int offset
631 int offset
[all...]
/frameworks/av/include/media/
H A DIMediaMetadataRetriever.h42 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
H A DMediaMetadataRetrieverInterface.h42 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
/frameworks/av/media/libmedia/
H A Dmediametadataretriever.cpp117 status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) argument
119 ALOGV("setDataSource(%d, %" PRId64 ", %" PRId64 ")", fd, offset, length);
125 if (fd < 0 || offset < 0 || length < 0) {
129 return mRetriever->setDataSource(fd, offset, length);
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dline_pe.h48 Word16 offset; member in struct:__anon318
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp48 off64_t /* offset */) {
81 ssize_t MediaHTTP::readAt(off64_t offset, void *data, size_t size) { argument
99 offset + numBytesRead, (uint8_t *)data + numBytesRead, copy);
139 status_t MediaHTTP::reconnectAtOffset(off64_t offset) { argument
140 return connect(mLastURI.c_str(), &mLastHeaders, offset);

Completed in 447 milliseconds

<<11121314151617181920>>