Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/mp4/
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 …]
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.cpp811 off64_t data_offset = *offset + 8; in parseChunk() local
818 data_offset += 8; in parseChunk()
871 off64_t chunk_data_size = chunk_size - (data_offset - *offset); in parseChunk()
888 *offset = data_offset; in parseChunk()
985 *offset = data_offset; in parseChunk()
1086 if (mDataSource->readAt(data_offset + 4, &scheme_type, 4) < 4) { in parseChunk()
1132 if (mDataSource->readAt(data_offset, &version, 1) < 1) { in parseChunk()
1137 if (!mDataSource->getUInt32(data_offset + 4, &entry_count)) { in parseChunk()
1146 off64_t entriesoffset = data_offset + 8; in parseChunk()
1183 if (mDataSource->readAt(data_offset, &original_fourcc, 4) < 4) { in parseChunk()
[all …]
DMPEG4Extractor.h161 status_t parseQTMetaKey(off64_t data_offset, size_t data_size);
162 status_t parseQTMetaVal(int32_t keyId, off64_t data_offset, size_t data_size);
171 status_t parseTrackHeader(off64_t data_offset, off64_t data_size);
173 status_t parseSegmentIndex(off64_t data_offset, size_t data_size);
DItemTable.cpp132 off64_t data_offset = *offset + 8; in parseChunk() local
139 data_offset += 8; in parseChunk()
159 off64_t chunk_data_size = chunk_size - (data_offset - *offset); in parseChunk()
165 status_t err = onChunkData(chunk_type, data_offset, chunk_data_size); in parseChunk()
1221 status_t ItemTable::parse(uint32_t type, off64_t data_offset, size_t chunk_data_size) { in parse() argument
1225 return parseIlocBox(data_offset, chunk_data_size); in parse()
1229 return parseIinfBox(data_offset, chunk_data_size); in parse()
1233 return parseIprpBox(data_offset, chunk_data_size); in parse()
1237 return parsePitmBox(data_offset, chunk_data_size); in parse()
1241 return parseIdatBox(data_offset, chunk_data_size); in parse()
[all …]
/frameworks/av/media/libstagefright/
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()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp237 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent()
240 event->data_offset); in prepareRecognitionEvent()
241 event->data_offset = sizeof(struct sound_trigger_phrase_recognition_event); in prepareRecognitionEvent()
244 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent()
247 event->data_offset); in prepareRecognitionEvent()
248 event->data_offset = sizeof(struct sound_trigger_generic_recognition_event); in prepareRecognitionEvent()
251 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent()
254 event->data_offset); in prepareRecognitionEvent()
255 event->data_offset = sizeof(struct sound_trigger_recognition_event); in prepareRecognitionEvent()
261 size_t size = event->data_offset + event->data_size; in prepareRecognitionEvent()
[all …]
DSoundTriggerHalHidl.cpp557 …halModel->data.setToExternal((uint8_t *)soundModel + soundModel->data_offset, soundModel->data_siz… in convertSoundModelToHal()
616 halConfig->data.setToExternal((uint8_t *)config + config->data_offset, config->data_size); in convertRecognitionConfigToHal()
746 event->data_offset = sizeof(struct sound_trigger_model_event); in convertSoundModelEventFromHal()
748 uint8_t *dst = (uint8_t *)event + event->data_offset; in convertSoundModelEventFromHal()
786 phraseEvent->common.data_offset = sizeof(sound_trigger_phrase_recognition_event); in convertPhraseRecognitionEventFromHal()
811 event->data_offset = sizeof(sound_trigger_recognition_event); in convertRecognitionEventFromHal()
834 uint8_t *dst = (uint8_t *)event + event->data_offset; in fillRecognitionEventFromHal()
/frameworks/av/media/libstagefright/include/
DESDS.h61 uint8_t *tag, size_t *data_offset, size_t *data_size) const;
/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp219 memcpy(nData, (char *)event + event->data_offset, event->data_size); in onRecognitionEvent()
331 memcpy(nData, (char *)event + event->data_offset, event->data_size); in onSoundModelEvent()
620 nSoundModel->data_offset = offset; in android_hardware_SoundTrigger_loadSoundModel()
753 config->data_offset = sizeof(struct sound_trigger_recognition_config); in android_hardware_SoundTrigger_startRecognition()