Searched refs:offset (Results 1 - 25 of 1102) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraMetadata.cpp503 // 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 DTextRenderer.cpp47 // 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 Dscreenrecord.cpp274 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 DSimplePlayer.cpp492 dstBuffer->setRange(abuffer->offset(), abuffer->size());
499 dstBuffer->offset(),
H A Dcodec.cpp182 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 Dmediafilter.cpp143 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 Dstream.cpp99 off64_t offset = 0;
100 CHECK((offset % 188) == 0);
102 lseek(mFd, offset, SEEK_SET);
/frameworks/av/drm/common/
H A DDrmConvertedStatus.cpp25 offset(_offset) {
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
H A DIDrmManagerService.cpp521 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 DDrmManager.cpp400 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 DDrmManagerService.cpp266 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 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
H A DDrmManagerClientImpl.cpp260 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 DDrmManager.h113 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime);
131 void* buffer, ssize_t numBytes, off64_t offset);
H A DDrmManagerClientImpl.h263 * 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 DDrmManagerService.h119 int uniqueId, int fd, off64_t offset, off64_t length, const char *mime);
138 void* buffer, ssize_t numBytes, off64_t offset);
H A DIDrmManagerService.h142 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 DNoOpDrmManagerClientImpl.h56 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 DDrmEngineBase.h84 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 DIDrmEngine.h284 * 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 DFwdLockEngine.h288 * 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 DFwdLockEngine.cpp409 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 DFwdLockConv.h53 /// 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 DFwdLockFile.c316 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);

Completed in 218 milliseconds

1234567891011>>