Searched refs:offset (Results 276 - 300 of 900) sorted by relevance

<<11121314151617181920>>

/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);
131 ssize_t readInternal(off64_t offset, void *data, size_t size);
132 status_t seekInternal_l(off64_t offset);
H A DDataUriSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4AudioAssembler.cpp368 size_t offset = 0; local
382 CHECK_LT(offset, buffer->size());
383 tmp = ptr[offset++];
408 CHECK_LT(offset, buffer->size());
409 CHECK_LE(payloadLength, buffer->size() - offset);
411 memcpy(out->data() + out->size(), &ptr[offset], payloadLength);
414 offset += payloadLength;
420 CHECK_LE(offset + (mOtherDataLenBits / 8), buffer->size());
421 offset += mOtherDataLenBits / 8;
425 if (offset < buffe
[all...]
H A DAH263Assembler.cpp137 buffer->setRange(buffer->offset() + skip, buffer->size() - skip);
169 size_t offset = 0; local
174 memcpy((uint8_t *)accessUnit->data() + offset,
177 offset += unit->size();
/frameworks/base/core/jni/
H A Dandroid_backup_BackupDataInput.cpp94 readEntityData_native(JNIEnv* env, jobject clazz, jlong r, jbyteArray data, jint offset, jint size) argument
99 if (env->GetArrayLength(data) < (size+offset)) {
109 err = reader->ReadEntityData(dataBytes+offset, size);
H A Dandroid_opengl_EGL14.cpp481 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint attribute, jintArray value_ref, jint offset) {
498 if (offset < 0) {
501 _exceptionMessage = "offset < 0";
504 _remaining = _env->GetArrayLength(value_ref) - offset;
508 _exceptionMessage = "length - offset < 1 < needed";
513 value = value_base + offset;
536 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
555 if (offset < 0) {
558 _exceptionMessage = "offset < 0";
574 _remaining = _env->GetArrayLength(attrib_list_ref) - offset;
480 android_eglGetConfigAttrib(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint attribute, jintArray value_ref, jint offset) argument
535 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
612 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
693 android_eglCreatePbufferSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jintArray attrib_list_ref, jint offset) argument
755 android_eglCreatePixmapSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint pixmap, jintArray attrib_list_ref, jint offset) argument
779 android_eglQuerySurface(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint attribute, jintArray value_ref, jint offset) argument
872 android_eglCreatePbufferFromClientBuffer(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jlong buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
935 android_eglCreatePbufferFromClientBufferInt(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
1008 android_eglCreateContext(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject share_context, jintArray attrib_list_ref, jint offset) argument
1135 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.js29 var offset = 0;
35 allRes[tag] = allRes[tag].concat(r.map[tag].map(function(i){ return ALL_RESOURCES[i + offset]; }));
37 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/Fragment/
H A DRelocation.cpp75 m_TargetAddress.assign(*pTargetRef->frag(), pTargetRef->offset());
145 uint32_t offset = m_pSymInfo->outSymbol()->fragRef()->getOutputOffset(); local
146 m_Addend += offset;
/frameworks/compile/mclinker/lib/LD/
H A DGNUArchiveReader.cpp117 // bypass if another symbol with the same object file offset is included
130 // include the object member from the given offset
146 /// @param pFileOffset - file offset of the member header in the archive
166 // parse the member name and nested offset if any
178 // parse the name offset
182 // there is a nested offset
244 // set up the pointers for file offset and name offset
297 size_t offset = Archive::MAGIC_LEN + sizeof(Archive::MemberHeader) + local
300 if ((offset
[all...]
/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 DIDataSource.h38 virtual ssize_t readAt(off64_t offset, size_t size) = 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:__anon330
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp47 off64_t /* offset */) {
83 ssize_t MediaHTTP::readAt(off64_t offset, void *data, size_t size) { argument
101 offset + numBytesRead, (uint8_t *)data + numBytesRead, copy);
141 status_t MediaHTTP::reconnectAtOffset(off64_t offset) { argument
142 return connect(mLastURI.c_str(), &mLastHeaders, offset);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DTonemapCurve.java215 * {@link #POINT_SIZE} elements after the {@code offset}
216 * @param offset
217 * a non-negative offset into the array
221 * If offset was negative
224 * offset.
233 int offset) {
234 checkArgumentNonnegative(offset, "offset must not be negative");
237 if (destination.length + offset < getPointCount(colorChannel) * POINT_SIZE) {
242 System.arraycopy(curve, /*srcPos*/0, destination, offset, curv
232 copyColorCurve(int colorChannel, float[] destination, int offset) argument
[all...]
/frameworks/base/core/java/android/text/
H A DGraphicsOperations.java64 int getTextRunCursor(int contextStart, int contextEnd, int dir, int offset, argument
/frameworks/base/libs/hwui/
H A DProgram.cpp157 const mat4& transformMatrix, bool offset) {
158 if (projectionMatrix != mProjection || offset != mOffset) {
159 if (CC_LIKELY(!offset)) {
163 // offset screenspace xy by an amount that compensates for typical precision
166 // This offset value is based on an assumption that some hardware may use as
167 // little as 12.4 precision, so we offset by slightly more than 1/16.
172 mOffset = offset;
156 set(const mat4& projectionMatrix, const mat4& modelViewMatrix, const mat4& transformMatrix, bool offset) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaDataSource.h45 virtual ssize_t readAt(off64_t offset, size_t size);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_vertex_frame.h44 jint offset,
/frameworks/base/native/android/
H A Dasset_manager.cpp176 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);

Completed in 667 milliseconds

<<11121314151617181920>>