GstVideoResampler

GstVideoResampler

Functions

Types and Values

Includes

#include <gst/video/video-resampler.h>

Description

Functions

gst_video_resampler_clear ()

void
gst_video_resampler_clear (GstVideoResampler *resampler);

gst_video_resampler_init ()

gboolean
gst_video_resampler_init (GstVideoResampler *resampler,
                          GstVideoResamplerMethod method,
                          GstVideoResamplerFlags flags,
                          guint n_phases,
                          guint n_taps,
                          gdouble shift,
                          guint in_size,
                          guint out_size,
                          GstStructure *options);

Types and Values

struct GstVideoResampler

struct GstVideoResampler {
  gint in_size;
  gint out_size;
  guint max_taps;
  guint n_phases;
  guint32 *offset;
  guint32 *phase;
  guint32 *n_taps;
  gdouble *taps;
};

enum GstVideoResamplerFlags

Members

GST_VIDEO_RESAMPLER_FLAG_NONE

   

GST_VIDEO_RESAMPLER_FLAG_HALF_TAPS

   

enum GstVideoResamplerMethod

Members

GST_VIDEO_RESAMPLER_METHOD_NEAREST

   

GST_VIDEO_RESAMPLER_METHOD_LINEAR

   

GST_VIDEO_RESAMPLER_METHOD_CUBIC

   

GST_VIDEO_RESAMPLER_METHOD_SINC

   

GST_VIDEO_RESAMPLER_METHOD_LANCZOS

   

GST_VIDEO_RESAMPLER_OPT_CUBIC_B

#define GST_VIDEO_RESAMPLER_OPT_CUBIC_B      "GstVideoResampler.cubic-b"

GST_VIDEO_RESAMPLER_OPT_CUBIC_C

#define GST_VIDEO_RESAMPLER_OPT_CUBIC_C      "GstVideoResampler.cubic-c"

GST_VIDEO_RESAMPLER_OPT_ENVELOPE

#define GST_VIDEO_RESAMPLER_OPT_ENVELOPE      "GstVideoResampler.envelope"

GST_VIDEO_RESAMPLER_OPT_MAX_TAPS

#define GST_VIDEO_RESAMPLER_OPT_MAX_TAPS     "GstVideoResampler.max-taps"

GST_VIDEO_RESAMPLER_OPT_SHARPEN

#define GST_VIDEO_RESAMPLER_OPT_SHARPEN      "GstVideoResampler.sharpen"

GST_VIDEO_RESAMPLER_OPT_SHARPNESS

#define GST_VIDEO_RESAMPLER_OPT_SHARPNESS     "GstVideoResampler.sharpness"