/frameworks/av/camera/ |
H A D | CameraBase.cpp | 213 int32_t count; local 216 &count); 220 count = 0; 222 return count;
|
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraMetadata.cpp | 66 if (entry.count == 0 || entry.type != TYPE_BYTE) { 67 ALOGE("%s: malformed available capability key! count %zu, type %d", 68 __FUNCTION__, entry.count, entry.type); 73 capabilities.setCapacity(entry.count); 74 for (size_t i = 0; i < entry.count; i++) { 92 if (entry.count == 0 || entry.count % 4 || entry.type != TYPE_INT32) { 93 ALOGE("%s: malformed available stream configuration key! count %zu, type %d", 94 __FUNCTION__, entry.count, entry.type); 99 filteredStreamConfigs.setCapacity(entry.count); 180 update(uint32_t tag, uint32_t count, const uint8_t* data) argument 185 update(uint32_t tag, uint32_t count, const int32_t* data) argument 190 update(uint32_t tag, uint32_t count, const float* data) argument 195 update(uint32_t tag, uint32_t count, const double* data) argument 200 update(uint32_t tag, uint32_t count, const int64_t* data) argument 205 update(uint32_t tag, uint32_t count, const ACameraMetadata_rational* data) argument [all...] |
H A D | ACameraMetadata.h | 51 camera_status_t update(uint32_t tag, uint32_t count, const uint8_t* data); 52 camera_status_t update(uint32_t tag, uint32_t count, const int32_t* data); 53 camera_status_t update(uint32_t tag, uint32_t count, const float* data); 54 camera_status_t update(uint32_t tag, uint32_t count, const double* data); 55 camera_status_t update(uint32_t tag, uint32_t count, const int64_t* data); 56 camera_status_t update(uint32_t tag, uint32_t count, const ACameraMetadata_rational* data); 70 camera_status_t updateImpl(uint32_t tag, uint32_t count, const NDK_T* data) { argument 83 if (count == 0 && data == nullptr) { 88 ret = mData.update(tag, reinterpret_cast<const INTERNAL_T*>(data), count);
|
/frameworks/av/include/camera/ndk/ |
H A D | NdkCameraMetadata.h | 108 * Count of elements (NOT count of bytes) in this metadata entry. 110 uint32_t count; member in struct:ACameraMetadata_entry 115 * <p>The type field above defines which union member pointer is valid. The count field above 153 * Count of elements (NOT count of bytes) in this metadata entry. 155 uint32_t count; member in struct:ACameraMetadata_const_entry 160 * <p>The type field above defines which union member pointer is valid. The count field above
|
/frameworks/av/include/media/stagefright/ |
H A D | DataSource.h | 74 // Reads in "count" entries of type T into vector *x. 75 // Returns true if "count" entries can be read. 76 // If fewer than "count" entries can be read, return false. In this case, 85 bool getVector(off64_t offset, Vector<T>* x, size_t count, 145 bool DataSource::getVector(off64_t offset, Vector<T>* x, size_t count, argument 152 if (count == 0) { 161 for (i = 0; i + chunkSize < count; i += chunkSize) { 178 // There are (count - i) more records to read. 179 // Right now, (count - i) <= chunkSize. 180 // We do the same thing as above, but with chunkSize replaced by count [all...] |
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | EndianUtils.h | 102 virtual status_t write(const uint8_t* buf, size_t offset, size_t count); 104 virtual status_t write(const int8_t* buf, size_t offset, size_t count); 106 virtual status_t write(const uint16_t* buf, size_t offset, size_t count); 108 virtual status_t write(const int16_t* buf, size_t offset, size_t count); 110 virtual status_t write(const uint32_t* buf, size_t offset, size_t count); 112 virtual status_t write(const int32_t* buf, size_t offset, size_t count); 114 virtual status_t write(const uint64_t* buf, size_t offset, size_t count); 116 virtual status_t write(const int64_t* buf, size_t offset, size_t count); 118 virtual status_t write(const float* buf, size_t offset, size_t count); 120 virtual status_t write(const double* buf, size_t offset, size_t count); 132 writeHelper(const T* buf, size_t offset, size_t count) argument [all...] |
H A D | TiffEntryImpl.h | 38 TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, const T* data); 64 TiffEntryImpl<T>::TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, argument 66 : mTag(tag), mType(static_cast<uint16_t>(type)), mCount(count), mEnd(end) { 67 count = (type == RATIONAL || type == SRATIONAL) ? count * 2 : count; 68 ssize_t index = mData.appendArray(data, count); 134 uint32_t count = mCount; local 139 * size of the array here, multiply the count by 2. 141 count << 160 uint32_t count = mCount; local [all...] |
H A D | TiffWriter.h | 121 * - BAD_VALUE - The given count doesn't match the required count for 132 * was constructed with. The count and type are validated. 137 * - BAD_VALUE - The given count doesn't match the required count for 144 status_t addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd); 149 * with. The count and type are validated. If this succeeds, the resulting 155 * - BAD_VALUE - The given count doesn't match the required count for 161 status_t buildEntry(uint16_t tag, uint32_t count, cons 272 buildEntry(uint16_t tag, uint32_t count, const T* data, sp<TiffEntry>* outEntry) const argument 301 addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd) argument 314 uncheckedBuildEntry(uint16_t tag, TagType type, uint32_t count, Endianness end, const T* data) argument [all...] |
/frameworks/av/media/img_utils/src/ |
H A D | ByteArrayOutput.cpp | 32 status_t ByteArrayOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument 33 if (mByteArray.appendArray(buf + offset, count) < 0) {
|
H A D | DngUtils.cpp | 48 uint32_t count = convertToBigEndian(mCount); local 49 memcpy(buf, &count, sizeof(count)); 50 memcpy(buf + sizeof(count), mOpList.getArray(), mOpList.getSize());
|
H A D | EndianUtils.cpp | 48 status_t EndianOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument 50 if((res = mOutput->write(buf, offset, count)) == OK) { 51 mOffset += count; 56 status_t EndianOutput::write(const int8_t* buf, size_t offset, size_t count) { argument 57 return write(reinterpret_cast<const uint8_t*>(buf), offset, count); 61 status_t EndianOutput::write(const _type_* buf, size_t offset, size_t count) { \ 62 return writeHelper<_type_>(buf, offset, count); \ 72 status_t EndianOutput::write(const float* buf, size_t offset, size_t count) { argument 74 return writeHelper<uint32_t>(reinterpret_cast<const uint32_t*>(buf), offset, count); 77 status_t EndianOutput::write(const double* buf, size_t offset, size_t count) { argument [all...] |
H A D | FileInput.cpp | 48 ssize_t FileInput::read(uint8_t* buf, size_t offset, size_t count) { argument 54 size_t bytesRead = ::fread(buf + offset, sizeof(uint8_t), count, mFp);
|
H A D | FileOutput.cpp | 47 status_t FileOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument 53 ::fwrite(buf + offset, sizeof(uint8_t), count, mFp);
|
H A D | Input.cpp | 28 ssize_t Input::skip(size_t count) { argument 32 size_t remaining = count; 39 if (remaining == count) { 44 return count - remaining; 52 return count;
|
H A D | TiffEntry.cpp | 128 uint32_t count = getCount(); local 129 output.appendFormat("[id: %x, type: %d, count: %u, value: '", getTag(), getType(), count); 131 size_t cappedCount = count; 132 if (count > MAX_PRINT_STRING_LENGTH) { 148 size_t len = count; 149 if (count > MAX_PRINT_STRING_LENGTH) { 226 if (count > MAX_PRINT_STRING_LENGTH) {
|
H A D | TiffIfd.cpp | 314 ALOGE("%s: StripOffsets count (%u) doesn't match StripByteCounts count (%u) in IFD %u", 353 uint32_t count = stripByteCounts->getCount(); local 357 for (size_t i = 0; i < static_cast<size_t>(count); ++i) {
|
H A D | TiffWriter.cpp | 291 uint32_t count = subIfdList.size(); local 292 if (buildEntry(subIfdTag, count, subIfdList.array(), &subIfds) < 0) {
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactory.c | 422 int count = 0; local 430 pSube[count++] = subeffect; 434 return count; 730 int count = 2; local 741 while (node != NULL && count) { 765 count--;
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectReverb.c | 222 size_t count = inBuffer->frameCount; local 224 count *= 2; 225 while (count--) { 229 while (count--) { 1331 // Convert milliseconds to sample count => m_nEarlyDelay 1375 // Convert milliseconds to sample count => m_nDelay1Out + m_nMaxExcursion
|
/frameworks/av/media/libmedia/ |
H A D | AudioEffect.cpp | 438 uint32_t *count) 442 return aps->queryDefaultPreProcessing(audioSession, descriptors, count); 436 queryDefaultPreProcessing(audio_session_t audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument
|
H A D | IAudioPolicyService.cpp | 489 uint32_t *count) 491 if (descriptors == NULL || count == NULL) { 497 data.writeInt32(*count); 505 uint32_t numDesc = (retCount < *count) ? retCount : *count; 508 *count = retCount; 1122 uint32_t count = data.readInt32(); local 1123 if (count > AudioEffect::kMaxPreProcessing) { 1124 count = AudioEffect::kMaxPreProcessing; 1126 uint32_t retCount = count; 487 queryDefaultPreProcessing(audio_session_t audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument [all...] |
H A D | IDrm.cpp | 232 size_t count = reply.readInt32(); local 233 for (size_t i = 0; i < count; i++) { 289 uint32_t count = reply.readInt32(); local 290 for (size_t i = 0; i < count; i++) { 638 uint32_t count = data.readInt32(); local 639 for (size_t i = 0; i < count; ++i) { 699 size_t count = infoMap.size(); local 700 reply->writeInt32(count); 701 for (size_t i = 0; i < count; ++i) { 744 size_t count local [all...] |
H A D | IMediaCodecList.cpp | 118 size_t count = countCodecs(); local 119 if (count > INT32_MAX) { 120 count = INT32_MAX; 122 reply->writeInt32(count);
|
H A D | IMediaDeathNotifier.cpp | 92 size_t count = list.size(); local 93 for (size_t iter = 0; iter < count; ++iter) {
|
H A D | JetPlayer.cpp | 160 EAS_I32 count; local 205 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count); 209 p += count * pLibConfig->numChannels; 210 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
|