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 |
setCompleteFrame(boolean completeFrame) |
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 setCompleteFrame(boolean completeFrame)
public EncodedImage.Builder setQp(@Nullable java.lang.Integer qp)
public EncodedImage createEncodedImage()
6.0.0