Searched refs:size (Results 51 - 75 of 2165) sorted by relevance

1234567891011>>

/frameworks/av/include/media/stagefright/foundation/
H A Dhexdump.h28 const void *_data, size_t size,
/frameworks/av/media/libstagefright/include/
H A DDataUriSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
39 virtual status_t getSize(off64_t *size) { argument
44 *size = mData.size();
H A DESDS.h29 ESDS(const void *data, size_t size);
35 status_t getCodecSpecificInfo(const void **data, size_t *size) const;
36 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);
H A DFragmentedMP4Parser.h33 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
184 void enter(off64_t offset, uint32_t type, uint64_t size);
190 status_t need(size_t size);
191 bool fitsContainer(uint64_t size) const;
194 uint32_t type, size_t offset, uint64_t size);
197 uint32_t type, size_t offset, uint64_t size);
200 uint32_t type, size_t offset, uint64_t size);
203 uint32_t type, size_t offset, uint64_t size);
206 uint32_t type, size_t offset, uint64_t size);
209 uint32_t type, size_t offset, uint64_t size);
[all...]
/frameworks/base/core/java/android/util/
H A DContainerHelpers.java26 static int binarySearch(int[] array, int size, int value) { argument
28 int hi = size - 1;
45 static int binarySearch(long[] array, int size, long value) { argument
47 int hi = size - 1;
/frameworks/base/media/tests/omxjpegdecoder/
H A DStreamSource.cpp38 ssize_t StreamSource::readAt(off64_t offset, void *data, size_t size) { argument
43 ssize_t result = mStream->read(data, size);
48 status_t StreamSource::getSize(off64_t *size) { argument
49 *size = mSize;
/frameworks/rs/cpu_ref/linkloader/include/impl/
H A DELFSectionRelTable.hxx31 for (size_t i = 0; i < table.size(); ++i) {
45 for (size_t i = 0; i < this->size(); ++i) {
66 size_t size = sh->getSize() / sh->getEntrySize(); local
70 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelTy>::size);
71 for (size_t i = 0; i < size; ++i) {
76 rsl_assert(sh->getEntrySize() == TypeTraits<ELFRelocRelaTy>::size);
77 for (size_t i = 0; i < size; ++i) {
98 for (size_t i = 0; i < size(); ++i) {
111 return sym_index_set.size();
118 for (size_t i = 0; i < size();
[all...]
H A DELFSectionSymTab.hxx26 for (size_t i = 0; i < table.size(); ++i) {
34 for (size_t i = 0; i < table.size(); ++i) {
45 for (size_t i = 0; i < table.size(); ++i) {
55 for (size_t i = 0; i < table.size(); ++i) {
76 ELFSectionSymTab<Bitwidth>::getFuncNameList(size_t size, argument
78 for (size_t i = 0, j = 0; i < table.size() && j < size; ++i) {
94 // Assert that entry size will be the same as standard.
95 rsl_assert(sh->getEntrySize() == TypeTraits<ELFSymbolTy>::size);
101 size_t size local
[all...]
/frameworks/av/camera/camera2/
H A DCaptureRequest.cpp46 int32_t size; local
47 if ((err = parcel->readInt32(&size)) != OK) {
48 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__);
51 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size);
54 for (int i = 0; i < size; ++i) {
99 int32_t size = static_cast<int32_t>(mSurfaceList.size()); local
102 parcel->writeInt32(size);
104 for (int32_t i = 0; i < size;
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp59 static bool IsSeeminglyValidADTSHeader(const uint8_t *ptr, size_t size) { argument
60 if (size < 3) {
86 static bool IsSeeminglyValidMPEGAudioHeader(const uint8_t *ptr, size_t size) { argument
87 if (size < 3) {
124 const void *data, size_t size, int64_t timeUs) {
125 if (mBuffer == NULL || mBuffer->size() == 0) {
131 if (size < 4 || memcmp("\x00\x00\x00\x01", data, 4)) {
138 for (size_t i = 0; i + 3 < size; ++i) {
156 size -= startOffset;
164 if (size <
123 appendData( const void *data, size_t size, int64_t timeUs) argument
496 fetchTimestamp(size_t size) argument
537 size_t size = mBuffer->size(); local
645 size_t size = mBuffer->size(); local
706 EncodeSize14(uint8_t **_ptr, size_t size) argument
748 size_t size = mBuffer->size(); local
853 getNextChunkSize( const uint8_t *data, size_t size) argument
879 size_t size = mBuffer->size(); local
[all...]
/frameworks/av/services/medialog/
H A DMediaLogService.cpp29 void MediaLogService::registerWriter(const sp<IMemory>& shared, size_t size, const char *name) argument
32 size < kMinSize || size > kMaxSize || name == NULL ||
33 shared->size() < NBLog::Timeline::sharedSize(size)) {
36 sp<NBLog::Reader> reader(new NBLog::Reader(size, shared));
48 for (size_t i = 0; i < mNamedReaders.size(); ) {
74 for (size_t i = 0; i < namedReaders.size(); i++) {
/frameworks/base/media/mca/filterfw/native/core/
H A Dvertex_frame.h32 // Create a VertexFrame of the specified size (in bytes).
33 explicit VertexFrame(int size);
37 // Upload the given data to the vertex buffer. The size must match the size
39 // be able to fit within the allocated space (i.e. size must not exceed the
40 // frame's size).
41 bool WriteData(const uint8_t* data, int size);
43 // The size of the vertex buffer in bytes.
70 // The size of this frame in bytes
/frameworks/native/opengl/libagl/
H A DBufferObjectManager.cpp45 GLsizei n = mBuffers.size();
63 bo->size = 0;
70 GLsizeiptr size, GLenum usage)
73 if (size != bo->size) {
74 uint8_t* data = (uint8_t*)malloc(size);
79 bo->size = size;
69 allocateStore(buffer_t* bo, GLsizeiptr size, GLenum usage) argument
/frameworks/testing/androidtestlib/tests/src/com/android/test/runner/
H A DTestLoaderTest.java82 Assert.assertEquals(0, mLoader.getLoadedClasses().size());
83 Assert.assertEquals(0, mLoader.getLoadFailures().size());
89 Assert.assertEquals(0, mLoader.getLoadedClasses().size());
90 Assert.assertEquals(1, mLoader.getLoadFailures().size());
95 Assert.assertEquals(1, mLoader.getLoadedClasses().size());
96 Assert.assertEquals(0, mLoader.getLoadFailures().size());
103 Assert.assertEquals(0, mLoader.getLoadedClasses().size());
104 Assert.assertEquals(0, mLoader.getLoadFailures().size());
/frameworks/wilhelm/src/desktop/
H A DOutputMixExt.h32 void (*FillBuffer)(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
48 extern void IOutputMixExt_FillBuffer(SLOutputMixExtItf self, void *pBuffer, SLuint32 size);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegProcessor.cpp75 // Find out buffer size for JPEG
228 // Find size of JPEG image
230 if (jpegSize == 0) { // failed to find size, default to whole buffer
315 // Return the size of the JPEG, 0 indicates failure
317 size_t size; local
323 size = blob->jpeg_size;
324 if (size > 0 && size <= maxSize - sizeof(struct camera2_jpeg_blob)) {
326 size_t offset = size - MARKER_LENGTH;
329 ALOGV("Found JPEG transport header, img size
[all...]
/frameworks/base/libs/hwui/
H A DFboCache.cpp35 INIT_LOGD(" Setting fbo cache size to %s", property);
38 INIT_LOGD(" Using default fbo cache size of %d", DEFAULT_FBO_CACHE_SIZE);
51 return mCache.size();
63 for (size_t i = 0; i < mCache.size(); i++) {
72 if (mCache.size() > 0) {
73 fbo = mCache.itemAt(mCache.size() - 1);
74 mCache.removeAt(mCache.size() - 1);
82 if (mCache.size() < mMaxSize) {
/frameworks/av/media/libstagefright/
H A DFileSource.cpp87 ssize_t FileSource::readAt(off64_t offset, void *data, size_t size) { argument
99 if ((int64_t)size > numAvailable) {
100 size = numAvailable;
106 return readAtDRM(offset, data, size);
114 return ::read(mFd, data, size);
118 status_t FileSource::getSize(off64_t *size) { argument
125 *size = mLength;
158 ssize_t FileSource::readAtDRM(off64_t offset, void *data, size_t size) { argument
165 && (offset + mOffset + size) <= (mDrmBufOffset + mDrmBufSize)) {
167 memcpy(data, (void*)(mDrmBuf+(offset+mOffset-mDrmBufOffset)), size);
[all...]
H A DAVIExtractor.cpp173 size_t size; local
177 mTrackIndex, mSampleIndex, &offset, &size, &isKey, &timeUs);
188 ssize_t n = mExtractor->mDataSource->readAt(offset, out->data(), size);
190 if (n < (ssize_t)size) {
194 out->set_range(0, size);
240 CHECK(mBuffer == NULL || mBuffer->size() == 0);
246 memmove(mBuffer->base(), mBuffer->data(), mBuffer->size());
247 mBuffer->setRange(0, mBuffer->size());
251 || mBuffer->size() + buffer->range_length() > prevCapacity) {
257 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size());
422 parseChunk(off64_t offset, off64_t size, int depth) argument
589 parseStreamHeader(off64_t offset, size_t size) argument
669 parseStreamFormat(off64_t offset, size_t size) argument
767 parseIndex(off64_t offset, size_t size) argument
846 size_t size; local
882 size_t size; local
1003 size_t size; local
1051 size_t size; local
1104 getSampleInfo( size_t trackIndex, size_t sampleIndex, off64_t *offset, size_t *size, bool *isKey, int64_t *sampleTimeUs) argument
1166 size_t size; local
[all...]
H A DMetaData.cpp98 size_t size; local
99 if (!findData(key, &type, &data, &size) || type != TYPE_C_STRING) {
111 size_t size; local
112 if (!findData(key, &type, &data, &size) || type != TYPE_INT32) {
116 CHECK_EQ(size, sizeof(*value));
126 size_t size; local
127 if (!findData(key, &type, &data, &size) || type != TYPE_INT64) {
131 CHECK_EQ(size, sizeof(*value));
141 size_t size; local
142 if (!findData(key, &type, &data, &size) || typ
156 size_t size; local
174 size_t size; local
190 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument
258 setData( uint32_t type, const void *data, size_t size) argument
264 memcpy(storage(), data, size); local
274 allocateStorage(size_t size) argument
[all...]
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp39 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
43 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type,
45 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type,
49 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type,
51 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
55 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, argument
57 glColorPointer(size, type, stride, ptr);
63 void glTexCoordPointerBounds(GLint size, GLenum type, argument
65 glTexCoordPointer(size, type, stride, pointer);
67 void glVertexPointerBounds(GLint size, GLenu argument
77 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
82 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
[all...]
/frameworks/opt/emoji/
H A DEmojiFactory.cpp107 size_t size = g_factories->size(); local
108 for (size_t i = 0; i < size; ++i) {
125 size_t size = g_factories->size(); local
126 for (size_t i = 0; i < size; ++i) {
133 size_t size = g_handles->size(); local
134 for (size_t i = 0; i < size; ++i) {
153 size_t size local
166 size_t size = g_factories->size(); local
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAAVCAssembler.cpp81 size_t size = buffer->size(); local
83 if (size < 1 || (data[0] & 0x80)) {
127 ALOGV("addSingleNALUnit of size %d", buffer->size());
129 hexdump(buffer->data(), buffer->size());
145 size_t size = buffer->size(); local
147 if (size < 3) {
153 --size;
186 size_t size = buffer->size(); local
233 size_t size = buffer->size(); local
[all...]
/frameworks/av/media/libmedia/
H A DIEffectClient.cpp69 int size = cmdSize; local
71 size = 0;
73 data.writeInt32(size);
74 if (size) {
75 data.write(pCmdData, size);
77 size = replySize;
79 size = 0;
81 data.writeInt32(size);
82 if (size) {
83 data.write(pReplyData, size);
[all...]
/frameworks/av/media/libstagefright/mp4/
H A DTrackFragment.cpp40 if (mSampleIndex >= mSamples.size()) {
59 SampleInfo *sampleInfo = &mSamples.editItemAt(mSamples.size() - 1);
244 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) {
245 if (offset + 12 > size) {
256 if (sampleSize == 0 && offset + 12 + sampleCount * 4 != size) {
260 parser->copyBuffer(&mSampleSizes, offset, size);
268 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) {
269 if (offset + 12 > size) {
285 if (offset + 12 + (sampleCount * fieldSize + 4) / 8 != size) {
289 parser->copyBuffer(&mCompactSampleSizes, offset, size);
243 parseSampleSizes( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument
267 parseCompactSampleSizes( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument
296 parseSampleToChunk( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument
321 parseChunkOffsets( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument
342 parseChunkOffsets64( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument
[all...]

Completed in 3128 milliseconds

1234567891011>>