Searched refs:offset (Results 176 - 200 of 635) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/wifi-display/sink/
H A DRTPSink.cpp686 size_t offset = 8; local
688 data[offset++] = 1; // CNAME
691 data[offset++] = cname.size();
693 memcpy(&data[offset], cname.c_str(), cname.size());
694 offset += cname.size();
696 data[offset++] = 6; // TOOL
699 data[offset++] = tool.size();
701 memcpy(&data[offset], tool.c_str(), tool.size());
702 offset += tool.size();
704 data[offset
[all...]
/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp101 off64_t offset, bool isWide, size_t *frameSize) {
103 if (source->readAt(offset, &header, 1) < 1) {
136 off64_t offset = mIsWide ? 9 : 6; local
142 while (offset < streamSize) {
143 if (getFrameSizeByOffset(source, offset, mIsWide, &frameSize) != OK) {
149 mOffsetTable[mOffsetTableLength] = offset - (mIsWide ? 9: 6);
153 offset += frameSize;
100 getFrameSizeByOffset(const sp<DataSource> &source, off64_t offset, bool isWide, size_t *frameSize) argument
H A DFragmentedMP4Extractor.cpp329 off64_t offset = 0ll; local
335 while (!done && offset < kMaxScanOffset) {
337 if (source->readAt(offset, hdr, 8) < 8) {
343 off64_t chunkDataOffset = offset + 8;
346 if (source->readAt(offset + 8, &chunkSize, 8) < 8) {
362 off64_t chunkDataSize = offset + chunkSize - chunkDataOffset;
366 ALOGV("saw chunk type %s, size %lld @ %lld", chunkstring, chunkSize, offset);
408 moovAtomEndOffset = offset + chunkSize;
425 offset += chunkSize;
/frameworks/base/core/jni/
H A DBindTest.cpp250 offset_instanceString = fb->offset;
275 offset_mObj = findField(clazz, "mObj", "Ljava/lang/Object;")->offset;
276 offset_mBool = findField(clazz, "mBool", "Z" )->offset;
277 offset_mInt = findField(clazz, "mInt", "I")->offset;
278 offset_mString = findField(clazz, "mString", "Ljava/lang/String;")->offset;
279 offset_mDouble = findField(clazz, "mDouble", "D")->offset;
280 offset_mLong = findField(clazz, "mLong", "J")->offset;
H A Dandroid_backup_BackupDataInput.cpp92 readEntityData_native(JNIEnv* env, jobject clazz, int r, jbyteArray data, int offset, int 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.cpp464 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint attribute, jintArray value_ref, jint offset) {
481 if (offset < 0) {
484 _exceptionMessage = "offset < 0";
487 _remaining = _env->GetArrayLength(value_ref) - offset;
491 _exceptionMessage = "length - offset < 1 < needed";
496 value = value_base + offset;
519 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
538 if (offset < 0) {
541 _exceptionMessage = "offset < 0";
557 _remaining = _env->GetArrayLength(attrib_list_ref) - offset;
463 android_eglGetConfigAttrib(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint attribute, jintArray value_ref, jint offset) argument
518 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
595 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
672 android_eglCreatePbufferSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jintArray attrib_list_ref, jint offset) argument
734 android_eglCreatePixmapSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint pixmap, jintArray attrib_list_ref, jint offset) argument
758 android_eglQuerySurface(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint attribute, jintArray value_ref, jint offset) argument
851 android_eglCreatePbufferFromClientBuffer(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
978 android_eglCreateContext(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject share_context, jintArray attrib_list_ref, jint offset) argument
1105 android_eglQueryContext(JNIEnv *_env, jobject _this, jobject dpy, jobject ctx, jint attribute, jintArray value_ref, jint offset) argument
[all...]
/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/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/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);
123 ssize_t readInternal(off64_t offset, void *data, size_t size);
124 status_t seekInternal_l(off64_t offset);
H A DDataUriSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
H A DStagefrightMetadataRetriever.h39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
H A DThrottledSource.h33 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/base/core/java/android/webkit/
H A DByteArrayBuilder.java46 public synchronized void append(byte[] array, int offset, int length) { argument
60 System.arraycopy(array, offset, c.mArray, c.mLength, amount);
63 offset += amount;
/frameworks/base/libs/hwui/
H A DPathRenderer.cpp77 * Produces a pseudo-normal for a vertex, given the normals of the two incoming lines. If the offset
78 * from each vertex in a perimeter is calculated, the resultant lines connecting the offset vertices
79 * will be offset by 1.0
82 * offset of (sqrt(2)/2, sqrt(2)/2) at each corner, instead of (1, 1)
90 inline void scaleOffsetForStrokeWidth(vec2& offset, float halfStrokeWidth, argument
94 offset.x *= 0.5f * inverseScaleX;
95 offset.y *= 0.5f * inverseScaleY;
97 offset *= halfStrokeWidth;
209 // alpha 0 vertex, offset by a scaled normal.
222 // AA point offset fro
281 int offset = 2 * (vertices.size() - 2); local
435 int offset = 2 * perimeter.size() + 3; local
[all...]
/frameworks/av/media/mtp/
H A DMtpDataPacket.cpp55 int offset = mOffset; local
56 uint16_t result = (uint16_t)mBuffer[offset] | ((uint16_t)mBuffer[offset + 1] << 8);
62 int offset = mOffset; local
63 uint32_t result = (uint32_t)mBuffer[offset] | ((uint32_t)mBuffer[offset + 1] << 8) |
64 ((uint32_t)mBuffer[offset + 2] << 16) | ((uint32_t)mBuffer[offset + 3] << 24);
70 int offset = mOffset; local
71 uint64_t result = (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
712 int offset
734 int offset
758 int offset
783 int offset
815 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/base/core/java/android/text/
H A DLayout.java637 * Return the text offset of the beginning of the specified line (
680 * Returns true if the character at offset and the preceding character
682 * @param offset the offset
686 public boolean isLevelBoundary(int offset) { argument
687 int line = getLineForOffset(offset);
696 if (offset == lineStart || offset == lineEnd) {
698 int runIndex = offset == lineStart ? 0 : runs.length - 2;
702 offset
716 isRtlCharAt(int offset) argument
740 primaryIsTrailingPrevious(int offset) argument
794 getPrimaryHorizontal(int offset) argument
804 getSecondaryHorizontal(int offset) argument
809 getHorizontal(int offset, boolean trailing) argument
815 getHorizontal(int offset, boolean trailing, int line) argument
1011 getLineForOffset(int offset) argument
1167 getOffsetToLeftOf(int offset) argument
1171 getOffsetToRightOf(int offset) argument
1227 getOffsetAtStartOf(int offset) argument
[all...]
/frameworks/av/include/media/
H A DIMediaMetadataRetriever.h39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
H A DMediaMetadataRetrieverInterface.h38 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
/frameworks/av/media/libmedia/
H A Dmediametadataretriever.cpp112 status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) argument
114 ALOGV("setDataSource(%d, %lld, %lld)", fd, offset, length);
120 if (fd < 0 || offset < 0 || length < 0) {
124 return mRetriever->setDataSource(fd, offset, length);
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dline_pe.h48 Word16 offset; member in struct:__anon531

Completed in 1290 milliseconds

1234567891011>>