Camera1ApiManager
Created by pedro on 20/01/17. This class need use same resolution, fps and imageFormat that VideoEncoder Tested with YV12 and NV21.
Advantage = you can control fps of the stream. Disadvantages = you cant use all resolutions, only resolution that your camera support.
If you want use all resolutions. You can use libYuv for resize images in OnPreviewFrame: https://chromium.googlesource.com/libyuv/libyuv/
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
See: https://developer.android.com/reference/android/graphics/ImageFormat.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard