Skip to content

perf: misc improvements + android version change - #6

Merged
jranson merged 15 commits into
centennial-oss:mainfrom
jranson:jr/q3-fixes
Sep 18, 2026
Merged

jranson merged 15 commits into
centennial-oss:mainfrom
jranson:jr/q3-fixes

Conversation

@jranson

@jranson jranson commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

This change makes several improvements and platform compatibility changes:

  • Addresses MJPEG stream shredding on USB-2 devices via better handling of ERR and EOI
  • Fixes buffer pool management defects w/ isochronous streams across preview and decode (jpeg) threads
  • Eliminates a few frame copies and optimizes several other expensive operations
  • Use a SurfaceView for non-compressed streams for better perf
  • Fixes Lower API version support #5 by reducing min Android version to 9 (api 28) while increasing target Android version to 16 (api 36)
  • Fixes [RFE] 1:1 scaling option #4 by adding a "1:1" toggle button that zooms the video so its pixel size matches the screen pixel size 1:1
  • Fixes issue with zooming on non-16:9 tablets where the extra vertical space was not being used / remained black when zoomed in.
  • Fixes issue where panning while zoomed + rotated caused the pan to move in the wrong direction relative to the touch drag direction.
  • Updated the zoom slider so that the old minimum zoom (stretch to fit) is now the middle of the slider with a snap; this allows users with a stream that is smaller in resolution than the tablet screen to zoom out to 1:1 (4-edge letterbox) if desired.

Signed-off-by: James Ranson <james@ranson.org>
Signed-off-by: James Ranson <james@ranson.org>
Signed-off-by: James Ranson <james@ranson.org>
Signed-off-by: James Ranson <james@ranson.org>
Signed-off-by: James Ranson <james@ranson.org>
Signed-off-by: James Ranson <james@ranson.org>
Signed-off-by: James Ranson <james@ranson.org>
Signed-off-by: James Ranson <james@ranson.org>
Signed-off-by: James Ranson <james@ranson.org>
Signed-off-by: James Ranson <james@ranson.org>
Signed-off-by: James Ranson <james@ranson.org>
Signed-off-by: James Ranson <james@ranson.org>
Signed-off-by: James Ranson <james@ranson.org>
@jranson jranson mentioned this pull request Sep 17, 2026
Signed-off-by: James Ranson <james@ranson.org>
Signed-off-by: James Ranson <james@ranson.org>
@jranson
jranson merged commit c7f1980 into centennial-oss:main Sep 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lower API version support [RFE] 1:1 scaling option

1 participant