/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 503 // arg2 = offset (blob) 504 // Must be after blob since we don't know offset until after writeBlob. 511 const size_t offset = static_cast<size_t>(offsetTmp); local 512 if (offset >= alignment) { 513 ALOGE("%s: metadata offset(%zu) should be less than alignment(%zu)", 519 const uintptr_t metadataStart = reinterpret_cast<uintptr_t>(blob.data()) + offset; 522 ALOGV("%s: alignment is: %zu, metadata start: %p, offset: %zu", 523 __FUNCTION__, alignment, tmp, offset); 563 * | arg2: offset | 577 * offset befor 587 size_t offset = 0; local [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | TextRenderer.cpp | 47 // we move down a line (i.e. the Y offset changes). The offset increases 50 uint16_t offset = 0; local 55 offset = 0; 57 mXOffset[i] = offset; 58 offset += FontBitmap::glyphWidth[i] + 1;
|
H A D | screenrecord.cpp | 274 printf("Rotated content area is %ux%u at offset x=%d y=%d\n", 277 printf("Content area is %ux%u at offset x=%d y=%d\n", 340 size_t bufIndex, offset, size; local 352 err = encoder->dequeueOutputBuffer(&bufIndex, &offset, &size, &ptsUsec,
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 492 dstBuffer->setRange(abuffer->offset(), abuffer->size()); 499 dstBuffer->offset(),
|
H A D | codec.cpp | 182 buffer->setRange(abuffer->offset(), abuffer->size()); 192 0 /* offset */, 218 0 /* offset */, 254 size_t offset; local 259 &index, &offset, &size, &presentationTimeUs, &flags,
|
H A D | mediafilter.cpp | 143 size_t offset; member in struct:android::DecodedFrame 231 filterIndex, 0 /* offset */, destBuffer->size(), 242 filterIndex, 0 /* offset */, destBuffer->size(), 257 size_t offset; local 262 &index, &offset, &size, &presentationTimeUs, &flags, 540 buffer->setRange(abuffer->offset(), abuffer->size()); 549 index, 0 /* offset */, buffer->size(), 572 index, 0 /* offset */, 0 /* size */, 597 &frame.index, &frame.offset, &frame.size,
|
H A D | stream.cpp | 99 off64_t offset = 0; 100 CHECK((offset % 188) == 0); 102 lseek(mFd, offset, SEEK_SET);
|
/frameworks/av/drm/common/ |
H A D | DrmConvertedStatus.cpp | 25 offset(_offset) {
|
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 | 521 const off64_t offset = reply.readInt64(); local 533 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset); 553 const off64_t offset = reply.readInt64(); local 565 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset); 607 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 614 data.writeInt64(offset); 774 ssize_t numBytes, off64_t offset) { 785 data.writeInt64(offset); 1238 reply->writeInt64(drmConvertedStatus->offset); 1269 reply->writeInt64(drmConvertedStatus->offset); 606 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 772 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument 1328 const off64_t offset = data.readInt64(); local 1525 const off64_t offset = data.readInt64(); local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 400 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 413 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime); 536 void* buffer, ssize_t numBytes, off64_t offset) { 542 result = drmEngine->pread(uniqueId, decryptHandle, buffer, numBytes, offset); 399 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 535 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
H A D | DrmManagerService.cpp | 266 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) { 269 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime); 332 void* buffer, ssize_t numBytes, off64_t offset) { 337 return mDrmManager->pread(uniqueId, decryptHandle, buffer, numBytes, offset); 265 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 331 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 | 260 int uniqueId, int fd, off64_t offset, 264 uniqueId, fd, offset, length, mime); 328 void* buffer, ssize_t numBytes, off64_t offset) { 332 uniqueId, decryptHandle.get(), buffer, numBytes, offset); 259 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument 327 pread(int uniqueId, sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
|
/frameworks/av/drm/libdrmframework/include/ |
H A D | DrmManager.h | 113 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime); 131 void* buffer, ssize_t numBytes, off64_t offset);
|
H A D | DrmManagerClientImpl.h | 263 * the output converted data and offset. In this case the 264 * application will ignore the offset information. 279 * the application on which offset these signature data 302 * @param[in] offset Start position of the content 309 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime); 396 * @param[in] offset Offset with which to update the file position. 401 void* buffer, ssize_t numBytes, off64_t offset);
|
H A D | DrmManagerService.h | 119 int uniqueId, int fd, off64_t offset, off64_t length, const char *mime); 138 void* buffer, ssize_t numBytes, off64_t offset);
|
H A D | IDrmManagerService.h | 142 int uniqueId, int fd, off64_t offset, 163 void* buffer, ssize_t numBytes,off64_t offset) = 0; 229 int uniqueId, int fd, off64_t offset, off64_t length, 250 void* buffer, ssize_t numBytes, off64_t offset);
|
H A D | NoOpDrmManagerClientImpl.h | 56 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime); 68 void* buffer, ssize_t numBytes, off64_t offset);
|
/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 */, 518 * @param[in] offset Offse [all...] |
H A D | IDrmEngine.h | 284 * the output converted data and offset. In this case the 285 * application will ignore the offset information. 301 * the application on which offset these signature data 322 * @param[in] offset Start position of the content 331 int fd, off64_t offset, off64_t length, const char* mime) = 0; 423 * @param[in] offset Offset with which to update the file position. 428 void* buffer, ssize_t numBytes, off64_t offset) = 0;
|
/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 | 409 int offset = -1; local 433 offset = convSession->output.fromConvertData.errorPos; 437 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset); 444 int offset = -1; local 455 offset = convSession->output.fromCloseSession.fileOffset; 468 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset); 475 off64_t offset, 481 int offset, 499 -1 < ::lseek(fileDesc, offset, SEEK_SET) && 547 // offset i 472 onOpenDecryptSession(int , DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t ) argument 653 onLseek(int , DecryptHandle* decryptHandle, off64_t offset, int whence) argument 673 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.h | 53 /// The offset in the produced output file where the signatures are located. 96 * @param[in] offset The offset with which to update the file position. 102 typedef off64_t FwdLockConv_LSeekFunc_t(int fileDesc, off64_t offset, int whence); 199 * file format. The caller must update the produced output file at the indicated file offset with
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
H A D | FwdLockFile.c | 316 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence) { argument 325 newFilePos = lseek64(pSession->fileDesc, pSession->dataOffset + offset, whence); 329 newFilePos = lseek64(pSession->fileDesc, offset, whence);
|