Lines Matching refs:i
35 for (size_t i = 0; i < entry.count; i++) { in WriteMetadataDataToVec() local
36 WriteData<int8_t>(*(entry.data.u8 + i), cameraAbility); in WriteMetadataDataToVec()
39 for (size_t i = 0; i < entry.count; i++) { in WriteMetadataDataToVec() local
40 WriteData<int32_t>(*(entry.data.i32 + i), cameraAbility); in WriteMetadataDataToVec()
43 for (size_t i = 0; i < entry.count; i++) { in WriteMetadataDataToVec() local
44 WriteData<float>(*(entry.data.f + i), cameraAbility); in WriteMetadataDataToVec()
47 for (size_t i = 0; i < entry.count; i++) { in WriteMetadataDataToVec() local
48 WriteData<int64_t>(*(entry.data.i64 + i), cameraAbility); in WriteMetadataDataToVec()
51 for (size_t i = 0; i < entry.count; i++) { in WriteMetadataDataToVec() local
52 WriteData<double>(*(entry.data.d + i), cameraAbility); in WriteMetadataDataToVec()
55 for (size_t i = 0; i < entry.count; i++) { in WriteMetadataDataToVec() local
56 WriteData<int32_t>((*(entry.data.r + i)).numerator, cameraAbility); in WriteMetadataDataToVec()
57 WriteData<int32_t>((*(entry.data.r + i)).denominator, cameraAbility); in WriteMetadataDataToVec()
98 for (uint32_t i = 0; i < tagCount; i++) { in ConvertMetadataToVec() local
100 int ret = GetCameraMetadataItem(meta, i, &item); in ConvertMetadataToVec()
135 for (uint32_t i = 0; i < tagCount; i++) { in EncodeCameraMetadata() local
137 int ret = GetCameraMetadataItem(meta, i, &item); in EncodeCameraMetadata()
160 for (size_t i = 0; i < entry.count; i++) { in ReadMetadataDataFromVec() local
161 ReadData<uint8_t>(entry.data.u8[i], index, cameraAbility); in ReadMetadataDataFromVec()
167 for (size_t i = 0; i < entry.count; i++) { in ReadMetadataDataFromVec() local
168 ReadData<int32_t>(entry.data.i32[i], index, cameraAbility); in ReadMetadataDataFromVec()
174 for (size_t i = 0; i < entry.count; i++) { in ReadMetadataDataFromVec() local
175 ReadData<float>(entry.data.f[i], index, cameraAbility); in ReadMetadataDataFromVec()
181 for (size_t i = 0; i < entry.count; i++) { in ReadMetadataDataFromVec() local
182 ReadData<int64_t>(entry.data.i64[i], index, cameraAbility); in ReadMetadataDataFromVec()
188 for (size_t i = 0; i < entry.count; i++) { in ReadMetadataDataFromVec() local
189 ReadData<double>(entry.data.d[i], index, cameraAbility); in ReadMetadataDataFromVec()
195 for (size_t i = 0; i < entry.count; i++) { in ReadMetadataDataFromVec() local
196 ReadData<int32_t>(entry.data.r[i].numerator, index, cameraAbility); in ReadMetadataDataFromVec()
197 ReadData<int32_t>(entry.data.r[i].denominator, index, cameraAbility); in ReadMetadataDataFromVec()
228 for (uint32_t i = 0; i < tagCount; i++) { in ConvertVecToMetadata() local
274 for (uint32_t i = 0; i < tagCount; i++) { in DecodeCameraMetadata() local
301 size_t i; in WriteMetadata() local
304 for (i = 0; i < item.count; i++) { in WriteMetadata()
305 byteBuffers.push_back(*(item.data.u8 + i)); in WriteMetadata()
310 for (i = 0; i < item.count; i++) { in WriteMetadata()
311 int32Buffers.push_back(*(item.data.i32 + i)); in WriteMetadata()
316 for (i = 0; i < item.count; i++) { in WriteMetadata()
317 floatBuffers.push_back(*(item.data.f + i)); in WriteMetadata()
322 for (i = 0; i < item.count; i++) { in WriteMetadata()
323 uInt32Buffers.push_back(*(item.data.ui32 + i)); in WriteMetadata()
328 for (i = 0; i < item.count; i++) { in WriteMetadata()
329 int64Buffers.push_back(*(item.data.i64 + i)); in WriteMetadata()
334 for (i = 0; i < item.count; i++) { in WriteMetadata()
335 doubleBuffers.push_back(*(item.data.d + i)); in WriteMetadata()
340 for (i = 0; i < item.count; i++) { in WriteMetadata()
341 rationalBuffers.push_back((*(item.data.r + i)).numerator); in WriteMetadata()
342 rationalBuffers.push_back((*(item.data.r + i)).denominator); in WriteMetadata()
474 for (size_t i = 0; i < entry.count && i < buffers.size(); i++) { in ReadMetadataUInt8() local
475 entry.data.u8[i] = buffers.at(i); in ReadMetadataUInt8()
486 for (size_t i = 0; i < entry.count && i < buffers.size(); i++) { in ReadMetadataInt32() local
487 entry.data.i32[i] = buffers.at(i); in ReadMetadataInt32()
498 for (size_t i = 0; i < entry.count && i < buffers.size(); i++) { in ReadMetadataUInt32() local
499 entry.data.ui32[i] = buffers.at(i); in ReadMetadataUInt32()
510 for (size_t i = 0; i < entry.count && i < buffers.size(); i++) { in ReadMetadataFloat() local
511 entry.data.f[i] = buffers.at(i); in ReadMetadataFloat()
522 for (size_t i = 0; i < entry.count && i < buffers.size(); i++) { in ReadMetadataInt64() local
523 entry.data.i64[i] = buffers.at(i); in ReadMetadataInt64()
534 for (size_t i = 0; i < entry.count && i < buffers.size(); i++) { in ReadMetadataDouble() local
535 entry.data.d[i] = buffers.at(i); in ReadMetadataDouble()
546 for (size_t i = 0, j = 0; in ReadMetadataRational() local
547 i < entry.count && j < static_cast<size_t>(buffers.size() - 1); in ReadMetadataRational()
548 i++, j += 2) { // 2:Take two elements from the buffer vector container in ReadMetadataRational()
549 entry.data.r[i].numerator = buffers.at(j); in ReadMetadataRational()
550 entry.data.r[i].denominator = buffers.at(j + 1); in ReadMetadataRational()