Skip to content

tonykwok/VendorTagHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Step 1: Defined your own VendorTag in VendorTags.java

public static final CaptureRequestKey<Integer> CONTROL_HDR_MODE = CaptureRequestKey.create(
        "com.google.control.hdr.mode", Integer.class);

Step 2: Update its value in CaptureRequest or CaptureRequest.Builder

// turn off HDR for the CaptureRequest that to be submitted to CameraDevice 0
CONTROL_HDR_MODE.set(/* camera id */ 0, captureRequest, /* HDR_OFF */ 0);

Just 2 steps, creating VendorTags has never been so easy!

About

Android Camera API2 VendorTag Helper

Topics

Resources

License

Stars

Watchers

Forks

Languages