Package org.freedesktop.gstreamer.video
Class VideoChromaResample
java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.gstreamer.video.VideoChromaResample
- All Implemented Interfaces:
Proxy
-
Constructor Summary
ConstructorsConstructorDescriptionVideoChromaResample(MemorySegment address) Create a VideoChromaResample proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionvoidfree()Free this VideoChromaResamplevoidThe resampler must be fednLinesat a time.static VideoChromaResamplenew_(VideoChromaMethod method, Set<VideoChromaSite> site, Set<VideoChromaFlags> flags, VideoFormat format, int hFactor, int vFactor) Create a new resampler object for the given parameters.static VideoChromaResamplenew_(VideoChromaMethod method, VideoChromaSite site, VideoChromaFlags flags, VideoFormat format, int hFactor, int vFactor) Create a new resampler object for the given parameters.voidvideoChromaResample(@Nullable MemorySegment lines, int width) Perform resampling ofwidthchroma pixels inlines.Methods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
VideoChromaResample
Create a VideoChromaResample proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
-
Method Details
-
new_
public static VideoChromaResample new_(VideoChromaMethod method, Set<VideoChromaSite> site, Set<VideoChromaFlags> flags, VideoFormat format, int hFactor, int vFactor) Create a new resampler object for the given parameters. WhenhFactororvFactoris > 0, upsampling will be used, otherwise subsampling is performed.- Parameters:
method- aGstVideoChromaMethodsite- aGstVideoChromaSiteflags-GstVideoChromaFlagsformat- theGstVideoFormathFactor- horizontal resampling factorvFactor- vertical resampling factor- Returns:
- a new
GstVideoChromaResamplethat should be freed with gst_video_chroma_resample_free() after usage.
-
new_
public static VideoChromaResample new_(VideoChromaMethod method, VideoChromaSite site, VideoChromaFlags flags, VideoFormat format, int hFactor, int vFactor) Create a new resampler object for the given parameters. WhenhFactororvFactoris > 0, upsampling will be used, otherwise subsampling is performed.- Parameters:
method- aGstVideoChromaMethodsite- aGstVideoChromaSiteflags-GstVideoChromaFlagsformat- theGstVideoFormathFactor- horizontal resampling factorvFactor- vertical resampling factor- Returns:
- a new
GstVideoChromaResamplethat should be freed with gst_video_chroma_resample_free() after usage.
-
videoChromaResample
Perform resampling ofwidthchroma pixels inlines.- Parameters:
lines- pixel lineswidth- the number of pixels on one line
-
free
public void free()Free this VideoChromaResample -
getInfo
-