sz3 / cfc

Demo/test android app for libcimbar. Copy files over the cell phone camera!
https://cimbar.org
MIT License
519 stars 68 forks source link

Background decoder built on turbolib's thread_pool #1

Closed sz3 closed 4 years ago

sz3 commented 4 years ago

... which in turn is built on concurrent_queue.

Uses a "try_execute" function to limit how many frames we queue to decode. Once we hit the limit (in practice: 64), we ignore new frames until we've cleared some of the backlog.