Searched refs:offset (Results 76 - 100 of 1102) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/
H A DFileSource.cpp57 FileSource::FileSource(int fd, int64_t offset, int64_t length) argument
59 mOffset(offset),
67 ALOGV("fd=%d (%s), offset=%lld, length=%lld",
68 fd, nameForFd(fd).c_str(), (long long) offset, (long long) length);
89 if (mOffset != offset || mLength != length) {
90 ALOGW("offset/length adjusted from %lld/%lld to %lld/%lld",
91 (long long) offset, (long long) length,
131 ssize_t FileSource::readAt(off64_t offset, void *data, size_t size) { argument
139 if (offset >= mLength) {
142 uint64_t numAvailable = mLength - offset;
203 readAtDRM(off64_t offset, void *data, size_t size) argument
234 requiresDrm(int fd, int64_t offset, int64_t length, const char *mime) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DParsedMessage.cpp92 size_t offset = 0; local
94 while (offset < size) {
95 size_t lineEndOffset = offset;
106 AString line(&data[offset], lineEndOffset - offset);
108 if (offset == 0) {
112 offset = lineEndOffset + 2;
117 if (lineEndOffset == offset) {
120 offset += 2;
135 offset
185 size_t offset = 0; local
[all...]
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureFBO.h64 off_t offset = (y * stride + x) * PIXEL_SIZE; local
65 buf[offset + 0] = r;
66 buf[offset + 1] = g;
67 buf[offset + 2] = b;
68 buf[offset + 3] = a;
/frameworks/wilhelm/src/android/
H A Dandroid_AudioToCbRenderer.cpp66 size_t offset = 0; local
67 while (offset < full) {
70 + offset + mDecodeBuffer->range_offset(),
71 mDecodeBuffer->range_length() - offset,
73 offset += consumed;
74 //SL_LOGV("consumed=%u, offset=%u, full=%u", consumed, offset, full);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_MCReconBlock_s.s86 ;// M_LOAD_X $pSrc, $srcStep, $out0, $out1, $scratch, $offset
93 ;// $offset Difference of source data location to the source pointer
94 ;// Use when $offset != 0 (unaligned load)
103 ;// register numbering. In case offset is 0, $scratch is not modified.
106 M_LOAD_X $pSrc, $srcStep, $out0, $out1, $scratch, $offset
107 IF $offset = 0
114 MOV $out0, $out0, LSR #8 * $offset
115 ORR $out0, $out0, $out1, LSL #(32 - 8 * ($offset))
116 MOV $out1, $out1, LSR #8 * $offset
117 ORR $out1, $out1, $scratch, LSL #(32 - 8 * ($offset))
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES11Ext.java200 int offset
213 int offset
226 int offset
249 int offset
299 int offset
337 int offset
363 int offset
378 int offset
394 int offset
411 int offset
[all...]
H A DGLErrorWrapper.java207 public void glDeleteTextures(int n, int[] textures, int offset) { argument
209 mgl.glDeleteTextures(n, textures, offset);
297 public void glFogfv(int pname, float[] params, int offset) { argument
299 mgl.glFogfv(pname, params, offset);
315 public void glFogxv(int pname, int[] params, int offset) { argument
317 mgl.glFogxv(pname, params, offset);
347 public void glGenTextures(int n, int[] textures, int offset) { argument
349 mgl.glGenTextures(n, textures, offset);
365 public void glGetIntegerv(int pname, int[] params, int offset) { argument
367 mgl.glGetIntegerv(pname, params, offset);
396 glLightModelfv(int pname, float[] params, int offset) argument
414 glLightModelxv(int pname, int[] params, int offset) argument
432 glLightfv(int light, int pname, float[] params, int offset) argument
450 glLightxv(int light, int pname, int[] params, int offset) argument
480 glLoadMatrixf(float[] m, int offset) argument
492 glLoadMatrixx(int[] m, int offset) argument
516 glMaterialfv(int face, int pname, float[] params, int offset) argument
534 glMaterialxv(int face, int pname, int[] params, int offset) argument
552 glMultMatrixf(float[] m, int offset) argument
564 glMultMatrixx(int[] m, int offset) argument
749 glTexEnvfv(int target, int pname, float[] params, int offset) argument
767 glTexEnvxv(int target, int pname, int[] params, int offset) argument
800 glTexParameteriv(int target, int pname, int[] params, int offset) argument
846 glClipPlanef(int plane, float[] equation, int offset) argument
858 glClipPlanex(int plane, int[] equation, int offset) argument
879 glDrawTexfvOES(float[] coords, int offset) argument
897 glDrawTexivOES(int[] coords, int offset) argument
916 glDrawTexsvOES(short[] coords, int offset) argument
934 glDrawTexxvOES(int[] coords, int offset) argument
974 glBufferSubData(int target, int offset, int size, Buffer data) argument
985 glColorPointer(int size, int type, int stride, int offset) argument
991 glDeleteBuffers(int n, int[] buffers, int offset) argument
1003 glDrawElements(int mode, int count, int type, int offset) argument
1009 glGenBuffers(int n, int[] buffers, int offset) argument
1021 glGetBooleanv(int pname, boolean[] params, int offset) argument
1033 glGetBufferParameteriv(int target, int pname, int[] params, int offset) argument
1046 glGetClipPlanef(int pname, float[] eqn, int offset) argument
1058 glGetClipPlanex(int pname, int[] eqn, int offset) argument
1070 glGetFixedv(int pname, int[] params, int offset) argument
1082 glGetFloatv(int pname, float[] params, int offset) argument
1094 glGetLightfv(int light, int pname, float[] params, int offset) argument
1106 glGetLightxv(int light, int pname, int[] params, int offset) argument
1118 glGetMaterialfv(int face, int pname, float[] params, int offset) argument
1130 glGetMaterialxv(int face, int pname, int[] params, int offset) argument
1148 glGetTexEnviv(int env, int pname, int[] params, int offset) argument
1160 glGetTexEnvxv(int env, int pname, int[] params, int offset) argument
1172 glGetTexParameterfv(int target, int pname, float[] params, int offset) argument
1185 glGetTexParameteriv(int target, int pname, int[] params, int offset) argument
1198 glGetTexParameterxv(int target, int pname, int[] params, int offset) argument
1232 glNormalPointer(int type, int stride, int offset) argument
1244 glPointParameterfv(int pname, float[] params, int offset) argument
1262 glPointParameterxv(int pname, int[] params, int offset) argument
1280 glTexCoordPointer(int size, int type, int stride, int offset) argument
1292 glTexEnviv(int target, int pname, int[] params, int offset) argument
1304 glTexParameterfv(int target, int pname, float[] params, int offset) argument
1323 glTexParameterxv(int target, int pname, int[] params, int offset) argument
1335 glVertexPointer(int size, int type, int stride, int offset) argument
1360 glMatrixIndexPointerOES(int size, int type, int stride, int offset) argument
1374 glWeightPointerOES(int size, int type, int stride, int offset) argument
1425 glDeleteFramebuffersOES(int n, int[] framebuffers, int offset) argument
1439 glDeleteRenderbuffersOES(int n, int[] renderbuffers, int offset) argument
1476 glGenFramebuffersOES(int n, int[] framebuffers, int offset) argument
1490 glGenRenderbuffersOES(int n, int[] renderbuffers, int offset) argument
1504 glGetFramebufferAttachmentParameterivOES(int target, int attachment, int pname, int[] params, int offset) argument
1520 glGetRenderbufferParameterivOES(int target, int pname, int[] params, int offset) argument
1536 glGetTexGenfv(int coord, int pname, float[] params, int offset) argument
1550 glGetTexGeniv(int coord, int pname, int[] params, int offset) argument
1564 glGetTexGenxv(int coord, int pname, int[] params, int offset) argument
1609 glTexGenfv(int coord, int pname, float[] params, int offset) argument
1630 glTexGeniv(int coord, int pname, int[] params, int offset) argument
1651 glTexGenxv(int coord, int pname, int[] params, int offset) argument
[all...]
/frameworks/base/core/java/android/net/
H A DSntpClient.java149 "clock offset: " + clockOffset + "ms");
217 * Reads an unsigned 32 bit big endian number from the given offset in the buffer.
219 private long read32(byte[] buffer, int offset) { argument
220 byte b0 = buffer[offset];
221 byte b1 = buffer[offset+1];
222 byte b2 = buffer[offset+2];
223 byte b3 = buffer[offset+3];
235 * Reads the NTP time stamp at the given offset in the buffer and returns
238 private long readTimeStamp(byte[] buffer, int offset) { argument
239 long seconds = read32(buffer, offset);
252 writeTimeStamp(byte[] buffer, int offset, long time) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveDataSource.h35 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
36 ssize_t readAtNonBlocking(off64_t offset, void *data, size_t size);
57 ssize_t readAt_l(off64_t offset, void *data, size_t size);
/frameworks/base/core/java/android/content/pm/
H A DMacAuthenticatedInputStream.java71 public int read(byte[] buffer, int offset, int count) throws IOException { argument
72 int numRead = super.read(buffer, offset, count);
74 mMac.update(buffer, offset, numRead);
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_frame.cpp30 bool NativeFrame::WriteData(const uint8_t* data, int offset, int size) { argument
31 if (size_ >= (offset + size)) {
32 memcpy(data_ + offset, data, size);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DPixelUtils.java28 * <p>The transformation is specified by specifying the initial offset in the output buffer, the
40 * @param offset The start offset in the output (in pixels)
48 int offset,
64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride);
71 int offset,
44 copyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
67 nativeCopyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
/frameworks/support/tv-provider/src/android/support/media/tv/
H A DCollectionUtils.java42 int offset = first.length;
44 System.arraycopy(array, 0, result, offset, array.length);
45 offset += array.length;
/frameworks/base/core/java/android/hardware/camera2/params/
H A DRggbChannelVector.java137 * {@code offset}
138 * @param offset
139 * a non-negative offset into the array
145 * offset.
147 public void copyTo(final float[] destination, final int offset) { argument
149 if (destination.length - offset < COUNT) {
153 destination[offset + RED] = mRed;
154 destination[offset + GREEN_EVEN] = mGreenEven;
155 destination[offset + GREEN_ODD] = mGreenOdd;
156 destination[offset
[all...]
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreatePbufferFromClientBuffer.cpp4 (JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jlong buffer, jobject config, jintArray attrib_list_ref, jint offset) {
17 if (offset < 0) {
20 _exceptionMessage = "offset < 0";
23 _remaining = _env->GetArrayLength(attrib_list_ref) - offset;
26 attrib_list = attrib_list_base + offset;
63 (JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) {
68 return android_eglCreatePbufferFromClientBuffer(_env, _this, dpy, buftype, buffer, config, attrib_list_ref, offset);
3 android_eglCreatePbufferFromClientBuffer(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jlong buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
62 android_eglCreatePbufferFromClientBufferInt(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
/frameworks/av/include/media/
H A DMidiIoWrapper.h29 MidiIoWrapper(int fd, off64_t offset, int64_t size);
34 int readAt(void *buffer, int offset, int size);
/frameworks/av/media/img_utils/src/
H A DByteArrayOutput.cpp32 status_t ByteArrayOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument
33 if (mByteArray.appendArray(buf + offset, count) < 0) {
/frameworks/av/media/libmedia/include/media/
H A DMidiIoWrapper.h29 MidiIoWrapper(int fd, off64_t offset, int64_t size);
34 int readAt(void *buffer, int offset, int size);
/frameworks/base/core/java/android/view/
H A DAccessibilityIterators.java94 public int[] following(int offset) { argument
99 if (offset >= textLegth) {
102 int start = offset;
120 public int[] preceding(int offset) { argument
125 if (offset <= 0) {
128 int end = offset;
179 public int[] following(int offset) { argument
184 if (offset >= mText.length()) {
187 int start = offset;
205 public int[] preceding(int offset) { argument
260 following(int offset) argument
287 preceding(int offset) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DScrollBarUtils.java31 public static int getThumbOffset(int size, int thumbLength, int extent, int range, int offset) { argument
33 int thumbOffset = Math.round((float) (size - thumbLength) * offset / (range - extent));
/frameworks/base/media/java/android/media/
H A DIMediaHTTPConnection.aidl29 int readAt(long offset, int size);
/frameworks/base/tools/aapt2/io/
H A DFile.cpp24 IFile* IFile::CreateFileSegment(size_t offset, size_t len) { argument
25 FileSegment* file_segment = new FileSegment(this, offset, len);
/frameworks/minikin/libs/minikin/
H A DMeasurement.cpp33 size_t start, size_t count, size_t offset) {
37 for (size_t i = start; i < offset; i++) {
45 if (offset < start + count && advances[offset - layoutStart] == 0.0f) {
50 for (nextCluster = offset + 1; nextCluster < start + count; nextCluster++) {
56 bool isAfter = i >= offset;
73 size_t offset) {
74 return getRunAdvance(advances, buf, start, start, count, offset);
78 * Essentially the inverse of getRunAdvance. Compute the value of offset for which the
32 getRunAdvance(const float* advances, const uint16_t* buf, size_t layoutStart, size_t start, size_t count, size_t offset) argument
72 getRunAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, size_t offset) argument
/frameworks/native/include/binder/
H A DMemoryBase.h33 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size);
35 virtual sp<IMemoryHeap> getMemory(ssize_t* offset, size_t* size) const;
/frameworks/native/libs/binder/include/binder/
H A DMemoryBase.h33 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size);
35 virtual sp<IMemoryHeap> getMemory(ssize_t* offset, size_t* size) const;

Completed in 913 milliseconds

1234567891011>>