/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | combined_encode.cpp | 45 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/base/core/jni/ |
H A D | android_opengl_GLES20.cpp | 66 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument 86 *offset = _env->CallStaticIntMethod(nioAccessClass, 312 /* void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data ) */ 315 (JNIEnv *_env, jobject _this, jint target, jint offset, jint size, jobject data_buf) { 337 (GLintptr)offset, 545 (JNIEnv *_env, jobject _this, jint n, jintArray buffers_ref, jint offset) { 559 if (offset < 0) { 562 _exceptionMessage = "offset < 0"; 565 _remaining = _env->GetArrayLength(buffers_ref) - offset; 569 _exceptionMessage = "length - offset < 314 android_glBufferSubData__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint offset, jint size, jobject data_buf) argument 544 android_glDeleteBuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray buffers_ref, jint offset) argument 630 android_glDeleteFramebuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) argument 705 android_glDeleteRenderbuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) argument 780 android_glDeleteTextures__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) argument 933 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument 1056 android_glGenBuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray buffers_ref, jint offset) argument 1151 android_glGenFramebuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray framebuffers_ref, jint offset) argument 1217 android_glGenRenderbuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray renderbuffers_ref, jint offset) argument 1283 android_glGenTextures__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray textures_ref, jint offset) argument 2165 android_glGetBooleanv__I_3ZI(JNIEnv *_env, jobject _this, jint pname, jbooleanArray params_ref, jint offset) argument 2231 android_glGetBufferParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 2328 android_glGetFloatv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument 2394 android_glGetFramebufferAttachmentParameteriv__III_3II(JNIEnv *_env, jobject _this, jint target, jint attachment, jint pname, jintArray params_ref, jint offset) argument 2464 android_glGetIntegerv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument 3212 android_glGetProgramiv__II_3II(JNIEnv *_env, jobject _this, jint program, jint pname, jintArray params_ref, jint offset) argument 3299 android_glGetRenderbufferParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 3367 android_glGetShaderiv__II_3II(JNIEnv *_env, jobject _this, jint shader, jint pname, jintArray params_ref, jint offset) argument 3676 android_glGetTexParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument 3764 android_glGetTexParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 3852 android_glGetUniformfv__II_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jfloatArray params_ref, jint offset) argument 3920 android_glGetUniformiv__II_3II(JNIEnv *_env, jobject _this, jint program, jint location, jintArray params_ref, jint offset) argument 4021 android_glGetVertexAttribfv__II_3FI(JNIEnv *_env, jobject _this, jint index, jint pname, jfloatArray params_ref, jint offset) argument 4089 android_glGetVertexAttribiv__II_3II(JNIEnv *_env, jobject _this, jint index, jint pname, jintArray params_ref, jint offset) argument 4351 android_glShaderBinary__I_3IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint n, jintArray shaders_ref, jint offset, jint binaryformat, jobject binary_buf, jint length) argument 4572 android_glTexParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument 4671 android_glTexParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 4801 android_glUniform1fv__II_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jfloatArray v_ref, jint offset) argument 4879 android_glUniform1iv__II_3II(JNIEnv *_env, jobject _this, jint location, jint count, jintArray v_ref, jint offset) argument 4958 android_glUniform2fv__II_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jfloatArray v_ref, jint offset) argument 5037 android_glUniform2iv__II_3II(JNIEnv *_env, jobject _this, jint location, jint count, jintArray v_ref, jint offset) argument 5117 android_glUniform3fv__II_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jfloatArray v_ref, jint offset) argument 5197 android_glUniform3iv__II_3II(JNIEnv *_env, jobject _this, jint location, jint count, jintArray v_ref, jint offset) argument 5278 android_glUniform4fv__II_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jfloatArray v_ref, jint offset) argument 5359 android_glUniform4iv__II_3II(JNIEnv *_env, jobject _this, jint location, jint count, jintArray v_ref, jint offset) argument 5427 android_glUniformMatrix2fv__IIZ_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument 5497 android_glUniformMatrix3fv__IIZ_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument 5567 android_glUniformMatrix4fv__IIZ_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument 5665 android_glVertexAttrib1fv__I_3FI(JNIEnv *_env, jobject _this, jint indx, jfloatArray values_ref, jint offset) argument 5742 android_glVertexAttrib2fv__I_3FI(JNIEnv *_env, jobject _this, jint indx, jfloatArray values_ref, jint offset) argument 5820 android_glVertexAttrib3fv__I_3FI(JNIEnv *_env, jobject _this, jint indx, jfloatArray values_ref, jint offset) argument 5899 android_glVertexAttrib4fv__I_3FI(JNIEnv *_env, jobject _this, jint indx, jfloatArray values_ref, jint offset) argument 5965 android_glVertexAttribPointer__IIIZII(JNIEnv *_env, jobject _this, jint indx, jint size, jint type, jboolean normalized, jint stride, jint offset) argument [all...] |
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ABuffer.h | 41 size_t offset() const { return mRangeOffset; } function in struct:android::ABuffer 43 void setRange(size_t offset, size_t size);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerFactory.cpp | 115 int64_t offset, 117 GET_PLAYER_TYPE_IMPL(client, fd, offset, length); 175 int64_t offset, 179 lseek(fd, offset, SEEK_SET); 181 lseek(fd, offset, SEEK_SET); 274 int64_t offset, 288 locator.offset = offset; 113 getPlayerType(const sp<IMediaPlayer>& client, int fd, int64_t offset, int64_t length) argument 173 scoreFactory(const sp<IMediaPlayer>& client, int fd, int64_t offset, int64_t length, float curScore) argument 272 scoreFactory(const sp<IMediaPlayer>& client, int fd, int64_t offset, int64_t length, float curScore) argument
|
H A D | MediaPlayerFactory.h | 38 int64_t offset, 56 int64_t offset, 36 scoreFactory(const sp<IMediaPlayer>& client, int fd, int64_t offset, int64_t length, float curScore) argument
|
H A D | MetadataRetrieverClient.cpp | 135 status_t MetadataRetrieverClient::setDataSource(int fd, int64_t offset, int64_t length) argument 137 ALOGV("setDataSource fd=%d, offset=%lld, length=%lld", fd, offset, length); 151 if (offset >= sb.st_size) { 152 ALOGE("offset (%lld) bigger than file size (%llu)", offset, sb.st_size); 156 if (offset + length > sb.st_size) { 157 length = sb.st_size - offset; 164 offset, 172 status_t status = p->setDataSource(fd, offset, lengt [all...] |
/frameworks/av/media/libstagefright/ |
H A D | ThrottledSource.cpp | 38 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { argument 41 ssize_t n = mSource->readAt(offset, data, size);
|
H A D | MediaBuffer.cpp | 136 void MediaBuffer::set_range(size_t offset, size_t length) { argument 137 if ((mGraphicBuffer == NULL) && (offset + length > mSize)) { 138 ALOGE("offset = %d, length = %d, mSize = %d", offset, length, mSize); 140 CHECK((mGraphicBuffer != NULL) || (offset + length <= mSize)); 142 mRangeOffset = offset;
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayList.java | 323 * @param offset The amount that the left and right values of the DisplayList are offset 326 public abstract void offsetLeftRight(int offset); argument 331 * @param offset The amount that the top and bottom values of the DisplayList are offset 334 public abstract void offsetTopBottom(int offset); argument
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | CorrectionInfo.java | 33 * @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/compile/libbcc/lib/AndroidBitcode/X86/ |
H A D | X86ABCExpandVAArg.cpp | 57 uint64_t offset = llvm::RoundUpToAlignment(td->getTypeSizeInBits(ty)/8, 4); local 59 llvm::ConstantInt::get(llvm::Type::getInt32Ty(*mContext), offset),
|
/frameworks/native/include/android/ |
H A D | asset_manager.h | 82 * Attempt to read 'count' bytes of data from the current offset. 89 * Seek to the specified offset within the asset data. 'whence' uses the 94 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 97 * Seek to the specified offset within the asset data. 'whence' uses the 105 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 155 * Uses a 64-bit number for the offset and length instead of 32-bit instead of
|
/frameworks/native/include/binder/ |
H A D | MemoryHeapBase.h | 45 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 D | rsdVertexArray.h | 37 uint32_t offset; member in class:RsdVertexArray::Attrib 46 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, uint32_t offset, const char *name);
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | PoolingByteArrayOutputStream.java | 83 public synchronized void write(byte[] buffer, int offset, int len) { argument 85 super.write(buffer, offset, len);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaExtractor.h | 42 status_t setDataSource(int fd, off64_t offset, off64_t size); 54 status_t readSampleData(jobject byteBuf, size_t offset, size_t *sampleSize);
|
/frameworks/native/libs/binder/ |
H A D | MemoryDealer.cpp | 115 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size); 133 status_t deallocate(size_t offset); 166 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) 167 : MemoryBase(heap, offset, size), mDealer(dealer) 170 void* const start_ptr = (void*)(intptr_t(heap->base()) + offset); 182 * and could alias some real allocation (their offset is zero). */ 242 const ssize_t offset = allocator()->allocate(size); local 243 if (offset >= 0) { 244 memory = new Allocation(this, heap(), offset, size); 249 void MemoryDealer::deallocate(size_t offset) argument 164 Allocation( const sp<MemoryDealer>& dealer, const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument 296 ssize_t offset = alloc(size, flags); local 300 deallocate(size_t offset) argument [all...] |
H A D | MemoryHeapBase.cpp | 85 MemoryHeapBase::MemoryHeapBase(int fd, size_t size, uint32_t flags, uint32_t offset) argument 91 mapfd(dup(fd), size, offset); local 107 status_t MemoryHeapBase::mapfd(int fd, size_t size, uint32_t offset) argument 128 PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset); 144 mOffset = offset;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 711 * @param offset Number of values to skip before the first color in the 723 public static Bitmap createBitmap(int colors[], int offset, int stride, argument 725 return createBitmap(null, colors, offset, stride, width, height, config); 736 * @param offset Number of values to skip before the first color in the 749 int offset, int stride, int width, int height, Config config) { 755 int lastScanline = offset + (height - 1) * stride; 757 if (offset < 0 || (offset + width > length) || lastScanline < 0 || 764 Bitmap bm = nativeCreate(colors, offset, stride, width, height, 1119 * @param offset Th 748 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument 1134 getPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1174 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument 1248 setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1393 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument 1411 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1417 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | ShapeCache.cpp | 111 float left, top, offset; local 113 computeBounds(bounds, paint, left, top, offset, rectWidth, rectHeight); 126 canvas.translate(-left + offset, -top + offset); 129 texture = createTexture(0, 0, offset, rectWidth, rectHeight, 0);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | NativeFrame.java | 144 // TODO: This function may be a bit confusing: Is the offset the target or source offset? Maybe 147 public void setData(ByteBuffer buffer, int offset, int length) { argument 150 if ((length + offset) > buffer.limit()) { 152 (length + offset) + " bytes given, but only " + buffer.limit() + 158 } else if (!setNativeData(bytes, offset, length)) { 244 private native boolean setNativeData(byte[] data, int offset, int length); argument
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | get_pred_adv_b_add.cpp | 90 int offset, offset2; local 94 /* initialize offset to adjust pixel counter */ 96 offset = width - B_SIZE; /* offset for prev */ 97 offset2 = (pred_width_rnd >> 1) - 4; /* offset for pred_block */ 129 prev += offset; 152 prev += offset; 174 prev += offset; 190 int offset, offset2; local 196 /* initialize offset t 519 int offset, offset2; local 866 int offset, offset2; local [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IDynamicInterfaceManagement.c | 54 size_t offset = x->mOffset; local 55 void *thisItf = (char *) thisObject + offset; 162 size_t offset = x->mOffset; local 163 void *thisItf = (char *) thisObject + offset; 231 size_t offset = x->mOffset; local 232 void *thisItf = (char *) thisObject + offset; 310 size_t offset = x->mOffset; local 311 void *thisItf = (char *) thisObject + offset; 410 size_t offset = x->mOffset; local 411 void *thisItf = (char *) thiz + offset; [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPWriter.cpp | 366 buffer->setRange(buffer->offset(), buffer->size() + 28); 378 size_t offset = 8; local 380 data[offset++] = 1; // CNAME 383 data[offset++] = strlen(kCNAME); 385 memcpy(&data[offset], kCNAME, strlen(kCNAME)); 386 offset += strlen(kCNAME); 388 data[offset++] = 7; // NOTE 391 data[offset++] = strlen(kNOTE); 393 memcpy(&data[offset], kNOTE, strlen(kNOTE)); 394 offset 613 size_t offset = 1; local 682 size_t offset = 2; local [all...] |
/frameworks/av/media/libstagefright/id3/ |
H A D | ID3.cpp | 285 size_t offset = 0; local 286 while (offset + 10 <= mSize) { 287 if (!memcmp(&mData[offset], "\0\0\0\0", 4)) { 293 dataSize = U32_AT(&mData[offset + 4]); 294 } else if (!ParseSyncsafeInteger(&mData[offset + 4], &dataSize)) { 298 if (offset + dataSize + 10 > mSize) { 302 uint16_t flags = U16_AT(&mData[offset + 8]); 308 memmove(&mData[offset + 10], &mData[offset + 14], mSize - offset [all...] |