Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/mp4/
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);
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.cpp754 off64_t data_offset = *offset + 8; in parseChunk() local
761 data_offset += 8; in parseChunk()
814 off64_t chunk_data_size = chunk_size - (data_offset - *offset); in parseChunk()
831 *offset = data_offset; in parseChunk()
932 *offset = data_offset; in parseChunk()
997 if (mDataSource->readAt(data_offset + 4, &scheme_type, 4) < 4) { in parseChunk()
1043 if (mDataSource->readAt(data_offset, &version, 1) < 1) { in parseChunk()
1048 if (!mDataSource->getUInt32(data_offset + 4, &entry_count)) { in parseChunk()
1056 off64_t entriesoffset = data_offset + 8; in parseChunk()
1093 if (mDataSource->readAt(data_offset, &original_fourcc, 4) < 4) { in parseChunk()
[all …]
DMPEG4Extractor.h126 status_t parseQTMetaKey(off64_t data_offset, size_t data_size);
127 status_t parseQTMetaVal(int32_t keyId, off64_t data_offset, size_t data_size);
136 status_t parseTrackHeader(off64_t data_offset, off64_t data_size);
138 status_t parseSegmentIndex(off64_t data_offset, size_t data_size);
DItemTable.cpp129 off64_t data_offset = *offset + 8; in parseChunk() local
136 data_offset += 8; in parseChunk()
156 off64_t chunk_data_size = chunk_size - (data_offset - *offset); in parseChunk()
162 status_t err = onChunkData(chunk_type, data_offset, chunk_data_size); in parseChunk()
1214 status_t ItemTable::parse(uint32_t type, off64_t data_offset, size_t chunk_data_size) { in parse() argument
1218 return parseIlocBox(data_offset, chunk_data_size); in parse()
1222 return parseIinfBox(data_offset, chunk_data_size); in parse()
1226 return parseIprpBox(data_offset, chunk_data_size); in parse()
1230 return parsePitmBox(data_offset, chunk_data_size); in parse()
1234 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.cpp218 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent()
221 event->data_offset); in prepareRecognitionEvent()
222 event->data_offset = sizeof(struct sound_trigger_phrase_recognition_event); in prepareRecognitionEvent()
225 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent()
228 event->data_offset); in prepareRecognitionEvent()
229 event->data_offset = sizeof(struct sound_trigger_generic_recognition_event); in prepareRecognitionEvent()
232 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent()
235 event->data_offset); in prepareRecognitionEvent()
236 event->data_offset = sizeof(struct sound_trigger_recognition_event); in prepareRecognitionEvent()
242 size_t size = event->data_offset + event->data_size; in prepareRecognitionEvent()
[all …]
DSoundTriggerHalHidl.cpp480 …halModel->data.setToExternal((uint8_t *)soundModel + soundModel->data_offset, soundModel->data_siz… in convertSoundModelToHal()
539 halConfig->data.setToExternal((uint8_t *)config + config->data_offset, config->data_size); in convertRecognitionConfigToHal()
669 event->data_offset = sizeof(struct sound_trigger_model_event); in convertSoundModelEventFromHal()
671 uint8_t *dst = (uint8_t *)event + event->data_offset; in convertSoundModelEventFromHal()
709 phraseEvent->common.data_offset = sizeof(sound_trigger_phrase_recognition_event); in convertPhraseRecognitionEventFromHal()
734 event->data_offset = sizeof(sound_trigger_recognition_event); in convertRecognitionEventFromHal()
757 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.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()