public static class tensorflow.EncodeJpeg.Attrs extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Attrs()
Default native constructor.
|
Attrs(long size)
Native array allocator.
|
Attrs(Pointer p)
Pointer cast constructor.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Attrs()
public Attrs(long size)
Pointer.position(long).public Attrs(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.EncodeJpeg.Attrs position(long position)
@ByVal public tensorflow.EncodeJpeg.Attrs Format(@tensorflow.StringPiece BytePointer x)
@ByVal public tensorflow.EncodeJpeg.Attrs Format(@tensorflow.StringPiece String x)
@ByVal public tensorflow.EncodeJpeg.Attrs Quality(@Cast(value="tensorflow::int64") long x)
@ByVal public tensorflow.EncodeJpeg.Attrs Progressive(@Cast(value="bool") boolean x)
@ByVal public tensorflow.EncodeJpeg.Attrs OptimizeSize(@Cast(value="bool") boolean x)
@ByVal public tensorflow.EncodeJpeg.Attrs ChromaDownsampling(@Cast(value="bool") boolean x)
@ByVal public tensorflow.EncodeJpeg.Attrs DensityUnit(@tensorflow.StringPiece BytePointer x)
x_density and y_density:
pixels per inch ('in') or centimeter ('cm').
Defaults to "in"@ByVal public tensorflow.EncodeJpeg.Attrs DensityUnit(@tensorflow.StringPiece String x)
@ByVal public tensorflow.EncodeJpeg.Attrs XDensity(@Cast(value="tensorflow::int64") long x)
@ByVal public tensorflow.EncodeJpeg.Attrs YDensity(@Cast(value="tensorflow::int64") long x)
@ByVal public tensorflow.EncodeJpeg.Attrs XmpMetadata(@tensorflow.StringPiece BytePointer x)
@ByVal public tensorflow.EncodeJpeg.Attrs XmpMetadata(@tensorflow.StringPiece String x)
@tensorflow.StringPiece public BytePointer format_()
public tensorflow.EncodeJpeg.Attrs format_(BytePointer format_)
public tensorflow.EncodeJpeg.Attrs quality_(long quality_)
public tensorflow.EncodeJpeg.Attrs progressive_(boolean progressive_)
public tensorflow.EncodeJpeg.Attrs optimize_size_(boolean optimize_size_)
public tensorflow.EncodeJpeg.Attrs chroma_downsampling_(boolean chroma_downsampling_)
@tensorflow.StringPiece public BytePointer density_unit_()
public tensorflow.EncodeJpeg.Attrs density_unit_(BytePointer density_unit_)
public tensorflow.EncodeJpeg.Attrs x_density_(long x_density_)
public tensorflow.EncodeJpeg.Attrs y_density_(long y_density_)
@tensorflow.StringPiece public BytePointer xmp_metadata_()
public tensorflow.EncodeJpeg.Attrs xmp_metadata_(BytePointer xmp_metadata_)
Copyright © 2019. All rights reserved.