Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGBA format and fixed RGB debayer with vertical flip #53

Open
wants to merge 50 commits into
base: master
Choose a base branch
from

Commits on Dec 13, 2017

  1. Add test pattern support.

    bakercp committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    4174be6 View commit details
    Browse the repository at this point in the history
  2. Fix bayer memory access.

    bakercp committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    74eb6db View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2018

  1. Configuration menu
    Copy the full SHA
    8ee5939 View commit details
    Browse the repository at this point in the history
  2. Moved libusb header include from ps3eye.h to ps3eye.cpp. FIxes issue …

    …where library user needs to have libusb include folder in path. With this change only the PS3EYEDriver need to know about libusb.
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    0ce231f View commit details
    Browse the repository at this point in the history
  3. Mute PS3 eye debug messages and move debug macro to ps3eye.cpp to ens…

    …ure library user doesn't get a conflicting define for 'debug', which is pretty generic.
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    11a1ea0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9dde406 View commit details
    Browse the repository at this point in the history
  5. Detach kernel driver, as on Linux the operating system has a kernel d…

    …river for the PS3 eye camera, preventing us from using the device otherwise.
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    3ff2b2f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    df0c1f9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ab506c9 View commit details
    Browse the repository at this point in the history
  8. Initial commit.

    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    541e70d View commit details
    Browse the repository at this point in the history
  9. Basic init working.

    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    b0e235a View commit details
    Browse the repository at this point in the history
  10. Transfers working.

    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    c24e363 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    440c08f View commit details
    Browse the repository at this point in the history
  12. - Shutdown implementation.

    - Shutdown on init failure.
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    75d2f2f View commit details
    Browse the repository at this point in the history
  13. - Don't call cancel_transfer when stopping transfers. It's enough jus…

    …t to stop calling submit_transfer.
    
    - Renamed cancelTransfers to endTransfers.
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    530fbc1 View commit details
    Browse the repository at this point in the history
  14. - Added space to end microphone test.

    - Added grayscale test to see if crash after mic test in debayer code persists..
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    fb0ecab View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    86089c6 View commit details
    Browse the repository at this point in the history
  16. - Added a todo.

    - Added some comments.
    - Improved shutdown in case of error.
    - Use libusb error/success codes instead of comparing against 0.
    - Code cleanups and readability improvenents.
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    8a54e67 View commit details
    Browse the repository at this point in the history
  17. - Renamed debug(..) to debugMessage(..).

    - Made a few constant 'static const int' versus a define.
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    bf9774b View commit details
    Browse the repository at this point in the history
  18. - Use the condition variable approach to signal the number of active …

    …transfers has reached zero.
    
    - Bumped the packet size to 256 bytes, to avoid overflow conditions due to the device sending more data than we can store.
    - Added logging for the case where a transfer has ended while status is not COMPLETED.
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    447b814 View commit details
    Browse the repository at this point in the history
  19. - Added a helpful text for Macos to help resolve kernel driver confli…

    …cts.
    
    - Bumped packet size (again).
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    d139b25 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    17c339c View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    3a2d6bd View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    5947665 View commit details
    Browse the repository at this point in the history
  23. Improved Framework test app.

    - Drawing of the captured audio waveform is now faster.
    - Combined audio and video test. It works!
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    572b121 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    cea3290 View commit details
    Browse the repository at this point in the history
  25. Added summation of the four microphones to the audio history and draw…

    … it on screen. The summed channel effective does some pretty good noise reduction!
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    04c33a3 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    4f9cded View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    f1836d5 View commit details
    Browse the repository at this point in the history
  28. Fix for potential race condition, due to the way transfers are freed …

    …during shutdown. It's illegal to free a transfer from within the transfer callback. Doing so can result in undefined behavior.
    
    From the docs of libusb_free_transfer,
    	"It is not legal to free an active transfer (one which has been submitted and has not yet completed)."
    
    I've moved to free calls until after all transfers have finished.
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    cb99c2c View commit details
    Browse the repository at this point in the history
  29. Fix for accessing invalid read buffer areas in debayer code, due to t…

    …rying to debayer one row too many. It should run until height-2, as a single source row expands to two rows in the destination buffer. At the end the last row is already copied from the row at height-2 to height-1.
    
    Verified it works by visually inspecting the last row using a test app.
    marcel303 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    d88d96a View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    6b3dc66 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    e97a3d9 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    2b425e3 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    cac9b10 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    c58b212 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2018

  1. Merge branch 'mic-support'

    marcel303 committed Jul 29, 2018
    Configuration menu
    Copy the full SHA
    7b22e67 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2018

  1. Fix for issue where tabbing apps on Macos could cause 'unknown errors…

    …' to stop the microphone USB transfers. When encountering an error submitting the new transfer, try a few times until it works. Macos sometimes returns a 'iso too old' result when trying to submit a transfer, which just means we need to transfer again using a more recent frame.
    marcel303 committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    df2e02f View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2018

  1. Configuration menu
    Copy the full SHA
    e8600c4 View commit details
    Browse the repository at this point in the history
  2. - Added stress test (shift + T).

    - Show little green/red circles to indicate PS3 eye and mic are up and running.
    marcel303 committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    a23706c View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2018

  1. Configuration menu
    Copy the full SHA
    e800094 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2018

  1. Configuration menu
    Copy the full SHA
    280f77d View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2018

  1. Configuration menu
    Copy the full SHA
    66de7ad View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2018

  1. Updated todos.

    marcel303 committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    dd220c1 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2018

  1. Added a todo.

    marcel303 committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    6cbacbf View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2018

  1. vertical flip bayer to rgb fix

    jkevin committed Dec 17, 2018
    Configuration menu
    Copy the full SHA
    83f9680 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2018

  1. added RGBA and BGRA formats

    jkevin committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    120b3f7 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2019

  1. Configuration menu
    Copy the full SHA
    8b8e433 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2019

  1. Configuration menu
    Copy the full SHA
    63ae536 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2019

  1. retry on USB transfer error

    jkevin committed Feb 22, 2019
    Configuration menu
    Copy the full SHA
    58b03da View commit details
    Browse the repository at this point in the history