Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DSampleTable.cpp167 uint32_t type, off64_t data_offset, size_t data_size) { in setChunkOffsetParams() argument
174 mChunkOffsetOffset = data_offset; in setChunkOffsetParams()
183 data_offset, header, sizeof(header)) < (ssize_t)sizeof(header)) { in setChunkOffsetParams()
208 off64_t data_offset, size_t data_size) { in setSampleToChunkParams() argument
213 mSampleToChunkOffset = data_offset; in setSampleToChunkParams()
221 data_offset, header, sizeof(header)) < (ssize_t)sizeof(header)) { in setSampleToChunkParams()
272 uint32_t type, off64_t data_offset, size_t data_size) { in setSampleSizeParams() argument
279 mSampleSizeOffset = data_offset; in setSampleSizeParams()
287 data_offset, header, sizeof(header)) < (ssize_t)sizeof(header)) { in setSampleSizeParams()
336 off64_t data_offset, size_t data_size) { in setTimeToSampleParams() argument
[all …]
DMPEG4Extractor.cpp616 off64_t * /* offset */, off64_t data_offset) { in parseDrmSINF() argument
618 if (mDataSource->readAt(data_offset, &updateIdTag, 1) < 1) { in parseDrmSINF()
621 data_offset ++; in parseDrmSINF()
628 int32_t size = readSize(data_offset, mDataSource, &numOfBytes); in parseDrmSINF()
632 data_offset += numOfBytes; in parseDrmSINF()
636 if (mDataSource->readAt(data_offset, &descriptorTag, 1) < 1) { in parseDrmSINF()
639 data_offset ++; in parseDrmSINF()
647 if (mDataSource->readAt(data_offset, buffer, 2) < 2) { in parseDrmSINF()
650 data_offset += 2; in parseDrmSINF()
656 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()
/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);
135 status_t parseDrmSINF(off64_t *offset, off64_t data_offset);
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/av/services/soundtrigger/
DSoundTriggerHwService.cpp239 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent_l()
242 event->data_offset); in prepareRecognitionEvent_l()
243 event->data_offset = sizeof(struct sound_trigger_phrase_recognition_event); in prepareRecognitionEvent_l()
246 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent_l()
249 event->data_offset); in prepareRecognitionEvent_l()
250 event->data_offset = sizeof(struct sound_trigger_generic_recognition_event); in prepareRecognitionEvent_l()
253 ALOGW_IF(event->data_size != 0 && event->data_offset != in prepareRecognitionEvent_l()
256 event->data_offset); in prepareRecognitionEvent_l()
257 event->data_offset = sizeof(struct sound_trigger_recognition_event); in prepareRecognitionEvent_l()
263 size_t size = event->data_offset + event->data_size; in prepareRecognitionEvent_l()
[all …]
/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()