Searched refs:offset (Results 126 - 150 of 637) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.cpp85 size_t offset = 0; local
89 uint8_t *dst = accessUnit->data() + offset;
113 offset += nal->size() + 7;
131 size_t offset = 0; local
135 memcpy(accessUnit->data() + offset, nal->data(), nal->size());
136 offset += nal->size();
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java31 * 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);
/frameworks/base/include/androidfw/
H A DCursorWindow.h44 * an offset to the next chunk in a linked-list of additional chunk of RowSlots in case
46 * FieldSlot per column, which has the size, offset, and type of the data for that field.
73 uint32_t offset; member in struct:android::CursorWindow::FieldSlot::__anon1012::__anon1013
131 return static_cast<char*>(offsetToPtr(fieldSlot->data.buffer.offset));
136 return offsetToPtr(fieldSlot->data.buffer.offset);
154 uint32_t offset; member in struct:android::CursorWindow::RowSlot
169 inline void* offsetToPtr(uint32_t offset) { argument
170 return static_cast<uint8_t*>(mData) + offset;
178 * Allocate a portion of the window. Returns the offset
/frameworks/base/libs/androidfw/
H A DAsset.cpp184 long offset; local
210 offset = ftell(fp);
219 result = pAsset->openChunk(fd, offset, method, uncompressedLen,
235 /*static*/ Asset* Asset::createFromFileSegment(int fd, off64_t offset,
242 result = pAsset->openChunk(NULL, fd, offset, length);
253 /*static*/ Asset* Asset::createFromCompressedData(int fd, off64_t offset,
261 result = pAsset->openChunk(fd, offset, compressionMethod,
309 * Do generic seek() housekeeping. Pass in the offset/whence values from
310 * the seek request, along with the current chunk offset and the chunk
313 * Returns the new chunk offset, o
315 handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) argument
373 openChunk(const char* fileName, int fd, off64_t offset, size_t length) argument
502 seek(off64_t offset, int whence) argument
698 openChunk(int fd, off64_t offset, int compressionMethod, size_t uncompressedLen, size_t compressedLen) argument
802 seek(off64_t offset, int whence) argument
[all...]
H A DCursorWindow.cpp183 LOG_WINDOW("Allocated row %u, rowSlot is at offset %u, fieldDir is %d bytes at offset %u\n",
185 rowSlot->offset = fieldDirOffset;
209 uint32_t offset = mHeader->freeOffset + padding; local
210 uint32_t nextFreeOffset = offset + size;
219 return offset;
268 FieldSlot* fieldDir = static_cast<FieldSlot*>(offsetToPtr(rowSlot->offset));
292 uint32_t offset = alloc(size); local
293 if (!offset) {
297 memcpy(offsetToPtr(offset), valu
[all...]
/frameworks/av/include/media/stagefright/
H A DDataSource.h53 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
56 bool getUInt16(off64_t offset, uint16_t *x);
65 virtual status_t reconnectAtOffset(off64_t offset) { argument
/frameworks/av/include/media/stagefright/foundation/
H A DAString.h30 AString(const AString &from, size_t offset, size_t n);
36 void setTo(const AString &from, size_t offset, size_t n);
51 void append(const AString &from, size_t offset, size_t n);
/frameworks/av/media/libstagefright/include/
H A DMPEG4Extractor.h73 status_t parseChunk(off64_t *offset, int depth);
74 status_t parseMetaData(off64_t offset, size_t size);
92 status_t parseDrmSINF(off64_t *offset, off64_t data_offset);
/frameworks/base/core/java/android/content/pm/
H A DParceledListSlice.java152 int offset = in.dataPosition();
153 in.setDataPosition(offset + parcelSize);
157 p.appendFrom(in, offset, parcelSize);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DVertexFrame.java88 public void setData(ByteBuffer buffer, int offset, int length) { argument
93 } else if (!setNativeData(bytes, offset, length)) {
136 private native boolean setNativeData(byte[] data, int offset, int length); argument
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES11.spec3 void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data )
7 void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
9 void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset )
31 void glNormalPointer ( GLenum type, GLsizei stride, GLint offset )
37 void glTexCoordPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
44 void glVertexPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
/frameworks/av/media/libmediaplayerservice/
H A DMidiMetadataRetriever.h37 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/
H A DMP4Source.cpp36 virtual ssize_t readAt(off64_t offset, void *data, size_t size) { argument
37 if (offset < mPosition) {
41 while (offset > mPosition) {
43 off64_t skipBytes = offset - mPosition;
61 ALOGV("skipped %ld bytes at offset %lld", n, mPosition);
89 ALOGV("read %ld bytes at offset %lld", n, mPosition);
/frameworks/base/core/java/android/util/
H A DMonthDisplayHelper.java101 * @return The offset from displaying everything starting on the very first
103 * the week as Sunday, and the month starts on a Wednesday, the offset is 3.
207 int offset = firstDayOfMonth - mWeekStartDay;
208 if (offset < 0) {
209 offset += 7;
211 mOffset = offset;
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_frame.h38 // Write the specified data of the given size to the frame at the specified offset. The
40 bool WriteData(const uint8_t* data, int offset, int size);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DWebViewEventSender.java106 int offset = c - '0';
107 return KeyEvent.KEYCODE_0 + offset;
112 int offset = c - 'a';
113 return KeyEvent.KEYCODE_A + offset;
/frameworks/wilhelm/src/android/
H A DBufferQueueSource.h40 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
50 // a monotonically increasing offset used to translate an offset from the beginning
51 // of the stream, to an offset in each buffer from the buffer queue source
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp48 static size_t getFrameSize(const sp<DataSource> &source, off64_t offset) { argument
55 ssize_t readSize = source->readAt(offset, &syncHeader, ADTS_HEADER_SIZE_UP_TO_FRAMESIZE);
133 off64_t offset = 0, numFrames = 0; local
134 while (offset < streamSize) {
136 if ((frameSize = getFrameSize(mDataSource, offset)) == 0) {
140 SL_LOGE("AacAdtsExtractor() failed querying framesize at offset=%lld", offset);
144 offset += frameSize;
145 if (offset > streamSize) {
146 SL_LOGE("AacAdtsExtractor() frame of size %zu at offset
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp403 int offset = -1; local
427 offset = convSession->output.fromConvertData.errorPos;
431 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset);
438 int offset = -1; local
449 offset = convSession->output.fromCloseSession.fileOffset;
462 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset);
469 off64_t offset,
475 int offset,
493 -1 < ::lseek(fileDesc, offset, SEEK_SET) &&
541 // offset i
466 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
642 onLseek(int uniqueId, DecryptHandle* decryptHandle, off64_t offset, int whence) argument
662 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_GLImpl.cpp117 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
140 *offset = _env->CallStaticIntMethod(nioAccessClass,
181 jint offset; local
182 buf = getPointer(_env, buffer, &array, &remaining, &offset);
186 buf = buf + offset;
542 (JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) {
556 if (offset < 0) {
559 _exceptionMessage = "offset < 0";
562 _remaining = _env->GetArrayLength(textures_ref) - offset;
566 _exceptionMessage = "length - offset <
541 android_glDeleteTextures__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) argument
775 android_glFogfv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
921 android_glFogxv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
1094 android_glGenTextures__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) argument
1189 android_glGetIntegerv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
1962 android_glLightModelfv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
2090 android_glLightModelxv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
2219 android_glLightfv__II_3FI(JNIEnv *_env, jobject _this, jint light, jint pname, jfloatArray params_ref, jint offset) argument
2402 android_glLightxv__II_3II(JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) argument
2599 android_glLoadMatrixf___3FI(JNIEnv *_env, jobject _this, jfloatArray m_ref, jint offset) argument
2663 android_glLoadMatrixx___3II(JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) argument
2747 android_glMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument
2902 android_glMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
3055 android_glMultMatrixf___3FI(JNIEnv *_env, jobject _this, jfloatArray m_ref, jint offset) argument
3119 android_glMultMatrixx___3II(JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) argument
3525 android_glTexEnvfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument
3668 android_glTexEnvxv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
4133 android_glBufferSubData__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint offset, jint size, jobject data_buf) argument
4172 android_glClipPlanef__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument
4258 android_glClipPlanex__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument
4356 android_glColorPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
4368 android_glDeleteBuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray buffers_ref, jint offset) argument
4454 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument
4472 android_glGenBuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray buffers_ref, jint offset) argument
4558 android_glGetBooleanv__I_3ZI(JNIEnv *_env, jobject _this, jint pname, jbooleanArray params_ref, jint offset) argument
4624 android_glGetBufferParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
4640 android_glGetClipPlanef__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray eqn_ref, jint offset) argument
4706 android_glGetClipPlanex__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray eqn_ref, jint offset) argument
4772 android_glGetFixedv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
4838 android_glGetFloatv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
4904 android_glGetLightfv__II_3FI(JNIEnv *_env, jobject _this, jint light, jint pname, jfloatArray params_ref, jint offset) argument
5076 android_glGetLightxv__II_3II(JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) argument
5248 android_glGetMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument
5392 android_glGetMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
5536 android_glGetTexEnviv__II_3II(JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) argument
5668 android_glGetTexEnvxv__II_3II(JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) argument
5800 android_glGetTexParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument
5888 android_glGetTexParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
5976 android_glGetTexParameterxv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
6097 android_glNormalPointer__III(JNIEnv *_env, jobject _this, jint type, jint stride, jint offset) argument
6118 android_glPointParameterfv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
6214 android_glPointParameterxv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
6323 android_glTexCoordPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
6346 android_glTexEnviv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
6478 android_glTexParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument
6577 android_glTexParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
6665 android_glTexParameterxv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
6753 android_glVertexPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
6787 android_glDrawTexfvOES___3FI(JNIEnv *_env, jobject _this, jfloatArray coords_ref, jint offset) argument
6884 android_glDrawTexivOES___3II(JNIEnv *_env, jobject _this, jintArray coords_ref, jint offset) argument
6981 android_glDrawTexsvOES___3SI(JNIEnv *_env, jobject _this, jshortArray coords_ref, jint offset) argument
7078 android_glDrawTexxvOES___3II(JNIEnv *_env, jobject _this, jintArray coords_ref, jint offset) argument
7193 android_glMatrixIndexPointerOES__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
7229 android_glWeightPointerOES__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
7333 android_glDeleteFramebuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) argument
7429 android_glDeleteRenderbuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) argument
7574 android_glGenFramebuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) argument
7670 android_glGenRenderbuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) argument
7766 android_glGetFramebufferAttachmentParameterivOES__III_3II(JNIEnv *_env, jobject _this, jint target, jint attachment, jint pname, jintArray params_ref, jint offset) argument
7846 android_glGetRenderbufferParameterivOES__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
7924 android_glGetTexGenfv__II_3FI(JNIEnv *_env, jobject _this, jint coord, jint pname, jfloatArray params_ref, jint offset) argument
8002 android_glGetTexGeniv__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
8080 android_glGetTexGenxv__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
8223 android_glTexGenfv__II_3FI(JNIEnv *_env, jobject _this, jint coord, jint pname, jfloatArray params_ref, jint offset) argument
8317 android_glTexGeniv__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
8411 android_glTexGenxv__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp75 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
95 *offset = _env->CallStaticIntMethod(nioAccessClass,
195 (JNIEnv *_env, jobject _this, jshortArray coords_ref, jint offset) {
209 if (offset < 0) {
212 _exceptionMessage = "offset < 0";
215 _remaining = _env->GetArrayLength(coords_ref) - offset;
219 _exceptionMessage = "length - offset < 5 < needed";
224 coords = coords_base + offset;
279 (JNIEnv *_env, jobject _this, jintArray coords_ref, jint offset) {
293 if (offset <
194 android_glDrawTexsvOES___3SI(JNIEnv *_env, jobject _this, jshortArray coords_ref, jint offset) argument
278 android_glDrawTexivOES___3II(JNIEnv *_env, jobject _this, jintArray coords_ref, jint offset) argument
362 android_glDrawTexxvOES___3II(JNIEnv *_env, jobject _this, jintArray coords_ref, jint offset) argument
459 android_glDrawTexfvOES___3FI(JNIEnv *_env, jobject _this, jfloatArray coords_ref, jint offset) argument
620 android_glClipPlanexOES__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument
718 android_glFogxvOES__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
798 android_glGetClipPlanexOES__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray eqn_ref, jint offset) argument
884 android_glGetFixedvOES__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
950 android_glGetLightxvOES__II_3II(JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) argument
1018 android_glGetMaterialxvOES__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1086 android_glGetTexEnvxvOES__II_3II(JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) argument
1154 android_glGetTexParameterxvOES__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
1232 android_glLightModelxvOES__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
1309 android_glLightxvOES__II_3II(JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) argument
1386 android_glLoadMatrixxOES___3II(JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) argument
1461 android_glMaterialxvOES__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument
1529 android_glMultMatrixxOES___3II(JNIEnv *_env, jobject _this, jintArray m_ref, jint offset) argument
1641 android_glPointParameterxvOES__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
1770 android_glTexEnvxvOES__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
1849 android_glTexParameterxvOES__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
1949 android_glDeleteRenderbuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) argument
2035 android_glGenRenderbuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) argument
2133 android_glGetRenderbufferParameterivOES__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
2242 android_glDeleteFramebuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) argument
2328 android_glGenFramebuffersOES__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) argument
2450 android_glGetFramebufferAttachmentParameterivOES__III_3II(JNIEnv *_env, jobject _this, jint target, jint attachment, jint pname, jintArray params_ref, jint offset) argument
2651 android_glClipPlanefOES__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument
2717 android_glGetClipPlanefOES__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray eqn_ref, jint offset) argument
2823 android_glTexGenfvOES__II_3FI(JNIEnv *_env, jobject _this, jint coord, jint pname, jfloatArray params_ref, jint offset) argument
2902 android_glTexGenivOES__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
2981 android_glTexGenxvOES__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
3049 android_glGetTexGenfvOES__II_3FI(JNIEnv *_env, jobject _this, jint coord, jint pname, jfloatArray params_ref, jint offset) argument
3117 android_glGetTexGenivOES__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
3185 android_glGetTexGenxvOES__II_3II(JNIEnv *_env, jobject _this, jint coord, jint pname, jintArray params_ref, jint offset) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java26 * m[offset + 0] m[offset + 4] m[offset + 8] m[offset + 12]
27 * m[offset + 1] m[offset + 5] m[offset + 9] m[offset + 13]
28 * m[offset + 2] m[offset
315 frustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far) argument
371 perspectiveM(float[] m, int offset, float fovy, float aspect, float zNear, float zFar) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_motion_comp.cpp142 int32 offset; local
182 /* offset to (x,y) position in current luminance MB */
185 offset = (int32)ypos * width + xpos;
192 imv = (offset >> 6) - (xpos >> 6) + (xpos >> 3);
253 c_comp = video->currVop->yChan + offset;
453 /* x position in prediction data offset by motion vector */
458 /* y position in prediction data offset by motion vector */
463 cu_comp = video->currVop->uChan + (offset >> 2) + (xpos >> 2);
464 cv_comp = video->currVop->vChan + (offset >> 2) + (xpos >> 2);
559 int32 offset; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddatapart_encode.cpp44 Int offset = 0; local
111 getMotionCompensatedMB(video, ind_x, ind_y, offset);
130 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
168 offset += 16;
171 offset += (lx << 4) - width;
224 Int offset = video->offset; /* get current MB location */ local
317 getMotionCompensatedMB(video, ind_x, ind_y, offset);
341 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
419 video->offset
[all...]
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp90 // Returns the frame length in bytes as described in an ADTS header starting at the given offset,
95 static size_t getAdtsFrameLength(const sp<DataSource> &source, off64_t offset, size_t* headerSize) { argument
103 if (source->readAt(offset, &syncword, 2) != 2) {
111 if (source->readAt(offset + 1, &protectionAbsent, 1) < 1) {
117 if (source->readAt(offset + 3, &header, 3) < 3) {
152 int64_t offset; local
153 CHECK(meta->findInt64("offset", &offset));
156 if (mDataSource->readAt(offset + 2, &header, 2) < 2) {
175 while (offset < streamSiz
[all...]

Completed in 612 milliseconds

1234567891011>>