Lines Matching refs:count

240                     size_t count = 0;  in readCameraMetadata()  local
246 count); in readCameraMetadata()
248 aCamera->cameraMetadata.insert_or_assign(tag, std::make_pair(data, count)); in readCameraMetadata()
254 count); in readCameraMetadata()
581 size_t count = *reinterpret_cast<size_t*>(p); in readConfigDataFromBinary() local
587 add_camera_metadata_entry(aCamera->characteristics, tag, p, count); in readConfigDataFromBinary()
588 p += count * sizeof(uint8_t); in readConfigDataFromBinary()
592 add_camera_metadata_entry(aCamera->characteristics, tag, p, count); in readConfigDataFromBinary()
593 p += count * sizeof(int32_t); in readConfigDataFromBinary()
597 add_camera_metadata_entry(aCamera->characteristics, tag, p, count); in readConfigDataFromBinary()
598 p += count * sizeof(float); in readConfigDataFromBinary()
602 add_camera_metadata_entry(aCamera->characteristics, tag, p, count); in readConfigDataFromBinary()
603 p += count * sizeof(int64_t); in readConfigDataFromBinary()
607 add_camera_metadata_entry(aCamera->characteristics, tag, p, count); in readConfigDataFromBinary()
608 p += count * sizeof(double); in readConfigDataFromBinary()
612 p += count * sizeof(camera_metadata_rational_t); in readConfigDataFromBinary()
682 size_t count = *reinterpret_cast<size_t*>(p); in readConfigDataFromBinary() local
688 add_camera_metadata_entry(aCamera->characteristics, tag, p, count); in readConfigDataFromBinary()
689 p += count * sizeof(uint8_t); in readConfigDataFromBinary()
693 add_camera_metadata_entry(aCamera->characteristics, tag, p, count); in readConfigDataFromBinary()
694 p += count * sizeof(int32_t); in readConfigDataFromBinary()
698 add_camera_metadata_entry(aCamera->characteristics, tag, p, count); in readConfigDataFromBinary()
699 p += count * sizeof(float); in readConfigDataFromBinary()
703 add_camera_metadata_entry(aCamera->characteristics, tag, p, count); in readConfigDataFromBinary()
704 p += count * sizeof(int64_t); in readConfigDataFromBinary()
708 add_camera_metadata_entry(aCamera->characteristics, tag, p, count); in readConfigDataFromBinary()
709 p += count * sizeof(double); in readConfigDataFromBinary()
713 p += count * sizeof(camera_metadata_rational_t); in readConfigDataFromBinary()
804 outFile.write(reinterpret_cast<const char*>(&entry.count), sizeof(entry.count)); in writeConfigDataToBinary()
810 sizeof(uint8_t) * entry.count); in writeConfigDataToBinary()
814 sizeof(int32_t) * entry.count); in writeConfigDataToBinary()
818 sizeof(float) * entry.count); in writeConfigDataToBinary()
822 sizeof(int64_t) * entry.count); in writeConfigDataToBinary()
826 sizeof(double) * entry.count); in writeConfigDataToBinary()
888 outFile.write(reinterpret_cast<const char*>(&entry.count), sizeof(entry.count)); in writeConfigDataToBinary()
894 sizeof(uint8_t) * entry.count); in writeConfigDataToBinary()
898 sizeof(int32_t) * entry.count); in writeConfigDataToBinary()
902 sizeof(float) * entry.count); in writeConfigDataToBinary()
906 sizeof(int64_t) * entry.count); in writeConfigDataToBinary()
910 sizeof(double) * entry.count); in writeConfigDataToBinary()