/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 175 ALOGE("Update metadata entry: Unknown tag %d", tag); 179 ALOGE("Mismatched tag type when updating entry %s (%d) of type %s; " 281 status_t CameraMetadata::update(const camera_metadata_ro_entry &entry) { argument 287 if ( (res = checkType(entry.tag, entry.type)) != OK) { 290 return updateImpl(entry.tag, (const void*)entry.data.u8, entry.count); 322 camera_metadata_entry_t entry; local 323 res = find_camera_metadata_entry(mBuffer, tag, &entry); 352 camera_metadata_ro_entry entry; local 358 camera_metadata_entry entry; local 374 camera_metadata_ro_entry entry; local 384 camera_metadata_entry_t entry; local [all...] |
H A D | CameraUtils.cpp | 41 camera_metadata_ro_entry_t entry = staticInfo.find(ANDROID_SENSOR_ORIENTATION); local 42 if (entry.count == 0) { 56 int orientation = entry.data.i32[0];
|
H A D | VendorTagDescriptor.cpp | 482 auto entry = mVendorMap.find(id); local 483 if (entry != mVendorMap.end()) { 494 auto entry = mVendorMap.find(id); local 495 if (entry == mVendorMap.end()) { 499 *desc = entry->second;
|
/frameworks/av/camera/ndk/ |
H A D | NdkCameraMetadata.cpp | 31 const ACameraMetadata* acm, uint32_t tag, ACameraMetadata_const_entry* entry) { 33 if (acm == nullptr || entry == nullptr) { 34 ALOGE("%s: invalid argument! metadata %p, tag 0x%x, entry %p", 35 __FUNCTION__, acm, tag, entry); 38 return acm->getConstEntry(tag, entry); 30 ACameraMetadata_getConstEntry( const ACameraMetadata* acm, uint32_t tag, ACameraMetadata_const_entry* entry) argument
|
H A D | NdkCaptureRequest.cpp | 90 const ACaptureRequest* req, uint32_t tag, ACameraMetadata_const_entry* entry) { 92 if (req == nullptr || entry == nullptr) { 93 ALOGE("%s: invalid argument! req 0x%p, tag 0x%x, entry 0x%p", 94 __FUNCTION__, req, tag, entry); 97 return req->settings->getConstEntry(tag, entry); 89 ACaptureRequest_getConstEntry( const ACaptureRequest* req, uint32_t tag, ACameraMetadata_const_entry* entry) argument
|
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraDevice.cpp | 80 camera_metadata_ro_entry entry = metadata.find(ANDROID_REQUEST_PARTIAL_RESULT_COUNT); local 81 if (entry.count != 1) { 82 ALOGW("%s: bad count %zu for partial result count", __FUNCTION__, entry.count); 85 mPartialResultCount = entry.data.i32[0]; 88 entry = metadata.find(ANDROID_LENS_INFO_SHADING_MAP_SIZE); 89 if (entry.count != 2) { 90 ALOGW("%s: bad count %zu for shading map size", __FUNCTION__, entry.count); 94 mShadingMapSize[0] = entry.data.i32[0]; 95 mShadingMapSize[1] = entry.data.i32[1];
|
H A D | ACameraMetadata.cpp | 65 camera_metadata_entry entry = mData.find(ANDROID_REQUEST_AVAILABLE_CAPABILITIES); local 66 if (entry.count == 0 || entry.type != TYPE_BYTE) { 68 __FUNCTION__, entry.count, entry.type); 73 capabilities.setCapacity(entry.count); 74 for (size_t i = 0; i < entry.count; i++) { 75 uint8_t capability = entry.data.u8[i]; 91 camera_metadata_entry entry = mData.find(ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS); local 92 if (entry 218 camera_metadata_ro_entry_t entry; local [all...] |
/frameworks/av/include/media/ |
H A D | PluginLoader.h | 31 PluginLoader(const char *dir, const char *entry) { argument 47 T *plugin = loadOne(path, entry); 70 T* loadOne(const char *path, const char *entry) { argument 78 (CreateFactoryFunc)library->lookup(entry); 80 ALOGV("Found plugin factory entry %s in %s", entry, path);
|
/frameworks/av/include/media/nbaio/ |
H A D | NBLog.h | 47 EVENT_INTEGER, // integer value entry 48 EVENT_FLOAT, // floating point value entry 50 EVENT_AUTHOR, // author index (present in merged logs) tracks entry's original log 51 EVENT_START_FMT, // logFormat start event: entry includes format string, following 58 // API for handling format entry operations 60 // a formatted entry has the following structure: 61 // * START_FMT entry, containing the format string 62 // * TIMESTAMP entry 63 // * author entry of the thread that generated it (optional, present in merged log) 67 // * END_FMT entry 77 struct entry { struct in class:android::NBLog::FormatEntry [all...] |
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | TiffWriter.h | 116 * Add an entry to the IFD with the given ID. 127 virtual status_t addEntry(const sp<TiffEntry>& entry, uint32_t ifd); 130 * Build an entry for a known tag and add it to the IFD with the given ID. 147 * Build an entry for a known tag. This tag must be one of the tags 150 * entry will be placed in the outEntry pointer. 179 * Return the TIFF entry with the given tag ID in the IFD with the given ID, 185 * Remove the TIFF entry with the given tag ID in the given IFD if it exists. 234 * Build an entry. No validation is done. 306 ALOGE("%s: Could not build entry for tag %x.", __FUNCTION__, tag); 316 TiffEntryImpl<T>* entry local [all...] |
/frameworks/av/media/img_utils/src/ |
H A D | TiffIfd.cpp | 34 status_t TiffIfd::addEntry(const sp<TiffEntry>& entry) { argument 37 ALOGW("%s: Failed to add entry for tag 0x%x to IFD %u, too many entries in IFD!", 38 __FUNCTION__, entry->getTag(), mIfdId); 42 if (mEntries.add(entry) < 0) { 43 ALOGW("%s: Failed to add entry for tag 0x%x to ifd %u.", __FUNCTION__, entry->getTag(), 53 ALOGW("%s: No entry for tag 0x%x in ifd %u.", __FUNCTION__, tag, mIfdId); 132 // Write values for each tag entry 135 // Only write values that are too large to fit in the 12-byte TIFF entry 238 ALOGE("%s: Could not build entry fo [all...] |
H A D | TiffWriter.cpp | 185 status_t TiffWriter::addEntry(const sp<TiffEntry>& entry, uint32_t ifd) { argument 186 uint16_t tag = entry->getTag(); 204 return selectedIfd->addEntry(entry); 269 ALOGE("%s: Failed to build SubIfd entry in IFD 0x%x.", __FUNCTION__, parentIfd); 282 ALOGE("%s: Failed to build SubIfd entry in IFD 0x%x.", __FUNCTION__, parentIfd); 287 ALOGE("%s: Failed to build SubIfd entry in IFD 0x%x.", __FUNCTION__, parentIfd); 293 ALOGE("%s: Failed to build SubIfd entry in IFD 0x%x.", __FUNCTION__, parentIfd); 299 ALOGE("%s: Failed to add SubIfd entry in IFD 0x%x.", __FUNCTION__, parentIfd);
|
/frameworks/av/media/libmedia/ |
H A D | MediaScanner.cpp | 135 struct dirent* entry; local 161 while ((entry = readdir(dir))) { 162 if (doProcessDirectoryEntry(path, pathRemaining, client, noMedia, entry, fileSpot) 174 struct dirent* entry, char* fileSpot) { 176 const char* name = entry->d_name; 190 int type = entry->d_type; 172 doProcessDirectoryEntry( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, struct dirent* entry, char* fileSpot) argument
|
/frameworks/av/media/libmedia/include/media/ |
H A D | PluginLoader.h | 31 PluginLoader(const char *dir, const char *entry) { argument 47 T *plugin = loadOne(path, entry); 70 T* loadOne(const char *path, const char *entry) { argument 78 (CreateFactoryFunc)library->lookup(entry); 80 ALOGV("Found plugin factory entry %s in %s", entry, path);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 525 QueueEntry entry; local 526 entry.mNotifyConsumed = notify; 527 entry.mMeta = meta; 530 mAudioQueue.push_back(entry); 857 QueueEntry *entry; // will be valid after while loop if hasEOS is set. local 859 entry = &*mAudioQueue.begin(); 861 if (entry->mBuffer == NULL) { // EOS 867 if (firstEntry && entry->mOffset == 0) { 870 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); 875 size_t copy = entry 934 QueueEntry *entry = &*it++; local 1002 QueueEntry *entry = &*mAudioQueue.begin(); local 1225 QueueEntry &entry = *mVideoQueue.begin(); local 1322 QueueEntry *entry = &*mVideoQueue.begin(); local 1459 QueueEntry entry; local 1541 QueueEntry entry; local 1654 QueueEntry *entry = &*queue->begin(); local [all...] |
H A D | NuPlayerStreamListener.cpp | 56 QueueEntry entry; local 57 entry.mIsCommand = false; 58 entry.mIndex = index; 59 entry.mSize = size; 60 entry.mOffset = 0; 63 mQueue.push_back(entry); 78 QueueEntry entry; local 79 entry.mIsCommand = true; 80 entry.mCommand = cmd; 81 entry 113 QueueEntry *entry = &*mQueue.begin(); local [all...] |
/frameworks/av/media/libnbaio/ |
H A D | NBLog.cpp | 54 NBLog::FormatEntry::FormatEntry(const uint8_t *entry) : mEntry(entry) { argument 55 ALOGW_IF(entry[offsetof(struct entry, type)] != EVENT_START_FMT, 56 "Created format entry with invalid event type %d", entry[offsetof(struct entry, type)]); 62 return (const char*) mEntry + offsetof(entry, data); 66 return mEntry[offsetof(entry, length)]; 95 // if there is an author entry, retur 143 iterator(const uint8_t *entry) argument 359 Entry entry = Entry(EVENT_END_FMT, NULL, 0); local 459 log(const NBLog::Entry *entry, bool trusted) argument [all...] |
/frameworks/av/media/libnbaio/include/ |
H A D | NBLog.h | 47 EVENT_INTEGER, // integer value entry 48 EVENT_FLOAT, // floating point value entry 50 EVENT_AUTHOR, // author index (present in merged logs) tracks entry's original log 51 EVENT_START_FMT, // logFormat start event: entry includes format string, following 58 // API for handling format entry operations 60 // a formatted entry has the following structure: 61 // * START_FMT entry, containing the format string 62 // * TIMESTAMP entry 63 // * author entry of the thread that generated it (optional, present in merged log) 67 // * END_FMT entry 77 struct entry { struct in class:android::NBLog::FormatEntry [all...] |
/frameworks/av/media/libstagefright/ |
H A D | HTTPBase.cpp | 48 BandwidthEntry entry; local 49 entry.mDelayUs = delayUs; 50 entry.mNumBytes = numBytes; 54 mBandwidthHistory.push_back(entry); 56 BandwidthEntry *entry = &*mBandwidthHistory.begin(); local 57 mTotalTransferTimeUs -= entry->mDelayUs; 58 mTotalTransferBytes -= entry->mNumBytes;
|
H A D | OggExtractor.cpp | 150 // *buffer is NULL'ed out immediately upon entry, and if successful a new buffer is allocated; 437 const TOCEntry &entry = mTableOfContents.itemAt(center); local 439 if (timeUs < entry.mTimeUs) { 441 } else if (timeUs > entry.mTimeUs) { 453 const TOCEntry &entry = mTableOfContents.itemAt(left); local 455 ALOGV("seeking to entry %zu / %zu at offset %lld", 456 left, mTableOfContents.size(), (long long)entry.mPageOffset); 458 return seekToOffset(entry.mPageOffset); 877 TOCEntry &entry = local 880 entry [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode.cpp | 2734 Int residual, vlc_code_mag, bits, entry; local 2739 entry = vlc_code_mag + 65; 2741 entry = vlc_code_mag; 2743 bits = PutMV(entry, bs);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AAtomizer.cpp | 42 List<AString> &entry = mAtoms.editItemAt(index); local 43 List<AString>::iterator it = entry.begin(); 44 while (it != entry.end()) { 51 entry.push_back(AString(name)); 53 return (*--entry.end()).c_str();
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 100 BandwidthEntry entry; local 101 entry.mTimestampUs = nowUs; 102 entry.mDelayUs = delayUs; 103 entry.mNumBytes = numBytes; 106 mBandwidthHistory.push_back(entry);
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmWriter.cpp | 150 sp<WebmElement> entry = WebmElement::AudioTrackEntry( local 154 return entry;
|
/frameworks/av/media/mtp/ |
H A D | MtpDebug.cpp | 372 const CodeEntry* entry = table; local 373 while (entry->name) { 374 if (entry->code == code) 375 return entry->name; 376 entry++;
|