Searched defs:offset (Results 151 - 175 of 447) sorted by relevance

1234567891011>>

/frameworks/av/drm/common/
H A DDrmEngineBase.cpp124 int fd, off64_t offset, off64_t length, const char* mime) {
127 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length);
130 return onOpenDecryptSession(uniqueId, decryptHandle, fd, offset, length, mime);
168 int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) {
169 return onPread(uniqueId, decryptHandle, buffer, numBytes, offset);
122 openDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument
167 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClient.cpp120 int fd, off64_t offset, off64_t length, const char* mime) {
123 mUniqueId, fd, offset, length, mime);
162 sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) {
163 return mDrmManagerClientImpl->pread(mUniqueId, decryptHandle, buffer, numBytes, offset);
119 openDecryptSession( int fd, off64_t offset, off64_t length, const char* mime) argument
161 pread( sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
/frameworks/av/libvideoeditor/vss/src/
H A DM4VD_EXTERNAL_BitstreamParser.c92 M4OSA_UInt8 offset, M4OSA_UInt8 nb_bits)
95 offset, nb_bits));
90 M4VD_EXTERNAL_WriteBitsToMemory(M4OSA_UInt32 bitsToWrite, M4OSA_MemAddr32 dest_bits, M4OSA_UInt8 offset, M4OSA_UInt8 nb_bits) argument
/frameworks/av/media/libmedia/
H A DIMediaPlayerService.cpp101 virtual sp<IMemory> decode(int fd, int64_t offset, int64_t length, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat) argument
106 data.writeInt64(offset);
195 int64_t offset = data.readInt64(); local
200 sp<IMemory> player = decode(fd, offset, length, &sampleRate, &numChannels, &format);
H A DJetPlayer.cpp341 mEasJetFileLoc->offset = 0;
353 int JetPlayer::loadFromFD(const int fd, const long long offset, const long long length) argument
355 ALOGV("JetPlayer::loadFromFD(): fd=%d offset=%lld length=%lld", fd, offset, length);
361 mEasJetFileLoc->offset = offset;
H A Dmediarecorder.cpp287 status_t MediaRecorder::setOutputFile(int fd, int64_t offset, int64_t length) argument
289 ALOGV("setOutputFile(%d, %lld, %lld)", fd, offset, length);
314 status_t ret = mMediaRecorder->setOutputFile(fd, offset, length);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp115 int64_t offset,
117 GET_PLAYER_TYPE_IMPL(client, fd, offset, length);
175 int64_t offset,
179 lseek(fd, offset, SEEK_SET);
181 lseek(fd, offset, SEEK_SET);
274 int64_t offset,
288 locator.offset = offset;
113 getPlayerType(const sp<IMediaPlayer>& client, int fd, int64_t offset, int64_t length) argument
173 scoreFactory(const sp<IMediaPlayer>& client, int fd, int64_t offset, int64_t length, float curScore) argument
272 scoreFactory(const sp<IMediaPlayer>& client, int fd, int64_t offset, int64_t length, float curScore) argument
H A DMediaRecorderClient.cpp167 status_t MediaRecorderClient::setOutputFile(int fd, int64_t offset, int64_t length) argument
169 ALOGV("setOutputFile(%d, %lld, %lld)", fd, offset, length);
175 return mRecorder->setOutputFile(fd, offset, length);
H A DMidiFile.cpp65 mFileLocator.offset = 0;
129 mFileLocator.offset = 0;
147 status_t MidiFile::setDataSource(int fd, int64_t offset, int64_t length) argument
159 mFileLocator.offset = offset;
398 mFileLocator.offset = 0;
H A DStagefrightPlayer.cpp63 status_t StagefrightPlayer::setDataSource(int fd, int64_t offset, int64_t length) { argument
64 ALOGV("setDataSource(%d, %lld, %lld)", fd, offset, length);
65 return mPlayer->setDataSource(dup(fd), offset, length);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp51 int fd, int64_t offset, int64_t length)
56 sp<DataSource> dataSource = new FileSource(dup(fd), offset, length);
50 GenericSource( int fd, int64_t offset, int64_t length) argument
H A DNuPlayerDriver.cpp78 status_t NuPlayerDriver::setDataSource(int fd, int64_t offset, int64_t length) { argument
81 mPlayer->setDataSource(fd, offset, length);
H A DRTSPSource.cpp284 size_t offset = 0; local
286 while (offset + 188 <= accessUnit->size()) {
288 accessUnit->data() + offset, 188);
293 offset += 188;
296 if (offset < accessUnit->size()) {
/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp101 off64_t offset, bool isWide, size_t *frameSize) {
103 if (source->readAt(offset, &header, 1) < 1) {
136 off64_t offset = mIsWide ? 9 : 6; local
142 while (offset < streamSize) {
143 if (getFrameSizeByOffset(source, offset, mIsWide, &frameSize) != OK) {
149 mOffsetTable[mOffsetTableLength] = offset - (mIsWide ? 9: 6);
153 offset += frameSize;
100 getFrameSizeByOffset(const sp<DataSource> &source, off64_t offset, bool isWide, size_t *frameSize) argument
H A DNuMediaExtractor.cpp128 status_t NuMediaExtractor::setDataSource(int fd, off64_t offset, off64_t size) { argument
136 sp<FileSource> fileSource = new FileSource(dup(fd), offset, size);
/frameworks/av/media/libstagefright/chromium_http/
H A DChromiumHTTPDataSource.cpp61 off64_t offset) {
70 return connect_l(uri, headers, offset);
76 off64_t offset) {
82 "connect to <URL suppressed> @%lld", offset);
95 mCurrentOffset = offset;
97 mDelegate->initiateConnection(mURI.c_str(), &mHeaders, offset);
160 ssize_t ChromiumHTTPDataSource::readAt(off64_t offset, void *data, size_t size) { argument
177 if (offset != mCurrentOffset) {
183 status_t err = connect_l(tmp.c_str(), &tmpHeaders, offset);
322 status_t ChromiumHTTPDataSource::reconnectAtOffset(off64_t offset) { argument
58 connect( const char *uri, const KeyedVector<String8, String8> *headers, off64_t offset) argument
73 connect_l( const char *uri, const KeyedVector<String8, String8> *headers, off64_t offset) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Ddpb.cpp268 int offset = 0; local
296 offset = ((video->PicWidthInSamplesL + 32) << 4) + 16; // offset to the origin
297 offsetc = (offset >> 2) + 4;
304 video->currPic->Sl = video->currFS->base_dpb + offset;
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dfindhalfpel.cpp159 /* to be optimized later based on byte-offset load */
163 dst -= 4; /* offset */
278 dst -= 24; // offset
329 dst -= 24; // offset
529 int offset = 1 - (384 * 7); local
556 c1 += offset;
592 c1 += offset;
H A Dresidual.cpp31 int offset; local
45 offset = video->PicWidthInSamplesL - 16;
70 pDst += offset;
71 pSrc += offset;
79 offset >>= 1;
103 pDst += offset;
104 pSrc += offset;
136 pDst += offset;
137 pSrc += offset;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dblock_idct.cpp232 int32 offset; local
235 offset = (int32)(y_pos << 4) * width + (x_pos << 4);
237 c_comp = currVop->yChan + offset;
238 cu_comp = currVop->uChan + (offset >> 2) + (x_pos << 2);
239 cv_comp = currVop->vChan + (offset >> 2) + (x_pos << 2);
531 /* preset the offset, such that we can take advantage pre-offset addressing mode */
629 int offset = width; local
727 comp += offset;
H A Dcombined_decode.cpp555 int32 offset = (int32)(y_pos << 4) * width + (x_pos << 4); local
666 c_comp = video->currVop->yChan + offset;
707 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4],
731 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5],
785 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4],
809 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5],
H A Ddatapart_decode.cpp624 int32 offset; local
715 offset = (int32)(y_pos << 4) * width + (x_pos << 4);
716 c_comp = video->currVop->yChan + offset;
755 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4],
775 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5],
H A Dmb_motion_comp.cpp142 int32 offset; local
182 /* offset to (x,y) position in current luminance MB */
185 offset = (int32)ypos * width + xpos;
192 imv = (offset >> 6) - (xpos >> 6) + (xpos >> 3);
253 c_comp = video->currVop->yChan + offset;
453 /* x position in prediction data offset by motion vector */
458 /* y position in prediction data offset by motion vector */
463 cu_comp = video->currVop->uChan + (offset >> 2) + (xpos >> 2);
464 cv_comp = video->currVop->vChan + (offset >> 2) + (xpos >> 2);
559 int32 offset; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dbitstream_io.cpp422 Int bitused, bitleft, offset, fraction; local
430 offset = fraction;
437 if (!offset) /* bitstream1 is byte-aligned */
442 offset += fraction;
446 if (bitstream1->byteCount + bitstream2->byteCount + offset > bitstream1->bufferSize)
448 if (PV_SUCCESS != BitstreamUseOverrunBuffer(bitstream1, bitstream2->byteCount + offset))
450 bitstream1->byteCount += (bitstream2->byteCount + offset);
H A Dcombined_encode.cpp45 Int offset = 0; local
139 getMotionCompensatedMB(video, ind_x, ind_y, offset);
159 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
207 offset += 16;
210 offset += (lx << 4) - width;
277 Int offset = video->offset; /* get current MB location */ local
404 getMotionCompensatedMB(video, ind_x, ind_y, offset);
427 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
490 video->offset
[all...]

Completed in 393 milliseconds

1234567891011>>