/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 124 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 D | DrmManagerClient.cpp | 120 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 D | M4VD_EXTERNAL_BitstreamParser.c | 92 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 D | IMediaPlayerService.cpp | 101 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 D | JetPlayer.cpp | 341 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 D | mediarecorder.cpp | 287 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 D | MediaPlayerFactory.cpp | 115 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 D | MediaRecorderClient.cpp | 167 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 D | MidiFile.cpp | 65 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 D | StagefrightPlayer.cpp | 63 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 D | GenericSource.cpp | 51 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 D | NuPlayerDriver.cpp | 78 status_t NuPlayerDriver::setDataSource(int fd, int64_t offset, int64_t length) { argument 81 mPlayer->setDataSource(fd, offset, length);
|
H A D | RTSPSource.cpp | 284 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 D | AMRExtractor.cpp | 101 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 D | NuMediaExtractor.cpp | 128 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 D | ChromiumHTTPDataSource.cpp | 61 off64_t offset) { 73 return connect_l(uri, headers, offset); 79 off64_t offset) { 86 "connect to <URL suppressed> @%lld", offset); 100 mCurrentOffset = offset; 102 mDelegate->initiateConnection(mURI.c_str(), &mHeaders, offset); 165 ssize_t ChromiumHTTPDataSource::readAt(off64_t offset, void *data, size_t size) { argument 182 if (offset != mCurrentOffset) { 188 status_t err = connect_l(tmp.c_str(), &tmpHeaders, offset); 327 status_t ChromiumHTTPDataSource::reconnectAtOffset(off64_t offset) { argument 58 connect( const char *uri, const KeyedVector<String8, String8> *headers, off64_t offset) argument 76 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 D | dpb.cpp | 268 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 D | findhalfpel.cpp | 159 /* 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 D | residual.cpp | 31 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 D | block_idct.cpp | 232 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 D | combined_decode.cpp | 555 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 D | datapart_decode.cpp | 624 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 D | mb_motion_comp.cpp | 142 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 D | bitstream_io.cpp | 422 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 D | combined_encode.cpp | 45 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...] |