Searched refs:offset (Results 226 - 250 of 900) sorted by relevance

1234567891011>>

/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...]
H A Dcombined_encode.cpp45 Int offset = 0; local
139 getMotionCompensatedMB(video, ind_x, ind_y, offset);
159 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
207 offset += 16;
210 offset += (lx << 4) - width;
277 Int offset = video->offset; /* get current MB location */ local
404 getMotionCompensatedMB(video, ind_x, ind_y, offset);
427 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
490 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...]
H A DDataSource.cpp53 bool DataSource::getUInt16(off64_t offset, uint16_t *x) { argument
57 if (readAt(offset, byte, 2) != 2) {
66 bool DataSource::getUInt24(off64_t offset, uint32_t *x) { argument
70 if (readAt(offset, byte, 3) != 3) {
79 bool DataSource::getUInt32(off64_t offset, uint32_t *x) { argument
83 if (readAt(offset, &tmp, 4) != 4) {
92 bool DataSource::getUInt64(off64_t offset, uint64_t *x) { argument
96 if (readAt(offset, &tmp, 8) != 8) {
/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp184 LOG_WINDOW("Allocated row %u, rowSlot is at offset %u, fieldDir is %d bytes at offset %u\n",
186 rowSlot->offset = fieldDirOffset;
210 uint32_t offset = mHeader->freeOffset + padding; local
211 uint32_t nextFreeOffset = offset + size;
220 return offset;
269 FieldSlot* fieldDir = static_cast<FieldSlot*>(offsetToPtr(rowSlot->offset));
293 uint32_t offset = alloc(size); local
294 if (!offset) {
298 memcpy(offsetToPtr(offset), valu
[all...]
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES31.cpp101 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
121 *offset = _env->CallStaticIntMethod(nioAccessClass,
344 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) {
359 if (offset < 0) {
362 _exceptionMessage = "offset < 0";
365 _remaining = _env->GetArrayLength(params_ref) - offset;
373 _exceptionMessage = "length - offset < needed";
378 params = params_base + offset;
456 // 'indirect' is a byte offset, not a pointer. GL checks for negative and too-large values.
461 jniThrowException(_env, "java/lang/IllegalArgumentException", "indirect offset to
343 get(JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) argument
504 android_glGetFramebufferParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
572 android_glGetProgramInterfaceiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint programInterface, jint pname, jintArray params_ref, jint offset) argument
908 android_glDeleteProgramPipelines__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray pipelines_ref, jint offset) argument
974 android_glGenProgramPipelines__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray pipelines_ref, jint offset) argument
1051 android_glGetProgramPipelineiv__II_3II(JNIEnv *_env, jobject _this, jint pipeline, jint pname, jintArray params_ref, jint offset) argument
1269 android_glProgramUniform1iv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1339 android_glProgramUniform2iv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1409 android_glProgramUniform3iv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1479 android_glProgramUniform4iv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1549 android_glProgramUniform1uiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1619 android_glProgramUniform2uiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1689 android_glProgramUniform3uiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1759 android_glProgramUniform4uiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1829 android_glProgramUniform1fv__III_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jfloatArray value_ref, jint offset) argument
1899 android_glProgramUniform2fv__III_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jfloatArray value_ref, jint offset) argument
1969 android_glProgramUniform3fv__III_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jfloatArray value_ref, jint offset) argument
2039 android_glProgramUniform4fv__III_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jfloatArray value_ref, jint offset) argument
2109 android_glProgramUniformMatrix2fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2181 android_glProgramUniformMatrix3fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2253 android_glProgramUniformMatrix4fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2325 android_glProgramUniformMatrix2x3fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2397 android_glProgramUniformMatrix3x2fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2469 android_glProgramUniformMatrix2x4fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2541 android_glProgramUniformMatrix4x2fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2613 android_glProgramUniformMatrix3x4fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2685 android_glProgramUniformMatrix4x3fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2800 android_glGetBooleani_v__II_3ZI(JNIEnv *_env, jobject _this, jint target, jint index, jbooleanArray data_ref, jint offset) argument
2900 android_glGetMultisamplefv__II_3FI(JNIEnv *_env, jobject _this, jint pname, jint index, jfloatArray val_ref, jint offset) argument
2978 android_glGetTexLevelParameteriv__III_3II(JNIEnv *_env, jobject _this, jint target, jint level, jint pname, jintArray params_ref, jint offset) argument
3048 android_glGetTexLevelParameterfv__III_3FI(JNIEnv *_env, jobject _this, jint target, jint level, jint pname, jfloatArray params_ref, jint offset) argument
3118 android_glBindVertexBuffer__IIJI(JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) argument
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DABuffer.h42 size_t offset() const { return mRangeOffset; } function in struct:android::ABuffer
44 void setRange(size_t offset, size_t size);
/frameworks/av/media/img_utils/src/
H A DFileInput.cpp48 ssize_t FileInput::read(uint8_t* buf, size_t offset, size_t count) { argument
54 size_t bytesRead = ::fread(buf + offset, sizeof(uint8_t), count, mFp);
H A DFileOutput.cpp47 status_t FileOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument
53 ::fwrite(buf + offset, sizeof(uint8_t), count, mFp);
/frameworks/av/media/libmediaplayerservice/
H A DMetadataRetrieverClient.cpp134 status_t MetadataRetrieverClient::setDataSource(int fd, int64_t offset, int64_t length) argument
136 ALOGV("setDataSource fd=%d, offset=%lld, length=%lld", fd, offset, length);
150 if (offset >= sb.st_size) {
151 ALOGE("offset (%lld) bigger than file size (%llu)", offset, sb.st_size);
155 if (offset + length > sb.st_size) {
156 length = sb.st_size - offset;
163 offset,
171 status_t status = p->setDataSource(fd, offset, lengt
[all...]
/frameworks/av/media/libstagefright/include/
H A DCallbackDataSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
57 virtual ssize_t readAt(off64_t offset, void* data, size_t size);
H A DID3.h38 ID3(const sp<DataSource> &source, bool ignoreV1 = false, off64_t offset = 0);
89 bool parseV2(const sp<DataSource> &source, off64_t offset);
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothGattServerCallback.aidl33 in int offset, in boolean isLong,
38 in int offset, in boolean isLong,
44 in int offset, in int length,
52 in int offset, in int length,
/frameworks/base/core/java/android/bluetooth/le/
H A DResultStorageDescriptor.java50 * @param offset Offset from start of the advertise packet payload.
53 public ResultStorageDescriptor(int type, int offset, int length) { argument
55 mOffset = offset;
/frameworks/base/core/java/android/net/
H A DNetworkUtils.java321 int offset = prefixLength / 8;
325 if (offset < array.length) array[offset] = (byte)(array[offset] & mask);
327 offset++;
329 for (; offset < array.length; offset++) {
330 array[offset] = 0;
/frameworks/base/core/java/android/view/inputmethod/
H A DCorrectionInfo.java33 * @param offset The offset in the edited text where the old and new text start.
37 public CorrectionInfo(int offset, CharSequence oldText, CharSequence newText) { argument
38 mOffset = offset;
50 * Return the offset position of this correction in the text. Both the {@link #getOldText()} and
51 * {@link #getNewText()} start at this offset.
/frameworks/base/core/java/com/android/internal/midi/
H A DMidiConstants.java84 * @param offset
88 public static boolean isAllActiveSensing(byte[] msg, int offset, argument
93 byte b = msg[offset + i];
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DPageRangeUtils.java160 * @param pageRanges The page ranges to offset.
161 * @param offset The offset value.
163 public static void offset(PageRange[] pageRanges, int offset) { argument
164 if (offset == 0) {
169 final int start = pageRanges[i].getStart() + offset;
170 final int end = pageRanges[i].getEnd() + offset;
253 // Hence, we have to offset appropriately the printed pages to
256 final int offset
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DIfdData.java109 * Sets the offset of next IFD.
111 protected void setOffsetToNextIfd(int offset) { argument
112 mOffsetToNextIfd = offset;
116 * Gets the offset of next IFD.
124 * IFDs offset or thumbnail offset will be ignored.
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
H A DUnsafeByteSequence.java50 public void write(byte[] buffer, int offset, int length) { argument
56 System.arraycopy(buffer, offset, bytes, count, length);
/frameworks/native/include/android/
H A Dasset_manager.h120 * Attempt to read 'count' bytes of data from the current offset.
127 * Seek to the specified offset within the asset data. 'whence' uses the
132 off_t AAsset_seek(AAsset* asset, off_t offset, int whence);
135 * Seek to the specified offset within the asset data. 'whence' uses the
143 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence);
193 * Uses a 64-bit number for the offset and length instead of 32-bit instead of
/frameworks/native/include/binder/
H A DMemoryHeapBase.h45 MemoryHeapBase(int fd, size_t size, uint32_t flags = 0, uint32_t offset = 0);
89 status_t mapfd(int fd, size_t size, uint32_t offset = 0);
/frameworks/rs/driver/
H A DrsdVertexArray.h37 size_t offset; member in class:RsdVertexArray::Attrib
46 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DItemAlignmentFacet.java57 * Sets number of pixels to offset. Can be negative for alignment from the high edge, or
60 public final void setItemAlignmentOffset(int offset) { argument
61 mOffset = offset;
65 * Gets number of pixels to offset. Can be negative for alignment from the high edge, or
73 * Sets whether to include left/top padding for positive item offset, include
74 * right/bottom padding for negative item offset.
81 * When it is true: we include left/top padding for positive item offset, include
82 * right/bottom padding for negative item offset.
89 * Sets the offset percent for item alignment in addition to offset
[all...]

Completed in 526 milliseconds

1234567891011>>