Searched refs:offset (Results 101 - 125 of 980) sorted by relevance

1234567891011>>

/frameworks/av/include/media/stagefright/
H A DDataSource.h64 // this returns zero; it just means the given offset is equal to, or
66 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
69 bool getUInt16(off64_t offset, uint16_t *x);
70 bool getUInt24(off64_t offset, uint32_t *x); // 3 byte int, returned as a 32-bit int
71 bool getUInt32(off64_t offset, uint32_t *x);
72 bool getUInt64(off64_t offset, uint64_t *x);
85 bool getVector(off64_t offset, Vector<T>* x, size_t count,
99 virtual status_t reconnectAtOffset(off64_t offset) { argument
145 bool DataSource::getVector(off64_t offset, Vector<T>* x, size_t count, argument
164 numBytesRead = this->readAt(offset, (voi
[all...]
/frameworks/av/media/img_utils/include/img_utils/
H A DEndianUtils.h97 * EndianOutput. If the given offset is greater than zero, that many elements will
102 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
104 virtual status_t write(const int8_t* buf, size_t offset, size_t count);
106 virtual status_t write(const uint16_t* buf, size_t offset, size_t count);
108 virtual status_t write(const int16_t* buf, size_t offset, size_t count);
110 virtual status_t write(const uint32_t* buf, size_t offset, size_t count);
112 virtual status_t write(const int32_t* buf, size_t offset, size_t count);
114 virtual status_t write(const uint64_t* buf, size_t offset, size_t count);
116 virtual status_t write(const int64_t* buf, size_t offset, size_t count);
118 virtual status_t write(const float* buf, size_t offset, size_
132 writeHelper(const T* buf, size_t offset, size_t count) argument
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java292 int offset
391 int offset
413 int offset
456 int offset
476 int offset
521 int offset
543 int offset
567 int offset
592 int offset
624 int offset
1184 glBufferSubData( int target, int offset, int size, java.nio.Buffer data ) argument
[all...]
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp136 status_t parseChunk(off64_t *offset);
137 status_t parseTrackFragmentHeader(off64_t offset, off64_t size);
138 status_t parseTrackFragmentRun(off64_t offset, off64_t size);
139 status_t parseSampleAuxiliaryInformationSizes(off64_t offset, off64_t size);
140 status_t parseSampleAuxiliaryInformationOffsets(off64_t offset, off64_t size);
165 off64_t offset; member in struct:android::MPEG4Source::Sample
190 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
194 status_t setCachedRange(off64_t offset, size_t size);
238 ssize_t MPEG4DataSource::readAt(off64_t offset, void *data, size_t size) { argument
241 if (isInRange(mCachedOffset, mCachedSize, offset, siz
257 setCachedRange(off64_t offset, size_t size) argument
288 size_t offset = 0; local
494 off64_t offset; local
526 off64_t offset = 0; local
604 readSize(off64_t offset, const sp<DataSource> DataSource, uint8_t *numOfBytes) argument
811 parseChunk(off64_t *offset, int depth) argument
2362 parseSegmentIndex(off64_t offset, size_t size) argument
2484 parseQTMetaKey(off64_t offset, size_t size) argument
2539 parseQTMetaVal( int32_t keyId, off64_t offset, size_t size) argument
2689 parseITunesMetaData(off64_t offset, size_t size) argument
2888 parseColorInfo(off64_t offset, size_t size) argument
2931 parse3GPPMetaData(off64_t offset, size_t size, int depth) argument
3047 parseID3v2MetaData(off64_t offset) argument
3638 off64_t offset = mFirstMoofOffset; local
3719 parseChunk(off64_t *offset) argument
3835 parseSampleAuxiliaryInformationSizes( off64_t offset, off64_t ) argument
3898 parseSampleAuxiliaryInformationOffsets( off64_t offset, off64_t ) argument
4020 parseTrackFragmentHeader(off64_t offset, off64_t size) argument
4119 parseTrackFragmentRun(off64_t offset, off64_t size) argument
4407 off64_t offset; local
4673 off64_t offset = 0; local
5024 off64_t offset = 0ll; local
[all...]
H A DDataURISource.cpp88 ssize_t DataURISource::readAt(off64_t offset, void *data, size_t size) { argument
89 if ((offset < 0) || (offset >= (off64_t)mBuffer->size())) {
93 size_t copy = mBuffer->size() - offset;
98 memcpy(data, mBuffer->data() + offset, copy);
H A DSampleIterator.cpp196 status_t SampleIterator::getChunkOffset(uint32_t chunk, off64_t *offset) {
197 *offset = 0;
213 *offset = ntohl(offset32);
225 *offset = ntoh64(offset64);
324 int32_t offset = mTable->getCompositionTimeOffset(sampleIndex);
325 if ((offset < 0 && *time < (offset == INT32_MIN ?
326 INT32_MAX : uint32_t(-offset))) ||
327 (offset > 0 && *time > UINT32_MAX - offset)) {
[all...]
/frameworks/av/include/drm/
H A DDrmConvertedStatus.h26 * data/checksum data and the offset. Offset is going to be used in the case of close
61 int offset; member in class:android::DrmConvertedStatus
/frameworks/av/media/libstagefright/foundation/
H A DABuffer.cpp73 void ABuffer::setRange(size_t offset, size_t size) { argument
74 CHECK_LE(offset, mCapacity);
75 CHECK_LE(offset + size, mCapacity);
77 mRangeOffset = offset;
/frameworks/av/media/libstagefright/include/
H A DESDS.h36 status_t getCodecSpecificOffset(size_t *offset, size_t *size) const;
60 size_t offset, size_t size,
64 status_t parseESDescriptor(size_t offset, size_t size);
65 status_t parseDecoderConfigDescriptor(size_t offset, size_t size);
/frameworks/base/core/java/android/hardware/camera2/params/
H A DBlackLevelPattern.java35 * Create a new {@link BlackLevelPattern} from a given offset array.
37 * <p>The given offset array must contain offsets for each color channel in
58 * Return the color channel offset for a given index into the array of raw pixel values.
62 * @return a color channel offset.
79 * {@code offset}
80 * @param offset a non-negative offset into the array
82 * @throws IllegalArgumentException if the offset is invalid.
86 public void copyTo(int[] destination, int offset) { argument
88 if (offset <
[all...]
H A DLensShadingMap.java162 final int offset = (row * mColumns + column) * COUNT;
165 mElements[RED + offset];
167 mElements[GREEN_EVEN + offset];
169 mElements[GREEN_ODD + offset];
171 mElements[BLUE + offset];
183 * elements after the {@code offset}
184 * @param offset
185 * a non-negative offset into the array
189 * If offset was negative
192 * offset
196 copyGainFactors(final float[] destination, final int offset) argument
[all...]
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DUsbAccessoryBulkTransport.java55 protected int ioRead(byte[] buffer, int offset, int count) throws IOException { argument
59 return mConnection.bulkTransfer(mBulkInEndpoint, buffer, offset, count, -1);
63 protected void ioWrite(byte[] buffer, int offset, int count) throws IOException { argument
68 buffer, offset, count, TIMEOUT_MILLIS);
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DUsbAccessoryStreamTransport.java56 protected int ioRead(byte[] buffer, int offset, int count) throws IOException { argument
60 return mInputStream.read(buffer, offset, count);
64 protected void ioWrite(byte[] buffer, int offset, int count) throws IOException { argument
68 mOutputStream.write(buffer, offset, count);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dpixelutils.h31 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset,
/frameworks/base/tools/aapt2/unflatten/
H A DResChunkPullParser.cpp41 const size_t offset = static_cast<const size_t>(diff); local
43 if (offset == mLen) {
46 } else if (offset + sizeof(ResChunk_header) > mLen) {
61 } else if (offset + util::deviceToHost32(mCurrentChunk->size) > mLen) {
/frameworks/minikin/include/minikin/
H A DMeasurement.h25 size_t offset);
/frameworks/minikin/libs/minikin/
H A DCmapCoverage.cpp31 static uint32_t readU16(const uint8_t* data, size_t offset) { argument
32 return ((uint32_t)data[offset]) << 8 | ((uint32_t)data[offset + 1]);
35 static uint32_t readU32(const uint8_t* data, size_t offset) { argument
36 return ((uint32_t)data[offset]) << 24 | ((uint32_t)data[offset + 1]) << 16 |
37 ((uint32_t)data[offset + 2]) << 8 | ((uint32_t)data[offset + 3]);
168 uint32_t offset = readU32(cmap_data, kHeaderSize + i * kTableSize + kOffsetOffset); local
169 if (offset <
181 uint32_t offset = readU32(cmap_data, kHeaderSize + bestTable * kTableSize + kOffsetOffset); local
[all...]
/frameworks/support/transition/ics/android/support/transition/
H A DViewOverlay.java298 private void getOffset(int[] offset) { argument
304 offset[0] = hostViewLocation[0] - contentViewLocation[0];
305 offset[1] = hostViewLocation[1] - contentViewLocation[1];
315 int[] offset = new int[2];
316 getOffset(offset);
321 dirty.offset(left + offset[0], top + offset[1]);
333 int[] offset = new int[2];
334 getOffset(offset);
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DOMAConstants.java65 int offset = 0;
66 while (offset < octets.length) {
67 int amount = in.read(octets, offset, octets.length - offset);
70 offset += amount;
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DBitwiseStreamsTest.java35 int offset = 3;
38 outStream.skip(offset);
43 inStream.skip(offset);
50 int offset = 3;
53 outStream.skip(offset);
56 inStream.skip(offset);
64 int offset = 4;
67 outStream.skip(offset);
70 inStream.skip(offset);
78 int offset
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11ExtensionPack.java170 int offset
181 int offset
215 int offset
226 int offset
239 int offset
252 int offset
264 int offset
277 int offset
290 int offset
303 int offset
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLLogWrapper.java118 private void arg(String name, int n, int[] arr, int offset) { argument
119 arg(name, toString(n, FORMAT_INT, arr, offset));
122 private void arg(String name, int n, short[] arr, int offset) { argument
123 arg(name, toString(n, arr, offset));
126 private void arg(String name, int n, float[] arr, int offset) { argument
127 arg(name, toString(n, arr, offset));
144 private String toString(int n, int format, int[] arr, int offset) { argument
149 int index = offset + i;
162 private String toString(int n, short[] arr, int offset) { argument
167 int index = offset
180 toString(int n, float[] arr, int offset) argument
1422 glDeleteTextures(int n, int[] textures, int offset) argument
1605 glFogfv(int pname, float[] params, int offset) argument
1636 glFogxv(int pname, int[] params, int offset) argument
1696 glGenTextures(int n, int[] textures, int offset) argument
1731 glGetIntegerv(int pname, int[] params, int offset) argument
1790 glLightModelfv(int pname, float[] params, int offset) argument
1821 glLightModelxv(int pname, int[] params, int offset) argument
1853 glLightfv(int light, int pname, float[] params, int offset) argument
1887 glLightxv(int light, int pname, int[] params, int offset) argument
1936 glLoadMatrixf(float[] m, int offset) argument
1955 glLoadMatrixx(int[] m, int offset) argument
1994 glMaterialfv(int face, int pname, float[] params, int offset) argument
2028 glMaterialxv(int face, int pname, int[] params, int offset) argument
2060 glMultMatrixf(float[] m, int offset) argument
2079 glMultMatrixx(int[] m, int offset) argument
2406 glTexEnvfv(int target, int pname, float[] params, int offset) argument
2440 glTexEnvxv(int target, int pname, int[] params, int offset) argument
2505 glTexParameteriv(int target, int pname, int[] params, int offset) argument
2586 glClipPlanef(int plane, float[] equation, int offset) argument
2605 glClipPlanex(int plane, int[] equation, int offset) argument
2639 glDrawTexfvOES(float[] coords, int offset) argument
2668 glDrawTexivOES(int[] coords, int offset) argument
2698 glDrawTexsvOES(short[] coords, int offset) argument
2727 glDrawTexxvOES(int[] coords, int offset) argument
2790 glBufferSubData(int target, int offset, int size, Buffer data) argument
2812 glDeleteBuffers(int n, int[] buffers, int offset) argument
2831 glGenBuffers(int n, int[] buffers, int offset) argument
2850 glGetBooleanv(int pname, boolean[] params, int offset) argument
2869 glGetBufferParameteriv(int target, int pname, int[] params, int offset) argument
2891 glGetClipPlanef(int pname, float[] eqn, int offset) argument
2910 glGetClipPlanex(int pname, int[] eqn, int offset) argument
2928 glGetFixedv(int pname, int[] params, int offset) argument
2946 glGetFloatv(int pname, float[] params, int offset) argument
2964 glGetLightfv(int light, int pname, float[] params, int offset) argument
2985 glGetLightxv(int light, int pname, int[] params, int offset) argument
3006 glGetMaterialfv(int face, int pname, float[] params, int offset) argument
3028 glGetMaterialxv(int face, int pname, int[] params, int offset) argument
3049 glGetTexEnviv(int env, int pname, int[] params, int offset) argument
3070 glGetTexEnvxv(int env, int pname, int[] params, int offset) argument
3091 glGetTexParameterfv(int target, int pname, float[] params, int offset) argument
3112 glGetTexParameteriv(int target, int pname, int[] params, int offset) argument
3133 glGetTexParameterxv(int target, int pname, int[] params, int offset) argument
3191 glPointParameterfv(int pname, float[] params, int offset) argument
3219 glPointParameterxv(int pname, int[] params, int offset) argument
3258 glTexEnviv(int target, int pname, int[] params, int offset) argument
3279 glTexParameterfv(int target, int pname, float[] params, int offset) argument
3311 glTexParameterxv(int target, int pname, int[] params, int offset) argument
3334 glColorPointer(int size, int type, int stride, int offset) argument
3345 glDrawElements(int mode, int count, int type, int offset) argument
3365 glNormalPointer(int type, int stride, int offset) argument
3374 glTexCoordPointer(int size, int type, int stride, int offset) argument
3384 glVertexPointer(int size, int type, int stride, int offset) argument
3418 glMatrixIndexPointerOES(int size, int type, int stride, int offset) argument
3439 glWeightPointerOES(int size, int type, int stride, int offset) argument
3513 glDeleteFramebuffersOES(int n, int[] framebuffers, int offset) argument
3534 glDeleteRenderbuffersOES(int n, int[] renderbuffers, int offset) argument
3591 glGenFramebuffersOES(int n, int[] framebuffers, int offset) argument
3612 glGenRenderbuffersOES(int n, int[] renderbuffers, int offset) argument
3633 glGetFramebufferAttachmentParameterivOES(int target, int attachment, int pname, int[] params, int offset) argument
3660 glGetRenderbufferParameterivOES(int target, int pname, int[] params, int offset) argument
3685 glGetTexGenfv(int coord, int pname, float[] params, int offset) argument
3708 glGetTexGeniv(int coord, int pname, int[] params, int offset) argument
3731 glGetTexGenxv(int coord, int pname, int[] params, int offset) argument
3798 glTexGenfv(int coord, int pname, float[] params, int offset) argument
3832 glTexGeniv(int coord, int pname, int[] params, int offset) argument
3866 glTexGenxv(int coord, int pname, int[] params, int offset) argument
[all...]
/frameworks/ex/common/java/com/android/common/widget/
H A DCompositeCursorAdapter.java256 * Given a list position, return the offset of the corresponding item in its
257 * partition. The header, if any, will have offset -1.
265 int offset = position - start;
267 offset--;
269 return offset;
317 int offset = position - start;
319 offset--;
321 if (offset == -1) {
324 return getItemViewType(i, offset);
339 int offset
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
H A DFwdLockEngine.h288 * the output converted data and offset. In this case the
289 * application will ignore the offset information.
298 * the entire data used over a conversion session. This signature must be copied to the offset
305 * the application about the file offset at which this
326 * @param offset Start position of the content
334 int fd, off64_t offset, off64_t length);
338 int fd, int offset, int length);
457 * @param offset Offset with which to update the file position.
467 off64_t offset,
472 off_t offset,
535 off_t offset; member in class:android::FwdLockEngine::DecodeSession
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DHexDump.java29 public static String dumpHexString(byte[] array, int offset, int length) argument
37 result.append(toHexString(offset));
39 for (int i = offset ; i < offset + length ; i++)
110 public static String toHexString(byte[] array, int offset, int length) argument
112 return toHexString(array, offset, length, true);
115 public static String toHexString(byte[] array, int offset, int length, boolean upperCase) argument
121 for (int i = offset ; i < offset + length; i++)

Completed in 832 milliseconds

1234567891011>>