Home
last modified time | relevance | path

Searched refs:data_offset (Results 1 – 10 of 10) sorted by relevance

/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.h123 status_t parseQTMetaKey(off64_t data_offset, size_t data_size);
124 status_t parseQTMetaVal(int32_t keyId, off64_t data_offset, size_t data_size);
144 status_t parseDrmSINF(off64_t *offset, off64_t data_offset);
146 status_t parseTrackHeader(off64_t data_offset, off64_t data_size);
148 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/av/media/libstagefright/
DSampleTable.cpp175 uint32_t type, off64_t data_offset, size_t data_size) { in setChunkOffsetParams() argument
182 mChunkOffsetOffset = data_offset; in setChunkOffsetParams()
191 data_offset, header, sizeof(header)) < (ssize_t)sizeof(header)) { in setChunkOffsetParams()
216 off64_t data_offset, size_t data_size) { in setSampleToChunkParams() argument
222 if (data_offset < 0) { in setSampleToChunkParams()
226 mSampleToChunkOffset = data_offset; in setSampleToChunkParams()
234 data_offset, header, sizeof(header)) < (ssize_t)sizeof(header)) { in setSampleToChunkParams()
313 uint32_t type, off64_t data_offset, size_t data_size) { in setSampleSizeParams() argument
320 mSampleSizeOffset = data_offset; in setSampleSizeParams()
328 data_offset, header, sizeof(header)) < (ssize_t)sizeof(header)) { in setSampleSizeParams()
[all …]
DMPEG4Extractor.cpp621 off64_t * /* offset */, off64_t data_offset) { in parseDrmSINF() argument
623 if (mDataSource->readAt(data_offset, &updateIdTag, 1) < 1) { in parseDrmSINF()
626 data_offset ++; in parseDrmSINF()
633 int32_t size = readSize(data_offset, mDataSource, &numOfBytes); in parseDrmSINF()
637 data_offset += numOfBytes; in parseDrmSINF()
641 if (mDataSource->readAt(data_offset, &descriptorTag, 1) < 1) { in parseDrmSINF()
644 data_offset ++; in parseDrmSINF()
652 if (mDataSource->readAt(data_offset, buffer, 2) < 2) { in parseDrmSINF()
655 data_offset += 2; in parseDrmSINF()
661 if (mDataSource->readAt(data_offset, buffer, 8) < 8) { in parseDrmSINF()
[all …]
DESDS.cpp73 uint8_t *tag, size_t *data_offset, size_t *data_size) const { in skipDescriptorHeader() argument
102 *data_offset = offset; in skipDescriptorHeader()
109 size_t data_offset; in parse() local
112 skipDescriptorHeader(0, mSize, &tag, &data_offset, &data_size); in parse()
122 return parseESDescriptor(data_offset, data_size); in parse()
DItemTable.cpp121 off64_t data_offset = *offset + 8; in parseChunk() local
128 data_offset += 8; in parseChunk()
148 off64_t chunk_data_size = chunk_size - (data_offset - *offset); in parseChunk()
154 status_t err = onChunkData(chunk_type, data_offset, chunk_data_size); in parseChunk()
1168 status_t ItemTable::parse(uint32_t type, off64_t data_offset, size_t chunk_data_size) { in parse() argument
1172 return parseIlocBox(data_offset, chunk_data_size); in parse()
1176 return parseIinfBox(data_offset, chunk_data_size); in parse()
1180 return parseIprpBox(data_offset, chunk_data_size); in parse()
1184 return parsePitmBox(data_offset, chunk_data_size); in parse()
1188 return parseIdatBox(data_offset, chunk_data_size); in parse()
[all …]
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp217 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent_l()
220 event->data_offset); in prepareRecognitionEvent_l()
221 event->data_offset = sizeof(struct sound_trigger_phrase_recognition_event); in prepareRecognitionEvent_l()
224 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent_l()
227 event->data_offset); in prepareRecognitionEvent_l()
228 event->data_offset = sizeof(struct sound_trigger_generic_recognition_event); in prepareRecognitionEvent_l()
231 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent_l()
234 event->data_offset); in prepareRecognitionEvent_l()
235 event->data_offset = sizeof(struct sound_trigger_recognition_event); in prepareRecognitionEvent_l()
241 size_t size = event->data_offset + event->data_size; in prepareRecognitionEvent_l()
[all …]
DSoundTriggerHalHidl.cpp380 …halModel->data.setToExternal((uint8_t *)soundModel + soundModel->data_offset, soundModel->data_siz… in convertSoundModelToHal()
430 halConfig->data.setToExternal((uint8_t *)config + config->data_offset, config->data_size); in convertRecognitionConfigToHal()
527 event->data_offset = sizeof(struct sound_trigger_model_event); in convertSoundModelEventFromHal()
529 uint8_t *dst = (uint8_t *)event + event->data_offset; in convertSoundModelEventFromHal()
575 event->data_offset = sizeof(sound_trigger_phrase_recognition_event); in convertRecognitionEventFromHal()
582 event->data_offset = sizeof(sound_trigger_recognition_event); in convertRecognitionEventFromHal()
597 uint8_t *dst = (uint8_t *)event + event->data_offset; in convertRecognitionEventFromHal()
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp218 memcpy(nData, (char *)event + event->data_offset, event->data_size); in onRecognitionEvent()
318 memcpy(nData, (char *)event + event->data_offset, event->data_size); in onSoundModelEvent()
600 nSoundModel->data_offset = offset; in android_hardware_SoundTrigger_loadSoundModel()
733 config->data_offset = sizeof(struct sound_trigger_recognition_config); in android_hardware_SoundTrigger_startRecognition()