Searched refs:size (Results 151 - 175 of 2159) sorted by relevance

1234567891011>>

/frameworks/av/libvideoeditor/vss/src/
H A DM4AMRR_CoreReader.c89 M4OSA_Int32 m_structSize; /* size of structure*/
103 * @brief Internal function to the AMR Parser, returns the AU size of the Frame
108 * @returns The frame size based on the frame type.
163 M4OSA_UInt32 size ; local
221 size = 6;
223 (M4OSA_MemAddr8)M4_Token, &size);
224 if(size != 6)
245 size = 5;
247 (M4OSA_MemAddr8)M4_Token, &size);
248 if(size !
294 M4OSA_UInt32 size, auCount=0; local
422 M4OSA_Int32 size = 0 ; local
468 M4OSA_UInt32 size ; local
585 M4OSA_UInt32 size ; local
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTextDescriptions.cpp27 const uint8_t *data, ssize_t size,
33 return extract3GPPGlobalDescriptions(data, size, parcel, 0);
35 return extract3GPPLocalDescriptions(data, size, timeMs, parcel, 0);
39 return extractSRTLocalDescriptions(data, size, timeMs, parcel);
50 const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) {
56 // write the size of the text sample
57 parcel->writeInt32(size);
59 parcel->writeInt32(size);
60 parcel->write(data, size);
71 const uint8_t *data, ssize_t size,
26 getParcelOfDescriptions( const uint8_t *data, ssize_t size, uint32_t flags, int timeMs, Parcel *parcel) argument
49 extractSRTLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) argument
70 extract3GPPLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel, int depth) argument
287 extract3GPPGlobalDescriptions( const uint8_t *data, ssize_t size, Parcel *parcel, int depth) argument
[all...]
/frameworks/compile/mclinker/unittests/
H A DNamePoolTest.cpp76 uint64_t size = 0; local
84 size,
95 EXPECT_EQ(size, result1.info->size());
104 size,
115 EXPECT_EQ(size, result1.info->size());
127 uint64_t size = 0; local
135 size,
146 EXPECT_EQ(size, result
185 uint64_t size = 0; local
218 uint64_t size = 0; local
[all...]
/frameworks/av/cmds/stagefright/
H A Dsf2.cpp299 size_t size; local
300 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
305 CHECK(size >= 7);
323 size -= 6;
329 CHECK(size >= 2);
333 size -= 2;
335 CHECK(size >= length);
337 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4);
338 memcpy(buffer->data() + buffer->size() + 4, ptr, length);
339 buffer->setRange(0, buffer->size()
[all...]
/frameworks/av/media/libmedia/
H A DMemoryLeakTrackUtil.cpp59 size_t size() const { function in struct:android::MyString8
77 size_t size; member in struct:android::__anon512
104 e->size = *reinterpret_cast<size_t *>(ptr);
114 // Now we need to sort the entries. They come sorted by size but
123 bool swap = e1->size < e2->size;
124 if (e1->size == e2->size) {
145 snprintf(buffer, SIZE, "size %8i, dup %4i, ", e->size,
[all...]
/frameworks/av/media/libstagefright/
H A DMediaBuffer.cpp34 MediaBuffer::MediaBuffer(void *data, size_t size) argument
39 mSize(size),
41 mRangeLength(size),
47 MediaBuffer::MediaBuffer(size_t size) argument
51 mData(malloc(size)),
52 mSize(size),
54 mRangeLength(size),
79 mSize(buffer->size()),
123 size_t MediaBuffer::size() const { function in class:android::MediaBuffer
H A Davc_utils.cpp48 ABitReader br(seqParamSet->data() + 1, seqParamSet->size() - 1);
184 size_t size = *_size; local
189 if (size == 0) {
196 while (offset < size && data[offset] == 0x00) {
200 if (offset == size) {
215 while (offset < size && data[offset] != 0x01) {
219 if (offset == size) {
221 offset = size + 2;
243 if (offset + 2 < size) {
245 *_size = size
254 FindNAL( const uint8_t *data, size_t size, unsigned nalType, size_t *stopOffset) argument
294 size_t size = accessUnit->size(); local
380 size_t size = buffer->size(); local
402 size_t size = accessUnit->size(); local
469 ExtractDimensionsFromVOLHeader( const uint8_t *data, size_t size, int32_t *width, int32_t *height) argument
[all...]
/frameworks/base/include/androidfw/
H A DCursorWindow.h46 * 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::__anon1063::__anon1064
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...]
/frameworks/base/libs/hwui/
H A DLayerCache.cpp37 INIT_LOGD(" Setting layer cache size to %sMB", property);
40 INIT_LOGD(" Using default layer cache size of %.2fMB", DEFAULT_LAYER_CACHE_SIZE);
87 size_t count = mCache.size();
131 size_t size = mCache.size(); local
132 for (size_t i = 0; i < size; i++) {
134 LAYER_LOGD(" Layer size %dx%d", entry.mWidth, entry.mHeight);
141 const uint32_t size = layer->getWidth() * layer->getHeight() * 4; local
143 if (size < mMaxSize) {
145 while (mSize + size > mMaxSiz
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCall.java96 return connections.size() > 0;
130 if (l.size() == 0) {
134 for (int i = 0, s = l.size() ; i < s ; i++) {
156 if (l.size() == 0) {
160 for (int i = 0, s = l.size() ; i < s ; i++) {
177 if (l.size() == 0) {
181 for (int i = 0, s = l.size() ; i < s ; i++) {
211 if (l.size() == 0) {
217 for (int i = 0, s = l.size() ; i < s ; i++) {
/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp25 // ADTS header size is 7, but frame size information ends on byte 6 (when counting from byte 1)
29 * Returns the size of an AAC ADTS frame.
30 * Note that if the returned value + offset > size, it means that a partial frame starts at that
31 * offset, but this function will still return the size of the full frame.
34 * @param size the size in bytes of the data block starting at data
35 * @return the size in bytes of the AAC ADTS frame starting at the given offset of the given
38 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { argument
41 if (!(offset + ADTS_HEADER_SIZE_UP_TO_FRAMESIZE < size)) {
83 validateBufferStartEndOnFrameBoundaries(void* data, size_t size) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.cpp37 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...]
H A DAPacketSource.cpp73 if ((s.size() % 2) != 0) {
77 size_t outLen = s.size() / 2;
82 for (size_t i = 0; i < s.size(); ++i) {
116 CHECK_EQ(profileLevelID->size(), 3u);
133 size_t end = (commaPos < 0) ? val.size() : commaPos;
138 CHECK_GT(nal->size(), 0u);
139 CHECK_LE(nal->size(), 65535u);
149 totalSeqParameterSetSize += nal->size();
153 totalPicParameterSetSize += nal->size();
192 *out++ = nal->size() >>
[all...]
/frameworks/base/libs/androidfw/
H A DBackupData.cpp152 BackupDataWriter::WriteEntityData(const void* data, size_t size) argument
154 if (DEBUG) ALOGD("Writing data: size=%lu", (unsigned long) size);
166 ssize_t amt = write(m_fd, data, size);
167 if (amt != (ssize_t)size) {
272 size_t size = m_header.entity.keyLen; local
273 char* buf = m_key.lockBuffer(size);
278 int amt = read(m_fd, buf, size+1);
279 CHECK_SIZE(amt, (int)size+1);
280 m_key.unlockBuffer(size);
337 ReadEntityData(void* data, size_t size) argument
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_context.cpp220 void GLTraceContext::bindBuffer(GLuint bufferId, GLvoid *data, GLsizeiptr size) { argument
227 mElementArrayBuffers.add(bufferId, new ElementArrayBuffer(data, size));
230 void GLTraceContext::getBuffer(GLuint bufferId, GLvoid **data, GLsizeiptr *size) { argument
234 *size = 0;
237 *size = buffer->getSize();
242 GLsizeiptr size) {
245 buffer->updateSubBuffer(offset, data, size);
257 ElementArrayBuffer::ElementArrayBuffer(GLvoid *buf, GLsizeiptr size) { argument
258 mBuf = malloc(size);
259 mSize = size;
241 updateBufferSubData(GLuint bufferId, GLintptr offset, GLvoid *data, GLsizeiptr size) argument
275 updateSubBuffer(GLintptr offset, const GLvoid* data, GLsizeiptr size) argument
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_frame.cpp37 jint size) {
38 return ToJBool(WrapObjectInJava(new NativeFrame(size), env, thiz, true));
74 jint size) {
78 if (!data || size > frame->Size())
80 jbyteArray result = env->NewByteArray(size);
81 env->SetByteArrayRegion(result, 0, size, reinterpret_cast<const jbyte*>(data));
118 jint size) {
122 if (!data || size > frame->Size() || (size % sizeof(jint)) != 0)
124 const int count = size / sizeo
35 Java_android_filterfw_core_NativeFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size) argument
72 Java_android_filterfw_core_NativeFrame_getNativeData(JNIEnv* env, jobject thiz, jint size) argument
116 Java_android_filterfw_core_NativeFrame_getNativeInts(JNIEnv* env, jobject thiz, jint size) argument
150 Java_android_filterfw_core_NativeFrame_getNativeFloats(JNIEnv* env, jobject thiz, jint size) argument
166 Java_android_filterfw_core_NativeFrame_setNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument
216 Java_android_filterfw_core_NativeFrame_getNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument
[all...]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetActiveAttrib.cpp1 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
13 GLint *size = (GLint *) 0; local
41 _exceptionMessage = "size == null";
53 size = size_base + sizeOffset;
94 (GLint *)size,
121 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
134 GLint *size = (GLint *) 0; local
139 size = (GLint *)getPointer(_env, size_buf, &_sizeArray, &_sizeRemaining, &_sizeBufferOffset);
145 if (size == NULL) {
147 size
182 GLint *size = (GLint *) 0; local
279 GLint *size = (GLint *) 0; local
[all...]
H A DglGetActiveUniform.cpp1 /* void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
13 GLint *size = (GLint *) 0; local
41 _exceptionMessage = "size == null";
53 size = size_base + sizeOffset;
94 (GLint *)size,
121 /* void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
134 GLint *size = (GLint *) 0; local
139 size = (GLint *)getPointer(_env, size_buf, &_sizeArray, &_sizeRemaining, &_sizeBufferOffset);
145 if (size == NULL) {
147 size
183 GLint *size = (GLint *) 0; local
280 GLint *size = (GLint *) 0; local
[all...]
H A DglGetTransformFeedbackVarying.cpp1 /* void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) */
13 GLint *size = (GLint *) 0; local
41 _exceptionMessage = "size == null";
53 size = size_base + sizeOffset;
94 (GLint *)size,
121 /* void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) */
134 GLint *size = (GLint *) 0; local
139 size = (GLint *)getPointer(_env, size_buf, &_sizeArray, &_sizeRemaining, &_sizeBufferOffset);
145 if (size == NULL) {
147 size
182 GLint *size = (GLint *) 0; local
279 GLint *size = (GLint *) 0; local
[all...]
/frameworks/native/libs/gui/
H A DIGraphicBufferConsumer.cpp94 void*& buffer, size_t& size, int*& fds, size_t& count) const {
105 FlattenableUtils::advance(buffer, size, sizeof(uint32_t));
109 status_t err = mGraphicBuffer->flatten(buffer, size, fds, count);
111 size -= FlattenableUtils::align<4>(buffer);
115 status_t err = mFence->flatten(buffer, size, fds, count);
117 size -= FlattenableUtils::align<4>(buffer);
122 if (size < getPodSize()) {
126 FlattenableUtils::write(buffer, size, mCrop);
127 FlattenableUtils::write(buffer, size, mTransform);
128 FlattenableUtils::write(buffer, size, mScalingMod
93 flatten( void*& buffer, size_t& size, int*& fds, size_t& count) const argument
140 unflatten( void const*& buffer, size_t& size, int const*& fds, size_t& count) argument
[all...]
/frameworks/av/drm/common/
H A DDrmSupportInfo.cpp50 for (unsigned int i = 0; i < mMimeTypeVector.size(); i++) {
61 for (unsigned int i = 0; i < mFileSuffixVector.size(); i++) {
79 return mMimeTypeVector.size();
83 return mFileSuffixVector.size();
128 return mIndex < mDrmSupportInfo->mFileSuffixVector.size();
152 return mIndex < mDrmSupportInfo->mMimeTypeVector.size();
/frameworks/av/drm/libdrmframework/plugins/common/util/src/
H A DMimeTypeUtil.cpp43 int size; // Number of bytes. e.g. "audio/" = 6 bytes member in struct:android::MimeGroup
49 int size; // Number of bytes. e.g. "x-mpeg" = 6 bytes member in struct:android::MimeTypeList
138 if (0 == strncmp(pMimeType, pGroup->pGroup, pGroup->size)) {
147 len = strlen (pMimeType+pGroup->size);
150 (len == pMimeItem->size) &&
151 (0 == strcmp(pMimeType+pGroup->size, pMimeItem->pMimeExt))) {
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorUtils.cpp57 size_t size; local
86 if (meta->findData(kKeyESDS, &type, &data, &size)) {
87 LOG1("displayMetaData kKeyESDS type=%d size=%d", type, size);
89 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
90 LOG1("displayMetaData kKeyAVCC data=0x%X type=%d size=%d",
91 *((unsigned int*)data), type, size);
93 if (meta->findData(kKeyVorbisInfo, &type, &data, &size)) {
94 LOG1("displayMetaData kKeyVorbisInfo type=%d size=%d", type, size);
264 buildAVCCodecSpecificData(uint8_t **pOutputData, size_t *pOutputSize, const uint8_t *data, size_t size, MetaData *param) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A Dbase64.cpp25 if ((s.size() % 4) != 0) {
29 size_t n = s.size();
39 size_t outLen = 3 * s.size() / 4 - padding;
99 const void *_data, size_t size, AString *out) {
105 for (i = 0; i < (size / 3) * 3; i += 3) {
115 switch (size % 3) {
98 encodeBase64( const void *_data, size_t size, AString *out) argument
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp101 Media &item = mMediaItems.editItemAt(mMediaItems.size() - 1);
129 if (mSelectedIndex >= mMediaItems.size()) {
130 mSelectedIndex = mMediaItems.size() - 1;
154 mSelectedIndex = (rand() * mMediaItems.size()) / RAND_MAX;
165 if (index >= mMediaItems.size()) {
188 for (size_t i = 0; i < mMediaItems.size(); ++i) {
215 return mMediaItems.size();
219 for (size_t i = 0; i < mMediaItems.size(); ++i) {
234 const char *baseURI, const void *data, size_t size)
242 mInitCheck = parse(data, size);
233 M3UParser( const char *baseURI, const void *data, size_t size) argument
272 size_t M3UParser::size() { function in class:android::M3UParser
460 parse(const void *_data, size_t size) argument
[all...]

Completed in 598 milliseconds

1234567891011>>