Android L Camera2 Previewbuilder set Capturerequest.control_effect_mode not work.

Source: Internet
Author: User

Device: Nexus 7 WiFi 2013

Software version: razor-lpx13d-preview-ae4f461f.tgz


    Mcameramanager.opencamera (Mcameraid, mstatecallback, null);         Mpreviewbuilder = Mcameradevice.createcapturerequest (Cameradevice.template_preview);        Mcameradevice.createcapturesession (Arrays.aslist (surface), mstatecallback, null);        Mpreviewbuilder.set (Capturerequest.control_mode, camerametadata.control_mode_auto);        <strong><span style= "color: #ff0000;" >mpreviewbuilder.set (Capturerequest.control_effect_mode, camerametadata.control_effect_mode_negative); </ Span></strong>        mpreviewsession.setrepeatingrequest (Mpreviewbuilder.build (), mCaptureCallback, NULL) ;

Want to set the effect is not good, who knows how to set it?

Android L Camera2 Previewbuilder set Capturerequest.control_effect_mode not work.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.