Camera: Make device related code version agnostic
Camera device related code should be agnostic w.r.t. device version as much as possible. Specifically the following requirements must hold true: - Since support for devices 3.0&3.1 is deprecated "ANDROID_QUIRKS_USE_PARTIAL_RESULT" is no longer considered. - "ANDROID_SCALER_AVAILABLE_STREAM_CONFIGURATIONS" is always used instead of the deprecated "ANDROID_SCALER_AVAILABLE_JPEG_SIZES". - Buffer manager for camera streams is used for dynamic buffer allocation. - "flush" is always used instead of waiting for buffers to drain. - Similar to "flush" stream "tearDown" is always available. - Dead code handling buffer registration is removed. Bug: 34392075 Test: Manual using camera application Change-Id: If1b215f785ba61c6991fdf163d4eb18733690471
Loading
Please register or sign in to comment