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

Use TextureView instead of SurfaceView on Android. #459

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

Commits on May 23, 2017

  1. Add RotateInPlace method to FastJavaArrayEx, avoid code duplication i…

    …n FastJavaByteArrayYUVLuminanceSource and simplify CameraAnalyzer
    nielsenko committed May 23, 2017
    Configuration menu
    Copy the full SHA
    d61ed46 View commit details
    Browse the repository at this point in the history
  2. Use TextureView instead of SurfaceView on Android.

    Compared to existing ZXingSurfaceView, ZXingTextureView fixes the following:
    
    - Ensure correct aspect ratio, no matter what the view size.
    - Use background handler for all camera manipulation.
    - Crop preview to match viewfinder, so that you only scan what you see.
    - Avoid byte[] marshalling between Java and .Net runtime (FastJavaByteArray).
    - Return buffer to java runtime with camera.AddCallbackBuffer.
    - Avoid traslating from YCrCb to Rgb and back to luminance data (FastJavaByteArrayYUVLuminanceSource)
    - Re-use buffers, to avoid memory pressure, when rotating.
    - Automatically request autofocus on devices that does not support continous auto focus mode.
    - Prefer continous mode
    - For Xamarin.Forms ZXingScannerView now uses ZXingTextureView in the renderer on Android.
    nielsenko committed May 23, 2017
    Configuration menu
    Copy the full SHA
    58f058e View commit details
    Browse the repository at this point in the history
  3. Reference FastAndroidCamera nuget instead of maintaining own copy. Ad…

    …d a FastJavaArrayEx.BlockCopyTo method to compensate for missing funtionality.
    nielsenko committed May 23, 2017
    Configuration menu
    Copy the full SHA
    7c2accd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c565bff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    94fb818 View commit details
    Browse the repository at this point in the history
  6. Fix: NRE in SetSurfaceTransform, if called before camera is ready. Ke…

    …ep a ringbuffer of recent barcodes, and honor DelayBetweenContinuousScans (of same barcode)
    nielsenko committed May 23, 2017
    Configuration menu
    Copy the full SHA
    52c64c2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6ce1729 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2017

  1. Configuration menu
    Copy the full SHA
    7d60a20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a2e901 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    abff866 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2017

  1. Configuration menu
    Copy the full SHA
    454551b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dda2ff2 View commit details
    Browse the repository at this point in the history