Searched refs:newMetadata (Results 1 – 4 of 4) sorted by relevance
315 …common_metadata_header_t *newMetadata = AllocateCameraMetadataBuffer((itemCapacity + 1) * INDEX_CO… in resize_add_metadata() local318 if (newMetadata == nullptr) { in resize_add_metadata()323 auto result = CopyCameraMetadataItems(newMetadata, metadata_); in resize_add_metadata()326 FreeCameraMetadataBuffer(newMetadata); in resize_add_metadata()330 result = AddCameraMetadataItem(newMetadata, item, data, data_count); in resize_add_metadata()333 FreeCameraMetadataBuffer(newMetadata); in resize_add_metadata()336 replace_metadata(newMetadata); in resize_add_metadata()341 void CameraMetadata::replace_metadata(common_metadata_header_t *newMetadata) in replace_metadata() argument343 if (metadata_ == newMetadata) { in replace_metadata()348 metadata_ = newMetadata; in replace_metadata()[all …]
133 int32_t CopyCameraMetadataItems(common_metadata_header_t *newMetadata, const common_metadata_header… in CopyCameraMetadataItems() argument135 return CameraMetadata::CopyCameraMetadataItems(newMetadata, oldMetadata); in CopyCameraMetadataItems()
48 void replace_metadata(common_metadata_header_t *newMetadata);110 static int32_t CopyCameraMetadataItems(common_metadata_header_t *newMetadata,
202 int32_t CopyCameraMetadataItems(common_metadata_header_t *newMetadata,