public static class EncodedImage.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
EncodedImage |
createEncodedImage() |
EncodedImage.Builder |
setBuffer(java.nio.ByteBuffer buffer,
java.lang.Runnable releaseCallback) |
EncodedImage.Builder |
setCaptureTimeMs(long captureTimeMs)
Deprecated.
|
EncodedImage.Builder |
setCaptureTimeNs(long captureTimeNs) |
EncodedImage.Builder |
setEncodedHeight(int encodedHeight) |
EncodedImage.Builder |
setEncodedWidth(int encodedWidth) |
EncodedImage.Builder |
setFrameType(EncodedImage.FrameType frameType) |
EncodedImage.Builder |
setQp(java.lang.Integer qp) |
EncodedImage.Builder |
setRotation(int rotation) |
public EncodedImage.Builder setBuffer(java.nio.ByteBuffer buffer, @Nullable java.lang.Runnable releaseCallback)
public EncodedImage.Builder setEncodedWidth(int encodedWidth)
public EncodedImage.Builder setEncodedHeight(int encodedHeight)
@Deprecated public EncodedImage.Builder setCaptureTimeMs(long captureTimeMs)
public EncodedImage.Builder setCaptureTimeNs(long captureTimeNs)
public EncodedImage.Builder setFrameType(EncodedImage.FrameType frameType)
public EncodedImage.Builder setRotation(int rotation)
public EncodedImage.Builder setQp(@Nullable java.lang.Integer qp)
public EncodedImage createEncodedImage()
7.0.0