Home
last modified time | relevance | path

Searched refs:data_size (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/media/libstagefright/
DESDS.cpp71 uint8_t *tag, size_t *data_offset, size_t *data_size) const { in skipDescriptorHeader()
79 *data_size = 0; in skipDescriptorHeader()
89 *data_size = (*data_size << 7) | (x & 0x7f); in skipDescriptorHeader()
94 ALOGV("tag=0x%02x data_size=%zu", *tag, *data_size); in skipDescriptorHeader()
96 if (*data_size > size) { in skipDescriptorHeader()
108 size_t data_size; in parse() local
110 skipDescriptorHeader(0, mSize, &tag, &data_offset, &data_size); in parse()
120 return parseESDescriptor(data_offset, data_size); in parse()
DSampleTable.cpp169 uint32_t type, off64_t data_offset, size_t data_size) { in setChunkOffsetParams() argument
179 if (data_size < 8) { in setChunkOffsetParams()
197 if (data_size < 8 + mNumChunkOffsets * 4) { in setChunkOffsetParams()
201 if (data_size < 8 + mNumChunkOffsets * 8) { in setChunkOffsetParams()
210 off64_t data_offset, size_t data_size) { in setSampleToChunkParams() argument
217 if (data_size < 8) { in setSampleToChunkParams()
234 if (data_size < 8 + mNumSampleToChunkOffsets * 12) { in setSampleToChunkParams()
266 uint32_t type, off64_t data_offset, size_t data_size) { in setSampleSizeParams() argument
275 if (data_size < 12) { in setSampleSizeParams()
303 if (data_size < 12 + mNumSampleSizes * 4) { in setSampleSizeParams()
[all …]
DMPEG4Extractor.cpp2360 off64_t data_offset, off64_t data_size) { in parseTrackHeader() argument
2361 if (data_size < 4) { in parseTrackHeader()
2374 if (data_size != (off64_t)dynSize + 60) { in parseTrackHeader()
2379 data_offset, buffer, data_size) < (ssize_t)data_size) { in parseTrackHeader()
/frameworks/av/media/libstagefright/include/
DSampleTable.h41 uint32_t type, off64_t data_offset, size_t data_size);
43 status_t setSampleToChunkParams(off64_t data_offset, size_t data_size);
47 uint32_t type, off64_t data_offset, size_t data_size);
49 status_t setTimeToSampleParams(off64_t data_offset, size_t data_size);
52 off64_t data_offset, size_t data_size);
54 status_t setSyncSampleParams(off64_t data_offset, size_t data_size);
DMPEG4Extractor.h114 status_t parseQTMetaKey(off64_t data_offset, size_t data_size);
115 status_t parseQTMetaVal(int32_t keyId, off64_t data_offset, size_t data_size);
135 status_t parseTrackHeader(off64_t data_offset, off64_t data_size);
137 status_t parseSegmentIndex(off64_t data_offset, size_t data_size);
DESDS.h61 uint8_t *tag, size_t *data_offset, size_t *data_size) const;
/frameworks/compile/mclinker/lib/LD/
DELFBinaryReader.cpp54 size_t data_size = pInput.memArea()->size(); in readBinary() local
55 Fragment* frag = m_Builder.CreateRegion(pInput, 0x0, data_size); in readBinary()
106 data_size, in readBinary()
116 data_size, in readBinary()
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp224 static uint16_t ReadLE16(const uint8_t *data, size_t data_size, in ReadLE16() argument
226 if (read_offset + 1 > data_size) in ReadLE16()
245 static bool ParseOpusHeader(const uint8_t *data, size_t data_size, in ParseOpusHeader() argument
274 if (data_size < kOpusHeaderSize) { in ParseOpusHeader()
284 header->skip_samples = ReadLE16(data, data_size, in ParseOpusHeader()
287 ReadLE16(data, data_size, in ParseOpusHeader()
301 if (data_size < kOpusHeaderStreamMapOffset + header->channels) { in ParseOpusHeader()
/frameworks/native/cmds/servicemanager/
Dbinder.c52 … txn->sender_pid, txn->sender_euid, (uint64_t)txn->data_size, (uint64_t)txn->offsets_size); in binder_dump_txn()
53 hexdump((void *)(uintptr_t)txn->data.ptr.buffer, txn->data_size); in binder_dump_txn()
190 data.txn.data_size = sizeof(int); in binder_send_reply()
196 data.txn.data_size = reply->data - reply->data0; in binder_send_reply()
339 writebuf.txn.data_size = msg->data - msg->data0; in binder_call()
413 bio->data_avail = txn->data_size; in bio_init_from_txn()
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp206 if (event->data_size) { in onRecognitionEvent()
207 jData = env->NewByteArray(event->data_size); in onRecognitionEvent()
209 memcpy(nData, (char *)event + event->data_offset, event->data_size); in onRecognitionEvent()
300 if (event->data_size) { in onSoundModelEvent()
301 jData = env->NewByteArray(event->data_size); in onSoundModelEvent()
303 memcpy(nData, (char *)event + event->data_offset, event->data_size); in onSoundModelEvent()
581 nSoundModel->data_size = size; in android_hardware_SoundTrigger_loadSoundModel()
712 config->data_size = dataSize; in android_hardware_SoundTrigger_startRecognition()
/frameworks/native/libs/binder/
DIPCThreadState.cpp132 << "data=" << btd->data.ptr.buffer << " (" << (void*)btd->data_size in printBinderTransactionData()
763 tr.data_size, in waitForResponse()
771 tr.data_size, in waitForResponse()
778 tr.data_size, in waitForResponse()
919 tr.data_size = data.ipcDataSize(); in writeTransactionData()
926 tr.data_size = sizeof(status_t); in writeTransactionData()
1037 tr.data_size, in executeCommand()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp238 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent_l()
245 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent_l()
255 size_t size = event->data_offset + event->data_size; in prepareRecognitionEvent_l()
312 size_t size = event->data_offset + event->data_size; in prepareSoundModelEvent_l()
805 phraseEvent.common.data_size = 0; in setCaptureState_l()
/frameworks/base/media/mca/filterfw/native/core/
Dgl_frame.cpp183 bool GLFrame::WriteData(const uint8_t* data, int data_size) { in WriteData() argument
184 return (data_size == Size()) ? UploadTexturePixels(data) : false; in WriteData()
/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp230 .data_size = 0, in TEST_F()
271 EXPECT_EQ(0u, br.arg2.data_size); in TEST_F()
/frameworks/av/camera/
DCameraMetadata.cpp303 size_t data_size = calculate_camera_metadata_entry_data_size(type, in updateImpl() local
306 res = resizeIfNeeded(1, data_size); in updateImpl()