lib: Remove num_stripes from fpi_do_movement_estimation()

This commit is contained in:
Bastien Nocera
2019-11-20 13:53:45 +01:00
committed by Benjamin Berg
parent dcc04089d1
commit 3b480caab1
5 changed files with 5 additions and 14 deletions
+1 -2
View File
@@ -590,8 +590,7 @@ static void capture_read_strip_cb(FpiUsbTransfer *transfer, FpDevice *device,
/* send stop capture bits */
aes_write_regv(dev, capture_stop, G_N_ELEMENTS(capture_stop), stub_capture_stop_cb, NULL);
self->strips = g_slist_reverse(self->strips);
fpi_do_movement_estimation(&assembling_ctx, self->strips,
self->strips_len);
fpi_do_movement_estimation(&assembling_ctx, self->strips);
img = fpi_assemble_frames(&assembling_ctx, self->strips,
self->strips_len);