Lines Matching defs:offset
221 int SoundPool::load(int fd, int64_t offset, int64_t length, int priority __unused)
223 ALOGV("load: fd=%d, offset=%" PRId64 ", length=%" PRId64 ", priority=%d",
224 fd, offset, length, priority);
229 sp<Sample> sample = new Sample(sampleID, fd, offset, length);
472 Sample::Sample(int sampleID, int fd, int64_t offset, int64_t length)
477 mOffset = offset;
479 ALOGV("create sampleID=%d, fd=%d, offset=%" PRId64 " length=%" PRId64,
503 static status_t decode(int fd, int64_t offset, int64_t length,
507 ALOGV("fd %d, offset %" PRId64 ", size %" PRId64, fd, offset, length);
509 status_t err = AMediaExtractor_setDataSourceFd(ex, fd, offset, length);
571 0 /* offset */, sampleSize, presentationTimeUs,
602 memcpy(writePos, buf + info.offset, dataSize);