Home | History | Annotate | Download | only in camera

Lines Matching refs:blob

476     // Special case: zero blob size means zero sized (NULL) metadata.
483 ALOGE("%s: metadata blob is malformed, blobSize(%zu) should be larger than alignment(%zu)",
490 // NOTE: this doesn't make sense to me. shouldn't the blob
493 ReadableBlob blob;
494 // arg1 = metadata (blob)
496 if ((err = data.readBlob(blobSize, &blob)) != OK) {
497 ALOGE("%s: Failed to read metadata blob (sized %zu). Possible "
503 // arg2 = offset (blob)
504 // Must be after blob since we don't know offset until after writeBlob.
519 blob.data()) + offset;
532 blob.release();
558 * | arg1: blob |
575 * Always make the blob size sufficiently larger, as we need put alignment
576 * padding and metadata into the blob. Since we don't know the alignment
589 * arg1 = metadata (blob).
591 * The blob size is the sum of front padding size, metadata size and back padding
594 * The blob layout is:
595 * |------------------------------------|<----Start address of the blob (unaligned).
608 * |------------------------------------|<----End address of blob.
609 * (Blob start address + blob size).
611 WritableBlob blob;
613 res = data.writeBlob(blobSize, false, &blob);
617 const uintptr_t metadataStart = ALIGN_TO(blob.data(), alignment);
618 offset = metadataStart - reinterpret_cast<uintptr_t>(blob.data());
627 ALOGW("%s: Failed to validate metadata %p before writing blob",
632 blob.release();