Blame docs/libs/html/gst-plugins-base-libs-GstVideoDither.html

Packit 971217
Packit 971217
<html>
Packit 971217
<head>
Packit 971217
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Packit 971217
<title>GstVideoDither: GStreamer Base Plugins 1.0 Library Reference Manual</title>
Packit 971217
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
Packit 971217
<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
Packit 971217
<link rel="up" href="gstreamer-video.html" title="Video Library">
Packit 971217
<link rel="prev" href="GstVideoFilter.html" title="GstVideoFilter">
Packit 971217
<link rel="next" href="gst-plugins-base-libs-GstVideoChroma.html" title="GstVideoChromaResample">
Packit 971217
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
Packit 971217
<link rel="stylesheet" href="style.css" type="text/css">
Packit 971217
</head>
Packit 971217
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Packit 971217
Packit 971217
Packit 971217
Top  | 
Packit 971217
                  Description
Packit 971217
Packit 971217
Home
Packit 971217
Up
Packit 971217
Prev
Packit 971217
Next
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

GstVideoDither

Packit 971217

GstVideoDither — Utility object for dithering and quantizing lines of video

Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

Functions

Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
void
Packit 971217
Packit 971217
Packit 971217
gst_video_dither_free ()
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
void
Packit 971217
Packit 971217
Packit 971217
gst_video_dither_line ()
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
GstVideoDither *
Packit 971217
Packit 971217
Packit 971217
gst_video_dither_new ()
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

Types and Values

Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
 
Packit 971217
GstVideoDither
Packit 971217
Packit 971217
Packit 971217
enum
Packit 971217
GstVideoDitherFlags
Packit 971217
Packit 971217
Packit 971217
enum
Packit 971217
GstVideoDitherMethod
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

Includes

Packit 971217
#include <gst/video/video-dither.h>
Packit 971217
Packit 971217
Packit 971217
Packit 971217

Description

Packit 971217

GstVideoDither provides implementations of several dithering algorithms

Packit 971217
that can be applied to lines of video pixels to quantize and dither them.

Packit 971217
Packit 971217
Packit 971217

Functions

Packit 971217
Packit 971217

gst_video_dither_free ()

Packit 971217
void
Packit 971217
gst_video_dither_free (GstVideoDither *dither);
Packit 971217

Free dither

Packit 971217

Packit 971217
Packit 971217

Parameters

Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

dither

Packit 971217

a GstVideoDither

Packit 971217
 
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

Packit 971217
Packit 971217

gst_video_dither_line ()

Packit 971217
void
Packit 971217
gst_video_dither_line (GstVideoDither *dither,
Packit 971217
                       gpointer line,
Packit 971217
                       guint x,
Packit 971217
                       guint y,
Packit 971217
                       guint width);
Packit 971217

Dither width

Packit 971217
 pixels starting from offset x
Packit 971217
 in line
Packit 971217
 using dither
Packit 971217
.

Packit 971217

y

Packit 971217
 is the line number of line
Packit 971217
 in the output image.

Packit 971217
Packit 971217

Parameters

Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

dither

Packit 971217

a GstVideoDither

Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

line

Packit 971217

pointer to the pixels of the line

Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

x

Packit 971217

x coordinate

Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

y

Packit 971217

y coordinate

Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

width

Packit 971217

the width

Packit 971217
 
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

Packit 971217
Packit 971217

gst_video_dither_new ()

Packit 971217
GstVideoDither *
Packit 971217
gst_video_dither_new (GstVideoDitherMethod method,
Packit 971217
                      GstVideoDitherFlags flags,
Packit 971217
                      GstVideoFormat format,
Packit 971217
                      guint quantizer[GST_VIDEO_MAX_COMPONENTS],
Packit 971217
                      guint width);
Packit 971217

Make a new dither object for dithering lines of format

Packit 971217
 using the
Packit 971217
algorithm described by method
Packit 971217
.

Packit 971217

Each component will be quantized to a multiple of quantizer

Packit 971217
. Better
Packit 971217
performance is achived when quantizer
Packit 971217
 is a power of 2.

Packit 971217

width

Packit 971217
 is the width of the lines that this ditherer will handle.

Packit 971217

[skip]

Packit 971217
Packit 971217

Parameters

Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

method

Packit 971217

a GstVideoDitherMethod

Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

flags

Packit 971217

a GstVideoDitherFlags

Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

format

Packit 971217

a GstVideoFormat

Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

quantizer

Packit 971217

quantizer

Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

width

Packit 971217

the width of the lines

Packit 971217
 
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

Returns

Packit 971217

a new GstVideoDither

Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

Types and Values

Packit 971217
Packit 971217

GstVideoDither

Packit 971217
typedef struct _GstVideoDither GstVideoDither;
Packit 971217
Packit 971217

Packit 971217
Packit 971217

enum GstVideoDitherFlags

Packit 971217

Extra flags that influence the result from gst_video_chroma_resample_new().

Packit 971217
Packit 971217

Members

Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

GST_VIDEO_DITHER_FLAG_NONE

Packit 971217
Packit 971217

no flags

Packit 971217
Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

GST_VIDEO_DITHER_FLAG_INTERLACED

Packit 971217
Packit 971217

the input is interlaced

Packit 971217
Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

GST_VIDEO_DITHER_FLAG_QUANTIZE

Packit 971217
Packit 971217

quantize values in addition to adding dither.

Packit 971217
Packit 971217
 
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

Packit 971217
Packit 971217

enum GstVideoDitherMethod

Packit 971217

Different dithering methods to use.

Packit 971217
Packit 971217

Members

Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

GST_VIDEO_DITHER_NONE

Packit 971217
Packit 971217

no dithering

Packit 971217
Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

GST_VIDEO_DITHER_VERTERR

Packit 971217
Packit 971217

propagate rounding errors downwards

Packit 971217
Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

GST_VIDEO_DITHER_FLOYD_STEINBERG

Packit 971217
Packit 971217

Dither with floyd-steinberg error diffusion

Packit 971217
Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

GST_VIDEO_DITHER_SIERRA_LITE

Packit 971217
Packit 971217

Dither with Sierra Lite error diffusion

Packit 971217
Packit 971217
 
Packit 971217
Packit 971217
Packit 971217

GST_VIDEO_DITHER_BAYER

Packit 971217
Packit 971217

ordered dither using a bayer pattern

Packit 971217
Packit 971217
 
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217
Packit 971217

Generated by GTK-Doc V1.27
Packit 971217
</body>
Packit 971217
</html>