/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mb_motion_comp.cpp | 155 int32 size = (int32) video->nTotalMB << 8; local 412 pp_dec_u = video->pstprcTypCur + (size >> 6) + 416 video->pstprcTypPrv, dx, dy, mvwidth, height, size, 428 pp_dec_u = video->pstprcTypCur + (size >> 6) + 431 pp_dec_u[size>>8] = 4; 562 int32 size = (int32) video->nTotalMB << 8; local 610 pp_prev1 = video->pstprcTypPrv + (size >> 6) + 612 pp_dec_u = video->pstprcTypCur + (size >> 6) + 615 pp_dec_u[size>>8] = pp_prev1[size>> [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | H264SwDecApi.c | 78 void* H264SwDecMalloc(u32 size) { argument 79 return malloc(size);
|
H A D | TestBenchMultipleInstance.c | 416 void* H264SwDecMalloc(u32 size) argument 418 return malloc(size);
|
H A D | h264bsd_decoder.c | 93 u32 size; local 102 size = (sizeof(macroblockLayer_t) + 63) & ~0x3F; 104 pStorage->mbLayer = (macroblockLayer_t*)H264SwDecMalloc(size);
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
H A D | SoftVorbis.cpp | 229 const void *data, size_t size, 232 buf->size = size; 238 ref->length = size; 257 size_t size = header->nFilledLen; local 264 (const uint8_t *)data + 7, size - 7, 334 buf.size = inHeader->nFilledLen; 341 ref.length = buf.size; 228 makeBitReader( const void *data, size_t size, ogg_buffer *buf, ogg_reference *ref, oggpack_buffer *bits) argument
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 44 AString::AString(const char *s, size_t size) argument 48 setTo(s, size); 55 setTo(from, 0, from.size()); 71 setTo(from, 0, from.size()); 77 size_t AString::size() const { function in class:android::AString 93 void AString::setTo(const char *s, size_t size) { argument 95 append(s, size); 168 void AString::append(const char *s, size_t size) { argument 171 if (mSize + size + 1 > mAllocSize) { 172 mAllocSize = (mAllocSize + size 269 insert(const char *from, size_t size, size_t insertionPos) argument [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 30 const char *baseURI, const void *data, size_t size) 36 mInitCheck = parse(data, size); 62 size_t M3UParser::size() { function in class:android::M3UParser 63 return mItems.size(); 75 if (index >= mItems.size()) { 148 status_t M3UParser::parse(const void *_data, size_t size) { argument 156 while (offset < size) { 158 while (offsetLF < size && data[offsetLF] != '\n') { 161 if (offsetLF >= size) { 257 Item *item = &mItems.editItemAt(mItems.size() 29 M3UParser( const char *baseURI, const void *data, size_t size) argument [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftOMXComponent.cpp | 189 OMX_U32 size, 195 return me->useBuffer(buffer, portIndex, appPrivate, size, ptr); 204 OMX_U32 size) { 209 return me->allocateBuffer(buffer, portIndex, appPrivate, size); 293 OMX_U32 size, 302 OMX_U32 size) { 184 UseBufferWrapper( OMX_HANDLETYPE component, OMX_BUFFERHEADERTYPE **buffer, OMX_U32 portIndex, OMX_PTR appPrivate, OMX_U32 size, OMX_U8 *ptr) argument 199 AllocateBufferWrapper( OMX_HANDLETYPE component, OMX_BUFFERHEADERTYPE **buffer, OMX_U32 portIndex, OMX_PTR appPrivate, OMX_U32 size) argument 289 useBuffer( OMX_BUFFERHEADERTYPE **buffer, OMX_U32 portIndex, OMX_PTR appPrivate, OMX_U32 size, OMX_U8 *ptr) argument 298 allocateBuffer( OMX_BUFFERHEADERTYPE **buffer, OMX_U32 portIndex, OMX_PTR appPrivate, OMX_U32 size) argument
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.cpp | 37 bool ASessionDescription::setTo(const void *data, size_t size) { argument 38 mIsValid = parse(data, size); 48 bool ASessionDescription::parse(const void *data, size_t size) { argument 55 AString desc((const char *)data, size); 79 if (line.size() < 2 || line.c_str()[1] != '=') { 117 value.setTo(line, colonPos + 1, line.size() - colonPos - 1); 125 mTracks.editItemAt(mTracks.size() - 1).add(key, value); 132 AString(line, 2, line.size() - 2).c_str()); 135 mFormats.push(AString(line, 2, line.size() - 2)); 146 value = AString(line, equalPos + 1, line.size() [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextSRTSource.cpp | 217 if (mTextVector.size() == 0) { 225 mTextVector.valueAt(mTextVector.size() - 1).endTimeUs; 233 size_t high = mTextVector.size() - 1; 251 if (mIndex >= mTextVector.size()) { 273 size_t size = text.size(); local 277 if (size > 0) { 279 (const uint8_t *)data, size, flag, timeUs / 1000, parcel); 285 CHECK_LT(index, mTextVector.size());
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 90 return mEncoderInputBuffers.size(); 200 const uint8_t *end = ptr + accessUnit->size(); 388 int16_t *stop = (int16_t *)(buffer->data() + buffer->size()); 401 - mPartialAudioAU->size() + 4; 403 size_t copy = buffer->size(); 408 memcpy(mPartialAudioAU->data() + mPartialAudioAU->size(), 412 mPartialAudioAU->setRange(0, mPartialAudioAU->size() + copy); 414 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); 433 while (buffer->size() > 0) { 452 size_t copy = buffer->size(); 554 size_t size; local [all...] |
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | JpegProcessor.cpp | 71 // Find out buffer size for JPEG 221 // Find size of JPEG image 223 if (jpegSize == 0) { // failed to find size, default to whole buffer 308 // Return the size of the JPEG, 0 indicates failure 310 size_t size; local 316 size = blob->jpeg_size; 317 if (size > 0 && size <= maxSize - sizeof(struct camera2_jpeg_blob)) { 319 size_t offset = size - MARKER_LENGTH; 322 ALOGV("Found JPEG transport header, img size [all...] |
H A D | StreamingProcessor.cpp | 127 ALOGV("%s: Camera %d: Preview size switch: %d x %d -> %d x %d", 289 // Allocate memory later, since we don't know buffer size until receipt 502 "size %d bytes", __FUNCTION__, client->getCameraId(), 513 for (size_t i = 0; i < mRecordingBuffers.size(); i++) { 543 size_t size; local 546 &size); 578 size_t size; local 579 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); 600 for (itemIndex = 0; itemIndex < mRecordingBuffers.size(); itemIndex++) { 608 if (itemIndex == mRecordingBuffers.size()) { [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupAgent.java | 88 * size, and no actual entity data. 161 * data size instructs the transport to delete whatever entity currently exists 345 while (scanQueue.size() > 0) { 387 * as its size and metadata. 389 * The file descriptor can only be read for {@code size} bytes; attempting to read 396 * @param data A read-only file descriptor from which the agent can read {@code size} 398 * @param size The number of bytes of file content to be restored to the given 399 * destination. If the file system object being restored is a directory, {@code size} 410 public void onRestoreFile(ParcelFileDescriptor data, long size, argument 413 FullBackup.restoreFile(data, size, typ 421 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument 571 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | StringBlock.java | 53 public StringBlock(byte[] data, int offset, int size, boolean useSparse) { argument 54 mNative = nativeCreate(data, offset, size); 224 int size = Integer.parseInt(sub); 225 addParagraphSpan(buffer, new Height(size), 229 sub = subtag(tag, ";size="); 231 int size = Integer.parseInt(sub); 232 buffer.setSpan(new AbsoluteSizeSpan(size, true), 344 public Height(int size) { argument 345 mSize = size; 358 int size 426 nativeCreate(byte[] data, int offset, int size) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | LinkCapabilities.java | 220 public int size() { method in class:LinkCapabilities 221 return mCapabilities.size(); 327 dest.writeInt(mCapabilities.size()); 342 int size = in.readInt(); 343 while (size-- != 0) { 351 public LinkCapabilities[] newArray(int size) { 352 return new LinkCapabilities[size];
|
/frameworks/base/core/java/android/view/ |
H A D | Menu.java | 385 public int size(); method in interface:Menu 393 * when {@code index < 0 || >= size()}
|
/frameworks/base/core/java/android/view/animation/ |
H A D | ScaleAnimation.java | 166 * edge. (This point remains fixed while the object changes size.) 169 * edge. (This point remains fixed while the object changes size.) 201 * size.) This value can either be an absolute number if pivotXType 209 * size.) This value can either be an absolute number if pivotYType 260 float resolveScale(float scale, int type, int data, int size, int psize) { argument 263 targetSize = TypedValue.complexToFraction(data, size, psize); 270 if (size == 0) { 274 return targetSize/(float)size;
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebStorageClassic.java | 278 * Sets the maximum size of the ApplicationCache. 282 public void setAppCacheMaximumSize(long size) { argument 283 nativeSetAppCacheMaximumSize(size); 351 private static native void nativeSetAppCacheMaximumSize(long size); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | QuickContactBadge.java | 106 public void setMode(int size) { argument
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenu.java | 76 final int N = lri != null ? lri.size() : 0; 130 final int itemCount = items.size(); 150 final int itemCount = items.size(); 165 final int itemCount = items.size(); 202 int itemCount = items.size(); 221 final int itemCount = items.size(); 234 final int itemCount = items.size(); 246 final int itemCount = items.size(); 260 public int size() { method in class:ActionMenu 261 return mItems.size(); [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | CreateJavaOutputStreamAdaptor.cpp | 37 size_t doRead(void* buffer, size_t size) { argument 42 size_t requested = size; 70 size -= n; 72 } while (size != 0); 77 size_t doSkip(size_t size) { argument 81 gInputStream_skipMethodID, (jlong)size); 108 virtual size_t read(void* buffer, size_t size) { argument 111 if (0 == size) { 120 size_t amount = this->doSkip(size - amountSkipped); 130 } while (amountSkipped < size); 192 write(const void* buffer, size_t size) argument [all...] |
H A D | Typeface.cpp | 79 virtual size_t read(void* buffer, size_t size) argument 85 if (0 == size) // caller is asking us for our total length 94 off64_t newOffset = fAsset->seek(size, SEEK_CUR); 102 amount = fAsset->read(buffer, size);
|
/frameworks/base/core/jni/ |
H A D | android_emoji_EmojiFactory.cpp | 155 jstring jname = env->NewString(name_16.string(), name_16.size()); 167 int size; local 168 const char *bytes = factory->GetImageBinaryFromAndroidPua(pua, &size); 174 if (!SkImageDecoder::DecodeMemory(bytes, size, bitmap)) {
|
/frameworks/base/include/androidfw/ |
H A D | CursorWindow.h | 46 * FieldSlot per column, which has the size, offset, and type of the data for that field. 53 void* data, size_t size, bool readOnly); 74 uint32_t size; member in struct:android::CursorWindow::FieldSlot::__anon1012::__anon1013 83 static status_t create(const String8& name, size_t size, CursorWindow** outCursorWindow); 89 inline size_t size() { return mSize; } function in class:android::CursorWindow 104 status_t putBlob(uint32_t row, uint32_t column, const void* value, size_t size); 130 *outSizeIncludingNull = fieldSlot->data.buffer.size; 135 *outSize = fieldSlot->data.buffer.size; 182 uint32_t alloc(size_t size, bool aligned = false); 188 const void* value, size_t size, int32_ [all...] |