Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DESDS.cpp73 uint8_t *tag, size_t *data_offset, size_t *data_size) const { in skipDescriptorHeader()
81 *data_size = 0; in skipDescriptorHeader()
91 *data_size = (*data_size << 7) | (x & 0x7f); in skipDescriptorHeader()
96 ALOGV("tag=0x%02x data_size=%zu", *tag, *data_size); in skipDescriptorHeader()
98 if (*data_size > size) { in skipDescriptorHeader()
110 size_t data_size; in parse() local
112 skipDescriptorHeader(0, mSize, &tag, &data_offset, &data_size); in parse()
122 return parseESDescriptor(data_offset, data_size); in parse()
DSampleTable.cpp167 uint32_t type, off64_t data_offset, size_t data_size) { in setChunkOffsetParams() argument
177 if (data_size < 8) { in setChunkOffsetParams()
195 if ((data_size - 8) / 4 < mNumChunkOffsets) { in setChunkOffsetParams()
199 if ((data_size - 8) / 8 < mNumChunkOffsets) { in setChunkOffsetParams()
208 off64_t data_offset, size_t data_size) { in setSampleToChunkParams() argument
215 if (data_size < 8) { in setSampleToChunkParams()
232 if ((data_size - 8) / 12 < mNumSampleToChunkOffsets) { in setSampleToChunkParams()
272 uint32_t type, off64_t data_offset, size_t data_size) { in setSampleSizeParams() argument
281 if (data_size < 12) { in setSampleSizeParams()
310 if (data_size < 12 + mNumSampleSizes * 4) { in setSampleSizeParams()
[all …]
DMPEG4Extractor.cpp2483 off64_t data_offset, off64_t data_size) { in parseTrackHeader() argument
2484 if (data_size < 4) { in parseTrackHeader()
2497 if (data_size != (off64_t)dynSize + 60) { in parseTrackHeader()
2502 data_offset, buffer, data_size) < (ssize_t)data_size) { in parseTrackHeader()
/frameworks/av/media/libstagefright/include/
DSampleTable.h42 uint32_t type, off64_t data_offset, size_t data_size);
44 status_t setSampleToChunkParams(off64_t data_offset, size_t data_size);
48 uint32_t type, off64_t data_offset, size_t data_size);
50 status_t setTimeToSampleParams(off64_t data_offset, size_t data_size);
53 off64_t data_offset, size_t data_size);
55 status_t setSyncSampleParams(off64_t data_offset, size_t data_size);
DMPEG4Extractor.h116 status_t parseQTMetaKey(off64_t data_offset, size_t data_size);
117 status_t parseQTMetaVal(int32_t keyId, off64_t data_offset, size_t data_size);
137 status_t parseTrackHeader(off64_t data_offset, off64_t data_size);
139 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.cpp240 static uint16_t ReadLE16(const uint8_t *data, size_t data_size, in ReadLE16() argument
242 if (read_offset + 1 > data_size) in ReadLE16()
261 static bool ParseOpusHeader(const uint8_t *data, size_t data_size, in ParseOpusHeader() argument
290 if (data_size < kOpusHeaderSize) { in ParseOpusHeader()
300 header->skip_samples = ReadLE16(data, data_size, in ParseOpusHeader()
303 ReadLE16(data, data_size, in ParseOpusHeader()
317 if (data_size < kOpusHeaderStreamMapOffset + header->channels) { in ParseOpusHeader()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp239 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent_l()
246 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent_l()
253 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent_l()
263 size_t size = event->data_offset + event->data_size; in prepareRecognitionEvent_l()
320 size_t size = event->data_offset + event->data_size; in prepareSoundModelEvent_l()
813 event.common.data_size = 0; in setCaptureState_l()
824 event.common.data_size = 0; in setCaptureState_l()
835 event.common.data_size = 0; in setCaptureState_l()
/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()
202 data.txn.data_size = sizeof(int); in binder_send_reply()
208 data.txn.data_size = reply->data - reply->data0; in binder_send_reply()
355 writebuf.txn.data_size = msg->data - msg->data0; in binder_call()
429 bio->data_avail = txn->data_size; in bio_init_from_txn()
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp215 if (event->data_size) { in onRecognitionEvent()
216 jData = env->NewByteArray(event->data_size); in onRecognitionEvent()
218 memcpy(nData, (char *)event + event->data_offset, event->data_size); in onRecognitionEvent()
315 if (event->data_size) { in onSoundModelEvent()
316 jData = env->NewByteArray(event->data_size); in onSoundModelEvent()
318 memcpy(nData, (char *)event + event->data_offset, event->data_size); in onSoundModelEvent()
599 nSoundModel->data_size = size; in android_hardware_SoundTrigger_loadSoundModel()
732 config->data_size = dataSize; in android_hardware_SoundTrigger_startRecognition()
/frameworks/native/libs/binder/
DIPCThreadState.cpp134 << "data=" << btd->data.ptr.buffer << " (" << (void*)btd->data_size in printBinderTransactionData()
784 tr.data_size, in waitForResponse()
792 tr.data_size, in waitForResponse()
799 tr.data_size, in waitForResponse()
940 tr.data_size = data.ipcDataSize(); in writeTransactionData()
947 tr.data_size = sizeof(status_t); in writeTransactionData()
1058 tr.data_size, in executeCommand()
/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()