ChromaResample


Description:

[ CCode ( cname = "gst_video_chroma_resample_new" , has_construct_function = false ) ]
public ChromaResample (ChromaMethod method, ChromaSite site, ChromaFlags flags, Format format, int h_factor, int v_factor)

Create a new resampler object for the given parameters.

When h_factor or v_factor is > 0, upsampling will be used, otherwise subsampling is performed.

Parameters:

method

a ChromaMethod

site

a ChromaSite

flags

ChromaFlags

format

the Format

h_factor

horizontal resampling factor

v_factor

vertical resampling factor

Returns:

a new ChromaResample that should be freed with free after usage.