/frameworks/av/cmds/stagefright/ |
H A D | codec.cpp | 183 0 /* offset */, 209 0 /* offset */, 245 size_t offset; local 250 &index, &offset, &size, &presentationTimeUs, &flags,
|
/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
|
H A D | IDrmManagerService.cpp | 528 const off64_t offset = reply.readInt64(); local 540 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset); 560 const off64_t offset = reply.readInt64(); local 572 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset); 614 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 621 data.writeInt64(offset); 779 ssize_t numBytes, off64_t offset) { 790 data.writeInt64(offset); 1238 reply->writeInt64(drmConvertedStatus->offset); 1269 reply->writeInt64(drmConvertedStatus->offset); 613 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 777 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument 1328 const off64_t offset = data.readInt64(); local 1504 const off64_t offset = data.readInt64(); local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 430 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 443 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime); 566 void* buffer, ssize_t numBytes, off64_t offset) { 572 result = drmEngine->pread(uniqueId, decryptHandle, buffer, numBytes, offset); 429 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 565 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
H A D | DrmManagerService.cpp | 203 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 206 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime); 269 void* buffer, ssize_t numBytes, off64_t offset) { 274 return mDrmManager->pread(uniqueId, decryptHandle, buffer, numBytes, offset); 202 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 268 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
|
H A D | DrmManagerClientImpl.cpp | 258 int uniqueId, int fd, off64_t offset, 262 uniqueId, fd, offset, length, mime); 326 void* buffer, ssize_t numBytes, off64_t offset) { 330 uniqueId, decryptHandle.get(), buffer, numBytes, offset); 257 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 325 pread(int uniqueId, sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | DrmEngineBase.h | 84 int fd, off64_t offset, off64_t length, const char* mime); 104 void* buffer, ssize_t numBytes, off64_t offset); 340 * the output converted data and offset. In this case the 341 * application will ignore the offset information. 357 * the application on which offset these signature data 378 * @param[in] offset Start position of the content 385 int fd, off64_t offset, off64_t length) = 0; 393 * @param[in] offset Start position of the content 402 int fd, off64_t offset, off64_t length, 516 * @param[in] offset Offse 400 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 288 * the output converted data and offset. In this case the 289 * application will ignore the offset information. 298 * the entire data used over a conversion session. This signature must be copied to the offset 305 * the application about the file offset at which this 326 * @param offset Start position of the content 334 int fd, off64_t offset, off64_t length); 338 int fd, int offset, int length); 457 * @param offset Offset with which to update the file position. 467 off64_t offset, 472 off_t offset, 535 off_t offset; member in class:android::FwdLockEngine::DecodeSession [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 403 int offset = -1; local 427 offset = convSession->output.fromConvertData.errorPos; 431 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset); 438 int offset = -1; local 449 offset = convSession->output.fromCloseSession.fileOffset; 462 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset); 469 off64_t offset, 475 int offset, 493 -1 < ::lseek(fileDesc, offset, SEEK_SET) && 541 // offset i 466 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument 642 onLseek(int uniqueId, DecryptHandle* decryptHandle, off64_t offset, int whence) argument 662 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
H A D | FwdLockFile.c | 313 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence) { argument 322 newFilePos = lseek64(pSession->fileDesc, pSession->dataOffset + offset, whence); 326 newFilePos = lseek64(pSession->fileDesc, offset, whence);
|
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
H A D | DrmPassthruPlugIn.cpp | 228 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, convertedData, 0 /*offset*/); 233 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, NULL, 0 /*offset*/); 237 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) { 301 void* buffer, ssize_t numBytes, off64_t offset) { 236 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument 300 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
/frameworks/av/include/drm/ |
H A D | DrmConvertedStatus.h | 26 * data/checksum data and the offset. Offset is going to be used in the case of close 61 int offset; member in class:android::DrmConvertedStatus
|
/frameworks/av/include/media/stagefright/ |
H A D | DataSource.h | 53 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0; 56 bool getUInt16(off64_t offset, uint16_t *x); 65 virtual status_t reconnectAtOffset(off64_t offset) { argument
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ABuffer.h | 41 size_t offset() const { return mRangeOffset; } function in struct:android::ABuffer 43 void setRange(size_t offset, size_t size);
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 71 status_t VideoEditorPlayer::setDataSource(int fd, int64_t offset, argument 73 ALOGE("setDataSource(%d, %lld, %lld) Not supported", fd, offset, length);
|
/frameworks/av/libvideoeditor/osal/src/ |
H A D | LVOSA_FileReader_optim.c | 195 M4OSA_FilePosition offset; local 205 offset = pos - apContext->buffer[i].filepos; 207 copysize = apContext->buffer[i].size - offset; 210 memcpy((void *)pData, (void *)(apContext->buffer[i].data + offset), copysize); 830 * From the current position (signed offset) : end position = current position + position.
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4PCMR_CoreReader.c | 487 M4OSA_UInt32 offset; local 507 offset = 511 if (offset%alignment != 0) 513 offset -= offset%alignment; 515 /*add the header offset*/ 516 offset += c->m_dataStartOffset; 518 if (offset > (c->m_dataStartOffset + c->m_decoderConfig.DataLength)) 525 size_read = offset; 533 c->m_offset = offset [all...] |
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
|
H A D | M4VD_Tools.c | 59 M4OSA_UInt8 offset, M4OSA_UInt8 nb_bits) 64 input = (input << (32 - nb_bits - offset)); 71 if((j*8)+i >= offset && (j*8)+i < nb_bits + offset) 85 if((j*8)+i >= offset && (j*8)+i < nb_bits + offset) 87 temp = ((input & (0x80000000 >> offset)) >> (31-offset)); 57 M4VD_Tools_WriteBitsToMemory(M4OSA_UInt32 bitsToWrite, M4OSA_MemAddr32 dest_bits, M4OSA_UInt8 offset, M4OSA_UInt8 nb_bits) argument
|
H A D | M4VSS3GPP_AudioMixing.c | 379 * Use offset to give a correct CTS ... */ 403 /* For Audio the progress computation is based on dAto and offset, 1961 M4OSA_UInt16 offset; local 1963 M4OSA_TRACE2_3(" VIDEO step : dVTo = %f state = %d offset = %ld", 1998 offset = 0; 2005 offset = 4; 2007 pC->pInputClipCtxt->VideoAU.m_size -= offset; 2022 (void *)(pC->pInputClipCtxt->VideoAU.m_dataAddress + offset), 2068 M4OSA_TRACE2_3(" AUDIO mix : dATo = %f state = %d offset = %ld", 2426 M4OSA_TRACE2_3(" AUDIO repl : dATo = %f state = %d offset [all...] |
H A D | M4VSS3GPP_EditVideo.c | 134 M4OSA_UInt16 offset; local 296 offset = 0; 301 offset = 4; 303 pC->ewc.WriterVideoAU.size = pC->pC1->VideoAU.m_size - offset; 314 (void *)(pC->pC1->VideoAU.m_dataAddress + offset), 767 * Add current video output CTS to the clip offset 769 * offset can't be updated yet). */ 2038 * It is done with integers because the offset and begin cut have been rounded already. */ 2209 * the offset between system and video time (MPEG4 only) 2267 /* video time = ceil (system time + offset) */ [all...] |
H A D | M4xVSS_API.c | 4758 M4OSA_UInt32 offset = 0; local
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorAudioDecoder.cpp | 330 M4OSA_UInt32 offset = 0; local 340 err = VideoEditorAudioDecoder_getBits(pDSI, dsiSize, 5, &result, &offset); 367 err = VideoEditorAudioDecoder_getBits(pDSI, dsiSize, 4, &result, &offset); 375 err = VideoEditorAudioDecoder_getBits(pDSI, dsiSize, 4, &result, &offset);
|
/frameworks/av/media/libmedia/ |
H A D | IMediaMetadataRetriever.cpp | 107 status_t setDataSource(int fd, int64_t offset, int64_t length) argument 112 data.writeInt64(offset); 201 int64_t offset = data.readInt64(); local 203 reply->writeInt32(setDataSource(fd, offset, length));
|